
/* 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 * ReadPICTImage(ImageInfo *image_info,ExceptionInfo *exception)

{
  byte bVar1;
  undefined1 uVar2;
  bool bVar3;
  undefined *puVar4;
  int iVar5;
  int iVar6;
  char cVar19;
  char cVar20;
  char cVar21;
  char cVar22;
  MagickBooleanType MVar7;
  Image *pIVar8;
  Image *pIVar9;
  char *pcVar10;
  undefined4 uVar11;
  int iVar12;
  MagickRealType *pMVar13;
  MagickRealType *pMVar14;
  undefined *puVar15;
  int iVar16;
  short sVar18;
  uint uVar17;
  uint extraout_v1;
  int iVar23;
  char *pcVar24;
  undefined *puVar25;
  size_t sVar26;
  byte *pbVar27;
  PixelChannelMap *pPVar28;
  PixelInfo *pPVar29;
  undefined *puVar30;
  size_t sVar31;
  undefined4 uVar32;
  int iVar33;
  byte *pbVar34;
  Image *unaff_s0;
  ImageInfo *unaff_s3;
  ImageInfo *pIVar35;
  uint uVar36;
  uint uVar37;
  uint uVar38;
  Image *unaff_s7;
  double dVar39;
  float fVar41;
  double dVar40;
  double in_f2_3;
  double dVar42;
  double dVar43;
  double in_f20_21;
  double in_f22_23;
  double in_f24_25;
  undefined8 uVar44;
  ExceptionInfo *local_10d8;
  int local_10d4;
  ImageInfo *local_10d0;
  int local_10cc;
  undefined *local_10c8;
  PICTRectangle *local_10bc;
  int local_10b8;
  int local_10b0;
  undefined *local_10ac;
  size_t extent;
  PICTRectangle frame;
  PICTRectangle source;
  PICTRectangle destination;
  PICTPixmap pixmap;
  char geometry [4096];
  
  puVar4 = PTR___stack_chk_guard_003a9230;
  iVar5 = *(int *)PTR___stack_chk_guard_003a9230;
  if (image_info == (ImageInfo *)0x0) {
    dVar40 = (double)(*(code *)PTR___assert_fail_003a9608)
                               (PTR_LAB_003a88e0 + 0xd78,
                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,0x374,
                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);
    goto LAB_00275d54;
  }
  if (image_info->signature == 0xabacadab) {
    if (image_info->debug != MagickFalse) {
      (*(code *)PTR_LogMagickEvent_003a91e0)
                (0x8000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,
                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x377);
    }
    if (exception == (ExceptionInfo *)0x0) goto LAB_00275e6c;
    if (exception->signature == 0xabacadab) {
      unaff_s0 = (Image *)(*(code *)PTR_AcquireImage_003a960c)(image_info,exception);
      iVar6 = (*(code *)PTR_OpenBlob_003a924c)(image_info,unaff_s0,2,exception);
      if (iVar6 == 0) {
        (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);
        pIVar8 = (Image *)0x0;
        goto LAB_00274228;
      }
      pixmap.bits_per_pixel = 0;
      pixmap.component_count = 0;
      cVar19 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
      cVar20 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
      cVar21 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
      cVar22 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
      if ((((cVar19 != 'P') || (unaff_s3 = (ImageInfo *)0x1fc, cVar20 != 'I')) || (cVar21 != 'C'))
         || (cVar22 != 'T')) {
        unaff_s3 = (ImageInfo *)0x1fc;
        do {
          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
          if (iVar6 == -1) break;
          unaff_s3 = (ImageInfo *)((int)&unaff_s3[-1].matte_color.index + 7);
        } while (unaff_s3 != (ImageInfo *)0x0);
      }
      (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
      MVar7 = ReadRectangle(unaff_s0,&frame);
      if (MVar7 == MagickFalse) {
        uVar32 = 0x397;
      }
      else {
        do {
          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
        } while (iVar6 == 0);
        uVar32 = 0x39a;
        if (iVar6 == 0x11) {
          local_10d4 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
          if (local_10d4 == 2) {
            iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
            if (iVar6 != 0xff) {
              uVar32 = 0x3a0;
              goto LAB_002741b8;
            }
          }
          else if (local_10d4 != 1) {
            uVar32 = 0x3a4;
            goto LAB_002741b8;
          }
          iVar6 = (int)frame.left;
          iVar16 = (int)frame.right;
          if ((((-1 < iVar6) && (iVar12 = (int)frame.top, -1 < iVar16)) &&
              ((iVar33 = (int)frame.bottom, -1 < iVar12 && ((-1 < iVar33 && (iVar6 < iVar16)))))) &&
             (iVar12 < iVar33)) {
            MVar7 = image_info->ping;
            unaff_s0->units = UndefinedResolution;
            unaff_s0->columns = iVar16 - iVar6;
            unaff_s0->depth = 8;
            puVar15 = PTR_LAB_003a88e0;
            unaff_s0->rows = iVar33 - iVar12;
            dVar40 = *(double *)(puVar15 + 0x13f0);
            (unaff_s0->resolution).x = dVar40;
            (unaff_s0->resolution).y = dVar40;
            if (((MVar7 != MagickFalse) && (image_info->number_scenes != 0)) &&
               (pIVar35 = unaff_s3, pIVar9 = unaff_s7,
               (image_info->number_scenes + image_info->scene) - 1 <= unaff_s0->scene))
            goto LAB_00274430;
            iVar6 = (*(code *)PTR_SetImageExtent_003a94ac)
                              (unaff_s0,iVar16 - iVar6,iVar33 - iVar12,exception);
            if (iVar6 == 0) goto LAB_002743d4;
            iVar6 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,exception);
            if (iVar6 == 0) goto LAB_002743d4;
            local_10c8 = PTR_LAB_003a88e0;
            unaff_s7 = (Image *)0x0;
            local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;
            unaff_s3 = (ImageInfo *)0x0;
            local_10b8 = 0;
            in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418);
            in_f22_23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);
            in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58);
            local_10cc = 0;
            local_10bc = &frame;
            local_10d0 = image_info;
            local_10d8 = exception;
LAB_002744b8:
            do {
              pIVar9 = (Image *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);
              pIVar35 = local_10d0;
              if ((pIVar9 != (Image *)0x0) ||
                 (((local_10d0->ping != MagickFalse && (local_10d0->number_scenes != 0)) &&
                  ((local_10d0->number_scenes + local_10d0->scene) - 1 <= unaff_s0->scene)))) {
LAB_00274430:
                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);
                pIVar8 = (Image *)(*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);
                unaff_s3 = pIVar35;
                unaff_s7 = pIVar9;
LAB_00274228:
                if (iVar5 == *(int *)puVar4) {
                  return pIVar8;
                }
LAB_00275e90:
                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();
                goto LAB_002744b8;
              }
              if ((local_10d4 == 1) ||
                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), pIVar8 = unaff_s7,
                 (extraout_v1 & 1) != 0)) {
                pIVar8 = (Image *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
              }
              if (local_10d4 == 2) {
                pIVar8 = (Image *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);
              }
              unaff_s7 = (Image *)((uint)pIVar8 & 0xffff);
              if (unaff_s7 == (Image *)0x0) {
                unaff_s7 = (Image *)0x0;
                goto LAB_002744b8;
              }
              if (unaff_s7 < (Image *)0xa2) {
                if (unaff_s0->debug != MagickFalse) {
                  (*(code *)PTR_LogMagickEvent_003a91e0)
                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,
                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,
                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,
                             *(undefined4 *)
                              (PTR_MagickImageList_3__magick_276__003a8948 +
                              (int)unaff_s7 * 0xc + 0x584c),
                             *(undefined4 *)
                              ((int)(PTR_MagickImageList_3__magick_276__003a8948 +
                                    (int)unaff_s7 * 0xc + 0x584c) + 8));
                }
                if (unaff_s7 < (Image *)0x78) {
                  if ((Image *)0x6f < unaff_s7) {
                    uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);
                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {
                      if (unaff_s3 != (ImageInfo *)0x0) {
                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);
                      }
                      if (local_10cc != 0) {
                        (*(code *)PTR_DestroyImageInfo_003a95e8)();
                      }
                      uVar32 = 0x467;
                      goto LAB_00275880;
                    }
                    iVar6 = 0;
                    if (0 < (int)(uVar36 - 2)) {
                      do {
                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
                        if (iVar16 == -1) break;
                        iVar6 = iVar6 + 1;
                      } while (iVar6 != uVar36 - 2);
                    }
                    goto LAB_00274584;
                  }
                  if ((Image *)0x14 < unaff_s7) {
                    if (unaff_s7 == (Image *)&DAT_0000001b) {
                      iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
                      puVar15 = PTR_ReadBlobMSBShort_003a9160;
                      (unaff_s0->background_color).red = (double)iVar6;
                      iVar6 = (*(code *)puVar15)(unaff_s0);
                      puVar15 = PTR_ReadBlobMSBShort_003a9160;
                      (unaff_s0->background_color).green = (double)iVar6;
                      iVar6 = (*(code *)puVar15)(unaff_s0);
                      (unaff_s0->background_color).blue = (double)iVar6;
                      goto LAB_00274594;
                    }
                    goto LAB_002752a0;
                  }
                  if ((Image *)&DAT_00000011 < unaff_s7) {
                    iVar16 = 8;
                    iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
                    do {
                      iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
                      if (iVar12 == -1) break;
                      iVar16 = iVar16 + -1;
                    } while (iVar16 != 0);
                    if (iVar6 == 2) {
                      iVar6 = 5;
                      do {
                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
                        if (iVar16 == -1) break;
                        iVar6 = iVar6 + -1;
                      } while (iVar6 != 0);
                      goto LAB_00274584;
                    }
                    if (iVar6 == 1) {
                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);
                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44)) {
                        MVar7 = ReadRectangle(unaff_s0,local_10bc);
                        if (MVar7 == MagickFalse) {
                          if (unaff_s3 != (ImageInfo *)0x0) {
                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);
                          }
                          if (local_10cc != 0) {
                            (*(code *)PTR_DestroyImageInfo_003a95e8)();
                          }
                          uVar32 = 0x419;
                        }
                        else {
                          MVar7 = ReadPixmap(unaff_s0,&pixmap);
                          if (MVar7 != MagickFalse) {
                            unaff_s0->depth = (int)pixmap.component_size;
                            dVar40 = (double)(int)pixmap.horizontal_resolution;
                            if ((int)pixmap.horizontal_resolution < 0) {
                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);
                            }
                            (unaff_s0->resolution).x = dVar40;
                            puVar15 = PTR_ReadBlobMSBLong_003a8d98;
                            dVar40 = (double)(int)pixmap.vertical_resolution;
                            if ((int)pixmap.vertical_resolution < 0) {
                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);
                            }
                            (unaff_s0->resolution).y = dVar40;
                            unaff_s0->units = PixelsPerInchResolution;
                            (*(code *)puVar15)(unaff_s0);
                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
                            uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
                            uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);
                            if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44))
                            {
                              iVar6 = 0;
                              do {
                                iVar6 = iVar6 + 1;
                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);
                              } while (iVar6 != uVar36 + 1);
                              uVar37 = (int)frame.bottom - (int)frame.top;
                              iVar6 = (int)frame.right - (int)frame.left;
                              if (pixmap.bits_per_pixel < 9) {
                                uVar36 = uVar36 & 0x7fff;
                              }
                              else if (pixmap.bits_per_pixel == 0x10) {
                                uVar37 = uVar37 * 2;
                              }
                              if (uVar36 != 0) {
                                uVar37 = uVar36;
                              }
                              if (uVar37 < 8) {
                                if (0 < (int)(uVar37 * iVar6)) {
                                  iVar16 = 0;
                                  do {
                                    iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
                                    if (iVar12 == -1) break;
                                    iVar16 = iVar16 + 1;
                                  } while (uVar37 * iVar6 != iVar16);
                                }
                              }
                              else {
                                iVar16 = 0;
                                if (0 < iVar6) {
                                  do {
                                    iVar12 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);
                                    if (iVar12 != 0) break;
                                    if (uVar37 < 0xc9) {
                                      uVar36 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
                                    }
                                    else {
                                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
                                    }
                                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);
                                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) &&
                                       ((uint)uVar44 < uVar36)) {
                                      if (unaff_s3 != (ImageInfo *)0x0) {
                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);
                                      }
                                      if (local_10cc != 0) {
                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();
                                      }
                                      uVar32 = 0x444;
                                      goto LAB_00275880;
                                    }
                                    uVar38 = 0;
                                    if (0 < (int)uVar36) {
                                      do {
                                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
                                        if (iVar12 == -1) break;
                                        uVar38 = uVar38 + 1;
                                      } while (uVar36 != uVar38);
                                    }
                                    iVar16 = iVar16 + 1;
                                  } while (iVar6 != iVar16);
                                }
                              }
                              goto LAB_00274584;
                            }
                            if (unaff_s3 != (ImageInfo *)0x0) {
                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);
                            }
                            if (local_10cc != 0) {
                              (*(code *)PTR_DestroyImageInfo_003a95e8)();
                            }
                            uVar32 = 0x425;
                            goto LAB_00275880;
                          }
                          if (unaff_s3 != (ImageInfo *)0x0) {
                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);
                          }
                          if (local_10cc != 0) {
                            (*(code *)PTR_DestroyImageInfo_003a95e8)();
                          }
                          uVar32 = 0x41b;
                        }
                        goto LAB_002757bc;
                      }
                      if (unaff_s3 != (ImageInfo *)0x0) {
                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);
                      }
                      if (local_10cc != 0) {
                        (*(code *)PTR_DestroyImageInfo_003a95e8)();
                      }
                      uVar32 = 0x417;
                      goto LAB_00275880;
                    }
                    if (unaff_s3 != (ImageInfo *)0x0) {
                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);
                    }
                    if (local_10cc != 0) {
                      (*(code *)PTR_DestroyImageInfo_003a95e8)();
                    }
                    uVar32 = 0x413;
                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;
                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);
                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;
                    puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;
                    pIVar9 = unaff_s7;
                    goto LAB_0027507c;
                  }
                  if (unaff_s7 != (Image *)0x1) goto LAB_002752a0;
                  uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
                  uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);
                  if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {
                    if (unaff_s3 != (ImageInfo *)0x0) {
                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);
                    }
                    if (local_10cc != 0) {
                      (*(code *)PTR_DestroyImageInfo_003a95e8)();
                    }
                    uVar32 = 0x3e4;
                    goto LAB_00275880;
                  }
                  if (uVar36 != 10) {
                    if (0 < (int)(uVar36 - 2)) {
                      iVar6 = 0;
                      do {
                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
                        if (iVar16 == -1) break;
                        iVar6 = iVar6 + 1;
                      } while (uVar36 - 2 != iVar6);
                    }
                    goto LAB_00274594;
                  }
                  MVar7 = ReadRectangle(unaff_s0,local_10bc);
                  puVar15 = PTR_SetImageExtent_003a94ac;
                  if (MVar7 == MagickFalse) {
                    if (unaff_s3 != (ImageInfo *)0x0) {
                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);
                    }
                    if (local_10cc != 0) {
                      (*(code *)PTR_DestroyImageInfo_003a95e8)();
                    }
                    uVar32 = 0x3ed;
                    goto LAB_002757bc;
                  }
                  if ((frame.left < 0) || (frame.top < 0)) goto LAB_00274594;
                  sVar26 = (int)frame.right - (int)frame.left;
                  sVar31 = (int)frame.bottom - (int)frame.top;
                  unaff_s0->columns = sVar26;
                  unaff_s0->rows = sVar31;
                  iVar6 = (*(code *)puVar15)(unaff_s0,sVar26,sVar31,local_10d8);
                  if ((iVar6 != 0) &&
                     (iVar6 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),
                     iVar6 != 0)) goto LAB_00274594;
LAB_002743d4:
                  pIVar8 = (Image *)(*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);
                  goto LAB_00274228;
                }
                if ((Image *)0x9b < unaff_s7) {
                  if (unaff_s7 == (Image *)0xa1) {
                    iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
                    uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);
                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {
                      if (unaff_s3 != (ImageInfo *)0x0) {
                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);
                      }
                      if (local_10cc != 0) {
                        (*(code *)PTR_DestroyImageInfo_003a95e8)();
                      }
                      uVar32 = 0x562;
                      goto LAB_00275880;
                    }
                    if (uVar36 != 0) {
                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);
                      uVar37 = 4;
                      if (uVar36 < 5) {
                        uVar37 = uVar36;
                      }
                      iVar16 = uVar36 - uVar37;
                      if ((iVar16 != 0) &&
                         (iVar12 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar16,1),
                         iVar12 != 0)) {
                        iVar33 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar16,iVar12);
                        if (iVar16 != iVar33) {
                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);
                          if (unaff_s3 != (ImageInfo *)0x0) {
                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);
                          }
                          if (local_10cc != 0) {
                            (*(code *)PTR_DestroyImageInfo_003a95e8)();
                          }
                          uVar32 = 0x570;
                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;
                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);
                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;
                          puVar15 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;
                          uVar11 = 400;
                          goto LAB_00275084;
                        }
                        if (iVar6 == 0xe0) {
                          uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);
                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);
                          iVar6 = (*(code *)PTR_SetImageProfile_003a9698)
                                            (unaff_s0,
                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +
                                                  -0x5890,uVar32,local_10d8);
                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);
                          if (iVar6 == 0) {
                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);
                            if (unaff_s3 != (ImageInfo *)0x0) {
                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);
                            }
                            if (local_10cc != 0) {
                              (*(code *)PTR_DestroyImageInfo_003a95e8)();
                            }
                            uVar32 = 0x57e;
                            goto LAB_00275720;
                          }
                        }
                        else if (iVar6 == 0x1f2) {
                          uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);
                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);
                          iVar6 = (*(code *)PTR_SetImageProfile_003a9698)
                                            (unaff_s0,
                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +
                                                  -0x1918,uVar32,local_10d8);
                          if (iVar6 == 0) {
                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);
                            if (unaff_s3 != (ImageInfo *)0x0) {
                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);
                            }
                            if (local_10cc != 0) {
                              (*(code *)PTR_DestroyImageInfo_003a95e8)();
                            }
                            uVar32 = 0x58b;
                            goto LAB_00275720;
                          }
                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);
                        }
                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);
                      }
                    }
                    goto LAB_00274594;
                  }
LAB_002752a0:
                  iVar6 = *(int *)(PTR_MagickImageList_3__magick_276__003a8948 +
                                  (int)unaff_s7 * 0xc + 0x5850);
                  if (iVar6 == -1) {
                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
                  }
                  else {
                    iVar16 = 0;
                    if (0 < iVar6) {
                      do {
                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
                        if (iVar12 == -1) break;
                        iVar16 = iVar16 + 1;
                      } while (iVar6 != iVar16);
                    }
                  }
                  goto LAB_00274584;
                }
                if ((unaff_s7 < (Image *)0x98) && ((BlobInfo **)0x1 < &unaff_s7[-1].blob))
                goto LAB_002752a0;
                bVar3 = unaff_s7[-1].magick + 0xffe < (char *)0x2;
                if (bVar3) {
                  uVar36 = 0;
                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
                }
                else {
                  uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();
                }
                MVar7 = ReadRectangle(unaff_s0,local_10bc);
                if (MVar7 != MagickFalse) {
                  pIVar9 = (Image *)(*(code *)PTR_CloneImage_003a9830)
                                              (unaff_s0,(int)frame.right - (int)frame.left,
                                               (int)frame.bottom - (int)frame.top,1);
                  if (pIVar9 == (Image *)0x0) {
                    if (local_10cc != 0) {
                      (*(code *)PTR_DestroyImageInfo_003a95e8)();
                    }
                    uVar32 = 0x498;
                    goto LAB_002757bc;
                  }
                  (*(code *)PTR_ResetImagePixels_003a9334)(pIVar9,local_10d8);
                  if ((bVar3) || ((uVar36 & 0x8000) != 0)) {
                    MVar7 = ReadPixmap(unaff_s0,&pixmap);
                    if (MVar7 != MagickFalse) {
                      pIVar9->depth = (int)pixmap.component_size;
                      puVar15 = PTR_SetImageAlpha_003a8c78;
                      dVar40 = (double)(int)pixmap.horizontal_resolution;
                      if ((int)pixmap.horizontal_resolution < 0) {
                        dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);
                      }
                      dVar39 = (double)(int)pixmap.vertical_resolution;
                      if ((int)pixmap.vertical_resolution < 0) {
                        dVar39 = dVar39 + *(double *)(local_10c8 + 0x1418);
                      }
                      if (pixmap.component_count == 4) {
                        pIVar9->alpha_trait = BlendPixelTrait;
                        pIVar9->units = PixelsPerInchResolution;
                        puVar25 = PTR_LAB_003a88e0;
                        (pIVar9->resolution).x = dVar40;
                        (pIVar9->resolution).y = dVar39;
                        (*(code *)puVar15)(pIVar9,*(undefined4 *)(puVar25 + 0x1a50),local_10d8);
                      }
                      else {
                        (pIVar9->resolution).x = dVar40;
                        pIVar9->alpha_trait = UndefinedPixelTrait;
                        (pIVar9->resolution).y = dVar39;
                        pIVar9->units = PixelsPerInchResolution;
                      }
                      if (!bVar3) {
                        pIVar9->colors = 2;
                        if ((uVar36 & 0x8000) == 0) goto LAB_0027565c;
                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);
                        sVar18 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
                        iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
                        puVar15 = PTR_AcquireImageColormap_003a9194;
                        pIVar9->colors = iVar6 + 1U;
                        iVar6 = (*(code *)puVar15)(pIVar9,iVar6 + 1U,local_10d8);
                        if (iVar6 == 0) goto LAB_002756e4;
                        if (0 < (int)pIVar9->colors) {
                          uVar37 = 0;
                          do {
                            uVar17 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
                            uVar38 = uVar37;
                            if (-1 < sVar18) {
                              if (pIVar9->colors == 0) {
                                trap(7);
                              }
                              uVar38 = uVar17 % pIVar9->colors;
                            }
                            uVar37 = uVar37 + 1;
                            iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
                            puVar15 = PTR_ReadBlobMSBShort_003a9160;
                            pIVar9->colormap[uVar38].red = (double)iVar6;
                            iVar6 = (*(code *)puVar15)(unaff_s0);
                            puVar15 = PTR_ReadBlobMSBShort_003a9160;
                            pIVar9->colormap[uVar38].green = (double)iVar6;
                            iVar6 = (*(code *)puVar15)(unaff_s0);
                            sVar26 = pIVar9->colors;
                            unaff_s3 = (ImageInfo *)(pIVar9->colormap + uVar38);
                            *(double *)&unaff_s3->endian = (double)iVar6;
                          } while ((int)uVar37 < (int)sVar26);
                        }
                      }
                      goto LAB_00274838;
                    }
                    (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);
                    if (local_10cc != 0) {
                      (*(code *)PTR_DestroyImageInfo_003a95e8)();
                    }
                    uVar32 = 0x49e;
                    unaff_s7 = pIVar9;
                    goto LAB_002757bc;
                  }
                  pIVar9->colors = 2;
LAB_0027565c:
                  iVar6 = (*(code *)PTR_AcquireImageColormap_003a9194)(pIVar9,2,local_10d8);
                  if (iVar6 == 0) {
LAB_002756e4:
                    (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);
                    if (local_10cc != 0) {
                      (*(code *)PTR_DestroyImageInfo_003a95e8)();
                    }
                    uVar32 = 0x4b8;
                    unaff_s7 = pIVar9;
LAB_00275720:
                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;
                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);
                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;
                    puVar15 = PTR_LAB_003a88e0 + 0x16f8;
                    uVar11 = 400;
                    goto LAB_00275084;
                  }
                  sVar26 = pIVar9->colors;
                  if (0 < (int)sVar26) {
                    pPVar29 = pIVar9->colormap;
                    pMVar13 = &pPVar29->red;
                    do {
                      pMVar14 = pMVar13 + 0xb;
                      *pMVar13 = (double)(float)(in_f20_21 - *pMVar13);
                      pMVar13[1] = (double)(float)(in_f20_21 - pMVar13[1]);
                      pMVar13[2] = (double)(float)(in_f20_21 - pMVar13[2]);
                      pMVar13 = pMVar14;
                    } while (pMVar14 != &pPVar29[sVar26].red);
                  }
LAB_00274838:
                  iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);
                  if (iVar6 == 0) {
                    MVar7 = ReadRectangle(unaff_s0,&source);
                    if (MVar7 == MagickFalse) {
                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);
                      if (local_10cc != 0) {
                        (*(code *)PTR_DestroyImageInfo_003a95e8)();
                      }
                      uVar32 = 0x4d9;
                      unaff_s7 = pIVar9;
                    }
                    else {
                      MVar7 = ReadRectangle(unaff_s0,&destination);
                      if (MVar7 != MagickFalse) {
                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
                        if ((((uint)pIVar8 & 0xfff7) == 0x91) || (unaff_s7 == (Image *)0x9b)) {
                          uVar37 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
                          uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);
                          if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar37)) {
                            (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);
                            if (local_10cc != 0) {
                              (*(code *)PTR_DestroyImageInfo_003a95e8)();
                            }
                            uVar32 = 0x4e5;
                            unaff_s7 = pIVar9;
                            goto LAB_00275880;
                          }
                          iVar6 = 0;
                          if (0 < (int)(uVar37 - 2)) {
                            do {
                              iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
                              if (iVar16 == -1) break;
                              iVar6 = iVar6 + 1;
                            } while (uVar37 - 2 != iVar6);
                          }
                        }
                        if ((bVar3) || ((uVar36 & 0x8000) != 0)) {
                          uVar37 = (uint)pixmap.bits_per_pixel;
                        }
                        else {
                          uVar37 = 1;
                        }
                        unaff_s3 = (ImageInfo *)DecodeImage(unaff_s0,pIVar9,uVar36,uVar37,&extent);
                        if (unaff_s3 == (ImageInfo *)0x0) {
                          (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);
                          if (local_10cc != 0) {
                            (*(code *)PTR_DestroyImageInfo_003a95e8)();
                          }
                          uVar32 = 0x4f2;
                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;
                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);
                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;
                          puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;
                        }
                        else {
                          if ((int)pIVar9->rows < 1) {
LAB_00276500:
                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);
                            if (((local_10b8 == 0) &&
                                (iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar6 == 0)) &&
                               ((bVar3 || ((uVar36 & 0x8000) != 0)))) {
                              (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,pIVar9,0xd,1);
                            }
                            unaff_s3 = (ImageInfo *)(*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);
                            goto LAB_00274584;
                          }
                          if (unaff_s3 <=
                              (ImageInfo *)
                              ((int)&unaff_s3->compression + unaff_s0->columns + extent)) {
                            local_10b0 = 0;
                            uVar37 = 0;
                            pIVar35 = unaff_s3;
                            do {
                              iVar6 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)
                                                (pIVar9,0,uVar37,pIVar9->columns);
                              if (iVar6 == 0) goto LAB_00276500;
                              sVar26 = pIVar9->columns;
                              if (0 < (int)sVar26) {
                                iVar16 = 0;
                                dVar39 = *(double *)(local_10ac + -0x5af0);
                                dVar40 = dVar39;
                                do {
                                  if (pIVar9->storage_class == PseudoClass) {
                                    if ((int)(uint)(byte)*(undefined1 *)&pIVar35->compression <
                                        (int)pIVar9->colors) {
                                      fVar41 = (float)(byte)*(undefined1 *)&pIVar35->compression;
                                      iVar12 = (int)fVar41 * 0x58;
                                    }
                                    else if (local_10d8->severity == CorruptImageError) {
                                      fVar41 = 0.0;
                                      iVar12 = 0;
                                    }
                                    else {
                                      (*(code *)PTR_ThrowMagickException_003a8f20)
                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,
                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +
                                                 -0x3dd4,0x23);
                                      fVar41 = 0.0;
                                      iVar12 = 0;
                                      sVar26 = pIVar9->columns;
                                    }
                                    pPVar28 = pIVar9->channel_map;
                                    if (pPVar28[5].traits != UndefinedPixelTrait) {
                                      *(float *)(iVar6 + pPVar28[5].offset * 4) = fVar41;
                                    }
                                    pPVar29 = pIVar9->colormap;
                                    iVar23 = pPVar28[1].offset;
                                    iVar33 = pPVar28[2].offset;
                                    dVar43 = *(double *)((int)&pPVar29->green + iVar12);
                                    dVar42 = *(double *)((int)&pPVar29->blue + iVar12);
                                    *(float *)(iVar6 + pPVar28->offset * 4) =
                                         (float)*(double *)((int)&pPVar29->red + iVar12);
                                    *(float *)(iVar6 + iVar23 * 4) = (float)dVar43;
                                    *(float *)(iVar6 + iVar33 * 4) = (float)dVar42;
                                  }
                                  else if (pixmap.bits_per_pixel == 0x10) {
                                    bVar1 = *(byte *)((int)&pIVar35->compression + 1);
                                    pPVar28 = pIVar9->channel_map;
                                    uVar2 = *(undefined1 *)&pIVar35->compression;
                                    iVar33 = pPVar28[1].offset;
                                    iVar12 = pPVar28[2].offset;
                                    *(float *)(iVar6 + pPVar28->offset * 4) =
                                         (float)((double)(((byte)uVar2 & 0x7c) << 1) * dVar40);
                                    *(float *)(iVar6 + iVar33 * 4) =
                                         (float)((double)(bVar1 >> 2 & 0x38 | ((byte)uVar2 & 3) << 6
                                                         ) * dVar40);
                                    *(float *)(iVar6 + iVar12 * 4) =
                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar40);
                                    pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);
                                  }
                                  else if (pIVar9->alpha_trait == UndefinedPixelTrait) {
                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);
                                    if ((ImageInfo *)
                                        ((int)&unaff_s3->compression +
                                        unaff_s0->columns * 2 + extent) < pIVar35) {
                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);
                                      if (local_10cc != 0) {
                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();
                                      }
                                      uVar32 = 0x523;
                                      goto LAB_0027504c;
                                    }
                                    pPVar28 = pIVar9->channel_map;
                                    iVar33 = pPVar28[1].offset;
                                    iVar12 = pPVar28[2].offset;
                                    *(float *)(iVar6 + pPVar28->offset * 4) =
                                         (float)((double)(byte)*(undefined1 *)&pIVar35->compression
                                                * dVar39);
                                    *(float *)(iVar6 + iVar33 * 4) =
                                         (float)((double)*pbVar27 * dVar39);
                                    *(float *)(iVar6 + iVar12 * 4) =
                                         (float)((double)pbVar27[sVar26] * dVar39);
                                  }
                                  else {
                                    if ((ImageInfo *)
                                        ((int)&unaff_s3->compression +
                                        unaff_s0->columns * 3 + extent) < pIVar35) {
                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);
                                      if (local_10cc != 0) {
                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();
                                      }
                                      uVar32 = 0x52e;
                                      goto LAB_0027504c;
                                    }
                                    pPVar28 = pIVar9->channel_map;
                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);
                                    if (pPVar28[4].traits != UndefinedPixelTrait) {
                                      *(float *)(iVar6 + pPVar28[4].offset * 4) =
                                           (float)((double)(byte)*(undefined1 *)
                                                                  &pIVar35->compression * in_f22_23)
                                      ;
                                    }
                                    pbVar34 = pbVar27 + sVar26;
                                    dVar42 = *(double *)(local_10ac + -0x5af0);
                                    iVar33 = pPVar28[1].offset;
                                    iVar12 = pPVar28[2].offset;
                                    *(float *)(iVar6 + pPVar28->offset * 4) =
                                         (float)((double)*pbVar27 * dVar42);
                                    *(float *)(iVar6 + iVar33 * 4) =
                                         (float)((double)*pbVar34 * dVar42);
                                    *(float *)(iVar6 + iVar12 * 4) =
                                         (float)((double)pbVar34[sVar26] * dVar42);
                                  }
                                  iVar16 = iVar16 + 1;
                                  pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);
                                  iVar6 = iVar6 + pIVar9->number_channels * 4;
                                } while (iVar16 < (int)sVar26);
                              }
                              iVar6 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar9,local_10d8)
                              ;
                              if (((iVar6 == 0) ||
                                  (((pIVar9->storage_class == DirectClass &&
                                    (pixmap.bits_per_pixel != 0x10)) &&
                                   (pIVar35 = (ImageInfo *)
                                              ((int)&pIVar35->compression +
                                              (pixmap.component_count + -1) * pIVar9->columns),
                                   pIVar35 < unaff_s3)))) ||
                                 ((iVar6 = (*(code *)PTR_SetImageProgress_003a8cb4)
                                                     (unaff_s0,
                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +
                                                  -0x2dd0,local_10b0,uVar37), iVar6 == 0 ||
                                  (uVar38 = uVar37 + 1, (int)pIVar9->rows <= (int)uVar38))))
                              goto LAB_00276500;
                              local_10b0 = (uint)(uVar38 < uVar37) + local_10b0;
                              uVar37 = uVar38;
                            } while (pIVar35 <=
                                     (ImageInfo *)
                                     ((int)&unaff_s3->compression + unaff_s0->columns + extent));
                          }
                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);
                          (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);
                          if (local_10cc != 0) {
                            (*(code *)PTR_DestroyImageInfo_003a95e8)();
                          }
                          uVar32 = 0x4fc;
                          unaff_s7 = pIVar9;
LAB_0027504c:
                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;
                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);
                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;
                          puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;
                          pIVar9 = unaff_s7;
                        }
                        goto LAB_0027507c;
                      }
                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);
                      if (local_10cc != 0) {
                        (*(code *)PTR_DestroyImageInfo_003a95e8)();
                      }
                      uVar32 = 0x4db;
                      unaff_s7 = pIVar9;
                    }
                    goto LAB_002757bc;
                  }
                  (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);
                  if (local_10cc != 0) {
                    (*(code *)PTR_DestroyImageInfo_003a95e8)();
                  }
                  uVar32 = 0x4d7;
                  unaff_s7 = pIVar9;
                  goto LAB_00275880;
                }
                if (unaff_s3 != (ImageInfo *)0x0) {
                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);
                }
                if (local_10cc != 0) {
                  (*(code *)PTR_DestroyImageInfo_003a95e8)();
                }
                uVar32 = 0x491;
LAB_002757bc:
                puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;
                uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);
                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;
                puVar15 = PTR_s_courses_003a88ec + -400;
                pIVar9 = unaff_s7;
LAB_0027507c:
                uVar11 = 0x1a9;
                unaff_s7 = pIVar9;
LAB_00275084:
                (*(code *)PTR_ThrowMagickException_003a8f20)
                          (local_10d8,puVar25,puVar30,uVar32,uVar11,puVar15,uVar44);
LAB_00274208:
                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);
                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);
LAB_00274224:
                pIVar8 = (Image *)0x0;
                goto LAB_00274228;
              }
              if (unaff_s0->debug != MagickFalse) {
                (*(code *)PTR_LogMagickEvent_003a91e0)
                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,
                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3);
              }
              if (unaff_s7 != (Image *)0xc00) {
LAB_00274584:
                if (&DAT_0000001f < unaff_s7[-1].magick + 0xfe8) {
LAB_00274594:
                  if ((char *)0xff < unaff_s7[-3].magick_filename + 0x848) {
                    if (unaff_s7 == (Image *)0x8200) {
                      uVar36 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);
                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);
                      if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {
                        if (unaff_s3 != (ImageInfo *)0x0) {
                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);
                        }
                        if (local_10cc != 0) {
                          (*(code *)PTR_DestroyImageInfo_003a95e8)();
                        }
                        uVar32 = 0x5b9;
                        goto LAB_00275880;
                      }
                      iVar6 = 6;
                      if (0x9a < uVar36) {
                        do {
                          iVar6 = iVar6 + -1;
                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);
                        } while (iVar6 != 0);
                        MVar7 = ReadRectangle(unaff_s0,local_10bc);
                        if (MVar7 == MagickFalse) {
                          if (unaff_s3 != (ImageInfo *)0x0) {
                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);
                          }
                          if (local_10cc != 0) {
                            (*(code *)PTR_DestroyImageInfo_003a95e8)();
                          }
                          uVar32 = 0x5c8;
                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);
LAB_00275b88:
                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;
                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;
                          puVar15 = PTR_s_courses_003a88ec + -400;
                          uVar11 = 0x1a9;
                        }
                        else {
                          iVar6 = 0x7a;
                          do {
                            iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
                            if (iVar16 == -1) break;
                            iVar6 = iVar6 + -1;
                          } while (iVar6 != 0);
                          iVar6 = uVar36 - 0x9a;
                          pIVar8 = (Image *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar6,1);
                          pcVar10 = local_10d0->filename;
                          if (pIVar8 != (Image *)0x0) {
                            uVar32 = (*(code *)PTR_ReadBlobStream_003a9098)
                                               (unaff_s0,iVar6,pIVar8,&destination);
                            if (destination._0_4_ == iVar6) {
                              iVar6 = (*(code *)PTR_AcquireImageInfo_003a91d0)();
                              (*(code *)PTR_FormatLocaleString_003a8d7c)
                                        (iVar6 + 0x2210,0x1000,
                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,
                                         pcVar10);
                              unaff_s3 = (ImageInfo *)
                                         (*(code *)PTR_BlobToImage_003a9330)
                                                   (iVar6,uVar32,destination._0_4_,local_10d8);
                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);
                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar6);
                              goto LAB_00274de8;
                            }
                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);
                            if (unaff_s3 != (ImageInfo *)0x0) {
                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);
                            }
                            if (local_10cc != 0) {
                              (*(code *)PTR_DestroyImageInfo_003a95e8)();
                            }
                            uVar32 = 0x5d5;
                            uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);
                            unaff_s7 = pIVar8;
                            goto LAB_00275b88;
                          }
                          if (unaff_s3 != (ImageInfo *)0x0) {
                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);
                          }
                          if (local_10cc != 0) {
                            (*(code *)PTR_DestroyImageInfo_003a95e8)();
                          }
                          uVar32 = 0x5d0;
                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;
                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);
                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;
                          puVar15 = PTR_LAB_003a88e0 + 0x16f8;
                          uVar11 = 400;
                        }
                        goto LAB_00275084;
                      }
LAB_00274de8:
                      local_10b8 = 1;
                      if (unaff_s3 != (ImageInfo *)0x0) {
                        pcVar10 = unaff_s3->size;
                        if (pcVar10 < (char *)unaff_s0->columns) {
                          pcVar10 = (char *)unaff_s0->columns;
                        }
                        dVar40 = (double)(int)pcVar10;
                        if ((int)pcVar10 < 0) {
                          dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);
                        }
                        pcVar24 = (char *)unaff_s0->rows;
                        pcVar10 = unaff_s3->extract;
                        if (pcVar10 < pcVar24) {
                          in_f2_3 = (double)(int)pcVar24;
                          if ((int)pcVar24 < 0) {
LAB_00275d54:
                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);
                          }
                        }
                        else {
                          in_f2_3 = (double)(int)pcVar10;
                          if ((int)pcVar10 < 0) {
                            in_f2_3 = in_f2_3 + in_f24_25;
                          }
                        }
                        (*(code *)PTR_FormatLocaleString_003a8d7c)
                                  (geometry,0x1000,PTR_s_courses_003a88ec + 0x494);
                        pcVar10 = (char *)unaff_s0->columns;
                        if ((char *)unaff_s0->columns <= unaff_s3->size) {
                          pcVar10 = unaff_s3->size;
                        }
                        pcVar24 = unaff_s3->extract;
                        if (unaff_s3->extract < (char *)unaff_s0->rows) {
                          pcVar24 = (char *)unaff_s0->rows;
                        }
                        (*(code *)PTR_SetImageExtent_003a94ac)
                                  (unaff_s0,pcVar10,pcVar24,local_10d8,dVar40,in_f2_3);
                        (*(code *)PTR_TransformImageColorspace_003a9180)
                                  (unaff_s0,unaff_s3->orientation,local_10d8);
                        (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,unaff_s3,0xd,1);
                        puVar15 = PTR_DestroyImage_003a8f4c;
                        unaff_s0->compression = unaff_s3->temporary;
                        unaff_s3 = (ImageInfo *)(*(code *)puVar15)(unaff_s3);
                        local_10b8 = 1;
                      }
                      goto LAB_002744b8;
                    }
                    pIVar35 = unaff_s3;
                    pIVar9 = unaff_s7;
                    if ((unaff_s7 == (Image *)0xff) ||
                       (pIVar35 = unaff_s3, unaff_s7 == (Image *)0xffff)) goto LAB_00274430;
                    if ((unaff_s7[-1].magick + 0xfc8 < (char *)0x2f) ||
                       (unaff_s7[-3].magick_filename + 0x748 < (char *)0x7f00)) {
                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);
                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44)) {
                        if (uVar36 != 0) {
                          uVar37 = 0;
                          do {
                            iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
                            if (iVar6 == -1) break;
                            uVar37 = uVar37 + 1;
                          } while (uVar36 != uVar37);
                        }
                        goto LAB_002744b8;
                      }
                      if (unaff_s3 != (ImageInfo *)0x0) {
                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);
                      }
                      if (local_10cc != 0) {
                        (*(code *)PTR_DestroyImageInfo_003a95e8)();
                      }
                      uVar32 = 0x5f8;
                    }
                    else {
                      if ((char *)0x7eff < unaff_s7[-1].magick + 0xf98) goto LAB_002744b8;
                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);
                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) ||
                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar44)) {
                        uVar36 = 0;
                        do {
                          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
                          if (iVar6 == -1) break;
                          uVar36 = uVar36 + 1;
                        } while ((int)unaff_s7 >> 7 != uVar36);
                        goto LAB_002744b8;
                      }
                      if (unaff_s3 != (ImageInfo *)0x0) {
                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);
                      }
                      if (local_10cc != 0) {
                        (*(code *)PTR_DestroyImageInfo_003a95e8)();
                      }
                      uVar32 = 0x606;
                    }
LAB_00275880:
                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;
                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);
                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;
                    puVar15 = PTR_s_courses_003a88ec + 0x4a0;
                    pIVar9 = unaff_s7;
                    goto LAB_0027507c;
                  }
                }
                goto LAB_002744b8;
              }
              iVar6 = 0x18;
              do {
                iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
                if (iVar16 == -1) break;
                iVar6 = iVar6 + -1;
              } while (iVar6 != 0);
            } while( true );
          }
          uVar32 = 0x3a8;
        }
      }
LAB_002741b8:
      (*(code *)PTR_ThrowMagickException_003a8f20)
                (exception,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,
                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,uVar32,0x1a9,
                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,image_info->filename);
      if (unaff_s0 == (Image *)0x0) goto LAB_00274224;
      goto LAB_00274208;
    }
  }
  else {
    (*(code *)PTR___assert_fail_003a9608)
              (PTR_LAB_003a88e0 + 0xda0,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,
               0x375,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);
  }
  (*(code *)PTR___assert_fail_003a9608)
            (PTR_LAB_003a88e0 + 0x294c,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,
             0x37a,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);
LAB_00275e6c:
  (*(code *)PTR___assert_fail_003a9608)
            (PTR_LAB_003a88e0 + 0x1cac,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,
             0x379,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);
  goto LAB_00275e90;
}



undefined4 FUN_00274008(byte *param_1,int *param_2)

{
  byte bVar1;
  byte bVar2;
  bool bVar3;
  undefined *puVar4;
  int iVar5;
  char cVar16;
  char cVar17;
  char cVar18;
  char cVar19;
  int *piVar6;
  int *piVar7;
  undefined4 uVar8;
  int iVar9;
  double *pdVar10;
  double *pdVar11;
  undefined *puVar12;
  int iVar13;
  short sVar15;
  uint uVar14;
  uint extraout_v1;
  int iVar20;
  undefined *puVar21;
  int iVar22;
  int iVar23;
  byte *pbVar24;
  undefined *puVar25;
  undefined4 uVar26;
  int iVar27;
  int unaff_s0;
  byte *unaff_s3;
  uint uVar28;
  uint uVar29;
  uint uVar30;
  byte *pbVar31;
  int *unaff_s7;
  double dVar32;
  float fVar34;
  double dVar33;
  double in_f2_3;
  double dVar35;
  double dVar36;
  double in_f20_21;
  double in_f22_23;
  double in_f24_25;
  undefined8 uVar37;
  int *local_10d8;
  int local_10d4;
  byte *local_10d0;
  int local_10cc;
  undefined *local_10c8;
  short *local_10bc;
  int local_10b8;
  int local_10b0;
  undefined *local_10ac;
  int local_1094;
  short local_1090;
  short local_108e;
  short local_108c;
  short local_108a;
  undefined1 auStack_1088 [8];
  undefined4 local_1080;
  undefined1 auStack_1078 [8];
  int local_1070;
  int local_106c;
  short local_1066;
  short local_1064;
  short local_1062;
  undefined1 auStack_1054 [4096];
  int local_54;
  
  puVar4 = PTR___stack_chk_guard_003a9230;
  local_54 = *(int *)PTR___stack_chk_guard_003a9230;
  if (param_1 == (byte *)0x0) {
    dVar33 = (double)(*(code *)PTR___assert_fail_003a9608)
                               (PTR_LAB_003a88e0 + 0xd78,
                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,0x374,
                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);
    goto LAB_00275d54;
  }
  if (*(int *)(param_1 + 0x3214) == -0x54535255) {
    if (*(int *)(param_1 + 0x3210) != 0) {
      (*(code *)PTR_LogMagickEvent_003a91e0)
                (0x8000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,
                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x377,
                 PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210);
    }
    if (param_2 == (int *)0x0) goto LAB_00275e6c;
    if (param_2[7] == -0x54535255) {
      unaff_s0 = (*(code *)PTR_AcquireImage_003a960c)(param_1,param_2);
      iVar5 = (*(code *)PTR_OpenBlob_003a924c)(param_1,unaff_s0,2,param_2);
      if (iVar5 == 0) {
        (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);
        uVar26 = 0;
        goto LAB_00274228;
      }
      local_1066 = 0;
      local_1064 = 0;
      cVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
      cVar17 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
      cVar18 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
      cVar19 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
      if ((((cVar16 != 'P') || (unaff_s3 = (byte *)0x1fc, cVar17 != 'I')) || (cVar18 != 'C')) ||
         (cVar19 != 'T')) {
        unaff_s3 = (byte *)0x1fc;
        do {
          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
          if (iVar5 == -1) break;
          unaff_s3 = unaff_s3 + -1;
        } while (unaff_s3 != (byte *)0x0);
      }
      (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
      iVar5 = FUN_002739c8(unaff_s0,&local_1090);
      if (iVar5 == 0) {
        uVar26 = 0x397;
      }
      else {
        do {
          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
        } while (iVar5 == 0);
        uVar26 = 0x39a;
        if (iVar5 == 0x11) {
          local_10d4 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
          if (local_10d4 == 2) {
            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
            if (iVar5 != 0xff) {
              uVar26 = 0x3a0;
              goto LAB_002741b8;
            }
          }
          else if (local_10d4 != 1) {
            uVar26 = 0x3a4;
            goto LAB_002741b8;
          }
          iVar5 = (int)local_108e;
          iVar13 = (int)local_108a;
          if ((((-1 < iVar5) && (iVar9 = (int)local_1090, -1 < iVar13)) &&
              ((iVar22 = (int)local_108c, -1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13)))))) &&
             (iVar9 < iVar22)) {
            iVar23 = *(int *)(param_1 + 0x1dc);
            *(undefined4 *)(unaff_s0 + 0x200) = 0;
            *(int *)(unaff_s0 + 0x18) = iVar13 - iVar5;
            *(undefined4 *)(unaff_s0 + 0x20) = 8;
            puVar12 = PTR_LAB_003a88e0;
            *(int *)(unaff_s0 + 0x1c) = iVar22 - iVar9;
            uVar37 = *(undefined8 *)(puVar12 + 0x13f0);
            *(undefined8 *)(unaff_s0 + 0x218) = uVar37;
            *(undefined8 *)(unaff_s0 + 0x220) = uVar37;
            if (((iVar23 != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&
               (pbVar31 = unaff_s3, piVar6 = unaff_s7,
               (*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=
               *(uint *)(unaff_s0 + 0x26c))) goto LAB_00274430;
            iVar5 = (*(code *)PTR_SetImageExtent_003a94ac)
                              (unaff_s0,iVar13 - iVar5,iVar22 - iVar9,param_2);
            if (iVar5 == 0) goto LAB_002743d4;
            iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,param_2);
            if (iVar5 == 0) goto LAB_002743d4;
            local_10c8 = PTR_LAB_003a88e0;
            unaff_s7 = (int *)0x0;
            local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;
            unaff_s3 = (byte *)0x0;
            local_10b8 = 0;
            in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418);
            in_f22_23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);
            in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58);
            local_10cc = 0;
            local_10bc = &local_1090;
            local_10d0 = param_1;
            local_10d8 = param_2;
LAB_002744b8:
            do {
              piVar6 = (int *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);
              pbVar31 = local_10d0;
              if ((piVar6 != (int *)0x0) ||
                 (((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&
                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=
                   *(uint *)(unaff_s0 + 0x26c))))) {
LAB_00274430:
                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);
                uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);
                unaff_s3 = pbVar31;
                unaff_s7 = piVar6;
LAB_00274228:
                if (local_54 == *(int *)puVar4) {
                  return uVar26;
                }
LAB_00275e90:
                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();
                goto LAB_002744b8;
              }
              if ((local_10d4 == 1) ||
                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,
                 (extraout_v1 & 1) != 0)) {
                piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
              }
              if (local_10d4 == 2) {
                piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);
              }
              unaff_s7 = (int *)((uint)piVar6 & 0xffff);
              if (unaff_s7 == (int *)0x0) {
                unaff_s7 = (int *)0x0;
                goto LAB_002744b8;
              }
              if (unaff_s7 < (int *)0xa2) {
                if (*(int *)(unaff_s0 + 0x3350) != 0) {
                  (*(code *)PTR_LogMagickEvent_003a91e0)
                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,
                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,
                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,
                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),
                             *(undefined4 *)
                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));
                }
                if (unaff_s7 < (int *)0x78) {
                  if ((int *)0x6f < unaff_s7) {
                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);
                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {
                      if (unaff_s3 != (byte *)0x0) {
                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);
                      }
                      if (local_10cc != 0) {
                        (*(code *)PTR_DestroyImageInfo_003a95e8)();
                      }
                      uVar26 = 0x467;
                      goto LAB_00275880;
                    }
                    iVar5 = 0;
                    if (0 < (int)(uVar28 - 2)) {
                      do {
                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
                        if (iVar13 == -1) break;
                        iVar5 = iVar5 + 1;
                      } while (iVar5 != uVar28 - 2);
                    }
                    goto LAB_00274584;
                  }
                  if ((int *)0x14 < unaff_s7) {
                    if (unaff_s7 == (int *)&DAT_0000001b) {
                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
                      puVar12 = PTR_ReadBlobMSBShort_003a9160;
                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;
                      iVar5 = (*(code *)puVar12)(unaff_s0);
                      puVar12 = PTR_ReadBlobMSBShort_003a9160;
                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;
                      iVar5 = (*(code *)puVar12)(unaff_s0);
                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;
                      goto LAB_00274594;
                    }
                    goto LAB_002752a0;
                  }
                  if (&DAT_00000011 < unaff_s7) {
                    iVar13 = 8;
                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
                    do {
                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
                      if (iVar9 == -1) break;
                      iVar13 = iVar13 + -1;
                    } while (iVar13 != 0);
                    if (iVar5 == 2) {
                      iVar5 = 5;
                      do {
                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
                        if (iVar13 == -1) break;
                        iVar5 = iVar5 + -1;
                      } while (iVar5 != 0);
                      goto LAB_00274584;
                    }
                    if (iVar5 == 1) {
                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);
                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {
                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);
                        if (iVar5 == 0) {
                          if (unaff_s3 != (byte *)0x0) {
                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);
                          }
                          if (local_10cc != 0) {
                            (*(code *)PTR_DestroyImageInfo_003a95e8)();
                          }
                          uVar26 = 0x419;
                        }
                        else {
                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);
                          if (iVar5 != 0) {
                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;
                            dVar33 = (double)local_1070;
                            if (local_1070 < 0) {
                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);
                            }
                            *(double *)(unaff_s0 + 0x218) = dVar33;
                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;
                            dVar33 = (double)local_106c;
                            if (local_106c < 0) {
                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);
                            }
                            *(double *)(unaff_s0 + 0x220) = dVar33;
                            *(undefined4 *)(unaff_s0 + 0x200) = 1;
                            (*(code *)puVar12)(unaff_s0);
                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);
                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))
                            {
                              iVar5 = 0;
                              do {
                                iVar5 = iVar5 + 1;
                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);
                              } while (iVar5 != uVar28 + 1);
                              uVar29 = (int)local_108c - (int)local_1090;
                              iVar5 = (int)local_108a - (int)local_108e;
                              if (local_1066 < 9) {
                                uVar28 = uVar28 & 0x7fff;
                              }
                              else if (local_1066 == 0x10) {
                                uVar29 = uVar29 * 2;
                              }
                              if (uVar28 != 0) {
                                uVar29 = uVar28;
                              }
                              if (uVar29 < 8) {
                                if (0 < (int)(uVar29 * iVar5)) {
                                  iVar13 = 0;
                                  do {
                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
                                    if (iVar9 == -1) break;
                                    iVar13 = iVar13 + 1;
                                  } while (uVar29 * iVar5 != iVar13);
                                }
                              }
                              else {
                                iVar13 = 0;
                                if (0 < iVar5) {
                                  do {
                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);
                                    if (iVar9 != 0) break;
                                    if (uVar29 < 0xc9) {
                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
                                    }
                                    else {
                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
                                    }
                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);
                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&
                                       ((uint)uVar37 < uVar28)) {
                                      if (unaff_s3 != (byte *)0x0) {
                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);
                                      }
                                      if (local_10cc != 0) {
                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();
                                      }
                                      uVar26 = 0x444;
                                      goto LAB_00275880;
                                    }
                                    uVar30 = 0;
                                    if (0 < (int)uVar28) {
                                      do {
                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
                                        if (iVar9 == -1) break;
                                        uVar30 = uVar30 + 1;
                                      } while (uVar28 != uVar30);
                                    }
                                    iVar13 = iVar13 + 1;
                                  } while (iVar5 != iVar13);
                                }
                              }
                              goto LAB_00274584;
                            }
                            if (unaff_s3 != (byte *)0x0) {
                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);
                            }
                            if (local_10cc != 0) {
                              (*(code *)PTR_DestroyImageInfo_003a95e8)();
                            }
                            uVar26 = 0x425;
                            goto LAB_00275880;
                          }
                          if (unaff_s3 != (byte *)0x0) {
                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);
                          }
                          if (local_10cc != 0) {
                            (*(code *)PTR_DestroyImageInfo_003a95e8)();
                          }
                          uVar26 = 0x41b;
                        }
                        goto LAB_002757bc;
                      }
                      if (unaff_s3 != (byte *)0x0) {
                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);
                      }
                      if (local_10cc != 0) {
                        (*(code *)PTR_DestroyImageInfo_003a95e8)();
                      }
                      uVar26 = 0x417;
                      goto LAB_00275880;
                    }
                    if (unaff_s3 != (byte *)0x0) {
                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);
                    }
                    if (local_10cc != 0) {
                      (*(code *)PTR_DestroyImageInfo_003a95e8)();
                    }
                    uVar26 = 0x413;
                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;
                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);
                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;
                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;
                    piVar7 = unaff_s7;
                    goto LAB_0027507c;
                  }
                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;
                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);
                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {
                    if (unaff_s3 != (byte *)0x0) {
                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);
                    }
                    if (local_10cc != 0) {
                      (*(code *)PTR_DestroyImageInfo_003a95e8)();
                    }
                    uVar26 = 0x3e4;
                    goto LAB_00275880;
                  }
                  if (uVar28 != 10) {
                    if (0 < (int)(uVar28 - 2)) {
                      iVar5 = 0;
                      do {
                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
                        if (iVar13 == -1) break;
                        iVar5 = iVar5 + 1;
                      } while (uVar28 - 2 != iVar5);
                    }
                    goto LAB_00274594;
                  }
                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);
                  puVar12 = PTR_SetImageExtent_003a94ac;
                  if (iVar5 == 0) {
                    if (unaff_s3 != (byte *)0x0) {
                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);
                    }
                    if (local_10cc != 0) {
                      (*(code *)PTR_DestroyImageInfo_003a95e8)();
                    }
                    uVar26 = 0x3ed;
                    goto LAB_002757bc;
                  }
                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;
                  iVar5 = (int)local_108a - (int)local_108e;
                  iVar13 = (int)local_108c - (int)local_1090;
                  *(int *)(unaff_s0 + 0x18) = iVar5;
                  *(int *)(unaff_s0 + 0x1c) = iVar13;
                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);
                  if ((iVar5 != 0) &&
                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),
                     iVar5 != 0)) goto LAB_00274594;
LAB_002743d4:
                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);
                  goto LAB_00274228;
                }
                if ((int *)0x9b < unaff_s7) {
                  if (unaff_s7 == (int *)0xa1) {
                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);
                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {
                      if (unaff_s3 != (byte *)0x0) {
                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);
                      }
                      if (local_10cc != 0) {
                        (*(code *)PTR_DestroyImageInfo_003a95e8)();
                      }
                      uVar26 = 0x562;
                      goto LAB_00275880;
                    }
                    if (uVar28 != 0) {
                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);
                      uVar29 = 4;
                      if (uVar28 < 5) {
                        uVar29 = uVar28;
                      }
                      iVar13 = uVar28 - uVar29;
                      if ((iVar13 != 0) &&
                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0
                         )) {
                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);
                        if (iVar13 != iVar22) {
                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);
                          if (unaff_s3 != (byte *)0x0) {
                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);
                          }
                          if (local_10cc != 0) {
                            (*(code *)PTR_DestroyImageInfo_003a95e8)();
                          }
                          uVar26 = 0x570;
                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;
                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);
                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;
                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;
                          uVar8 = 400;
                          goto LAB_00275084;
                        }
                        if (iVar5 == 0xe0) {
                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);
                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);
                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)
                                            (unaff_s0,
                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +
                                                  -0x5890,uVar26,local_10d8);
                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);
                          if (iVar5 == 0) {
                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);
                            if (unaff_s3 != (byte *)0x0) {
                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);
                            }
                            if (local_10cc != 0) {
                              (*(code *)PTR_DestroyImageInfo_003a95e8)();
                            }
                            uVar26 = 0x57e;
                            goto LAB_00275720;
                          }
                        }
                        else if (iVar5 == 0x1f2) {
                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);
                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);
                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)
                                            (unaff_s0,
                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +
                                                  -0x1918,uVar26,local_10d8);
                          if (iVar5 == 0) {
                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);
                            if (unaff_s3 != (byte *)0x0) {
                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);
                            }
                            if (local_10cc != 0) {
                              (*(code *)PTR_DestroyImageInfo_003a95e8)();
                            }
                            uVar26 = 0x58b;
                            goto LAB_00275720;
                          }
                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);
                        }
                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);
                      }
                    }
                    goto LAB_00274594;
                  }
LAB_002752a0:
                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);
                  if (iVar5 == -1) {
                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
                  }
                  else {
                    iVar13 = 0;
                    if (0 < iVar5) {
                      do {
                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
                        if (iVar9 == -1) break;
                        iVar13 = iVar13 + 1;
                      } while (iVar5 != iVar13);
                    }
                  }
                  goto LAB_00274584;
                }
                if ((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)) goto LAB_002752a0;
                bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2;
                if (bVar3) {
                  uVar28 = 0;
                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
                }
                else {
                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();
                }
                iVar5 = FUN_002739c8(unaff_s0,local_10bc);
                if (iVar5 != 0) {
                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)
                                            (unaff_s0,(int)local_108a - (int)local_108e,
                                             (int)local_108c - (int)local_1090,1);
                  if (piVar7 == (int *)0x0) {
                    if (local_10cc != 0) {
                      (*(code *)PTR_DestroyImageInfo_003a95e8)();
                    }
                    uVar26 = 0x498;
                    goto LAB_002757bc;
                  }
                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);
                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {
                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);
                    if (iVar5 != 0) {
                      piVar7[8] = (int)local_1062;
                      puVar12 = PTR_SetImageAlpha_003a8c78;
                      dVar33 = (double)local_1070;
                      if (local_1070 < 0) {
                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);
                      }
                      dVar32 = (double)local_106c;
                      if (local_106c < 0) {
                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);
                      }
                      if (local_1064 == 4) {
                        piVar7[0xaf] = 4;
                        piVar7[0x80] = 1;
                        puVar21 = PTR_LAB_003a88e0;
                        *(double *)(piVar7 + 0x86) = dVar33;
                        *(double *)(piVar7 + 0x88) = dVar32;
                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);
                      }
                      else {
                        *(double *)(piVar7 + 0x86) = dVar33;
                        piVar7[0xaf] = 0;
                        *(double *)(piVar7 + 0x88) = dVar32;
                        piVar7[0x80] = 1;
                      }
                      if (!bVar3) {
                        piVar7[9] = 2;
                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;
                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);
                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
                        puVar12 = PTR_AcquireImageColormap_003a9194;
                        piVar7[9] = iVar5 + 1;
                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);
                        if (iVar5 == 0) goto LAB_002756e4;
                        if (0 < piVar7[9]) {
                          uVar29 = 0;
                          do {
                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
                            uVar30 = uVar29;
                            if (-1 < sVar15) {
                              if (piVar7[9] == 0) {
                                trap(7);
                              }
                              uVar30 = uVar14 % (uint)piVar7[9];
                            }
                            uVar29 = uVar29 + 1;
                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
                            puVar12 = PTR_ReadBlobMSBShort_003a9160;
                            iVar9 = uVar30 * 0x58;
                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;
                            iVar5 = (*(code *)puVar12)(unaff_s0);
                            puVar12 = PTR_ReadBlobMSBShort_003a9160;
                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;
                            iVar5 = (*(code *)puVar12)(unaff_s0);
                            iVar13 = piVar7[9];
                            unaff_s3 = (byte *)(piVar7[10] + iVar9);
                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;
                          } while ((int)uVar29 < iVar13);
                        }
                      }
                      goto LAB_00274838;
                    }
                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);
                    if (local_10cc != 0) {
                      (*(code *)PTR_DestroyImageInfo_003a95e8)();
                    }
                    uVar26 = 0x49e;
                    unaff_s7 = piVar7;
                    goto LAB_002757bc;
                  }
                  piVar7[9] = 2;
LAB_0027565c:
                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);
                  if (iVar5 == 0) {
LAB_002756e4:
                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);
                    if (local_10cc != 0) {
                      (*(code *)PTR_DestroyImageInfo_003a95e8)();
                    }
                    uVar26 = 0x4b8;
                    unaff_s7 = piVar7;
LAB_00275720:
                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;
                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);
                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;
                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;
                    uVar8 = 400;
                    goto LAB_00275084;
                  }
                  iVar5 = piVar7[9];
                  if (0 < iVar5) {
                    iVar13 = piVar7[10];
                    pdVar10 = (double *)(iVar13 + 0x28);
                    do {
                      pdVar11 = pdVar10 + 0xb;
                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);
                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);
                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);
                      pdVar10 = pdVar11;
                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));
                  }
LAB_00274838:
                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);
                  if (iVar5 == 0) {
                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);
                    if (iVar5 == 0) {
                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);
                      if (local_10cc != 0) {
                        (*(code *)PTR_DestroyImageInfo_003a95e8)();
                      }
                      uVar26 = 0x4d9;
                      unaff_s7 = piVar7;
                    }
                    else {
                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);
                      if (iVar5 != 0) {
                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {
                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);
                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {
                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);
                            if (local_10cc != 0) {
                              (*(code *)PTR_DestroyImageInfo_003a95e8)();
                            }
                            uVar26 = 0x4e5;
                            unaff_s7 = piVar7;
                            goto LAB_00275880;
                          }
                          iVar5 = 0;
                          if (0 < (int)(uVar29 - 2)) {
                            do {
                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
                              if (iVar13 == -1) break;
                              iVar5 = iVar5 + 1;
                            } while (uVar29 - 2 != iVar5);
                          }
                        }
                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {
                          iVar5 = (int)local_1066;
                        }
                        else {
                          iVar5 = 1;
                        }
                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);
                        if (unaff_s3 == (byte *)0x0) {
                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);
                          if (local_10cc != 0) {
                            (*(code *)PTR_DestroyImageInfo_003a95e8)();
                          }
                          uVar26 = 0x4f2;
                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;
                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);
                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;
                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;
                        }
                        else {
                          if (piVar7[7] < 1) {
LAB_00276500:
                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);
                            if (((local_10b8 == 0) &&
                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&
                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {
                              (*(code *)PTR_CompositeImage_003a8cc4)
                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,
                                         (int)local_1080._0_2_);
                            }
                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);
                            goto LAB_00274584;
                          }
                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {
                            local_10b0 = 0;
                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;
                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;
                            uVar29 = 0;
                            pbVar31 = unaff_s3;
                            do {
                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)
                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);
                              if (iVar5 == 0) goto LAB_00276500;
                              iVar13 = piVar7[6];
                              if (0 < iVar13) {
                                iVar9 = 0;
                                dVar32 = *(double *)(local_10ac + -0x5af0);
                                dVar33 = dVar32;
                                do {
                                  if (*piVar7 == 2) {
                                    if ((int)(uint)*pbVar31 < piVar7[9]) {
                                      fVar34 = (float)*pbVar31;
                                      iVar22 = (int)fVar34 * 0x58;
                                    }
                                    else if (*local_10d8 == 0x1a9) {
                                      fVar34 = 0.0;
                                      iVar22 = 0;
                                    }
                                    else {
                                      (*(code *)PTR_ThrowMagickException_003a8f20)
                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,
                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +
                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);
                                      fVar34 = 0.0;
                                      iVar22 = 0;
                                      iVar13 = piVar7[6];
                                    }
                                    iVar23 = piVar7[0xb4];
                                    if (*(int *)(iVar23 + 0x40) != 0) {
                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;
                                    }
                                    iVar20 = *(int *)(iVar23 + 0x14);
                                    iVar22 = piVar7[10] + iVar22;
                                    iVar27 = *(int *)(iVar23 + 0x20);
                                    dVar36 = *(double *)(iVar22 + 0x30);
                                    dVar35 = *(double *)(iVar22 + 0x38);
                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =
                                         (float)*(double *)(iVar22 + 0x28);
                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;
                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;
                                  }
                                  else if (local_1066 == 0x10) {
                                    bVar1 = pbVar31[1];
                                    iVar22 = piVar7[0xb4];
                                    bVar2 = *pbVar31;
                                    iVar27 = *(int *)(iVar22 + 0x14);
                                    iVar23 = *(int *)(iVar22 + 0x20);
                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =
                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);
                                    *(float *)(iVar5 + iVar27 * 4) =
                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *
                                                dVar33);
                                    *(float *)(iVar5 + iVar23 * 4) =
                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);
                                    pbVar31 = pbVar31 + 1;
                                  }
                                  else if (piVar7[0xaf] == 0) {
                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <
                                        pbVar31) {
                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);
                                      if (local_10cc != 0) {
                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();
                                      }
                                      uVar26 = 0x523;
                                      goto LAB_0027504c;
                                    }
                                    iVar22 = piVar7[0xb4];
                                    iVar27 = *(int *)(iVar22 + 0x14);
                                    iVar23 = *(int *)(iVar22 + 0x20);
                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =
                                         (float)((double)*pbVar31 * dVar32);
                                    *(float *)(iVar5 + iVar27 * 4) =
                                         (float)((double)pbVar31[iVar13] * dVar32);
                                    *(float *)(iVar5 + iVar23 * 4) =
                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);
                                  }
                                  else {
                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <
                                        pbVar31) {
                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);
                                      if (local_10cc != 0) {
                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();
                                      }
                                      uVar26 = 0x52e;
                                      goto LAB_0027504c;
                                    }
                                    iVar22 = piVar7[0xb4];
                                    pbVar24 = pbVar31 + iVar13;
                                    if (*(int *)(iVar22 + 0x34) != 0) {
                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =
                                           (float)((double)*pbVar31 * in_f22_23);
                                    }
                                    dVar35 = *(double *)(local_10ac + -0x5af0);
                                    iVar27 = *(int *)(iVar22 + 0x14);
                                    iVar23 = *(int *)(iVar22 + 0x20);
                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =
                                         (float)((double)*pbVar24 * dVar35);
                                    *(float *)(iVar5 + iVar27 * 4) =
                                         (float)((double)pbVar24[iVar13] * dVar35);
                                    *(float *)(iVar5 + iVar23 * 4) =
                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);
                                  }
                                  iVar9 = iVar9 + 1;
                                  pbVar31 = pbVar31 + 1;
                                  iVar5 = iVar5 + piVar7[0xb0] * 4;
                                } while (iVar9 < iVar13);
                              }
                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)
                              ;
                              if (((iVar5 == 0) ||
                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&
                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],
                                   pbVar31 < unaff_s3)))) ||
                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)
                                                     (unaff_s0,
                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +
                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0
                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))
                              goto LAB_00276500;
                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;
                              uVar29 = uVar30;
                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);
                          }
                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);
                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);
                          if (local_10cc != 0) {
                            (*(code *)PTR_DestroyImageInfo_003a95e8)();
                          }
                          uVar26 = 0x4fc;
                          unaff_s7 = piVar7;
LAB_0027504c:
                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;
                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);
                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;
                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;
                          piVar7 = unaff_s7;
                        }
                        goto LAB_0027507c;
                      }
                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);
                      if (local_10cc != 0) {
                        (*(code *)PTR_DestroyImageInfo_003a95e8)();
                      }
                      uVar26 = 0x4db;
                      unaff_s7 = piVar7;
                    }
                    goto LAB_002757bc;
                  }
                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);
                  if (local_10cc != 0) {
                    (*(code *)PTR_DestroyImageInfo_003a95e8)();
                  }
                  uVar26 = 0x4d7;
                  unaff_s7 = piVar7;
                  goto LAB_00275880;
                }
                if (unaff_s3 != (byte *)0x0) {
                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);
                }
                if (local_10cc != 0) {
                  (*(code *)PTR_DestroyImageInfo_003a95e8)();
                }
                uVar26 = 0x491;
LAB_002757bc:
                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;
                uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);
                puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;
                puVar12 = PTR_s_courses_003a88ec + -400;
                piVar7 = unaff_s7;
LAB_0027507c:
                uVar8 = 0x1a9;
                unaff_s7 = piVar7;
LAB_00275084:
                (*(code *)PTR_ThrowMagickException_003a8f20)
                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);
LAB_00274208:
                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);
                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);
LAB_00274224:
                uVar26 = 0;
                goto LAB_00274228;
              }
              if (*(int *)(unaff_s0 + 0x3350) != 0) {
                (*(code *)PTR_LogMagickEvent_003a91e0)
                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,
                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,
                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7);
              }
              if (unaff_s7 != (int *)0xc00) {
LAB_00274584:
                if (&DAT_0000001f < unaff_s7 + -0x2c) {
LAB_00274594:
                  if ((int *)0xff < unaff_s7 + -0x2000) {
                    if (unaff_s7 == (int *)0x8200) {
                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);
                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);
                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {
                        if (unaff_s3 != (byte *)0x0) {
                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);
                        }
                        if (local_10cc != 0) {
                          (*(code *)PTR_DestroyImageInfo_003a95e8)();
                        }
                        uVar26 = 0x5b9;
                        goto LAB_00275880;
                      }
                      iVar5 = 6;
                      if (0x9a < uVar28) {
                        do {
                          iVar5 = iVar5 + -1;
                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);
                        } while (iVar5 != 0);
                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);
                        if (iVar5 == 0) {
                          if (unaff_s3 != (byte *)0x0) {
                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);
                          }
                          if (local_10cc != 0) {
                            (*(code *)PTR_DestroyImageInfo_003a95e8)();
                          }
                          uVar26 = 0x5c8;
                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);
LAB_00275b88:
                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;
                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;
                          puVar12 = PTR_s_courses_003a88ec + -400;
                          uVar8 = 0x1a9;
                        }
                        else {
                          iVar5 = 0x7a;
                          do {
                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
                            if (iVar13 == -1) break;
                            iVar5 = iVar5 + -1;
                          } while (iVar5 != 0);
                          iVar5 = uVar28 - 0x9a;
                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);
                          pbVar31 = local_10d0 + 0x2210;
                          if (piVar6 != (int *)0x0) {
                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)
                                               (unaff_s0,iVar5,piVar6,&local_1080);
                            if (local_1080 == iVar5) {
                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();
                              (*(code *)PTR_FormatLocaleString_003a8d7c)
                                        (iVar5 + 0x2210,0x1000,
                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,
                                         pbVar31);
                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)
                                                           (iVar5,uVar26,local_1080,local_10d8);
                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);
                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);
                              goto LAB_00274de8;
                            }
                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);
                            if (unaff_s3 != (byte *)0x0) {
                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);
                            }
                            if (local_10cc != 0) {
                              (*(code *)PTR_DestroyImageInfo_003a95e8)();
                            }
                            uVar26 = 0x5d5;
                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);
                            unaff_s7 = piVar6;
                            goto LAB_00275b88;
                          }
                          if (unaff_s3 != (byte *)0x0) {
                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);
                          }
                          if (local_10cc != 0) {
                            (*(code *)PTR_DestroyImageInfo_003a95e8)();
                          }
                          uVar26 = 0x5d0;
                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;
                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);
                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;
                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;
                          uVar8 = 400;
                        }
                        goto LAB_00275084;
                      }
LAB_00274de8:
                      local_10b8 = 1;
                      if (unaff_s3 != (byte *)0x0) {
                        uVar28 = *(uint *)(unaff_s3 + 0x18);
                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {
                          uVar28 = *(uint *)(unaff_s0 + 0x18);
                        }
                        dVar33 = (double)(int)uVar28;
                        if ((int)uVar28 < 0) {
                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);
                        }
                        uVar29 = *(uint *)(unaff_s0 + 0x1c);
                        uVar28 = *(uint *)(unaff_s3 + 0x1c);
                        if (uVar28 < uVar29) {
                          in_f2_3 = (double)(int)uVar29;
                          if ((int)uVar29 < 0) {
LAB_00275d54:
                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);
                          }
                        }
                        else {
                          in_f2_3 = (double)(int)uVar28;
                          if ((int)uVar28 < 0) {
                            in_f2_3 = in_f2_3 + in_f24_25;
                          }
                        }
                        (*(code *)PTR_FormatLocaleString_003a8d7c)
                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);
                        uVar28 = *(uint *)(unaff_s0 + 0x18);
                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {
                          uVar28 = *(uint *)(unaff_s3 + 0x18);
                        }
                        uVar29 = *(uint *)(unaff_s3 + 0x1c);
                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {
                          uVar29 = *(uint *)(unaff_s0 + 0x1c);
                        }
                        (*(code *)PTR_SetImageExtent_003a94ac)
                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);
                        (*(code *)PTR_TransformImageColorspace_003a9180)
                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);
                        (*(code *)PTR_CompositeImage_003a8cc4)
                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);
                        puVar12 = PTR_DestroyImage_003a8f4c;
                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);
                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);
                        local_10b8 = 1;
                      }
                      goto LAB_002744b8;
                    }
                    pbVar31 = unaff_s3;
                    piVar6 = unaff_s7;
                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)
                       ) goto LAB_00274430;
                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {
                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);
                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {
                        if (uVar28 != 0) {
                          uVar29 = 0;
                          do {
                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
                            if (iVar5 == -1) break;
                            uVar29 = uVar29 + 1;
                          } while (uVar28 != uVar29);
                        }
                        goto LAB_002744b8;
                      }
                      if (unaff_s3 != (byte *)0x0) {
                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);
                      }
                      if (local_10cc != 0) {
                        (*(code *)PTR_DestroyImageInfo_003a95e8)();
                      }
                      uVar26 = 0x5f8;
                    }
                    else {
                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;
                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);
                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||
                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {
                        uVar28 = 0;
                        do {
                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
                          if (iVar5 == -1) break;
                          uVar28 = uVar28 + 1;
                        } while ((int)unaff_s7 >> 7 != uVar28);
                        goto LAB_002744b8;
                      }
                      if (unaff_s3 != (byte *)0x0) {
                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);
                      }
                      if (local_10cc != 0) {
                        (*(code *)PTR_DestroyImageInfo_003a95e8)();
                      }
                      uVar26 = 0x606;
                    }
LAB_00275880:
                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;
                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);
                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;
                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;
                    piVar7 = unaff_s7;
                    goto LAB_0027507c;
                  }
                }
                goto LAB_002744b8;
              }
              iVar5 = 0x18;
              do {
                iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
                if (iVar13 == -1) break;
                iVar5 = iVar5 + -1;
              } while (iVar5 != 0);
            } while( true );
          }
          uVar26 = 0x3a8;
        }
      }
LAB_002741b8:
      (*(code *)PTR_ThrowMagickException_003a8f20)
                (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,
                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,uVar26,0x1a9,
                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,param_1 + 0x2210);
      if (unaff_s0 == 0) goto LAB_00274224;
      goto LAB_00274208;
    }
  }
  else {
    (*(code *)PTR___assert_fail_003a9608)
              (PTR_LAB_003a88e0 + 0xda0,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,
               0x375,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);
  }
  (*(code *)PTR___assert_fail_003a9608)
            (PTR_LAB_003a88e0 + 0x294c,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,
             0x37a,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);
LAB_00275e6c:
  (*(code *)PTR___assert_fail_003a9608)
            (PTR_LAB_003a88e0 + 0x1cac,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,
             0x379,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);
  goto LAB_00275e90;
}


lui gp,0x14
addiu gp,gp,-0x3758
addu gp,gp,t9
addiu sp,sp,-0x1100
sdc1 f28,0x10f8(sp)
sw s6,0x10c8(sp)
lw s6,-0x7680(gp)
sw gp,0x20(sp)
sw ra,0x10d4(sp)
sw s8,0x10d0(sp)
sw s7,0x10cc(sp)
sw s5,0x10c4(sp)
sw s4,0x10c0(sp)
sw s3,0x10bc(sp)
sw s2,0x10b8(sp)
sw s1,0x10b4(sp)
sw s0,0x10b0(sp)
lw v0,0x0(s6)
sdc1 f26,0x10f0(sp)
sdc1 f24,0x10e8(sp)
sw v0,0x10ac(sp)
sdc1 f22,0x10e0(sp)
beq a0,zero,0x00275d30
_sdc1 f20,0x10d8(sp)
lui v0,0xabac
lw v1,0x3214(a0)
ori v0,v0,0xadab
bne v1,v0,0x00275e24
_or s1,a0,zero
lw v0,0x3210(a0)
bne v0,zero,0x002742e4
_or s2,a1,zero
beq s2,zero,0x00275e6c
_lui v0,0xabac
lw v1,0x1c(s2)
ori v0,v0,0xadab
bne v1,v0,0x00275e48
_lw t9,-0x72a4(gp)
or a1,s2,zero
jalr t9
_or a0,s1,zero
li a2,0x2
lw gp,0x20(sp)
or a3,s2,zero
or a1,v0,zero
or a0,s1,zero
lw t9,-0x7664(gp)
jalr t9
_or s0,v0,zero
beq v0,zero,0x002743f0
_lw gp,0x20(sp)
lw t9,-0x70c0(gp)
or a0,s0,zero
sh zero,0x9a(sp)
jalr t9
_sh zero,0x9c(sp)
or a0,s0,zero
lw gp,0x20(sp)
or s3,v0,zero
lw t9,-0x70c0(gp)
jalr t9
_seb s3,s3
or a0,s0,zero
lw gp,0x20(sp)
lw t9,-0x70c0(gp)
jalr t9
_or s4,v0,zero
or a0,s0,zero
lw gp,0x20(sp)
lw t9,-0x70c0(gp)
jalr t9
_or s5,v0,zero
li v1,0x50
beq s3,v1,0x00274278
_lw gp,0x20(sp)
li s3,0x1fc
b 0x0027414c
_li s4,-0x1
addiu s3,s3,-0x1
beq s3,zero,0x00274164
_lw t9,-0x7750(gp)
lw t9,-0x70c0(gp)
jalr t9
_or a0,s0,zero
bne v0,s4,0x00274140
_lw gp,0x20(sp)
lw t9,-0x7750(gp)
or a0,s0,zero
jalr t9
_addiu s4,sp,0x70
or a1,s4,zero
lw gp,0x20(sp)
lw v0,-0x7cd4(gp)
addiu s8,v0,0x39c8
or t9,s8,zero
bal 0x002739c8
_or a0,s0,zero
beq v0,zero,0x00274320
_lw gp,0x20(sp)
lw t9,-0x70c0(gp)
jalr t9
_or a0,s0,zero
beq v0,zero,0x00274194
_lw gp,0x20(sp)
li v1,0x11
beq v0,v1,0x002742ac
_li a3,0x39a
addiu s1,s1,0x2210
lw v0,-0x7fd0(gp)
or a0,s2,zero
lw a2,-0x7f64(gp)
lw a1,-0x7f64(gp)
addiu v0,v0,0x3e28
lw t9,-0x7990(gp)
addiu a2,a2,-0x3dbc
sw s1,0x1c(sp)
sw v0,0x18(sp)
addiu a1,a1,-0x3d60
lw v0,-0x7fc4(gp)
addiu v0,v0,-0x190
sw v0,0x14(sp)
li v0,0x1a9
jalr t9
_sw v0,0x10(sp)
beq s0,zero,0x00274224
_lw gp,0x20(sp)
lw t9,-0x7228(gp)
or a0,s0,zero
jalr t9
_nop
lw gp,0x20(sp)
lw t9,-0x73a0(gp)
jalr t9
_or a0,s0,zero
lw gp,0x20(sp)
or v0,zero,zero
lw a0,0x10ac(sp)
lw v1,0x0(s6)
bne a0,v1,0x00275e90
_lw ra,0x10d4(sp)
lw s8,0x10d0(sp)
lw s7,0x10cc(sp)
lw s6,0x10c8(sp)
lw s5,0x10c4(sp)
lw s4,0x10c0(sp)
lw s3,0x10bc(sp)
lw s2,0x10b8(sp)
lw s1,0x10b4(sp)
lw s0,0x10b0(sp)
ldc1 f28,0x10f8(sp)
ldc1 f26,0x10f0(sp)
ldc1 f24,0x10e8(sp)
ldc1 f22,0x10e0(sp)
ldc1 f20,0x10d8(sp)
jr ra
_addiu sp,sp,0x1100
li v1,0x49
seb s4,s4
bne s4,v1,0x00274138
_li s3,0x1fc
li v1,0x43
seb s5,s5
bne s5,v1,0x00274138
_li v1,0x54
seb v0,v0
bne v0,v1,0x00274138
_lw t9,-0x7750(gp)
b 0x00274168
_or a0,s0,zero
lw t9,-0x70c0(gp)
jalr t9
_or a0,s0,zero
li v1,0x2
lw gp,0x20(sp)
beq v0,v1,0x00274408
_sw v0,0x2c(sp)
lw v1,0x2c(sp)
li v0,0x1
beq v1,v0,0x00274330
_lh v0,0x72(sp)
addiu s1,s1,0x2210
b 0x002741b8
_li a3,0x3a4
addiu v0,a0,0x2210
lw a2,-0x7f64(gp)
lw a1,-0x7f64(gp)
li a3,0x377
lw t9,-0x76d0(gp)
ori a0,zero,0x8000
sw v0,0x14(sp)
addiu a2,a2,-0x3dbc
lw v0,-0x7fcc(gp)
addiu a1,a1,-0x3d60
addiu v0,v0,-0x62ac
jalr t9
_sw v0,0x10(sp)
b 0x00274088
_lw gp,0x20(sp)
addiu s1,s1,0x2210
b 0x002741b8
_li a3,0x397
lh v0,0x72(sp)
bltz v0,0x002743e4
_lh v1,0x76(sp)
bltz v1,0x002743e4
_lh a0,0x70(sp)
bltz a0,0x002743e4
_lh a2,0x74(sp)
bltz a2,0x002743e4
_slt a1,v0,v1
beq a1,zero,0x002743e4
_slt a1,a0,a2
beq a1,zero,0x002743e4
_subu a1,v1,v0
lw a3,0x1dc(s1)
li v0,0x8
sw zero,0x200(s0)
subu a2,a2,a0
sw a1,0x18(s0)
sw v0,0x20(s0)
lw v0,-0x7fd0(gp)
sw a2,0x1c(s0)
ldc1 f0,0x13f0(v0)
sdc1 f0,0x218(s0)
beq a3,zero,0x002743b8
_sdc1 f0,0x220(s0)
lw v0,0x2c(s1)
beq v0,zero,0x002743bc
_lw t9,-0x7404(gp)
lw a0,0x28(s1)
lw v1,0x26c(s0)
addu v0,v0,a0
addiu v0,v0,-0x1
sltu v0,v1,v0
beq v0,zero,0x00274430
_lw t9,-0x7228(gp)
lw t9,-0x7404(gp)
or a3,s2,zero
jalr t9
_or a0,s0,zero
bne v0,zero,0x00274450
_lw gp,0x20(sp)
lw t9,-0x73a0(gp)
jalr t9
_or a0,s0,zero
b 0x00274228
_lw gp,0x20(sp)
addiu s1,s1,0x2210
b 0x002741b8
_li a3,0x3a8
lw t9,-0x73a0(gp)
jalr t9
_or a0,s0,zero
or v0,zero,zero
b 0x00274228
_lw gp,0x20(sp)
lw t9,-0x70c0(gp)
jalr t9
_or a0,s0,zero
li v1,0xff
beq v0,v1,0x0027432c
_lw gp,0x20(sp)
addiu s1,s1,0x2210
b 0x002741b8
_li a3,0x3a0
lw t9,-0x7228(gp)
jalr t9
_or a0,s0,zero
lw gp,0x20(sp)
lw t9,-0x7464(gp)
jalr t9
_or a0,s0,zero
b 0x00274228
_lw gp,0x20(sp)
lw t9,-0x757c(gp)
or a1,s2,zero
jalr t9
_or a0,s0,zero
beq v0,zero,0x002743d0
_lw gp,0x20(sp)
lw v0,-0x7fd0(gp)
or s5,zero,zero
lw v1,-0x7fc8(gp)
or s3,zero,zero
sw zero,0x48(sp)
sw v0,0x38(sp)
ldc1 f24,0x1418(v0)
lw v0,-0x7fd0(gp)
ldc1 f22,-0x5af0(v1)
sw v1,0x54(sp)
ldc1 f20,0x1a58(v0)
sw zero,0x34(sp)
sw s1,0x30(sp)
sw s2,0x28(sp)
sw s4,0x44(sp)
or s4,s5,zero
or s5,s3,zero
lw s3,0x30(sp)
li s2,0x1
li s1,0x2
lw t9,-0x7168(gp)
jalr t9
_or a0,s0,zero
lw gp,0x20(sp)
bne v0,zero,0x0027442c
_or s7,v0,zero
lw v0,0x1dc(s3)
beq v0,zero,0x00274508
_lw v0,0x2c(sp)
lw v0,0x2c(s3)
beq v0,zero,0x00274504
_nop
lw a0,0x28(s3)
lw v1,0x26c(s0)
addu v0,v0,a0
addiu v0,v0,-0x1
sltu v0,v1,v0
beq v0,zero,0x00274430
_lw t9,-0x7228(gp)
lw v0,0x2c(sp)
beq v0,s2,0x00274524
_lw t9,-0x7594(gp)
jalr t9
_or a0,s0,zero
andi v0,v1,0x1
beq v0,zero,0x00274538
_lw gp,0x20(sp)
lw t9,-0x70c0(gp)
jalr t9
_or a0,s0,zero
lw gp,0x20(sp)
or s4,v0,zero
lw v0,0x2c(sp)
beq v0,s1,0x002746e8
_lw t9,-0x72b0(gp)
andi v0,s4,0xffff
beq v0,zero,0x002746e0
_nop
lw v1,0x3350(s0)
or s3,s5,zero
sw s7,0x4c(sp)
or s7,v0,zero
slti v0,v0,0xa2
bne v0,zero,0x00274640
_or s5,s4,zero
bne v1,zero,0x00274d20
_lw v0,-0x7f64(gp)
li v0,0xc00
beq s7,v0,0x00274f04
_nop
addiu v0,s7,-0xb0
sltiu v0,v0,0x20
bne v0,zero,0x002745ec
_nop
addiu v0,s7,-0x8000
sltiu v0,v0,0x100
bne v0,zero,0x002745ec
_ori v0,zero,0x8200
beq s7,v0,0x00274db4
_li v0,0xff
beq s7,v0,0x00274430
_lw t9,-0x7228(gp)
ori v0,zero,0xffff
beq s7,v0,0x00274430
_nop
addiu v0,s7,-0xd0
sltiu v0,v0,0x2f
bne v0,zero,0x00274d54
_lui v0,0xffff
addiu v0,v0,0x7f00
addu v0,s7,v0
sltiu v0,v0,0x7f00
bne v0,zero,0x00274d54
_addiu v0,s7,-0x100
sltiu v0,v0,0x7f00
bne v0,zero,0x002745f4
_lw t9,-0x73f8(gp)
b 0x002744a4
_or s5,s7,zero
or a0,s0,zero
jalr t9
_sra s1,s7,0x7
sra a0,s7,0x1f
beq a0,v0,0x00275ce0
_lw gp,0x20(sp)
li s2,-0x1
b 0x00274624
_lw s4,0x4c(sp)
addiu s4,s4,0x1
beq s1,s4,0x002744a4
_or s5,s7,zero
lw t9,-0x70c0(gp)
jalr t9
_or a0,s0,zero
bne v0,s2,0x00274618
_lw gp,0x20(sp)
b 0x002744a4
_or s5,s7,zero
bne v1,zero,0x00274cc4
_sll v0,s7,0x1
slti v0,s7,0x78
beq v0,zero,0x002746fc
_slti v0,s7,0x70
beq v0,zero,0x00275234
_slti v0,s7,0x15
beq v0,zero,0x002751c8
_slti v0,s7,0x12
beq v0,zero,0x00275360
_li v0,0x1
bne s7,v0,0x0027529c
_lw t9,-0x7750(gp)
jalr t9
_or a0,s0,zero
or a0,s0,zero
lw gp,0x20(sp)
lw t9,-0x73f8(gp)
jalr t9
_or s1,v0,zero
beq v0,zero,0x00275f70
_lw gp,0x20(sp)
li v0,0xa
beq s1,v0,0x00275ef8
_addiu s1,s1,-0x2
blez s1,0x00274594
_addiu v0,s7,-0x8000
or s2,zero,zero
b 0x002746c4
_li s4,-0x1
addiu s2,s2,0x1
beq s1,s2,0x00274594
_addiu v0,s7,-0x8000
lw t9,-0x70c0(gp)
jalr t9
_or a0,s0,zero
bne v0,s4,0x002746b8
_lw gp,0x20(sp)
b 0x00274594
_addiu v0,s7,-0x8000
b 0x002744b8
_or s4,zero,zero
jalr t9
_or a0,s0,zero
lw gp,0x20(sp)
b 0x00274544
_or s4,v0,zero
slti v0,s7,0x9c
beq v0,zero,0x0027509c
_li v0,0xa1
slti v0,s7,0x98
beq v0,zero,0x00274720
_addiu v0,s7,-0x90
sltiu v0,v0,0x2
beq v0,zero,0x002752a0
_sll v0,s7,0x1
addiu v0,s7,-0x9a
lw t9,-0x7750(gp)
or a0,s0,zero
sltiu v0,v0,0x2
bne v0,zero,0x00275300
_sw v0,0x40(sp)
jalr t9
_nop
or s4,v0,zero
lw a1,0x44(sp)
or t9,s8,zero
bal 0x002739c8
_or a0,s0,zero
beq v0,zero,0x00275de0
_lw gp,0x20(sp)
lh v1,0x70(sp)
li a3,0x1
lh a2,0x74(sp)
or a0,s0,zero
lh a1,0x76(sp)
lh v0,0x72(sp)
subu a2,a2,v1
lw v1,0x28(sp)
lw t9,-0x7080(gp)
subu a1,a1,v0
jalr t9
_sw v1,0x10(sp)
lw gp,0x20(sp)
beq v0,zero,0x00275db4
_or s2,v0,zero
lw t9,-0x757c(gp)
or a0,v0,zero
jalr t9
_lw a1,0x28(sp)
lw v0,0x40(sp)
bne v0,zero,0x002747c0
_lw gp,0x20(sp)
andi v0,s4,0x8000
beq v0,zero,0x00275658
_li v0,0x2
lw t9,-0x7cd4(gp)
addiu a1,sp,0x88
addiu t9,t9,0x3794
bal 0x00273794
_or a0,s0,zero
beq v0,zero,0x00275d64
_lw gp,0x20(sp)
lw v0,0x90(sp)
lh v1,0x9e(sp)
mtc1 v0,f0
sw v1,0x20(s2)
bltz v0,0x0027647c
_cvt.d.W f2,f0
lw v0,0x94(sp)
mtc1 v0,f0
bltz v0,0x0027646c
_cvt.d.W f0,f0
lh v0,0x9c(sp)
li v1,0x4
beq v0,v1,0x0027643c
_lw t9,-0x7c38(gp)
li v0,0x1
sdc1 f2,0x218(s2)
sw zero,0x2bc(s2)
sdc1 f0,0x220(s2)
sw v0,0x200(s2)
lw v0,0x40(sp)
beq v0,zero,0x002762fc
_li v1,0x2
lw t9,-0x7168(gp)
jalr t9
_or a0,s0,zero
bne v0,zero,0x002762bc
_lw gp,0x20(sp)
addiu a1,sp,0x78
or t9,s8,zero
bal 0x002739c8
_or a0,s0,zero
beq v0,zero,0x0027627c
_lw gp,0x20(sp)
addiu a1,sp,0x80
or t9,s8,zero
bal 0x002739c8
_or a0,s0,zero
beq v0,zero,0x0027623c
_lw gp,0x20(sp)
lw t9,-0x7750(gp)
or a0,s0,zero
jalr t9
_andi s5,s5,0xfff7
li v0,0x91
beq s5,v0,0x002755f0
_lw gp,0x20(sp)
li v0,0x9b
beq s7,v0,0x002755f4
_lw t9,-0x7750(gp)
lw v0,0x40(sp)
bne v0,zero,0x002748b4
_andi v0,s4,0x8000
beq v0,zero,0x00275da4
_addiu v0,sp,0x6c
addiu v0,sp,0x6c
lh a3,0x9a(sp)
or a2,s4,zero
sw v0,0x10(sp)
lw t9,-0x7cd4(gp)
or a1,s2,zero
addiu t9,t9,0x3aa4
bal 0x00273aa4
_or a0,s0,zero
lw gp,0x20(sp)
beq v0,zero,0x00276530
_or s3,v0,zero
lw v0,0x1c(s2)
blez v0,0x00276500
_lw v1,0x6c(sp)
lw v0,0x18(s0)
addu v0,v0,v1
addu v0,s3,v0
sltu v0,v0,s3
bne v0,zero,0x00276604
_or s5,s3,zero
lw v0,-0x7fd0(gp)
or s1,zero,zero
sw s4,0x3c(sp)
or s4,s2,zero
sw zero,0x50(sp)
addiu v0,v0,0x3e28
lw s2,0x28(sp)
sw v0,0x58(sp)
lw v0,-0x7fcc(gp)
addiu v0,v0,-0x5990
sw v0,0x5c(sp)
lw a3,0x18(s4)
li v0,0x1
lw t9,-0x798c(gp)
or a1,zero,zero
sw s2,0x14(sp)
or a2,s1,zero
sw v0,0x10(sp)
jalr t9
_or a0,s4,zero
lw gp,0x20(sp)
beq v0,zero,0x002764f8
_or t1,v0,zero
lw a1,0x18(s4)
blez a1,0x00274f44
_lw v0,0x54(sp)
or t3,zero,zero
ldc1 f26,-0x5af0(v0)
b 0x00274a38
_mov.D f28,f26
lw v1,0x2bc(s4)
lw v0,0x18(s0)
bne v1,zero,0x00274aec
_lw a0,0x6c(sp)
sll v0,v0,0x1
addu v0,v0,a0
addu v0,s3,v0
sltu v0,v0,s5
bne v0,zero,0x002764c0
_addu a2,s5,a1
lbu v1,0x0(s5)
lw v0,0x2d0(s4)
addu a3,a2,a1
mtc1 v1,f0
lw a0,0x8(v0)
lw v1,0x14(v0)
lw v0,0x20(v0)
sll a0,a0,0x2
sll v1,v1,0x2
addu a0,t1,a0
cvt.d.W f0,f0
addu v1,t1,v1
sll v0,v0,0x2
addu v0,t1,v0
mul.D f0,f0,f26
cvt.s.D f0,f0
swc1 f0,0x0(a0)
lbu a0,0x0(a2)
mtc1 a0,f0
cvt.d.W f0,f0
mul.D f0,f0,f26
cvt.s.D f0,f0
swc1 f0,0x0(v1)
lbu v1,0x0(a3)
mtc1 v1,f0
cvt.d.W f0,f0
mul.D f0,f0,f26
cvt.s.D f0,f0
swc1 f0,0x0(v0)
lw v0,0x2c0(s4)
addiu t3,t3,0x1
addiu s5,s5,0x1
slt v1,t3,a1
sll v0,v0,0x2
beq v1,zero,0x00274f44
_addu t1,t1,v0
lw v1,0x0(s4)
li v0,0x2
beq v1,v0,0x00274bbc
_lh v1,0x9a(sp)
li v0,0x10
bne v1,v0,0x00274980
_nop
lbu v1,0x1(s5)
addiu s5,s5,0x1
lw a2,0x2d0(s4)
srl v0,v1,0x2
lbu a0,-0x1(s5)
sll v1,v1,0x3
andi v0,v0,0x38
lw t0,0x8(a2)
andi v1,v1,0xff
lw a3,0x14(a2)
sll t2,a0,0x6
lw a2,0x20(a2)
sll a0,a0,0x1
or v0,v0,t2
andi a0,a0,0xf8
mtc1 a0,f0
andi v0,v0,0xff
sll t0,t0,0x2
sll a0,a3,0x2
cvt.d.W f4,f0
mtc1 v0,f0
sll v0,a2,0x2
addu a2,t1,t0
addu v0,t1,v0
mul.D f4,f4,f28
cvt.d.W f2,f0
mtc1 v1,f0
addu v1,t1,a0
cvt.s.D f4,f4
mul.D f2,f2,f28
cvt.d.W f0,f0
swc1 f4,0x0(a2)
cvt.s.D f2,f2
mul.D f0,f0,f28
swc1 f2,0x0(v1)
cvt.s.D f0,f0
b 0x00274a1c
_swc1 f0,0x0(v0)
sll v1,v0,0x1
addu v0,v1,v0
addu v0,v0,a0
addu v0,s3,v0
sltu v0,v0,s5
bne v0,zero,0x0027648c
_lw t9,-0x7964(gp)
lw v0,0x2d0(s4)
lw v1,0x34(v0)
beq v1,zero,0x00274b3c
_addu a2,s5,a1
lbu a0,0x0(s5)
lw v1,0x38(v0)
mtc1 a0,f0
sll v1,v1,0x2
addu v1,t1,v1
cvt.d.W f0,f0
mul.D f0,f0,f22
cvt.s.D f0,f0
swc1 f0,0x0(v1)
lw v1,0x54(sp)
lw a0,0x8(v0)
addu a3,a2,a1
lbu t0,0x0(a2)
ldc1 f2,-0x5af0(v1)
sll a0,a0,0x2
lw v1,0x14(v0)
addu a2,a3,a1
mtc1 t0,f0
addu a0,t1,a0
lw v0,0x20(v0)
sll v1,v1,0x2
sll v0,v0,0x2
addu v1,t1,v1
addu v0,t1,v0
cvt.d.W f0,f0
mul.D f0,f0,f2
cvt.s.D f0,f0
swc1 f0,0x0(a0)
lbu a0,0x0(a3)
mtc1 a0,f0
cvt.d.W f0,f0
mul.D f0,f0,f2
cvt.s.D f0,f0
swc1 f0,0x0(v1)
lbu v1,0x0(a2)
mtc1 v1,f0
cvt.d.W f0,f0
mul.D f0,f0,f2
cvt.s.D f0,f0
b 0x00274a1c
_swc1 f0,0x0(v0)
lbu v1,0x0(s5)
lw v0,0x24(s4)
slt v0,v1,v0
bne v0,zero,0x00274ca8
_li v0,0x1a9
lw v1,0x0(s2)
beq v1,v0,0x00274f38
_addiu v1,s4,0x340
lw a2,-0x7f64(gp)
lw a1,-0x7fc4(gp)
li a3,0x23
lw t9,-0x7990(gp)
or a0,s2,zero
sw v1,0x1c(sp)
addiu a2,a2,-0x3dd4
lw v1,0x58(sp)
addiu a1,a1,0x6f4
sw t3,0x64(sp)
sw t1,0x60(sp)
sw v1,0x18(sp)
sw v0,0x10(sp)
lw v1,0x5c(sp)
jalr t9
_sw v1,0x14(sp)
mtc1 zero,f0
or a3,zero,zero
lw gp,0x20(sp)
lw a1,0x18(s4)
lw t1,0x60(sp)
lw t3,0x64(sp)
lw v0,0x2d0(s4)
lw v1,0x40(v0)
beq v1,zero,0x00274c54
_nop
lw v1,0x44(v0)
sll v1,v1,0x2
addu v1,t1,v1
swc1 f0,0x0(v1)
lw a2,0x28(s4)
lw v1,0x14(v0)
lw a0,0x8(v0)
addu a2,a2,a3
lw v0,0x20(v0)
sll v1,v1,0x2
ldc1 f4,0x28(a2)
sll a0,a0,0x2
sll v0,v0,0x2
ldc1 f2,0x30(a2)
addu a0,t1,a0
addu v1,t1,v1
ldc1 f0,0x38(a2)
addu v0,t1,v0
cvt.s.D f4,f4
cvt.s.D f2,f2
cvt.s.D f0,f0
swc1 f4,0x0(a0)
swc1 f2,0x0(v1)
b 0x00274a1c
_swc1 f0,0x0(v0)
mtc1 v1,f0
li a3,0x58
cvt.s.W f0,f0
trunc.w.S f2,f0
mfc1 a2,f2
b 0x00274c34
_mul a3,a2,a3
lw v1,-0x7f68(gp)
lw a2,-0x7f64(gp)
li a3,0x3d8
addu v0,v0,s7
lw a1,-0x7f64(gp)
addiu v1,v1,0x584c
lw t9,-0x76d0(gp)
sll v0,v0,0x2
sw s7,0x14(sp)
addiu a2,a2,-0x3dbc
addu v0,v0,v1
lw v1,-0x7f64(gp)
addiu a1,a1,-0x3d60
li a0,0x10
addiu v1,v1,-0x3d24
sw v1,0x10(sp)
lw v1,0x8(v0)
lw v0,0x0(v0)
sw v1,0x1c(sp)
jalr t9
_sw v0,0x18(sp)
b 0x00274648
_lw gp,0x20(sp)
li a3,0x3d3
lw a2,-0x7f64(gp)
li a0,0x10
lw a1,-0x7f64(gp)
lw t9,-0x76d0(gp)
addiu v0,v0,-0x3d2c
addiu a2,a2,-0x3dbc
sw s7,0x14(sp)
addiu a1,a1,-0x3d60
jalr t9
_sw v0,0x10(sp)
b 0x00274574
_lw gp,0x20(sp)
lw t9,-0x7750(gp)
jalr t9
_or a0,s0,zero
or a0,s0,zero
lw gp,0x20(sp)
lw t9,-0x73f8(gp)
jalr t9
_or s1,v0,zero
beq v0,zero,0x00275c90
_lw gp,0x20(sp)
beq s1,zero,0x002745ec
_li s2,-0x1
b 0x00274d98
_lw s4,0x4c(sp)
addiu s4,s4,0x1
beq s1,s4,0x002744a4
_or s5,s7,zero
lw t9,-0x70c0(gp)
jalr t9
_or a0,s0,zero
bne v0,s2,0x00274d8c
_lw gp,0x20(sp)
b 0x002744a4
_or s5,s7,zero
lw t9,-0x7b18(gp)
jalr t9
_or a0,s0,zero
or a0,s0,zero
lw gp,0x20(sp)
lw t9,-0x73f8(gp)
jalr t9
_or s1,v0,zero
beq v0,zero,0x00275ad0
_lw gp,0x20(sp)
sltiu v0,s1,0x9b
beq v0,zero,0x002759a8
_li s2,0x6
beq s3,zero,0x00275e9c
_li v0,0x1
lw v1,0x18(s0)
lw v0,0x18(s3)
sltu a0,v0,v1
beq a0,zero,0x00275344
_nop
mtc1 v1,f0
bltz v1,0x00275350
_cvt.d.W f0,f0
lw v1,0x1c(s0)
lw v0,0x1c(s3)
sltu a0,v0,v1
beq a0,zero,0x00275330
_nop
mtc1 v1,f2
bltz v1,0x00275d54
_cvt.d.W f2,f2
lw a2,-0x7fc4(gp)
li a1,0x1000
lw t9,-0x7b34(gp)
addiu a0,sp,0xac
sdc1 f2,0x18(sp)
or s5,s7,zero
addiu a2,a2,0x494
jalr t9
_sdc1 f0,0x10(sp)
or a0,s0,zero
lw v1,0x18(s3)
lw v0,0x18(s0)
lw t0,0x1c(s0)
lw a2,0x1c(s3)
lw gp,0x20(sp)
sltu a1,v1,v0
movz v0,v1,a1
sltu t1,a2,t0
movn a2,t0,t1
lw s1,0x28(sp)
or a1,v0,zero
lw t9,-0x7404(gp)
jalr t9
_or a3,s1,zero
or a2,s1,zero
lw gp,0x20(sp)
or a0,s0,zero
lw t9,-0x7730(gp)
jalr t9
_lw a1,0x4(s3)
li a3,0x1
lw gp,0x20(sp)
li a2,0xd
lh v1,0x76(sp)
or a1,s3,zero
lh v0,0x72(sp)
or a0,s0,zero
sw s1,0x18(sp)
sw v1,0x14(sp)
lw t9,-0x7bec(gp)
jalr t9
_sw v0,0x10(sp)
or a0,s3,zero
lw gp,0x20(sp)
lw v0,0x8(s3)
lw t9,-0x7964(gp)
jalr t9
_sw v0,0x8(s0)
li v1,0x1
lw gp,0x20(sp)
or s3,v0,zero
b 0x002744a4
_sw v1,0x48(sp)
li s1,0x18
b 0x00274f1c
_li s2,-0x1
addiu s1,s1,-0x1
beq s1,zero,0x002744a4
_or s5,s7,zero
lw t9,-0x70c0(gp)
jalr t9
_or a0,s0,zero
bne v0,s2,0x00274f10
_lw gp,0x20(sp)
b 0x002744a4
_or s5,s7,zero
mtc1 zero,f0
b 0x00274c34
_or a3,zero,zero
lw t9,-0x76cc(gp)
or a1,s2,zero
jalr t9
_or a0,s4,zero
beq v0,zero,0x002764f8
_lw gp,0x20(sp)
lw v1,0x0(s4)
li v0,0x1
bne v1,v0,0x00274f94
_lh v1,0x9a(sp)
li v0,0x10
beq v1,v0,0x00274f94
_lh v0,0x9c(sp)
lw v1,0x18(s4)
addiu v0,v0,-0x1
mul a0,v0,v1
addu s5,a0,s5
sltu v0,s5,s3
bne v0,zero,0x002764f8
_nop
lw a1,-0x7fc8(gp)
or a3,s1,zero
lw v0,0x1c(s4)
or a0,s0,zero
lw t9,-0x7bfc(gp)
lw a2,0x50(sp)
addiu a1,a1,-0x2dd0
sw zero,0x10(sp)
jalr t9
_sw v0,0x14(sp)
beq v0,zero,0x002764f8
_lw gp,0x20(sp)
lw v0,0x1c(s4)
addiu v1,s1,0x1
slt v0,v1,v0
beq v0,zero,0x002764f8
_lw a0,0x50(sp)
sltu s1,v1,s1
lw v0,0x18(s0)
addu a0,s1,a0
or s1,v1,zero
lw v1,0x6c(sp)
addu v0,v0,v1
addu v0,s3,v0
sltu v0,v0,s5
beq v0,zero,0x00274934
_sw a0,0x50(sp)
lw s1,0x30(sp)
or s5,s3,zero
or s7,s4,zero
lw t9,-0x78f0(gp)
jalr t9
_or a0,s5,zero
lw gp,0x20(sp)
lw t9,-0x7964(gp)
jalr t9
_or a0,s7,zero
lw a0,0x34(sp)
beq a0,zero,0x00275044
_lw gp,0x20(sp)
lw t9,-0x72c8(gp)
jalr t9
_nop
lw gp,0x20(sp)
addiu s1,s1,0x2210
li a3,0x4fc
lw v0,-0x7fd0(gp)
or a0,s2,zero
lw a2,-0x7f64(gp)
lw a1,-0x7f64(gp)
addiu v0,v0,0x3e28
lw t9,-0x7990(gp)
addiu a2,a2,-0x3dbc
sw s1,0x1c(sp)
sw v0,0x18(sp)
addiu a1,a1,-0x3d60
lw v0,-0x7f64(gp)
addiu v0,v0,-0x3ce8
sw v0,0x14(sp)
li v0,0x1a9
jalr t9
_sw v0,0x10(sp)
or a0,s0,zero
lw gp,0x20(sp)
b 0x00274208
_lw t9,-0x7228(gp)
bne s7,v0,0x0027529c
_lw t9,-0x7750(gp)
jalr t9
_or a0,s0,zero
or a0,s0,zero
lw gp,0x20(sp)
lw t9,-0x7750(gp)
jalr t9
_or s1,v0,zero
or a0,s0,zero
lw gp,0x20(sp)
lw t9,-0x73f8(gp)
jalr t9
_or s2,v0,zero
beq v0,zero,0x00276148
_lw gp,0x20(sp)
beq s2,zero,0x00274594
_addiu v0,s7,-0x8000
lw t9,-0x7b18(gp)
jalr t9
_or a0,s0,zero
li v1,0x4
sltiu v0,s2,0x5
movn v1,s2,v0
subu s2,s2,v1
beq s2,zero,0x00274590
_lw gp,0x20(sp)
lw t9,-0x73a4(gp)
li a1,0x1
jalr t9
_or a0,s2,zero
lw gp,0x20(sp)
beq v0,zero,0x00274590
_or s5,v0,zero
lw t9,-0x7b04(gp)
or a2,v0,zero
or a1,s2,zero
jalr t9
_or a0,s0,zero
bne s2,v0,0x002760bc
_lw gp,0x20(sp)
li v0,0xe0
beq s1,v0,0x00276004
_li v0,0x1f2
bne s1,v0,0x002751b8
_lw t9,-0x78f0(gp)
lw t9,-0x71ec(gp)
or a0,zero,zero
jalr t9
_or a1,s2,zero
or a1,s5,zero
lw gp,0x20(sp)
or a0,v0,zero
lw t9,-0x77d0(gp)
jalr t9
_or s1,v0,zero
or a2,s1,zero
lw gp,0x20(sp)
or a0,s0,zero
lw a3,0x28(sp)
lw a1,-0x7fc8(gp)
lw t9,-0x7218(gp)
jalr t9
_addiu a1,a1,-0x1918
beq v0,zero,0x00276198
_lw gp,0x20(sp)
lw t9,-0x7ab4(gp)
jalr t9
_or a0,s1,zero
lw gp,0x20(sp)
lw t9,-0x78f0(gp)
jalr t9
_or a0,s5,zero
b 0x00274590
_lw gp,0x20(sp)
li v0,0x1b
bne s7,v0,0x0027529c
_lw t9,-0x7750(gp)
jalr t9
_or a0,s0,zero
or a0,s0,zero
mtc1 v0,f0
lw gp,0x20(sp)
lw t9,-0x7750(gp)
cvt.s.W f0,f0
cvt.d.S f0,f0
jalr t9
_sdc1 f0,0xb0(s0)
or a0,s0,zero
mtc1 v0,f0
lw gp,0x20(sp)
lw t9,-0x7750(gp)
cvt.s.W f0,f0
cvt.d.S f0,f0
jalr t9
_sdc1 f0,0xb8(s0)
mtc1 v0,f0
lw gp,0x20(sp)
cvt.s.W f0,f0
cvt.d.S f0,f0
b 0x00274590
_sdc1 f0,0xc0(s0)
lw t9,-0x7750(gp)
jalr t9
_or a0,s0,zero
or a0,s0,zero
lw gp,0x20(sp)
lw t9,-0x73f8(gp)
jalr t9
_or s1,v0,zero
beq v0,zero,0x00275ea8
_lw gp,0x20(sp)
addiu s1,s1,-0x2
or s2,zero,zero
bgtz s1,0x00275280
_li s4,-0x1
b 0x00274584
_addiu v0,s7,-0xb0
addiu s2,s2,0x1
beq s2,s1,0x00274584
_addiu v0,s7,-0xb0
lw t9,-0x70c0(gp)
jalr t9
_or a0,s0,zero
bne v0,s4,0x00275274
_lw gp,0x20(sp)
b 0x00274584
_addiu v0,s7,-0xb0
sll v0,s7,0x1
lw v1,-0x7f68(gp)
li a0,-0x1
addu v0,v0,s7
addiu v1,v1,0x584c
sll v0,v0,0x2
addu v0,v1,v0
lw s1,0x4(v0)
beq s1,a0,0x00276614
_lw t9,-0x7750(gp)
or s2,zero,zero
bgtz s1,0x002752e4
_li s4,-0x1
b 0x00274584
_addiu v0,s7,-0xb0
addiu s2,s2,0x1
beq s1,s2,0x00274584
_addiu v0,s7,-0xb0
lw t9,-0x70c0(gp)
jalr t9
_or a0,s0,zero
bne v0,s4,0x002752d8
_lw gp,0x20(sp)
b 0x00274584
_addiu v0,s7,-0xb0
jalr t9
_or s4,zero,zero
lw gp,0x20(sp)
lw t9,-0x7750(gp)
jalr t9
_or a0,s0,zero
lw gp,0x20(sp)
lw t9,-0x7750(gp)
jalr t9
_or a0,s0,zero
b 0x00274748
_lw a1,0x44(sp)
mtc1 v0,f2
bgez v0,0x00274e30
_cvt.d.W f2,f2
b 0x00274e30
_add.D f2,f2,f24
mtc1 v0,f0
bgez v0,0x00274e10
_cvt.d.W f0,f0
lw v0,0x38(sp)
ldc1 f2,0x1418(v0)
b 0x00274e10
_add.D f0,f0,f2
lw t9,-0x7750(gp)
or a0,s0,zero
li s1,0x8
jalr t9
_li s4,-0x1
lw gp,0x20(sp)
b 0x0027538c
_or s2,v0,zero
addiu s1,s1,-0x1
beq s1,zero,0x002753a4
_li v0,0x2
lw t9,-0x70c0(gp)
jalr t9
_or a0,s0,zero
bne v0,s4,0x00275380
_lw gp,0x20(sp)
li v0,0x2
beq s2,v0,0x00275928
_li v0,0x1
bne s2,v0,0x002758b4
_lw t9,-0x7750(gp)
jalr t9
_or a0,s0,zero
or a0,s0,zero
lw gp,0x20(sp)
lw t9,-0x73f8(gp)
jalr t9
_or s1,v0,zero
beq v0,zero,0x00275834
_lw gp,0x20(sp)
lw a1,0x44(sp)
or t9,s8,zero
bal 0x002739c8
_or a0,s0,zero
beq v0,zero,0x002757f0
_lw gp,0x20(sp)
lw t9,-0x7cd4(gp)
addiu a1,sp,0x88
addiu t9,t9,0x3794
bal 0x00273794
_or a0,s0,zero
beq v0,zero,0x0027577c
_lw gp,0x20(sp)
lw v0,0x90(sp)
lh v1,0x9e(sp)
mtc1 v0,f0
sw v1,0x20(s0)
bltz v0,0x0027576c
_cvt.d.W f0,f0
lw v0,0x94(sp)
sdc1 f0,0x218(s0)
mtc1 v0,f0
bltz v0,0x0027575c
_cvt.d.W f0,f0
lw t9,-0x7b18(gp)
li v0,0x1
sdc1 f0,0x220(s0)
or a0,s0,zero
jalr t9
_sw v0,0x200(s0)
lw gp,0x20(sp)
lw t9,-0x7750(gp)
jalr t9
_or a0,s0,zero
lw gp,0x20(sp)
lw t9,-0x7750(gp)
jalr t9
_or a0,s0,zero
or a0,s0,zero
lw gp,0x20(sp)
or s4,v0,zero
lw t9,-0x73f8(gp)
jalr t9
_or s5,v0,zero
beq v0,zero,0x0027595c
_lw gp,0x20(sp)
addiu s2,s4,0x1
or s1,zero,zero
lw t9,-0x7b18(gp)
addiu s1,s1,0x1
jalr t9
_or a0,s0,zero
bne s1,s2,0x00275498
_lw gp,0x20(sp)
lh v0,0x9a(sp)
lh s1,0x74(sp)
lh a1,0x70(sp)
lh s2,0x76(sp)
slti v1,v0,0x9
lh a0,0x72(sp)
subu s1,s1,a1
beq v1,zero,0x002755dc
_subu s2,s2,a0
andi s5,s4,0x7fff
movn s1,s5,s5
sltiu v0,s1,0x8
bne v0,zero,0x0027559c
_nop
blez s2,0x00274580
_or s5,zero,zero
sltiu v0,s1,0xc9
sw v0,0x3c(sp)
lw t9,-0x7168(gp)
jalr t9
_or a0,s0,zero
lw gp,0x20(sp)
bne v0,zero,0x00274580
_or s4,v0,zero
lw v0,0x3c(sp)
bne v0,zero,0x00275588
_lw t9,-0x70c0(gp)
lw t9,-0x7750(gp)
jalr t9
_or a0,s0,zero
lw gp,0x20(sp)
or s1,v0,zero
lw t9,-0x73f8(gp)
jalr t9
_or a0,s0,zero
beq v0,zero,0x002761ec
_lw gp,0x20(sp)
bgtz s1,0x00275560
_lw t9,-0x70c0(gp)
b 0x00275578
_addiu s5,s5,0x1
addiu s4,s4,0x1
beq s1,s4,0x00275574
_lw t9,-0x70c0(gp)
jalr t9
_or a0,s0,zero
li v1,-0x1
bne v0,v1,0x00275554
_lw gp,0x20(sp)
addiu s5,s5,0x1
bne s2,s5,0x002754fc
_lw t9,-0x7168(gp)
b 0x00274584
_addiu v0,s7,-0xb0
jalr t9
_or a0,s0,zero
lw gp,0x20(sp)
b 0x00275530
_or s1,v0,zero
mul s1,s1,s2
blez s1,0x00274584
_addiu v0,s7,-0xb0
or s2,zero,zero
b 0x002755c0
_li s4,-0x1
addiu s2,s2,0x1
beq s1,s2,0x00274584
_addiu v0,s7,-0xb0
lw t9,-0x70c0(gp)
jalr t9
_or a0,s0,zero
bne v0,s4,0x002755b4
_lw gp,0x20(sp)
b 0x00274584
_addiu v0,s7,-0xb0
li v1,0x10
bne v0,v1,0x002754d8
_nop
b 0x002754d8
_sll s1,s1,0x1
lw t9,-0x7750(gp)
jalr t9
_or a0,s0,zero
or a0,s0,zero
lw gp,0x20(sp)
lw t9,-0x73f8(gp)
jalr t9
_or s1,v0,zero
beq v0,zero,0x00276624
_lw gp,0x20(sp)
addiu s1,s1,-0x2
or s5,zero,zero
bgtz s1,0x0027563c
_li s3,-0x1
b 0x002748a4
_lw v0,0x40(sp)
addiu s5,s5,0x1
beq s1,s5,0x002748a4
_lw v0,0x40(sp)
lw t9,-0x70c0(gp)
jalr t9
_or a0,s0,zero
bne v0,s3,0x00275630
_lw gp,0x20(sp)
b 0x002748a4
_lw v0,0x40(sp)
sw v0,0x24(s2)
lw t9,-0x771c(gp)
li a1,0x2
lw a2,0x28(sp)
jalr t9
_or a0,s2,zero
beq v0,zero,0x002756e4
_lw gp,0x20(sp)
lw v1,0x24(s2)
blez v1,0x00274834
_li a0,0x58
lw v0,0x28(s2)
mul a1,v1,a0
addu v1,a1,v0
addiu v0,v0,0x28
addiu v1,v1,0x28
ldc1 f4,0x0(v0)
addiu v0,v0,0x58
ldc1 f2,-0x50(v0)
sub.D D f4,f20,f4
ldc1 f0,-0x48(v0)
sub.D D f2,f20,f2
sub.D D f0,f20,f0
cvt.s.D f4,f4
cvt.s.D f2,f2
cvt.s.D f0,f0
cvt.d.S f4,f4
cvt.d.S f2,f2
cvt.d.S f0,f0
sdc1 f4,-0x58(v0)
sdc1 f2,-0x50(v0)
bne v0,v1,0x00275698
_sdc1 f0,-0x48(v0)
b 0x00274838
_lw t9,-0x7168(gp)
lw t9,-0x7964(gp)
or s7,s2,zero
or a0,s7,zero
lw s1,0x30(sp)
jalr t9
_lw s2,0x28(sp)
lw a0,0x34(sp)
beq a0,zero,0x00275718
_lw gp,0x20(sp)
lw t9,-0x72c8(gp)
jalr t9
_nop
lw gp,0x20(sp)
addiu s1,s1,0x2210
li a3,0x4b8
lw v0,-0x7fd0(gp)
or a0,s2,zero
lw a2,-0x7f64(gp)
lw a1,-0x7f64(gp)
addiu v0,v0,0x3e28
lw t9,-0x7990(gp)
addiu a2,a2,-0x3dbc
sw s1,0x1c(sp)
sw v0,0x18(sp)
addiu a1,a1,-0x3d60
lw v0,-0x7fd0(gp)
addiu v0,v0,0x16f8
sw v0,0x14(sp)
b 0x00275084
_li v0,0x190
lw v0,0x38(sp)
ldc1 f2,0x1418(v0)
b 0x00275438
_add.D f0,f0,f2
lw v0,0x38(sp)
ldc1 f2,0x1418(v0)
b 0x00275424
_add.D f0,f0,f2
lw s1,0x30(sp)
beq s3,zero,0x00275798
_lw s2,0x28(sp)
lw t9,-0x7964(gp)
jalr t9
_or a0,s3,zero
lw gp,0x20(sp)
lw a0,0x34(sp)
beq a0,zero,0x002757b4
_nop
lw t9,-0x72c8(gp)
jalr t9
_nop
lw gp,0x20(sp)
addiu s1,s1,0x2210
li a3,0x41b
lw v0,-0x7fd0(gp)
or a0,s2,zero
lw a2,-0x7f64(gp)
lw a1,-0x7f64(gp)
addiu v0,v0,0x3e28
lw t9,-0x7990(gp)
addiu a2,a2,-0x3dbc
sw s1,0x1c(sp)
sw v0,0x18(sp)
addiu a1,a1,-0x3d60
lw v0,-0x7fc4(gp)
b 0x0027507c
_addiu v0,v0,-0x190
lw s1,0x30(sp)
beq s3,zero,0x0027580c
_lw s2,0x28(sp)
lw t9,-0x7964(gp)
jalr t9
_or a0,s3,zero
lw gp,0x20(sp)
lw a0,0x34(sp)
beq a0,zero,0x00275828
_nop
lw t9,-0x72c8(gp)
jalr t9
_nop
lw gp,0x20(sp)
addiu s1,s1,0x2210
b 0x002757bc
_li a3,0x419
sltu s1,v1,s1
beq s1,zero,0x002753dc
_lw a1,0x44(sp)
lw s1,0x30(sp)
beq s3,zero,0x0027585c
_lw s2,0x28(sp)
lw t9,-0x7964(gp)
jalr t9
_or a0,s3,zero
lw gp,0x20(sp)
lw a0,0x34(sp)
beq a0,zero,0x00275878
_nop
lw t9,-0x72c8(gp)
jalr t9
_nop
lw gp,0x20(sp)
addiu s1,s1,0x2210
li a3,0x417
lw v0,-0x7fd0(gp)
or a0,s2,zero
lw a2,-0x7f64(gp)
lw a1,-0x7f64(gp)
addiu v0,v0,0x3e28
lw t9,-0x7990(gp)
addiu a2,a2,-0x3dbc
sw s1,0x1c(sp)
sw v0,0x18(sp)
addiu a1,a1,-0x3d60
lw v0,-0x7fc4(gp)
b 0x0027507c
_addiu v0,v0,0x4a0
lw s1,0x30(sp)
beq s3,zero,0x002758d0
_lw s2,0x28(sp)
lw t9,-0x7964(gp)
jalr t9
_or a0,s3,zero
lw gp,0x20(sp)
lw a0,0x34(sp)
beq a0,zero,0x002758ec
_nop
lw t9,-0x72c8(gp)
jalr t9
_nop
lw gp,0x20(sp)
lw v0,-0x7fd0(gp)
addiu s1,s1,0x2210
lw a2,-0x7f64(gp)
li a3,0x413
lw a1,-0x7f64(gp)
or a0,s2,zero
addiu v0,v0,0x3e28
lw t9,-0x7990(gp)
addiu a2,a2,-0x3dbc
sw s1,0x1c(sp)
sw v0,0x18(sp)
addiu a1,a1,-0x3d60
lw v0,-0x7f64(gp)
b 0x0027507c
_addiu v0,v0,-0x3d14
li s1,0x5
b 0x00275940
_li s2,-0x1
addiu s1,s1,-0x1
beq s1,zero,0x00274584
_addiu v0,s7,-0xb0
lw t9,-0x70c0(gp)
jalr t9
_or a0,s0,zero
bne v0,s2,0x00275934
_lw gp,0x20(sp)
b 0x00274584
_addiu v0,s7,-0xb0
sltu v1,v1,s4
beq v1,zero,0x00275490
_lw s1,0x30(sp)
beq s3,zero,0x00275980
_lw s2,0x28(sp)
lw t9,-0x7964(gp)
jalr t9
_or a0,s3,zero
lw gp,0x20(sp)
lw a0,0x34(sp)
beq a0,zero,0x0027599c
_nop
lw t9,-0x72c8(gp)
jalr t9
_nop
lw gp,0x20(sp)
addiu s1,s1,0x2210
b 0x00275880
_li a3,0x425
lw t9,-0x7b18(gp)
addiu s2,s2,-0x1
jalr t9
_or a0,s0,zero
bne s2,zero,0x002759a8
_lw gp,0x20(sp)
lw a1,0x44(sp)
or t9,s8,zero
bal 0x002739c8
_or a0,s0,zero
beq v0,zero,0x00275b20
_lw gp,0x20(sp)
li s2,0x7a
b 0x002759f0
_li s4,-0x1
addiu s2,s2,-0x1
beq s2,zero,0x00275a08
_lw t9,-0x73a4(gp)
lw t9,-0x70c0(gp)
jalr t9
_or a0,s0,zero
bne v0,s4,0x002759e4
_lw gp,0x20(sp)
lw t9,-0x73a4(gp)
addiu s1,s1,-0x9a
li a1,0x1
jalr t9
_or a0,s1,zero
lw v1,0x30(sp)
or s2,v0,zero
lw gp,0x20(sp)
beq v0,zero,0x00275c18
_addiu s5,v1,0x2210
lw t9,-0x7818(gp)
addiu a3,sp,0x80
or a2,v0,zero
or a1,s1,zero
jalr t9
_or a0,s0,zero
lw v1,0x80(sp)
or s4,v0,zero
bne v1,s1,0x00275b9c
_lw gp,0x20(sp)
lw t9,-0x76e0(gp)
jalr t9
_nop
li a1,0x1000
lw gp,0x20(sp)
addiu a0,v0,0x2210
or a3,s5,zero
or s1,v0,zero
lw a2,-0x7fc8(gp)
lw t9,-0x7b34(gp)
jalr t9
_addiu a2,a2,0x4b4c
or a1,s4,zero
lw gp,0x20(sp)
or a0,s1,zero
lw a2,0x80(sp)
lw t9,-0x7580(gp)
jalr t9
_lw a3,0x28(sp)
or a0,s2,zero
lw gp,0x20(sp)
lw t9,-0x78f0(gp)
jalr t9
_or s3,v0,zero
lw gp,0x20(sp)
lw t9,-0x72c8(gp)
jalr t9
_or a0,s1,zero
lw gp,0x20(sp)
b 0x00274de8
_sw v0,0x34(sp)
sltu v1,v1,s1
beq v1,zero,0x00274de0
_sltiu v0,s1,0x9b
lw s1,0x30(sp)
beq s3,zero,0x00275af8
_lw s2,0x28(sp)
lw t9,-0x7964(gp)
jalr t9
_or a0,s3,zero
lw gp,0x20(sp)
lw a0,0x34(sp)
beq a0,zero,0x00275b14
_nop
lw t9,-0x72c8(gp)
jalr t9
_nop
lw gp,0x20(sp)
addiu s1,s1,0x2210
b 0x00275880
_li a3,0x5b9
lw s1,0x30(sp)
beq s3,zero,0x00275b3c
_lw s2,0x28(sp)
lw t9,-0x7964(gp)
jalr t9
_or a0,s3,zero
lw gp,0x20(sp)
lw a0,0x34(sp)
beq a0,zero,0x00275b58
_nop
lw t9,-0x72c8(gp)
jalr t9
_nop
lw gp,0x20(sp)
lw v0,-0x7fd0(gp)
addiu s1,s1,0x2210
lw a2,-0x7f64(gp)
li a3,0x5c8
lw a1,-0x7f64(gp)
or a0,s2,zero
addiu v0,v0,0x3e28
lw t9,-0x7990(gp)
addiu a2,a2,-0x3dbc
sw s1,0x1c(sp)
addiu a1,a1,-0x3d60
sw v0,0x18(sp)
lw v0,-0x7fc4(gp)
addiu v0,v0,-0x190
sw v0,0x14(sp)
b 0x00275084
_li v0,0x1a9
lw t9,-0x78f0(gp)
or s7,s2,zero
or a0,s7,zero
lw s2,0x28(sp)
jalr t9
_or s1,s5,zero
beq s3,zero,0x00275bcc
_lw gp,0x20(sp)
lw t9,-0x7964(gp)
jalr t9
_or a0,s3,zero
lw gp,0x20(sp)
lw a0,0x34(sp)
beq a0,zero,0x00275be8
_nop
lw t9,-0x72c8(gp)
jalr t9
_nop
lw gp,0x20(sp)
lw v0,-0x7fd0(gp)
li a3,0x5d5
lw a2,-0x7f64(gp)
or a0,s2,zero
lw a1,-0x7f64(gp)
addiu v0,v0,0x3e28
lw t9,-0x7990(gp)
addiu a2,a2,-0x3dbc
sw s1,0x1c(sp)
addiu a1,a1,-0x3d60
b 0x00275b88
_sw v0,0x18(sp)
or s1,s5,zero
beq s3,zero,0x00275c34
_lw s2,0x28(sp)
lw t9,-0x7964(gp)
jalr t9
_or a0,s3,zero
lw gp,0x20(sp)
lw a0,0x34(sp)
beq a0,zero,0x00275c50
_nop
lw t9,-0x72c8(gp)
jalr t9
_nop
lw gp,0x20(sp)
lw v0,-0x7fd0(gp)
li a3,0x5d0
lw a2,-0x7f64(gp)
or a0,s2,zero
lw a1,-0x7f64(gp)
addiu v0,v0,0x3e28
lw t9,-0x7990(gp)
addiu a2,a2,-0x3dbc
sw s1,0x1c(sp)
sw v0,0x18(sp)
addiu a1,a1,-0x3d60
lw v0,-0x7fd0(gp)
addiu v0,v0,0x16f8
sw v0,0x14(sp)
b 0x00275084
_li v0,0x190
sltu v1,v1,s1
beq v1,zero,0x00274d7c
_nop
lw s1,0x30(sp)
beq s3,zero,0x00275cb8
_lw s2,0x28(sp)
lw t9,-0x7964(gp)
jalr t9
_or a0,s3,zero
lw gp,0x20(sp)
lw a0,0x34(sp)
beq a0,zero,0x00275cd4
_nop
lw t9,-0x72c8(gp)
jalr t9
_nop
lw gp,0x20(sp)
addiu s1,s1,0x2210
b 0x00275880
_li a3,0x5f8
sltu v0,v1,s1
beq v0,zero,0x0027460c
_nop
lw s1,0x30(sp)
beq s3,zero,0x00275d08
_lw s2,0x28(sp)
lw t9,-0x7964(gp)
jalr t9
_or a0,s3,zero
lw gp,0x20(sp)
lw a0,0x34(sp)
beq a0,zero,0x00275d24
_nop
lw t9,-0x72c8(gp)
jalr t9
_nop
lw gp,0x20(sp)
addiu s1,s1,0x2210
b 0x00275880
_li a3,0x606
lw a3,-0x7f64(gp)
li a2,0x374
lw a1,-0x7f64(gp)
lw a0,-0x7fd0(gp)
lw t9,-0x72a8(gp)
addiu a3,a3,-0x3dac
addiu a1,a1,-0x3d60
jalr t9
_addiu a0,a0,0xd78
lw v0,0x38(sp)
ldc1 f4,0x1418(v0)
b 0x00274e30
_add.D f2,f2,f4
lw t9,-0x7964(gp)
or s7,s2,zero
or a0,s7,zero
lw s1,0x30(sp)
jalr t9
_lw s2,0x28(sp)
lw a0,0x34(sp)
beq a0,zero,0x00275d98
_lw gp,0x20(sp)
lw t9,-0x72c8(gp)
jalr t9
_nop
lw gp,0x20(sp)
addiu s1,s1,0x2210
b 0x002757bc
_li a3,0x49e
li a3,0x1
sw v0,0x10(sp)
b 0x002748c4
_or a2,s4,zero
lw a0,0x34(sp)
lw s1,0x30(sp)
beq a0,zero,0x00275dd4
_lw s2,0x28(sp)
lw t9,-0x72c8(gp)
jalr t9
_nop
lw gp,0x20(sp)
addiu s1,s1,0x2210
b 0x002757bc
_li a3,0x498
lw s1,0x30(sp)
beq s3,zero,0x00275dfc
_lw s2,0x28(sp)
lw t9,-0x7964(gp)
jalr t9
_or a0,s3,zero
lw gp,0x20(sp)
lw a0,0x34(sp)
beq a0,zero,0x00275e18
_nop
lw t9,-0x72c8(gp)
jalr t9
_nop
lw gp,0x20(sp)
addiu s1,s1,0x2210
b 0x002757bc
_li a3,0x491
lw a3,-0x7f64(gp)
li a2,0x375
lw a1,-0x7f64(gp)
lw a0,-0x7fd0(gp)
lw t9,-0x72a8(gp)
addiu a3,a3,-0x3dac
addiu a1,a1,-0x3d60
jalr t9
_addiu a0,a0,0xda0
lw a3,-0x7f64(gp)
li a2,0x37a
lw a1,-0x7f64(gp)
lw a0,-0x7fd0(gp)
lw t9,-0x72a8(gp)
addiu a3,a3,-0x3dac
addiu a1,a1,-0x3d60
jalr t9
_addiu a0,a0,0x294c
lw a3,-0x7f64(gp)
li a2,0x379
lw a1,-0x7f64(gp)
lw a0,-0x7fd0(gp)
lw t9,-0x72a8(gp)
addiu a3,a3,-0x3dac
addiu a1,a1,-0x3d60
jalr t9
_addiu a0,a0,0x1cac
lw t9,-0x784c(gp)
jalr t9
_nop
or s5,s7,zero
b 0x002744a4
_sw v0,0x48(sp)
sltu v1,v1,s1
beq v1,zero,0x00275260
_addiu s1,s1,-0x2
lw s1,0x30(sp)
beq s3,zero,0x00275ed0
_lw s2,0x28(sp)
lw t9,-0x7964(gp)
jalr t9
_or a0,s3,zero
lw gp,0x20(sp)
lw a0,0x34(sp)
beq a0,zero,0x00275eec
_nop
lw t9,-0x72c8(gp)
jalr t9
_nop
lw gp,0x20(sp)
addiu s1,s1,0x2210
b 0x00275880
_li a3,0x467
lw a1,0x44(sp)
or t9,s8,zero
bal 0x002739c8
_or a0,s0,zero
beq v0,zero,0x00275fc0
_lw gp,0x20(sp)
lh v1,0x72(sp)
bltz v1,0x00274590
_lh v0,0x70(sp)
bltz v0,0x00274590
_lh a1,0x76(sp)
or a0,s0,zero
lh a2,0x74(sp)
lw t9,-0x7404(gp)
subu a1,a1,v1
lw a3,0x28(sp)
subu a2,a2,v0
sw a1,0x18(s0)
jalr t9
_sw a2,0x1c(s0)
beq v0,zero,0x002743d0
_lw gp,0x20(sp)
lw t9,-0x757c(gp)
or a0,s0,zero
jalr t9
_lw a1,0x28(sp)
bne v0,zero,0x00274590
_lw gp,0x20(sp)
b 0x002743d4
_lw t9,-0x73a0(gp)
sltu v1,v1,s1
beq v1,zero,0x0027469c
_li v0,0xa
lw s1,0x30(sp)
beq s3,zero,0x00275f98
_lw s2,0x28(sp)
lw t9,-0x7964(gp)
jalr t9
_or a0,s3,zero
lw gp,0x20(sp)
lw a0,0x34(sp)
beq a0,zero,0x00275fb4
_nop
lw t9,-0x72c8(gp)
jalr t9
_nop
lw gp,0x20(sp)
addiu s1,s1,0x2210
b 0x00275880
_li a3,0x3e4
lw s1,0x30(sp)
beq s3,zero,0x00275fdc
_lw s2,0x28(sp)
lw t9,-0x7964(gp)
jalr t9
_or a0,s3,zero
lw gp,0x20(sp)
lw a0,0x34(sp)
beq a0,zero,0x00275ff8
_nop
lw t9,-0x72c8(gp)
jalr t9
_nop
lw gp,0x20(sp)
addiu s1,s1,0x2210
b 0x002757bc
_li a3,0x3ed
lw t9,-0x71ec(gp)
or a0,zero,zero
jalr t9
_or a1,s2,zero
or a1,s5,zero
lw gp,0x20(sp)
or a0,v0,zero
lw t9,-0x77d0(gp)
jalr t9
_or s1,v0,zero
or a2,s1,zero
lw gp,0x20(sp)
or a0,s0,zero
lw a3,0x28(sp)
lw a1,-0x7fc8(gp)
lw t9,-0x7218(gp)
jalr t9
_addiu a1,a1,-0x5890
or a0,s1,zero
lw gp,0x20(sp)
lw t9,-0x7ab4(gp)
jalr t9
_or s1,v0,zero
bne s1,zero,0x002751b4
_lw gp,0x20(sp)
lw t9,-0x78f0(gp)
or a0,s5,zero
lw s1,0x30(sp)
jalr t9
_lw s2,0x28(sp)
beq s3,zero,0x00276094
_lw gp,0x20(sp)
lw t9,-0x7964(gp)
jalr t9
_or a0,s3,zero
lw gp,0x20(sp)
lw a0,0x34(sp)
beq a0,zero,0x002760b0
_nop
lw t9,-0x72c8(gp)
jalr t9
_nop
lw gp,0x20(sp)
addiu s1,s1,0x2210
b 0x00275720
_li a3,0x57e
lw t9,-0x78f0(gp)
or a0,s5,zero
lw s1,0x30(sp)
jalr t9
_lw s2,0x28(sp)
beq s3,zero,0x002760e8
_lw gp,0x20(sp)
lw t9,-0x7964(gp)
jalr t9
_or a0,s3,zero
lw gp,0x20(sp)
lw a0,0x34(sp)
beq a0,zero,0x00276104
_nop
lw t9,-0x72c8(gp)
jalr t9
_nop
lw gp,0x20(sp)
lw v0,-0x7fd0(gp)
addiu s1,s1,0x2210
lw a2,-0x7f64(gp)
li a3,0x570
lw a1,-0x7f64(gp)
or a0,s2,zero
addiu v0,v0,0x3e28
lw t9,-0x7990(gp)
addiu a2,a2,-0x3dbc
sw s1,0x1c(sp)
sw v0,0x18(sp)
addiu a1,a1,-0x3d60
lw v0,-0x7fc8(gp)
addiu v0,v0,-0x18cc
sw v0,0x14(sp)
b 0x00275084
_li v0,0x190
sltu v1,v1,s2
beq v1,zero,0x002750dc
_nop
lw s1,0x30(sp)
beq s3,zero,0x00276170
_lw s2,0x28(sp)
lw t9,-0x7964(gp)
jalr t9
_or a0,s3,zero
lw gp,0x20(sp)
lw a0,0x34(sp)
beq a0,zero,0x0027618c
_nop
lw t9,-0x72c8(gp)
jalr t9
_nop
lw gp,0x20(sp)
addiu s1,s1,0x2210
b 0x00275880
_li a3,0x562
lw t9,-0x78f0(gp)
or a0,s5,zero
lw s1,0x30(sp)
jalr t9
_lw s2,0x28(sp)
beq s3,zero,0x002761c4
_lw gp,0x20(sp)
lw t9,-0x7964(gp)
jalr t9
_or a0,s3,zero
lw gp,0x20(sp)
lw a0,0x34(sp)
beq a0,zero,0x002761e0
_nop
lw t9,-0x72c8(gp)
jalr t9
_nop
lw gp,0x20(sp)
addiu s1,s1,0x2210
b 0x00275720
_li a3,0x58b
sltu v1,v1,s1
beq v1,zero,0x00275544
_nop
lw s1,0x30(sp)
beq s3,zero,0x00276214
_lw s2,0x28(sp)
lw t9,-0x7964(gp)
jalr t9
_or a0,s3,zero
lw gp,0x20(sp)
lw a0,0x34(sp)
beq a0,zero,0x00276230
_nop
lw t9,-0x72c8(gp)
jalr t9
_nop
lw gp,0x20(sp)
addiu s1,s1,0x2210
b 0x00275880
_li a3,0x444
lw t9,-0x7964(gp)
or s7,s2,zero
or a0,s7,zero
lw s1,0x30(sp)
jalr t9
_lw s2,0x28(sp)
lw a0,0x34(sp)
beq a0,zero,0x00276270
_lw gp,0x20(sp)
lw t9,-0x72c8(gp)
jalr t9
_nop
lw gp,0x20(sp)
addiu s1,s1,0x2210
b 0x002757bc
_li a3,0x4db
lw t9,-0x7964(gp)
or s7,s2,zero
or a0,s7,zero
lw s1,0x30(sp)
jalr t9
_lw s2,0x28(sp)
lw a0,0x34(sp)
beq a0,zero,0x002762b0
_lw gp,0x20(sp)
lw t9,-0x72c8(gp)
jalr t9
_nop
lw gp,0x20(sp)
addiu s1,s1,0x2210
b 0x002757bc
_li a3,0x4d9
lw t9,-0x7964(gp)
or s7,s2,zero
or a0,s7,zero
lw s1,0x30(sp)
jalr t9
_lw s2,0x28(sp)
lw a0,0x34(sp)
beq a0,zero,0x002762f0
_lw gp,0x20(sp)
lw t9,-0x72c8(gp)
jalr t9
_nop
lw gp,0x20(sp)
addiu s1,s1,0x2210
b 0x00275880
_li a3,0x4d7
andi v0,s4,0x8000
beq v0,zero,0x0027565c
_sw v1,0x24(s2)
lw t9,-0x7b18(gp)
jalr t9
_or a0,s0,zero
lw gp,0x20(sp)
lw t9,-0x7750(gp)
jalr t9
_or a0,s0,zero
or a0,s0,zero
lw gp,0x20(sp)
lw t9,-0x7750(gp)
jalr t9
_or s1,v0,zero
or a0,s2,zero
lw gp,0x20(sp)
addiu a1,v0,0x1
lw a2,0x28(sp)
lw t9,-0x771c(gp)
jalr t9
_sw a1,0x24(s2)
beq v0,zero,0x002756e4
_lw gp,0x20(sp)
lw v0,0x24(s2)
blez v0,0x00274834
_or a1,zero,zero
sw s4,0x3c(sp)
seh s1,s1
b 0x00276414
_or s4,a1,zero
teq s3,zero
divu v0,s3
mfhi s3
lw t9,-0x7750(gp)
or a0,s0,zero
jalr t9
_addiu s4,s4,0x1
li v1,0x58
mtc1 v0,f0
lw gp,0x20(sp)
or a0,s0,zero
mul s3,s3,v1
lw v1,0x28(s2)
lw t9,-0x7750(gp)
cvt.s.W f0,f0
addu v1,v1,s3
cvt.d.S f0,f0
jalr t9
_sdc1 f0,0x28(v1)
or a0,s0,zero
mtc1 v0,f0
lw gp,0x20(sp)
lw v1,0x28(s2)
addu v1,v1,s3
lw t9,-0x7750(gp)
cvt.s.W f0,f0
cvt.d.S f0,f0
jalr t9
_sdc1 f0,0x30(v1)
mtc1 v0,f0
lw a0,0x28(s2)
lw v1,0x24(s2)
lw gp,0x20(sp)
addu s3,a0,s3
slt v1,s4,v1
cvt.s.W f0,f0
cvt.d.S f0,f0
beq v1,zero,0x00276434
_sdc1 f0,0x38(s3)
lw t9,-0x7750(gp)
jalr t9
_or a0,s0,zero
lw gp,0x20(sp)
bgez s1,0x00276378
_lw s3,0x24(s2)
b 0x00276384
_or s3,s4,zero
b 0x00274834
_lw s4,0x3c(sp)
sw v0,0x2bc(s2)
li v0,0x1
or a0,s2,zero
lw a2,0x28(sp)
sw v0,0x200(s2)
lw v0,-0x7fd0(gp)
sdc1 f2,0x218(s2)
sdc1 f0,0x220(s2)
jalr t9
_lw a1,0x1a50(v0)
b 0x00274828
_lw gp,0x20(sp)
lw v0,0x38(sp)
ldc1 f4,0x1418(v0)
b 0x00274804
_add.D f0,f0,f4
lw v0,0x38(sp)
ldc1 f0,0x1418(v0)
b 0x002747f4
_add.D f2,f2,f0
or a0,s4,zero
jalr t9
_lw s1,0x30(sp)
lw a0,0x34(sp)
beq a0,zero,0x002764b4
_lw gp,0x20(sp)
lw t9,-0x72c8(gp)
jalr t9
_nop
lw gp,0x20(sp)
addiu s1,s1,0x2210
b 0x0027504c
_li a3,0x52e
lw t9,-0x7964(gp)
or a0,s4,zero
jalr t9
_lw s1,0x30(sp)
lw a0,0x34(sp)
beq a0,zero,0x002764ec
_lw gp,0x20(sp)
lw t9,-0x72c8(gp)
jalr t9
_nop
lw gp,0x20(sp)
addiu s1,s1,0x2210
b 0x0027504c
_li a3,0x523
or s2,s4,zero
lw s4,0x3c(sp)
lw t9,-0x78f0(gp)
jalr t9
_or a0,s3,zero
lw v0,0x48(sp)
beq v0,zero,0x002765a0
_lw gp,0x20(sp)
lw t9,-0x7964(gp)
jalr t9
_or a0,s2,zero
lw gp,0x20(sp)
b 0x00274580
_or s3,v0,zero
lw t9,-0x7964(gp)
or s7,s2,zero
or a0,s7,zero
lw s1,0x30(sp)
jalr t9
_lw s2,0x28(sp)
lw a0,0x34(sp)
beq a0,zero,0x00276564
_lw gp,0x20(sp)
lw t9,-0x72c8(gp)
jalr t9
_nop
lw gp,0x20(sp)
lw v0,-0x7fd0(gp)
addiu s1,s1,0x2210
lw a2,-0x7f64(gp)
li a3,0x4f2
lw a1,-0x7f64(gp)
or a0,s2,zero
addiu v0,v0,0x3e28
lw t9,-0x7990(gp)
addiu a2,a2,-0x3dbc
sw s1,0x1c(sp)
sw v0,0x18(sp)
addiu a1,a1,-0x3d60
lw v0,-0x7f64(gp)
b 0x0027507c
_addiu v0,v0,-0x3d00
lw t9,-0x7168(gp)
jalr t9
_or a0,s0,zero
bne v0,zero,0x00276518
_lw gp,0x20(sp)
lw v0,0x40(sp)
bne v0,zero,0x002765cc
_nop
andi s4,s4,0x8000
beq s4,zero,0x0027651c
_lw t9,-0x7964(gp)
lw a0,0x28(sp)
li a3,0x1
lh v1,0x80(sp)
li a2,0xd
lh v0,0x82(sp)
or a1,s2,zero
lw t9,-0x7bec(gp)
sw a0,0x18(sp)
or a0,s0,zero
sw v1,0x14(sp)
jalr t9
_sw v0,0x10(sp)
b 0x00276518
_lw gp,0x20(sp)
or s7,s2,zero
lw s1,0x30(sp)
b 0x0027500c
_lw s2,0x28(sp)
jalr t9
_or a0,s0,zero
b 0x00274580
_lw gp,0x20(sp)
sltu v1,v1,s1
beq v1,zero,0x0027561c
_addiu s1,s1,-0x2
lw t9,-0x7964(gp)
or s7,s2,zero
or a0,s7,zero
lw s1,0x30(sp)
jalr t9
_lw s2,0x28(sp)
lw a0,0x34(sp)
beq a0,zero,0x00276664
_lw gp,0x20(sp)
lw t9,-0x72c8(gp)
jalr t9
_nop
lw gp,0x20(sp)
addiu s1,s1,0x2210
b 0x00275880
_li a3,0x4e5
(translation_unit "undefined4 FUN_00274008(byte *param_1,int *param_2)\n\n{\n  byte bVar1;\n  byte bVar2;\n  bool bVar3;\n  undefined *puVar4;\n  int iVar5;\n  char cVar16;\n  char cVar17;\n  char cVar18;\n  char cVar19;\n  int *piVar6;\n  int *piVar7;\n  undefined4 uVar8;\n  int iVar9;\n  double *pdVar10;\n  double *pdVar11;\n  undefined *puVar12;\n  int iVar13;\n  short sVar15;\n  uint uVar14;\n  uint extraout_v1;\n  int iVar20;\n  undefined *puVar21;\n  int iVar22;\n  int iVar23;\n  byte *pbVar24;\n  undefined *puVar25;\n  undefined4 uVar26;\n  int iVar27;\n  int unaff_s0;\n  byte *unaff_s3;\n  uint uVar28;\n  uint uVar29;\n  uint uVar30;\n  byte *pbVar31;\n  int *unaff_s7;\n  double dVar32;\n  float fVar34;\n  double dVar33;\n  double in_f2_3;\n  double dVar35;\n  double dVar36;\n  double in_f20_21;\n  double in_f22_23;\n  double in_f24_25;\n  undefined8 uVar37;\n  int *local_10d8;\n  int local_10d4;\n  byte *local_10d0;\n  int local_10cc;\n  undefined *local_10c8;\n  short *local_10bc;\n  int local_10b8;\n  int local_10b0;\n  undefined *local_10ac;\n  int local_1094;\n  short local_1090;\n  short local_108e;\n  short local_108c;\n  short local_108a;\n  undefined1 auStack_1088 [8];\n  undefined4 local_1080;\n  undefined1 auStack_1078 [8];\n  int local_1070;\n  int local_106c;\n  short local_1066;\n  short local_1064;\n  short local_1062;\n  undefined1 auStack_1054 [4096];\n  int local_54;\n  \n  puVar4 = PTR___stack_chk_guard_003a9230;\n  local_54 = *(int *)PTR___stack_chk_guard_003a9230;\n  if (param_1 == (byte *)0x0) {\n    dVar33 = (double)(*(code *)PTR___assert_fail_003a9608)\n                               (PTR_LAB_003a88e0 + 0xd78,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,0x374,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\n    goto LAB_00275d54;\n  }\n  if (*(int *)(param_1 + 0x3214) == -0x54535255) {\n    if (*(int *)(param_1 + 0x3210) != 0) {\n      (*(code *)PTR_LogMagickEvent_003a91e0)\n                (0x8000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x377,\n                 PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210);\n    }\n    if (param_2 == (int *)0x0) goto LAB_00275e6c;\n    if (param_2[7] == -0x54535255) {\n      unaff_s0 = (*(code *)PTR_AcquireImage_003a960c)(param_1,param_2);\n      iVar5 = (*(code *)PTR_OpenBlob_003a924c)(param_1,unaff_s0,2,param_2);\n      if (iVar5 == 0) {\n        (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n        uVar26 = 0;\n        goto LAB_00274228;\n      }\n      local_1066 = 0;\n      local_1064 = 0;\n      cVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar17 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar18 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar19 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      if ((((cVar16 != 'P') || (unaff_s3 = (byte *)0x1fc, cVar17 != 'I')) || (cVar18 != 'C')) ||\n         (cVar19 != 'T')) {\n        unaff_s3 = (byte *)0x1fc;\n        do {\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (iVar5 == -1) break;\n          unaff_s3 = unaff_s3 + -1;\n        } while (unaff_s3 != (byte *)0x0);\n      }\n      (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n      iVar5 = FUN_002739c8(unaff_s0,&local_1090);\n      if (iVar5 == 0) {\n        uVar26 = 0x397;\n      }\n      else {\n        do {\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n        } while (iVar5 == 0);\n        uVar26 = 0x39a;\n        if (iVar5 == 0x11) {\n          local_10d4 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (local_10d4 == 2) {\n            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n            if (iVar5 != 0xff) {\n              uVar26 = 0x3a0;\n              goto LAB_002741b8;\n            }\n          }\n          else if (local_10d4 != 1) {\n            uVar26 = 0x3a4;\n            goto LAB_002741b8;\n          }\n          iVar5 = (int)local_108e;\n          iVar13 = (int)local_108a;\n          if ((((-1 < iVar5) && (iVar9 = (int)local_1090, -1 < iVar13)) &&\n              ((iVar22 = (int)local_108c, -1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13)))))) &&\n             (iVar9 < iVar22)) {\n            iVar23 = *(int *)(param_1 + 0x1dc);\n            *(undefined4 *)(unaff_s0 + 0x200) = 0;\n            *(int *)(unaff_s0 + 0x18) = iVar13 - iVar5;\n            *(undefined4 *)(unaff_s0 + 0x20) = 8;\n            puVar12 = PTR_LAB_003a88e0;\n            *(int *)(unaff_s0 + 0x1c) = iVar22 - iVar9;\n            uVar37 = *(undefined8 *)(puVar12 + 0x13f0);\n            *(undefined8 *)(unaff_s0 + 0x218) = uVar37;\n            *(undefined8 *)(unaff_s0 + 0x220) = uVar37;\n            if (((iVar23 != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n               (pbVar31 = unaff_s3, piVar6 = unaff_s7,\n               (*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=\n               *(uint *)(unaff_s0 + 0x26c))) goto LAB_00274430;\n            iVar5 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar13 - iVar5,iVar22 - iVar9,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            local_10c8 = PTR_LAB_003a88e0;\n            unaff_s7 = (int *)0x0;\n            local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n            unaff_s3 = (byte *)0x0;\n            local_10b8 = 0;\n            in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418);\n            in_f22_23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n            in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58);\n            local_10cc = 0;\n            local_10bc = &local_1090;\n            local_10d0 = param_1;\n            local_10d8 = param_2;\nLAB_002744b8:\n            do {\n              piVar6 = (int *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pbVar31 = local_10d0;\n              if ((piVar6 != (int *)0x0) ||\n                 (((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pbVar31;\n                unaff_s7 = piVar6;\nLAB_00274228:\n                if (local_54 == *(int *)puVar4) {\n                  return uVar26;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (int *)((uint)piVar6 & 0xffff);\n              if (unaff_s7 == (int *)0x0) {\n                unaff_s7 = (int *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (int *)0xa2) {\n                if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (int *)0x78) {\n                  if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }\n                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                  puVar12 = PTR_SetImageExtent_003a94ac;\n                  if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;\n                  iVar5 = (int)local_108a - (int)local_108e;\n                  iVar13 = (int)local_108c - (int)local_1090;\n                  *(int *)(unaff_s0 + 0x18) = iVar5;\n                  *(int *)(unaff_s0 + 0x1c) = iVar13;\n                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);\n                  if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((int *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)) goto LAB_002752a0;\n                bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2;\n                if (bVar3) {\n                  uVar28 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                if (iVar5 != 0) {\n                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);\n                  if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);\n                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }\n                  piVar7[9] = 2;\nLAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);\n                  if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }\n                  iVar5 = piVar7[9];\n                  if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }\nLAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar26 = 0x4d7;\n                  unaff_s7 = piVar7;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (byte *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar26 = 0x491;\nLAB_002757bc:\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar12 = PTR_s_courses_003a88ec + -400;\n                piVar7 = unaff_s7;\nLAB_0027507c:\n                uVar8 = 0x1a9;\n                unaff_s7 = piVar7;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                uVar26 = 0;\n                goto LAB_00274228;\n              }\n              if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7);\n              }\n              if (unaff_s7 != (int *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7 + -0x2c) {\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar5 = 0x18;\n              do {\n                iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar13 == -1) break;\n                iVar5 = iVar5 + -1;\n              } while (iVar5 != 0);\n            } while( true );\n          }\n          uVar26 = 0x3a8;\n        }\n      }\nLAB_002741b8:\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,uVar26,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,param_1 + 0x2210);\n      if (unaff_s0 == 0) goto LAB_00274224;\n      goto LAB_00274208;\n    }\n  }\n  else {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0xda0,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n               0x375,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\n  }\n  (*(code *)PTR___assert_fail_003a9608)\n            (PTR_LAB_003a88e0 + 0x294c,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n             0x37a,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\nLAB_00275e6c:\n  (*(code *)PTR___assert_fail_003a9608)\n            (PTR_LAB_003a88e0 + 0x1cac,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n             0x379,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\n  goto LAB_00275e90;\n}\n\n" (function_definition "undefined4 FUN_00274008(byte *param_1,int *param_2)\n\n{\n  byte bVar1;\n  byte bVar2;\n  bool bVar3;\n  undefined *puVar4;\n  int iVar5;\n  char cVar16;\n  char cVar17;\n  char cVar18;\n  char cVar19;\n  int *piVar6;\n  int *piVar7;\n  undefined4 uVar8;\n  int iVar9;\n  double *pdVar10;\n  double *pdVar11;\n  undefined *puVar12;\n  int iVar13;\n  short sVar15;\n  uint uVar14;\n  uint extraout_v1;\n  int iVar20;\n  undefined *puVar21;\n  int iVar22;\n  int iVar23;\n  byte *pbVar24;\n  undefined *puVar25;\n  undefined4 uVar26;\n  int iVar27;\n  int unaff_s0;\n  byte *unaff_s3;\n  uint uVar28;\n  uint uVar29;\n  uint uVar30;\n  byte *pbVar31;\n  int *unaff_s7;\n  double dVar32;\n  float fVar34;\n  double dVar33;\n  double in_f2_3;\n  double dVar35;\n  double dVar36;\n  double in_f20_21;\n  double in_f22_23;\n  double in_f24_25;\n  undefined8 uVar37;\n  int *local_10d8;\n  int local_10d4;\n  byte *local_10d0;\n  int local_10cc;\n  undefined *local_10c8;\n  short *local_10bc;\n  int local_10b8;\n  int local_10b0;\n  undefined *local_10ac;\n  int local_1094;\n  short local_1090;\n  short local_108e;\n  short local_108c;\n  short local_108a;\n  undefined1 auStack_1088 [8];\n  undefined4 local_1080;\n  undefined1 auStack_1078 [8];\n  int local_1070;\n  int local_106c;\n  short local_1066;\n  short local_1064;\n  short local_1062;\n  undefined1 auStack_1054 [4096];\n  int local_54;\n  \n  puVar4 = PTR___stack_chk_guard_003a9230;\n  local_54 = *(int *)PTR___stack_chk_guard_003a9230;\n  if (param_1 == (byte *)0x0) {\n    dVar33 = (double)(*(code *)PTR___assert_fail_003a9608)\n                               (PTR_LAB_003a88e0 + 0xd78,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,0x374,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\n    goto LAB_00275d54;\n  }\n  if (*(int *)(param_1 + 0x3214) == -0x54535255) {\n    if (*(int *)(param_1 + 0x3210) != 0) {\n      (*(code *)PTR_LogMagickEvent_003a91e0)\n                (0x8000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x377,\n                 PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210);\n    }\n    if (param_2 == (int *)0x0) goto LAB_00275e6c;\n    if (param_2[7] == -0x54535255) {\n      unaff_s0 = (*(code *)PTR_AcquireImage_003a960c)(param_1,param_2);\n      iVar5 = (*(code *)PTR_OpenBlob_003a924c)(param_1,unaff_s0,2,param_2);\n      if (iVar5 == 0) {\n        (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n        uVar26 = 0;\n        goto LAB_00274228;\n      }\n      local_1066 = 0;\n      local_1064 = 0;\n      cVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar17 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar18 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar19 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      if ((((cVar16 != 'P') || (unaff_s3 = (byte *)0x1fc, cVar17 != 'I')) || (cVar18 != 'C')) ||\n         (cVar19 != 'T')) {\n        unaff_s3 = (byte *)0x1fc;\n        do {\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (iVar5 == -1) break;\n          unaff_s3 = unaff_s3 + -1;\n        } while (unaff_s3 != (byte *)0x0);\n      }\n      (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n      iVar5 = FUN_002739c8(unaff_s0,&local_1090);\n      if (iVar5 == 0) {\n        uVar26 = 0x397;\n      }\n      else {\n        do {\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n        } while (iVar5 == 0);\n        uVar26 = 0x39a;\n        if (iVar5 == 0x11) {\n          local_10d4 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (local_10d4 == 2) {\n            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n            if (iVar5 != 0xff) {\n              uVar26 = 0x3a0;\n              goto LAB_002741b8;\n            }\n          }\n          else if (local_10d4 != 1) {\n            uVar26 = 0x3a4;\n            goto LAB_002741b8;\n          }\n          iVar5 = (int)local_108e;\n          iVar13 = (int)local_108a;\n          if ((((-1 < iVar5) && (iVar9 = (int)local_1090, -1 < iVar13)) &&\n              ((iVar22 = (int)local_108c, -1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13)))))) &&\n             (iVar9 < iVar22)) {\n            iVar23 = *(int *)(param_1 + 0x1dc);\n            *(undefined4 *)(unaff_s0 + 0x200) = 0;\n            *(int *)(unaff_s0 + 0x18) = iVar13 - iVar5;\n            *(undefined4 *)(unaff_s0 + 0x20) = 8;\n            puVar12 = PTR_LAB_003a88e0;\n            *(int *)(unaff_s0 + 0x1c) = iVar22 - iVar9;\n            uVar37 = *(undefined8 *)(puVar12 + 0x13f0);\n            *(undefined8 *)(unaff_s0 + 0x218) = uVar37;\n            *(undefined8 *)(unaff_s0 + 0x220) = uVar37;\n            if (((iVar23 != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n               (pbVar31 = unaff_s3, piVar6 = unaff_s7,\n               (*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=\n               *(uint *)(unaff_s0 + 0x26c))) goto LAB_00274430;\n            iVar5 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar13 - iVar5,iVar22 - iVar9,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            local_10c8 = PTR_LAB_003a88e0;\n            unaff_s7 = (int *)0x0;\n            local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n            unaff_s3 = (byte *)0x0;\n            local_10b8 = 0;\n            in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418);\n            in_f22_23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n            in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58);\n            local_10cc = 0;\n            local_10bc = &local_1090;\n            local_10d0 = param_1;\n            local_10d8 = param_2;\nLAB_002744b8:\n            do {\n              piVar6 = (int *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pbVar31 = local_10d0;\n              if ((piVar6 != (int *)0x0) ||\n                 (((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pbVar31;\n                unaff_s7 = piVar6;\nLAB_00274228:\n                if (local_54 == *(int *)puVar4) {\n                  return uVar26;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (int *)((uint)piVar6 & 0xffff);\n              if (unaff_s7 == (int *)0x0) {\n                unaff_s7 = (int *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (int *)0xa2) {\n                if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (int *)0x78) {\n                  if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }\n                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                  puVar12 = PTR_SetImageExtent_003a94ac;\n                  if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;\n                  iVar5 = (int)local_108a - (int)local_108e;\n                  iVar13 = (int)local_108c - (int)local_1090;\n                  *(int *)(unaff_s0 + 0x18) = iVar5;\n                  *(int *)(unaff_s0 + 0x1c) = iVar13;\n                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);\n                  if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((int *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)) goto LAB_002752a0;\n                bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2;\n                if (bVar3) {\n                  uVar28 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                if (iVar5 != 0) {\n                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);\n                  if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);\n                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }\n                  piVar7[9] = 2;\nLAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);\n                  if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }\n                  iVar5 = piVar7[9];\n                  if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }\nLAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar26 = 0x4d7;\n                  unaff_s7 = piVar7;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (byte *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar26 = 0x491;\nLAB_002757bc:\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar12 = PTR_s_courses_003a88ec + -400;\n                piVar7 = unaff_s7;\nLAB_0027507c:\n                uVar8 = 0x1a9;\n                unaff_s7 = piVar7;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                uVar26 = 0;\n                goto LAB_00274228;\n              }\n              if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7);\n              }\n              if (unaff_s7 != (int *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7 + -0x2c) {\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar5 = 0x18;\n              do {\n                iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar13 == -1) break;\n                iVar5 = iVar5 + -1;\n              } while (iVar5 != 0);\n            } while( true );\n          }\n          uVar26 = 0x3a8;\n        }\n      }\nLAB_002741b8:\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,uVar26,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,param_1 + 0x2210);\n      if (unaff_s0 == 0) goto LAB_00274224;\n      goto LAB_00274208;\n    }\n  }\n  else {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0xda0,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n               0x375,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\n  }\n  (*(code *)PTR___assert_fail_003a9608)\n            (PTR_LAB_003a88e0 + 0x294c,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n             0x37a,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\nLAB_00275e6c:\n  (*(code *)PTR___assert_fail_003a9608)\n            (PTR_LAB_003a88e0 + 0x1cac,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n             0x379,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\n  goto LAB_00275e90;\n}" type_identifier (function_declarator "FUN_00274008(byte *param_1,int *param_2)" identifier (parameter_list "(byte *param_1,int *param_2)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  byte bVar2;\n  bool bVar3;\n  undefined *puVar4;\n  int iVar5;\n  char cVar16;\n  char cVar17;\n  char cVar18;\n  char cVar19;\n  int *piVar6;\n  int *piVar7;\n  undefined4 uVar8;\n  int iVar9;\n  double *pdVar10;\n  double *pdVar11;\n  undefined *puVar12;\n  int iVar13;\n  short sVar15;\n  uint uVar14;\n  uint extraout_v1;\n  int iVar20;\n  undefined *puVar21;\n  int iVar22;\n  int iVar23;\n  byte *pbVar24;\n  undefined *puVar25;\n  undefined4 uVar26;\n  int iVar27;\n  int unaff_s0;\n  byte *unaff_s3;\n  uint uVar28;\n  uint uVar29;\n  uint uVar30;\n  byte *pbVar31;\n  int *unaff_s7;\n  double dVar32;\n  float fVar34;\n  double dVar33;\n  double in_f2_3;\n  double dVar35;\n  double dVar36;\n  double in_f20_21;\n  double in_f22_23;\n  double in_f24_25;\n  undefined8 uVar37;\n  int *local_10d8;\n  int local_10d4;\n  byte *local_10d0;\n  int local_10cc;\n  undefined *local_10c8;\n  short *local_10bc;\n  int local_10b8;\n  int local_10b0;\n  undefined *local_10ac;\n  int local_1094;\n  short local_1090;\n  short local_108e;\n  short local_108c;\n  short local_108a;\n  undefined1 auStack_1088 [8];\n  undefined4 local_1080;\n  undefined1 auStack_1078 [8];\n  int local_1070;\n  int local_106c;\n  short local_1066;\n  short local_1064;\n  short local_1062;\n  undefined1 auStack_1054 [4096];\n  int local_54;\n  \n  puVar4 = PTR___stack_chk_guard_003a9230;\n  local_54 = *(int *)PTR___stack_chk_guard_003a9230;\n  if (param_1 == (byte *)0x0) {\n    dVar33 = (double)(*(code *)PTR___assert_fail_003a9608)\n                               (PTR_LAB_003a88e0 + 0xd78,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,0x374,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\n    goto LAB_00275d54;\n  }\n  if (*(int *)(param_1 + 0x3214) == -0x54535255) {\n    if (*(int *)(param_1 + 0x3210) != 0) {\n      (*(code *)PTR_LogMagickEvent_003a91e0)\n                (0x8000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x377,\n                 PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210);\n    }\n    if (param_2 == (int *)0x0) goto LAB_00275e6c;\n    if (param_2[7] == -0x54535255) {\n      unaff_s0 = (*(code *)PTR_AcquireImage_003a960c)(param_1,param_2);\n      iVar5 = (*(code *)PTR_OpenBlob_003a924c)(param_1,unaff_s0,2,param_2);\n      if (iVar5 == 0) {\n        (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n        uVar26 = 0;\n        goto LAB_00274228;\n      }\n      local_1066 = 0;\n      local_1064 = 0;\n      cVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar17 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar18 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar19 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      if ((((cVar16 != 'P') || (unaff_s3 = (byte *)0x1fc, cVar17 != 'I')) || (cVar18 != 'C')) ||\n         (cVar19 != 'T')) {\n        unaff_s3 = (byte *)0x1fc;\n        do {\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (iVar5 == -1) break;\n          unaff_s3 = unaff_s3 + -1;\n        } while (unaff_s3 != (byte *)0x0);\n      }\n      (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n      iVar5 = FUN_002739c8(unaff_s0,&local_1090);\n      if (iVar5 == 0) {\n        uVar26 = 0x397;\n      }\n      else {\n        do {\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n        } while (iVar5 == 0);\n        uVar26 = 0x39a;\n        if (iVar5 == 0x11) {\n          local_10d4 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (local_10d4 == 2) {\n            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n            if (iVar5 != 0xff) {\n              uVar26 = 0x3a0;\n              goto LAB_002741b8;\n            }\n          }\n          else if (local_10d4 != 1) {\n            uVar26 = 0x3a4;\n            goto LAB_002741b8;\n          }\n          iVar5 = (int)local_108e;\n          iVar13 = (int)local_108a;\n          if ((((-1 < iVar5) && (iVar9 = (int)local_1090, -1 < iVar13)) &&\n              ((iVar22 = (int)local_108c, -1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13)))))) &&\n             (iVar9 < iVar22)) {\n            iVar23 = *(int *)(param_1 + 0x1dc);\n            *(undefined4 *)(unaff_s0 + 0x200) = 0;\n            *(int *)(unaff_s0 + 0x18) = iVar13 - iVar5;\n            *(undefined4 *)(unaff_s0 + 0x20) = 8;\n            puVar12 = PTR_LAB_003a88e0;\n            *(int *)(unaff_s0 + 0x1c) = iVar22 - iVar9;\n            uVar37 = *(undefined8 *)(puVar12 + 0x13f0);\n            *(undefined8 *)(unaff_s0 + 0x218) = uVar37;\n            *(undefined8 *)(unaff_s0 + 0x220) = uVar37;\n            if (((iVar23 != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n               (pbVar31 = unaff_s3, piVar6 = unaff_s7,\n               (*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=\n               *(uint *)(unaff_s0 + 0x26c))) goto LAB_00274430;\n            iVar5 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar13 - iVar5,iVar22 - iVar9,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            local_10c8 = PTR_LAB_003a88e0;\n            unaff_s7 = (int *)0x0;\n            local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n            unaff_s3 = (byte *)0x0;\n            local_10b8 = 0;\n            in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418);\n            in_f22_23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n            in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58);\n            local_10cc = 0;\n            local_10bc = &local_1090;\n            local_10d0 = param_1;\n            local_10d8 = param_2;\nLAB_002744b8:\n            do {\n              piVar6 = (int *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pbVar31 = local_10d0;\n              if ((piVar6 != (int *)0x0) ||\n                 (((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pbVar31;\n                unaff_s7 = piVar6;\nLAB_00274228:\n                if (local_54 == *(int *)puVar4) {\n                  return uVar26;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (int *)((uint)piVar6 & 0xffff);\n              if (unaff_s7 == (int *)0x0) {\n                unaff_s7 = (int *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (int *)0xa2) {\n                if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (int *)0x78) {\n                  if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }\n                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                  puVar12 = PTR_SetImageExtent_003a94ac;\n                  if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;\n                  iVar5 = (int)local_108a - (int)local_108e;\n                  iVar13 = (int)local_108c - (int)local_1090;\n                  *(int *)(unaff_s0 + 0x18) = iVar5;\n                  *(int *)(unaff_s0 + 0x1c) = iVar13;\n                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);\n                  if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((int *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)) goto LAB_002752a0;\n                bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2;\n                if (bVar3) {\n                  uVar28 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                if (iVar5 != 0) {\n                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);\n                  if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);\n                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }\n                  piVar7[9] = 2;\nLAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);\n                  if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }\n                  iVar5 = piVar7[9];\n                  if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }\nLAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar26 = 0x4d7;\n                  unaff_s7 = piVar7;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (byte *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar26 = 0x491;\nLAB_002757bc:\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar12 = PTR_s_courses_003a88ec + -400;\n                piVar7 = unaff_s7;\nLAB_0027507c:\n                uVar8 = 0x1a9;\n                unaff_s7 = piVar7;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                uVar26 = 0;\n                goto LAB_00274228;\n              }\n              if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7);\n              }\n              if (unaff_s7 != (int *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7 + -0x2c) {\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar5 = 0x18;\n              do {\n                iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar13 == -1) break;\n                iVar5 = iVar5 + -1;\n              } while (iVar5 != 0);\n            } while( true );\n          }\n          uVar26 = 0x3a8;\n        }\n      }\nLAB_002741b8:\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,uVar26,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,param_1 + 0x2210);\n      if (unaff_s0 == 0) goto LAB_00274224;\n      goto LAB_00274208;\n    }\n  }\n  else {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0xda0,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n               0x375,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\n  }\n  (*(code *)PTR___assert_fail_003a9608)\n            (PTR_LAB_003a88e0 + 0x294c,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n             0x37a,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\nLAB_00275e6c:\n  (*(code *)PTR___assert_fail_003a9608)\n            (PTR_LAB_003a88e0 + 0x1cac,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n             0x379,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\n  goto LAB_00275e90;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "bool bVar3;" primitive_type identifier ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "char cVar16;" primitive_type identifier ;) (declaration "char cVar17;" primitive_type identifier ;) (declaration "char cVar18;" primitive_type identifier ;) (declaration "char cVar19;" primitive_type identifier ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "double *pdVar10;" primitive_type (pointer_declarator "*pdVar10" * identifier) ;) (declaration "double *pdVar11;" primitive_type (pointer_declarator "*pdVar11" * identifier) ;) (declaration "undefined *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "short sVar15;" (sized_type_specifier "short" short) identifier ;) (declaration "uint uVar14;" type_identifier identifier ;) (declaration "uint extraout_v1;" type_identifier identifier ;) (declaration "int iVar20;" primitive_type identifier ;) (declaration "undefined *puVar21;" type_identifier (pointer_declarator "*puVar21" * identifier) ;) (declaration "int iVar22;" primitive_type identifier ;) (declaration "int iVar23;" primitive_type identifier ;) (declaration "byte *pbVar24;" type_identifier (pointer_declarator "*pbVar24" * identifier) ;) (declaration "undefined *puVar25;" type_identifier (pointer_declarator "*puVar25" * identifier) ;) (declaration "undefined4 uVar26;" type_identifier identifier ;) (declaration "int iVar27;" primitive_type identifier ;) (declaration "int unaff_s0;" primitive_type identifier ;) (declaration "byte *unaff_s3;" type_identifier (pointer_declarator "*unaff_s3" * identifier) ;) (declaration "uint uVar28;" type_identifier identifier ;) (declaration "uint uVar29;" type_identifier identifier ;) (declaration "uint uVar30;" type_identifier identifier ;) (declaration "byte *pbVar31;" type_identifier (pointer_declarator "*pbVar31" * identifier) ;) (declaration "int *unaff_s7;" primitive_type (pointer_declarator "*unaff_s7" * identifier) ;) (declaration "double dVar32;" primitive_type identifier ;) (declaration "float fVar34;" primitive_type identifier ;) (declaration "double dVar33;" primitive_type identifier ;) (declaration "double in_f2_3;" primitive_type identifier ;) (declaration "double dVar35;" primitive_type identifier ;) (declaration "double dVar36;" primitive_type identifier ;) (declaration "double in_f20_21;" primitive_type identifier ;) (declaration "double in_f22_23;" primitive_type identifier ;) (declaration "double in_f24_25;" primitive_type identifier ;) (declaration "undefined8 uVar37;" type_identifier identifier ;) (declaration "int *local_10d8;" primitive_type (pointer_declarator "*local_10d8" * identifier) ;) (declaration "int local_10d4;" primitive_type identifier ;) (declaration "byte *local_10d0;" type_identifier (pointer_declarator "*local_10d0" * identifier) ;) (declaration "int local_10cc;" primitive_type identifier ;) (declaration "undefined *local_10c8;" type_identifier (pointer_declarator "*local_10c8" * identifier) ;) (declaration "short *local_10bc;" (sized_type_specifier "short" short) (pointer_declarator "*local_10bc" * identifier) ;) (declaration "int local_10b8;" primitive_type identifier ;) (declaration "int local_10b0;" primitive_type identifier ;) (declaration "undefined *local_10ac;" type_identifier (pointer_declarator "*local_10ac" * identifier) ;) (declaration "int local_1094;" primitive_type identifier ;) (declaration "short local_1090;" (sized_type_specifier "short" short) identifier ;) (declaration "short local_108e;" (sized_type_specifier "short" short) identifier ;) (declaration "short local_108c;" (sized_type_specifier "short" short) identifier ;) (declaration "short local_108a;" (sized_type_specifier "short" short) identifier ;) (declaration "undefined1 auStack_1088 [8];" type_identifier (array_declarator "auStack_1088 [8]" identifier [ number_literal ]) ;) (declaration "undefined4 local_1080;" type_identifier identifier ;) (declaration "undefined1 auStack_1078 [8];" type_identifier (array_declarator "auStack_1078 [8]" identifier [ number_literal ]) ;) (declaration "int local_1070;" primitive_type identifier ;) (declaration "int local_106c;" primitive_type identifier ;) (declaration "short local_1066;" (sized_type_specifier "short" short) identifier ;) (declaration "short local_1064;" (sized_type_specifier "short" short) identifier ;) (declaration "short local_1062;" (sized_type_specifier "short" short) identifier ;) (declaration "undefined1 auStack_1054 [4096];" type_identifier (array_declarator "auStack_1054 [4096]" identifier [ number_literal ]) ;) (declaration "int local_54;" primitive_type identifier ;) (expression_statement "puVar4 = PTR___stack_chk_guard_003a9230;" (assignment_expression "puVar4 = PTR___stack_chk_guard_003a9230" identifier = identifier) ;) (expression_statement "local_54 = *(int *)PTR___stack_chk_guard_003a9230;" (assignment_expression "local_54 = *(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 == (byte *)0x0) {\n    dVar33 = (double)(*(code *)PTR___assert_fail_003a9608)\n                               (PTR_LAB_003a88e0 + 0xd78,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,0x374,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\n    goto LAB_00275d54;\n  }" if (parenthesized_expression "(param_1 == (byte *)0x0)" ( (binary_expression "param_1 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    dVar33 = (double)(*(code *)PTR___assert_fail_003a9608)\n                               (PTR_LAB_003a88e0 + 0xd78,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,0x374,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\n    goto LAB_00275d54;\n  }" { (expression_statement "dVar33 = (double)(*(code *)PTR___assert_fail_003a9608)\n                               (PTR_LAB_003a88e0 + 0xd78,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,0x374,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);" (assignment_expression "dVar33 = (double)(*(code *)PTR___assert_fail_003a9608)\n                               (PTR_LAB_003a88e0 + 0xd78,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,0x374,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac)" identifier = (cast_expression "(double)(*(code *)PTR___assert_fail_003a9608)\n                               (PTR_LAB_003a88e0 + 0xd78,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,0x374,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac)" ( (type_descriptor "double" primitive_type) ) (call_expression "(*(code *)PTR___assert_fail_003a9608)\n                               (PTR_LAB_003a88e0 + 0xd78,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,0x374,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac)" (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 + -0x3d60,0x374,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac)" ( (binary_expression "PTR_LAB_003a88e0 + 0xd78" identifier + number_literal) , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier + number_literal) , number_literal , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac" identifier + number_literal) ))))) ;) (goto_statement "goto LAB_00275d54;" goto statement_identifier ;) })) (if_statement "if (*(int *)(param_1 + 0x3214) == -0x54535255) {\n    if (*(int *)(param_1 + 0x3210) != 0) {\n      (*(code *)PTR_LogMagickEvent_003a91e0)\n                (0x8000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x377,\n                 PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210);\n    }\n    if (param_2 == (int *)0x0) goto LAB_00275e6c;\n    if (param_2[7] == -0x54535255) {\n      unaff_s0 = (*(code *)PTR_AcquireImage_003a960c)(param_1,param_2);\n      iVar5 = (*(code *)PTR_OpenBlob_003a924c)(param_1,unaff_s0,2,param_2);\n      if (iVar5 == 0) {\n        (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n        uVar26 = 0;\n        goto LAB_00274228;\n      }\n      local_1066 = 0;\n      local_1064 = 0;\n      cVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar17 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar18 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar19 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      if ((((cVar16 != 'P') || (unaff_s3 = (byte *)0x1fc, cVar17 != 'I')) || (cVar18 != 'C')) ||\n         (cVar19 != 'T')) {\n        unaff_s3 = (byte *)0x1fc;\n        do {\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (iVar5 == -1) break;\n          unaff_s3 = unaff_s3 + -1;\n        } while (unaff_s3 != (byte *)0x0);\n      }\n      (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n      iVar5 = FUN_002739c8(unaff_s0,&local_1090);\n      if (iVar5 == 0) {\n        uVar26 = 0x397;\n      }\n      else {\n        do {\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n        } while (iVar5 == 0);\n        uVar26 = 0x39a;\n        if (iVar5 == 0x11) {\n          local_10d4 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (local_10d4 == 2) {\n            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n            if (iVar5 != 0xff) {\n              uVar26 = 0x3a0;\n              goto LAB_002741b8;\n            }\n          }\n          else if (local_10d4 != 1) {\n            uVar26 = 0x3a4;\n            goto LAB_002741b8;\n          }\n          iVar5 = (int)local_108e;\n          iVar13 = (int)local_108a;\n          if ((((-1 < iVar5) && (iVar9 = (int)local_1090, -1 < iVar13)) &&\n              ((iVar22 = (int)local_108c, -1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13)))))) &&\n             (iVar9 < iVar22)) {\n            iVar23 = *(int *)(param_1 + 0x1dc);\n            *(undefined4 *)(unaff_s0 + 0x200) = 0;\n            *(int *)(unaff_s0 + 0x18) = iVar13 - iVar5;\n            *(undefined4 *)(unaff_s0 + 0x20) = 8;\n            puVar12 = PTR_LAB_003a88e0;\n            *(int *)(unaff_s0 + 0x1c) = iVar22 - iVar9;\n            uVar37 = *(undefined8 *)(puVar12 + 0x13f0);\n            *(undefined8 *)(unaff_s0 + 0x218) = uVar37;\n            *(undefined8 *)(unaff_s0 + 0x220) = uVar37;\n            if (((iVar23 != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n               (pbVar31 = unaff_s3, piVar6 = unaff_s7,\n               (*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=\n               *(uint *)(unaff_s0 + 0x26c))) goto LAB_00274430;\n            iVar5 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar13 - iVar5,iVar22 - iVar9,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            local_10c8 = PTR_LAB_003a88e0;\n            unaff_s7 = (int *)0x0;\n            local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n            unaff_s3 = (byte *)0x0;\n            local_10b8 = 0;\n            in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418);\n            in_f22_23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n            in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58);\n            local_10cc = 0;\n            local_10bc = &local_1090;\n            local_10d0 = param_1;\n            local_10d8 = param_2;\nLAB_002744b8:\n            do {\n              piVar6 = (int *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pbVar31 = local_10d0;\n              if ((piVar6 != (int *)0x0) ||\n                 (((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pbVar31;\n                unaff_s7 = piVar6;\nLAB_00274228:\n                if (local_54 == *(int *)puVar4) {\n                  return uVar26;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (int *)((uint)piVar6 & 0xffff);\n              if (unaff_s7 == (int *)0x0) {\n                unaff_s7 = (int *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (int *)0xa2) {\n                if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (int *)0x78) {\n                  if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }\n                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                  puVar12 = PTR_SetImageExtent_003a94ac;\n                  if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;\n                  iVar5 = (int)local_108a - (int)local_108e;\n                  iVar13 = (int)local_108c - (int)local_1090;\n                  *(int *)(unaff_s0 + 0x18) = iVar5;\n                  *(int *)(unaff_s0 + 0x1c) = iVar13;\n                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);\n                  if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((int *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)) goto LAB_002752a0;\n                bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2;\n                if (bVar3) {\n                  uVar28 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                if (iVar5 != 0) {\n                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);\n                  if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);\n                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }\n                  piVar7[9] = 2;\nLAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);\n                  if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }\n                  iVar5 = piVar7[9];\n                  if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }\nLAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar26 = 0x4d7;\n                  unaff_s7 = piVar7;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (byte *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar26 = 0x491;\nLAB_002757bc:\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar12 = PTR_s_courses_003a88ec + -400;\n                piVar7 = unaff_s7;\nLAB_0027507c:\n                uVar8 = 0x1a9;\n                unaff_s7 = piVar7;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                uVar26 = 0;\n                goto LAB_00274228;\n              }\n              if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7);\n              }\n              if (unaff_s7 != (int *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7 + -0x2c) {\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar5 = 0x18;\n              do {\n                iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar13 == -1) break;\n                iVar5 = iVar5 + -1;\n              } while (iVar5 != 0);\n            } while( true );\n          }\n          uVar26 = 0x3a8;\n        }\n      }\nLAB_002741b8:\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,uVar26,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,param_1 + 0x2210);\n      if (unaff_s0 == 0) goto LAB_00274224;\n      goto LAB_00274208;\n    }\n  }\n  else {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0xda0,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n               0x375,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\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    if (*(int *)(param_1 + 0x3210) != 0) {\n      (*(code *)PTR_LogMagickEvent_003a91e0)\n                (0x8000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x377,\n                 PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210);\n    }\n    if (param_2 == (int *)0x0) goto LAB_00275e6c;\n    if (param_2[7] == -0x54535255) {\n      unaff_s0 = (*(code *)PTR_AcquireImage_003a960c)(param_1,param_2);\n      iVar5 = (*(code *)PTR_OpenBlob_003a924c)(param_1,unaff_s0,2,param_2);\n      if (iVar5 == 0) {\n        (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n        uVar26 = 0;\n        goto LAB_00274228;\n      }\n      local_1066 = 0;\n      local_1064 = 0;\n      cVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar17 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar18 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar19 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      if ((((cVar16 != 'P') || (unaff_s3 = (byte *)0x1fc, cVar17 != 'I')) || (cVar18 != 'C')) ||\n         (cVar19 != 'T')) {\n        unaff_s3 = (byte *)0x1fc;\n        do {\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (iVar5 == -1) break;\n          unaff_s3 = unaff_s3 + -1;\n        } while (unaff_s3 != (byte *)0x0);\n      }\n      (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n      iVar5 = FUN_002739c8(unaff_s0,&local_1090);\n      if (iVar5 == 0) {\n        uVar26 = 0x397;\n      }\n      else {\n        do {\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n        } while (iVar5 == 0);\n        uVar26 = 0x39a;\n        if (iVar5 == 0x11) {\n          local_10d4 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (local_10d4 == 2) {\n            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n            if (iVar5 != 0xff) {\n              uVar26 = 0x3a0;\n              goto LAB_002741b8;\n            }\n          }\n          else if (local_10d4 != 1) {\n            uVar26 = 0x3a4;\n            goto LAB_002741b8;\n          }\n          iVar5 = (int)local_108e;\n          iVar13 = (int)local_108a;\n          if ((((-1 < iVar5) && (iVar9 = (int)local_1090, -1 < iVar13)) &&\n              ((iVar22 = (int)local_108c, -1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13)))))) &&\n             (iVar9 < iVar22)) {\n            iVar23 = *(int *)(param_1 + 0x1dc);\n            *(undefined4 *)(unaff_s0 + 0x200) = 0;\n            *(int *)(unaff_s0 + 0x18) = iVar13 - iVar5;\n            *(undefined4 *)(unaff_s0 + 0x20) = 8;\n            puVar12 = PTR_LAB_003a88e0;\n            *(int *)(unaff_s0 + 0x1c) = iVar22 - iVar9;\n            uVar37 = *(undefined8 *)(puVar12 + 0x13f0);\n            *(undefined8 *)(unaff_s0 + 0x218) = uVar37;\n            *(undefined8 *)(unaff_s0 + 0x220) = uVar37;\n            if (((iVar23 != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n               (pbVar31 = unaff_s3, piVar6 = unaff_s7,\n               (*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=\n               *(uint *)(unaff_s0 + 0x26c))) goto LAB_00274430;\n            iVar5 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar13 - iVar5,iVar22 - iVar9,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            local_10c8 = PTR_LAB_003a88e0;\n            unaff_s7 = (int *)0x0;\n            local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n            unaff_s3 = (byte *)0x0;\n            local_10b8 = 0;\n            in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418);\n            in_f22_23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n            in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58);\n            local_10cc = 0;\n            local_10bc = &local_1090;\n            local_10d0 = param_1;\n            local_10d8 = param_2;\nLAB_002744b8:\n            do {\n              piVar6 = (int *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pbVar31 = local_10d0;\n              if ((piVar6 != (int *)0x0) ||\n                 (((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pbVar31;\n                unaff_s7 = piVar6;\nLAB_00274228:\n                if (local_54 == *(int *)puVar4) {\n                  return uVar26;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (int *)((uint)piVar6 & 0xffff);\n              if (unaff_s7 == (int *)0x0) {\n                unaff_s7 = (int *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (int *)0xa2) {\n                if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (int *)0x78) {\n                  if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }\n                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                  puVar12 = PTR_SetImageExtent_003a94ac;\n                  if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;\n                  iVar5 = (int)local_108a - (int)local_108e;\n                  iVar13 = (int)local_108c - (int)local_1090;\n                  *(int *)(unaff_s0 + 0x18) = iVar5;\n                  *(int *)(unaff_s0 + 0x1c) = iVar13;\n                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);\n                  if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((int *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)) goto LAB_002752a0;\n                bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2;\n                if (bVar3) {\n                  uVar28 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                if (iVar5 != 0) {\n                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);\n                  if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);\n                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }\n                  piVar7[9] = 2;\nLAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);\n                  if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }\n                  iVar5 = piVar7[9];\n                  if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }\nLAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar26 = 0x4d7;\n                  unaff_s7 = piVar7;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (byte *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar26 = 0x491;\nLAB_002757bc:\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar12 = PTR_s_courses_003a88ec + -400;\n                piVar7 = unaff_s7;\nLAB_0027507c:\n                uVar8 = 0x1a9;\n                unaff_s7 = piVar7;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                uVar26 = 0;\n                goto LAB_00274228;\n              }\n              if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7);\n              }\n              if (unaff_s7 != (int *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7 + -0x2c) {\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar5 = 0x18;\n              do {\n                iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar13 == -1) break;\n                iVar5 = iVar5 + -1;\n              } while (iVar5 != 0);\n            } while( true );\n          }\n          uVar26 = 0x3a8;\n        }\n      }\nLAB_002741b8:\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,uVar26,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,param_1 + 0x2210);\n      if (unaff_s0 == 0) goto LAB_00274224;\n      goto LAB_00274208;\n    }\n  }" { (if_statement "if (*(int *)(param_1 + 0x3210) != 0) {\n      (*(code *)PTR_LogMagickEvent_003a91e0)\n                (0x8000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x377,\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 + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x377,\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 + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x377,\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 + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x377,\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 + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x377,\n                 PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210)" ( number_literal , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier + number_literal) , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" 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) goto LAB_00275e6c;" 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)) )) (goto_statement "goto LAB_00275e6c;" goto statement_identifier ;)) (if_statement "if (param_2[7] == -0x54535255) {\n      unaff_s0 = (*(code *)PTR_AcquireImage_003a960c)(param_1,param_2);\n      iVar5 = (*(code *)PTR_OpenBlob_003a924c)(param_1,unaff_s0,2,param_2);\n      if (iVar5 == 0) {\n        (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n        uVar26 = 0;\n        goto LAB_00274228;\n      }\n      local_1066 = 0;\n      local_1064 = 0;\n      cVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar17 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar18 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar19 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      if ((((cVar16 != 'P') || (unaff_s3 = (byte *)0x1fc, cVar17 != 'I')) || (cVar18 != 'C')) ||\n         (cVar19 != 'T')) {\n        unaff_s3 = (byte *)0x1fc;\n        do {\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (iVar5 == -1) break;\n          unaff_s3 = unaff_s3 + -1;\n        } while (unaff_s3 != (byte *)0x0);\n      }\n      (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n      iVar5 = FUN_002739c8(unaff_s0,&local_1090);\n      if (iVar5 == 0) {\n        uVar26 = 0x397;\n      }\n      else {\n        do {\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n        } while (iVar5 == 0);\n        uVar26 = 0x39a;\n        if (iVar5 == 0x11) {\n          local_10d4 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (local_10d4 == 2) {\n            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n            if (iVar5 != 0xff) {\n              uVar26 = 0x3a0;\n              goto LAB_002741b8;\n            }\n          }\n          else if (local_10d4 != 1) {\n            uVar26 = 0x3a4;\n            goto LAB_002741b8;\n          }\n          iVar5 = (int)local_108e;\n          iVar13 = (int)local_108a;\n          if ((((-1 < iVar5) && (iVar9 = (int)local_1090, -1 < iVar13)) &&\n              ((iVar22 = (int)local_108c, -1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13)))))) &&\n             (iVar9 < iVar22)) {\n            iVar23 = *(int *)(param_1 + 0x1dc);\n            *(undefined4 *)(unaff_s0 + 0x200) = 0;\n            *(int *)(unaff_s0 + 0x18) = iVar13 - iVar5;\n            *(undefined4 *)(unaff_s0 + 0x20) = 8;\n            puVar12 = PTR_LAB_003a88e0;\n            *(int *)(unaff_s0 + 0x1c) = iVar22 - iVar9;\n            uVar37 = *(undefined8 *)(puVar12 + 0x13f0);\n            *(undefined8 *)(unaff_s0 + 0x218) = uVar37;\n            *(undefined8 *)(unaff_s0 + 0x220) = uVar37;\n            if (((iVar23 != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n               (pbVar31 = unaff_s3, piVar6 = unaff_s7,\n               (*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=\n               *(uint *)(unaff_s0 + 0x26c))) goto LAB_00274430;\n            iVar5 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar13 - iVar5,iVar22 - iVar9,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            local_10c8 = PTR_LAB_003a88e0;\n            unaff_s7 = (int *)0x0;\n            local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n            unaff_s3 = (byte *)0x0;\n            local_10b8 = 0;\n            in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418);\n            in_f22_23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n            in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58);\n            local_10cc = 0;\n            local_10bc = &local_1090;\n            local_10d0 = param_1;\n            local_10d8 = param_2;\nLAB_002744b8:\n            do {\n              piVar6 = (int *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pbVar31 = local_10d0;\n              if ((piVar6 != (int *)0x0) ||\n                 (((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pbVar31;\n                unaff_s7 = piVar6;\nLAB_00274228:\n                if (local_54 == *(int *)puVar4) {\n                  return uVar26;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (int *)((uint)piVar6 & 0xffff);\n              if (unaff_s7 == (int *)0x0) {\n                unaff_s7 = (int *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (int *)0xa2) {\n                if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (int *)0x78) {\n                  if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }\n                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                  puVar12 = PTR_SetImageExtent_003a94ac;\n                  if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;\n                  iVar5 = (int)local_108a - (int)local_108e;\n                  iVar13 = (int)local_108c - (int)local_1090;\n                  *(int *)(unaff_s0 + 0x18) = iVar5;\n                  *(int *)(unaff_s0 + 0x1c) = iVar13;\n                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);\n                  if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((int *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)) goto LAB_002752a0;\n                bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2;\n                if (bVar3) {\n                  uVar28 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                if (iVar5 != 0) {\n                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);\n                  if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);\n                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }\n                  piVar7[9] = 2;\nLAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);\n                  if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }\n                  iVar5 = piVar7[9];\n                  if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }\nLAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar26 = 0x4d7;\n                  unaff_s7 = piVar7;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (byte *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar26 = 0x491;\nLAB_002757bc:\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar12 = PTR_s_courses_003a88ec + -400;\n                piVar7 = unaff_s7;\nLAB_0027507c:\n                uVar8 = 0x1a9;\n                unaff_s7 = piVar7;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                uVar26 = 0;\n                goto LAB_00274228;\n              }\n              if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7);\n              }\n              if (unaff_s7 != (int *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7 + -0x2c) {\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar5 = 0x18;\n              do {\n                iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar13 == -1) break;\n                iVar5 = iVar5 + -1;\n              } while (iVar5 != 0);\n            } while( true );\n          }\n          uVar26 = 0x3a8;\n        }\n      }\nLAB_002741b8:\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,uVar26,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,param_1 + 0x2210);\n      if (unaff_s0 == 0) goto LAB_00274224;\n      goto LAB_00274208;\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      unaff_s0 = (*(code *)PTR_AcquireImage_003a960c)(param_1,param_2);\n      iVar5 = (*(code *)PTR_OpenBlob_003a924c)(param_1,unaff_s0,2,param_2);\n      if (iVar5 == 0) {\n        (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n        uVar26 = 0;\n        goto LAB_00274228;\n      }\n      local_1066 = 0;\n      local_1064 = 0;\n      cVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar17 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar18 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar19 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      if ((((cVar16 != 'P') || (unaff_s3 = (byte *)0x1fc, cVar17 != 'I')) || (cVar18 != 'C')) ||\n         (cVar19 != 'T')) {\n        unaff_s3 = (byte *)0x1fc;\n        do {\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (iVar5 == -1) break;\n          unaff_s3 = unaff_s3 + -1;\n        } while (unaff_s3 != (byte *)0x0);\n      }\n      (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n      iVar5 = FUN_002739c8(unaff_s0,&local_1090);\n      if (iVar5 == 0) {\n        uVar26 = 0x397;\n      }\n      else {\n        do {\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n        } while (iVar5 == 0);\n        uVar26 = 0x39a;\n        if (iVar5 == 0x11) {\n          local_10d4 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (local_10d4 == 2) {\n            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n            if (iVar5 != 0xff) {\n              uVar26 = 0x3a0;\n              goto LAB_002741b8;\n            }\n          }\n          else if (local_10d4 != 1) {\n            uVar26 = 0x3a4;\n            goto LAB_002741b8;\n          }\n          iVar5 = (int)local_108e;\n          iVar13 = (int)local_108a;\n          if ((((-1 < iVar5) && (iVar9 = (int)local_1090, -1 < iVar13)) &&\n              ((iVar22 = (int)local_108c, -1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13)))))) &&\n             (iVar9 < iVar22)) {\n            iVar23 = *(int *)(param_1 + 0x1dc);\n            *(undefined4 *)(unaff_s0 + 0x200) = 0;\n            *(int *)(unaff_s0 + 0x18) = iVar13 - iVar5;\n            *(undefined4 *)(unaff_s0 + 0x20) = 8;\n            puVar12 = PTR_LAB_003a88e0;\n            *(int *)(unaff_s0 + 0x1c) = iVar22 - iVar9;\n            uVar37 = *(undefined8 *)(puVar12 + 0x13f0);\n            *(undefined8 *)(unaff_s0 + 0x218) = uVar37;\n            *(undefined8 *)(unaff_s0 + 0x220) = uVar37;\n            if (((iVar23 != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n               (pbVar31 = unaff_s3, piVar6 = unaff_s7,\n               (*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=\n               *(uint *)(unaff_s0 + 0x26c))) goto LAB_00274430;\n            iVar5 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar13 - iVar5,iVar22 - iVar9,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            local_10c8 = PTR_LAB_003a88e0;\n            unaff_s7 = (int *)0x0;\n            local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n            unaff_s3 = (byte *)0x0;\n            local_10b8 = 0;\n            in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418);\n            in_f22_23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n            in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58);\n            local_10cc = 0;\n            local_10bc = &local_1090;\n            local_10d0 = param_1;\n            local_10d8 = param_2;\nLAB_002744b8:\n            do {\n              piVar6 = (int *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pbVar31 = local_10d0;\n              if ((piVar6 != (int *)0x0) ||\n                 (((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pbVar31;\n                unaff_s7 = piVar6;\nLAB_00274228:\n                if (local_54 == *(int *)puVar4) {\n                  return uVar26;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (int *)((uint)piVar6 & 0xffff);\n              if (unaff_s7 == (int *)0x0) {\n                unaff_s7 = (int *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (int *)0xa2) {\n                if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (int *)0x78) {\n                  if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }\n                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                  puVar12 = PTR_SetImageExtent_003a94ac;\n                  if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;\n                  iVar5 = (int)local_108a - (int)local_108e;\n                  iVar13 = (int)local_108c - (int)local_1090;\n                  *(int *)(unaff_s0 + 0x18) = iVar5;\n                  *(int *)(unaff_s0 + 0x1c) = iVar13;\n                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);\n                  if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((int *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)) goto LAB_002752a0;\n                bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2;\n                if (bVar3) {\n                  uVar28 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                if (iVar5 != 0) {\n                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);\n                  if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);\n                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }\n                  piVar7[9] = 2;\nLAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);\n                  if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }\n                  iVar5 = piVar7[9];\n                  if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }\nLAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar26 = 0x4d7;\n                  unaff_s7 = piVar7;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (byte *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar26 = 0x491;\nLAB_002757bc:\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar12 = PTR_s_courses_003a88ec + -400;\n                piVar7 = unaff_s7;\nLAB_0027507c:\n                uVar8 = 0x1a9;\n                unaff_s7 = piVar7;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                uVar26 = 0;\n                goto LAB_00274228;\n              }\n              if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7);\n              }\n              if (unaff_s7 != (int *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7 + -0x2c) {\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar5 = 0x18;\n              do {\n                iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar13 == -1) break;\n                iVar5 = iVar5 + -1;\n              } while (iVar5 != 0);\n            } while( true );\n          }\n          uVar26 = 0x3a8;\n        }\n      }\nLAB_002741b8:\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,uVar26,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,param_1 + 0x2210);\n      if (unaff_s0 == 0) goto LAB_00274224;\n      goto LAB_00274208;\n    }" { (expression_statement "unaff_s0 = (*(code *)PTR_AcquireImage_003a960c)(param_1,param_2);" (assignment_expression "unaff_s0 = (*(code *)PTR_AcquireImage_003a960c)(param_1,param_2)" identifier = (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,unaff_s0,2,param_2);" (assignment_expression "iVar5 = (*(code *)PTR_OpenBlob_003a924c)(param_1,unaff_s0,2,param_2)" identifier = (call_expression "(*(code *)PTR_OpenBlob_003a924c)(param_1,unaff_s0,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,unaff_s0,2,param_2)" ( identifier , identifier , number_literal , identifier )))) ;) (if_statement "if (iVar5 == 0) {\n        (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n        uVar26 = 0;\n        goto LAB_00274228;\n      }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n        (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n        uVar26 = 0;\n        goto LAB_00274228;\n      }" { (expression_statement "(*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);" (call_expression "(*(code *)PTR_DestroyImageList_003a9510)(unaff_s0)" (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 "(unaff_s0)" ( identifier ))) ;) (expression_statement "uVar26 = 0;" (assignment_expression "uVar26 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_00274228;" goto statement_identifier ;) })) (expression_statement "local_1066 = 0;" (assignment_expression "local_1066 = 0" identifier = number_literal) ;) (expression_statement "local_1064 = 0;" (assignment_expression "local_1064 = 0" identifier = number_literal) ;) (expression_statement "cVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "cVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (expression_statement "cVar17 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "cVar17 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (expression_statement "cVar18 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "cVar18 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (expression_statement "cVar19 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "cVar19 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if ((((cVar16 != 'P') || (unaff_s3 = (byte *)0x1fc, cVar17 != 'I')) || (cVar18 != 'C')) ||\n         (cVar19 != 'T')) {\n        unaff_s3 = (byte *)0x1fc;\n        do {\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (iVar5 == -1) break;\n          unaff_s3 = unaff_s3 + -1;\n        } while (unaff_s3 != (byte *)0x0);\n      }" if (parenthesized_expression "((((cVar16 != 'P') || (unaff_s3 = (byte *)0x1fc, cVar17 != 'I')) || (cVar18 != 'C')) ||\n         (cVar19 != 'T'))" ( (binary_expression "(((cVar16 != 'P') || (unaff_s3 = (byte *)0x1fc, cVar17 != 'I')) || (cVar18 != 'C')) ||\n         (cVar19 != 'T')" (parenthesized_expression "(((cVar16 != 'P') || (unaff_s3 = (byte *)0x1fc, cVar17 != 'I')) || (cVar18 != 'C'))" ( (binary_expression "((cVar16 != 'P') || (unaff_s3 = (byte *)0x1fc, cVar17 != 'I')) || (cVar18 != 'C')" (parenthesized_expression "((cVar16 != 'P') || (unaff_s3 = (byte *)0x1fc, cVar17 != 'I'))" ( (binary_expression "(cVar16 != 'P') || (unaff_s3 = (byte *)0x1fc, cVar17 != 'I')" (parenthesized_expression "(cVar16 != 'P')" ( (binary_expression "cVar16 != 'P'" identifier != (char_literal "'P'" ' character ')) )) || (parenthesized_expression "(unaff_s3 = (byte *)0x1fc, cVar17 != 'I')" ( (comma_expression "unaff_s3 = (byte *)0x1fc, cVar17 != 'I'" (assignment_expression "unaff_s3 = (byte *)0x1fc" identifier = (cast_expression "(byte *)0x1fc" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) , (binary_expression "cVar17 != 'I'" identifier != (char_literal "'I'" ' character '))) ))) )) || (parenthesized_expression "(cVar18 != 'C')" ( (binary_expression "cVar18 != 'C'" identifier != (char_literal "'C'" ' character ')) ))) )) || (parenthesized_expression "(cVar19 != 'T')" ( (binary_expression "cVar19 != 'T'" identifier != (char_literal "'T'" ' character ')) ))) )) (compound_statement "{\n        unaff_s3 = (byte *)0x1fc;\n        do {\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (iVar5 == -1) break;\n          unaff_s3 = unaff_s3 + -1;\n        } while (unaff_s3 != (byte *)0x0);\n      }" { (expression_statement "unaff_s3 = (byte *)0x1fc;" (assignment_expression "unaff_s3 = (byte *)0x1fc" identifier = (cast_expression "(byte *)0x1fc" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (do_statement "do {\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (iVar5 == -1) break;\n          unaff_s3 = unaff_s3 + -1;\n        } while (unaff_s3 != (byte *)0x0);" do (compound_statement "{\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (iVar5 == -1) break;\n          unaff_s3 = unaff_s3 + -1;\n        }" { (expression_statement "iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (iVar5 == -1) break;" if (parenthesized_expression "(iVar5 == -1)" ( (binary_expression "iVar5 == -1" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "unaff_s3 = unaff_s3 + -1;" (assignment_expression "unaff_s3 = unaff_s3 + -1" identifier = (binary_expression "unaff_s3 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(unaff_s3 != (byte *)0x0)" ( (binary_expression "unaff_s3 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (expression_statement "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier ))) ;) (expression_statement "iVar5 = FUN_002739c8(unaff_s0,&local_1090);" (assignment_expression "iVar5 = FUN_002739c8(unaff_s0,&local_1090)" identifier = (call_expression "FUN_002739c8(unaff_s0,&local_1090)" identifier (argument_list "(unaff_s0,&local_1090)" ( identifier , (pointer_expression "&local_1090" & identifier) )))) ;) (if_statement "if (iVar5 == 0) {\n        uVar26 = 0x397;\n      }\n      else {\n        do {\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n        } while (iVar5 == 0);\n        uVar26 = 0x39a;\n        if (iVar5 == 0x11) {\n          local_10d4 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (local_10d4 == 2) {\n            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n            if (iVar5 != 0xff) {\n              uVar26 = 0x3a0;\n              goto LAB_002741b8;\n            }\n          }\n          else if (local_10d4 != 1) {\n            uVar26 = 0x3a4;\n            goto LAB_002741b8;\n          }\n          iVar5 = (int)local_108e;\n          iVar13 = (int)local_108a;\n          if ((((-1 < iVar5) && (iVar9 = (int)local_1090, -1 < iVar13)) &&\n              ((iVar22 = (int)local_108c, -1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13)))))) &&\n             (iVar9 < iVar22)) {\n            iVar23 = *(int *)(param_1 + 0x1dc);\n            *(undefined4 *)(unaff_s0 + 0x200) = 0;\n            *(int *)(unaff_s0 + 0x18) = iVar13 - iVar5;\n            *(undefined4 *)(unaff_s0 + 0x20) = 8;\n            puVar12 = PTR_LAB_003a88e0;\n            *(int *)(unaff_s0 + 0x1c) = iVar22 - iVar9;\n            uVar37 = *(undefined8 *)(puVar12 + 0x13f0);\n            *(undefined8 *)(unaff_s0 + 0x218) = uVar37;\n            *(undefined8 *)(unaff_s0 + 0x220) = uVar37;\n            if (((iVar23 != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n               (pbVar31 = unaff_s3, piVar6 = unaff_s7,\n               (*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=\n               *(uint *)(unaff_s0 + 0x26c))) goto LAB_00274430;\n            iVar5 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar13 - iVar5,iVar22 - iVar9,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            local_10c8 = PTR_LAB_003a88e0;\n            unaff_s7 = (int *)0x0;\n            local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n            unaff_s3 = (byte *)0x0;\n            local_10b8 = 0;\n            in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418);\n            in_f22_23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n            in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58);\n            local_10cc = 0;\n            local_10bc = &local_1090;\n            local_10d0 = param_1;\n            local_10d8 = param_2;\nLAB_002744b8:\n            do {\n              piVar6 = (int *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pbVar31 = local_10d0;\n              if ((piVar6 != (int *)0x0) ||\n                 (((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pbVar31;\n                unaff_s7 = piVar6;\nLAB_00274228:\n                if (local_54 == *(int *)puVar4) {\n                  return uVar26;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (int *)((uint)piVar6 & 0xffff);\n              if (unaff_s7 == (int *)0x0) {\n                unaff_s7 = (int *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (int *)0xa2) {\n                if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (int *)0x78) {\n                  if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }\n                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                  puVar12 = PTR_SetImageExtent_003a94ac;\n                  if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;\n                  iVar5 = (int)local_108a - (int)local_108e;\n                  iVar13 = (int)local_108c - (int)local_1090;\n                  *(int *)(unaff_s0 + 0x18) = iVar5;\n                  *(int *)(unaff_s0 + 0x1c) = iVar13;\n                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);\n                  if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((int *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)) goto LAB_002752a0;\n                bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2;\n                if (bVar3) {\n                  uVar28 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                if (iVar5 != 0) {\n                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);\n                  if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);\n                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }\n                  piVar7[9] = 2;\nLAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);\n                  if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }\n                  iVar5 = piVar7[9];\n                  if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }\nLAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar26 = 0x4d7;\n                  unaff_s7 = piVar7;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (byte *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar26 = 0x491;\nLAB_002757bc:\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar12 = PTR_s_courses_003a88ec + -400;\n                piVar7 = unaff_s7;\nLAB_0027507c:\n                uVar8 = 0x1a9;\n                unaff_s7 = piVar7;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                uVar26 = 0;\n                goto LAB_00274228;\n              }\n              if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7);\n              }\n              if (unaff_s7 != (int *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7 + -0x2c) {\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar5 = 0x18;\n              do {\n                iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar13 == -1) break;\n                iVar5 = iVar5 + -1;\n              } while (iVar5 != 0);\n            } while( true );\n          }\n          uVar26 = 0x3a8;\n        }\n      }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n        uVar26 = 0x397;\n      }" { (expression_statement "uVar26 = 0x397;" (assignment_expression "uVar26 = 0x397" identifier = number_literal) ;) }) (else_clause "else {\n        do {\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n        } while (iVar5 == 0);\n        uVar26 = 0x39a;\n        if (iVar5 == 0x11) {\n          local_10d4 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (local_10d4 == 2) {\n            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n            if (iVar5 != 0xff) {\n              uVar26 = 0x3a0;\n              goto LAB_002741b8;\n            }\n          }\n          else if (local_10d4 != 1) {\n            uVar26 = 0x3a4;\n            goto LAB_002741b8;\n          }\n          iVar5 = (int)local_108e;\n          iVar13 = (int)local_108a;\n          if ((((-1 < iVar5) && (iVar9 = (int)local_1090, -1 < iVar13)) &&\n              ((iVar22 = (int)local_108c, -1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13)))))) &&\n             (iVar9 < iVar22)) {\n            iVar23 = *(int *)(param_1 + 0x1dc);\n            *(undefined4 *)(unaff_s0 + 0x200) = 0;\n            *(int *)(unaff_s0 + 0x18) = iVar13 - iVar5;\n            *(undefined4 *)(unaff_s0 + 0x20) = 8;\n            puVar12 = PTR_LAB_003a88e0;\n            *(int *)(unaff_s0 + 0x1c) = iVar22 - iVar9;\n            uVar37 = *(undefined8 *)(puVar12 + 0x13f0);\n            *(undefined8 *)(unaff_s0 + 0x218) = uVar37;\n            *(undefined8 *)(unaff_s0 + 0x220) = uVar37;\n            if (((iVar23 != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n               (pbVar31 = unaff_s3, piVar6 = unaff_s7,\n               (*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=\n               *(uint *)(unaff_s0 + 0x26c))) goto LAB_00274430;\n            iVar5 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar13 - iVar5,iVar22 - iVar9,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            local_10c8 = PTR_LAB_003a88e0;\n            unaff_s7 = (int *)0x0;\n            local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n            unaff_s3 = (byte *)0x0;\n            local_10b8 = 0;\n            in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418);\n            in_f22_23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n            in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58);\n            local_10cc = 0;\n            local_10bc = &local_1090;\n            local_10d0 = param_1;\n            local_10d8 = param_2;\nLAB_002744b8:\n            do {\n              piVar6 = (int *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pbVar31 = local_10d0;\n              if ((piVar6 != (int *)0x0) ||\n                 (((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pbVar31;\n                unaff_s7 = piVar6;\nLAB_00274228:\n                if (local_54 == *(int *)puVar4) {\n                  return uVar26;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (int *)((uint)piVar6 & 0xffff);\n              if (unaff_s7 == (int *)0x0) {\n                unaff_s7 = (int *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (int *)0xa2) {\n                if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (int *)0x78) {\n                  if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }\n                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                  puVar12 = PTR_SetImageExtent_003a94ac;\n                  if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;\n                  iVar5 = (int)local_108a - (int)local_108e;\n                  iVar13 = (int)local_108c - (int)local_1090;\n                  *(int *)(unaff_s0 + 0x18) = iVar5;\n                  *(int *)(unaff_s0 + 0x1c) = iVar13;\n                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);\n                  if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((int *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)) goto LAB_002752a0;\n                bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2;\n                if (bVar3) {\n                  uVar28 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                if (iVar5 != 0) {\n                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);\n                  if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);\n                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }\n                  piVar7[9] = 2;\nLAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);\n                  if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }\n                  iVar5 = piVar7[9];\n                  if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }\nLAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar26 = 0x4d7;\n                  unaff_s7 = piVar7;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (byte *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar26 = 0x491;\nLAB_002757bc:\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar12 = PTR_s_courses_003a88ec + -400;\n                piVar7 = unaff_s7;\nLAB_0027507c:\n                uVar8 = 0x1a9;\n                unaff_s7 = piVar7;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                uVar26 = 0;\n                goto LAB_00274228;\n              }\n              if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7);\n              }\n              if (unaff_s7 != (int *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7 + -0x2c) {\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar5 = 0x18;\n              do {\n                iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar13 == -1) break;\n                iVar5 = iVar5 + -1;\n              } while (iVar5 != 0);\n            } while( true );\n          }\n          uVar26 = 0x3a8;\n        }\n      }" else (compound_statement "{\n        do {\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n        } while (iVar5 == 0);\n        uVar26 = 0x39a;\n        if (iVar5 == 0x11) {\n          local_10d4 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (local_10d4 == 2) {\n            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n            if (iVar5 != 0xff) {\n              uVar26 = 0x3a0;\n              goto LAB_002741b8;\n            }\n          }\n          else if (local_10d4 != 1) {\n            uVar26 = 0x3a4;\n            goto LAB_002741b8;\n          }\n          iVar5 = (int)local_108e;\n          iVar13 = (int)local_108a;\n          if ((((-1 < iVar5) && (iVar9 = (int)local_1090, -1 < iVar13)) &&\n              ((iVar22 = (int)local_108c, -1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13)))))) &&\n             (iVar9 < iVar22)) {\n            iVar23 = *(int *)(param_1 + 0x1dc);\n            *(undefined4 *)(unaff_s0 + 0x200) = 0;\n            *(int *)(unaff_s0 + 0x18) = iVar13 - iVar5;\n            *(undefined4 *)(unaff_s0 + 0x20) = 8;\n            puVar12 = PTR_LAB_003a88e0;\n            *(int *)(unaff_s0 + 0x1c) = iVar22 - iVar9;\n            uVar37 = *(undefined8 *)(puVar12 + 0x13f0);\n            *(undefined8 *)(unaff_s0 + 0x218) = uVar37;\n            *(undefined8 *)(unaff_s0 + 0x220) = uVar37;\n            if (((iVar23 != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n               (pbVar31 = unaff_s3, piVar6 = unaff_s7,\n               (*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=\n               *(uint *)(unaff_s0 + 0x26c))) goto LAB_00274430;\n            iVar5 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar13 - iVar5,iVar22 - iVar9,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            local_10c8 = PTR_LAB_003a88e0;\n            unaff_s7 = (int *)0x0;\n            local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n            unaff_s3 = (byte *)0x0;\n            local_10b8 = 0;\n            in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418);\n            in_f22_23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n            in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58);\n            local_10cc = 0;\n            local_10bc = &local_1090;\n            local_10d0 = param_1;\n            local_10d8 = param_2;\nLAB_002744b8:\n            do {\n              piVar6 = (int *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pbVar31 = local_10d0;\n              if ((piVar6 != (int *)0x0) ||\n                 (((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pbVar31;\n                unaff_s7 = piVar6;\nLAB_00274228:\n                if (local_54 == *(int *)puVar4) {\n                  return uVar26;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (int *)((uint)piVar6 & 0xffff);\n              if (unaff_s7 == (int *)0x0) {\n                unaff_s7 = (int *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (int *)0xa2) {\n                if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (int *)0x78) {\n                  if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }\n                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                  puVar12 = PTR_SetImageExtent_003a94ac;\n                  if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;\n                  iVar5 = (int)local_108a - (int)local_108e;\n                  iVar13 = (int)local_108c - (int)local_1090;\n                  *(int *)(unaff_s0 + 0x18) = iVar5;\n                  *(int *)(unaff_s0 + 0x1c) = iVar13;\n                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);\n                  if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((int *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)) goto LAB_002752a0;\n                bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2;\n                if (bVar3) {\n                  uVar28 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                if (iVar5 != 0) {\n                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);\n                  if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);\n                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }\n                  piVar7[9] = 2;\nLAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);\n                  if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }\n                  iVar5 = piVar7[9];\n                  if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }\nLAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar26 = 0x4d7;\n                  unaff_s7 = piVar7;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (byte *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar26 = 0x491;\nLAB_002757bc:\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar12 = PTR_s_courses_003a88ec + -400;\n                piVar7 = unaff_s7;\nLAB_0027507c:\n                uVar8 = 0x1a9;\n                unaff_s7 = piVar7;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                uVar26 = 0;\n                goto LAB_00274228;\n              }\n              if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7);\n              }\n              if (unaff_s7 != (int *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7 + -0x2c) {\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar5 = 0x18;\n              do {\n                iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar13 == -1) break;\n                iVar5 = iVar5 + -1;\n              } while (iVar5 != 0);\n            } while( true );\n          }\n          uVar26 = 0x3a8;\n        }\n      }" { (do_statement "do {\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n        } while (iVar5 == 0);" do (compound_statement "{\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n        }" { (expression_statement "iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) }) while (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) ;) (expression_statement "uVar26 = 0x39a;" (assignment_expression "uVar26 = 0x39a" identifier = number_literal) ;) (if_statement "if (iVar5 == 0x11) {\n          local_10d4 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (local_10d4 == 2) {\n            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n            if (iVar5 != 0xff) {\n              uVar26 = 0x3a0;\n              goto LAB_002741b8;\n            }\n          }\n          else if (local_10d4 != 1) {\n            uVar26 = 0x3a4;\n            goto LAB_002741b8;\n          }\n          iVar5 = (int)local_108e;\n          iVar13 = (int)local_108a;\n          if ((((-1 < iVar5) && (iVar9 = (int)local_1090, -1 < iVar13)) &&\n              ((iVar22 = (int)local_108c, -1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13)))))) &&\n             (iVar9 < iVar22)) {\n            iVar23 = *(int *)(param_1 + 0x1dc);\n            *(undefined4 *)(unaff_s0 + 0x200) = 0;\n            *(int *)(unaff_s0 + 0x18) = iVar13 - iVar5;\n            *(undefined4 *)(unaff_s0 + 0x20) = 8;\n            puVar12 = PTR_LAB_003a88e0;\n            *(int *)(unaff_s0 + 0x1c) = iVar22 - iVar9;\n            uVar37 = *(undefined8 *)(puVar12 + 0x13f0);\n            *(undefined8 *)(unaff_s0 + 0x218) = uVar37;\n            *(undefined8 *)(unaff_s0 + 0x220) = uVar37;\n            if (((iVar23 != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n               (pbVar31 = unaff_s3, piVar6 = unaff_s7,\n               (*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=\n               *(uint *)(unaff_s0 + 0x26c))) goto LAB_00274430;\n            iVar5 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar13 - iVar5,iVar22 - iVar9,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            local_10c8 = PTR_LAB_003a88e0;\n            unaff_s7 = (int *)0x0;\n            local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n            unaff_s3 = (byte *)0x0;\n            local_10b8 = 0;\n            in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418);\n            in_f22_23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n            in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58);\n            local_10cc = 0;\n            local_10bc = &local_1090;\n            local_10d0 = param_1;\n            local_10d8 = param_2;\nLAB_002744b8:\n            do {\n              piVar6 = (int *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pbVar31 = local_10d0;\n              if ((piVar6 != (int *)0x0) ||\n                 (((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pbVar31;\n                unaff_s7 = piVar6;\nLAB_00274228:\n                if (local_54 == *(int *)puVar4) {\n                  return uVar26;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (int *)((uint)piVar6 & 0xffff);\n              if (unaff_s7 == (int *)0x0) {\n                unaff_s7 = (int *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (int *)0xa2) {\n                if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (int *)0x78) {\n                  if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }\n                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                  puVar12 = PTR_SetImageExtent_003a94ac;\n                  if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;\n                  iVar5 = (int)local_108a - (int)local_108e;\n                  iVar13 = (int)local_108c - (int)local_1090;\n                  *(int *)(unaff_s0 + 0x18) = iVar5;\n                  *(int *)(unaff_s0 + 0x1c) = iVar13;\n                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);\n                  if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((int *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)) goto LAB_002752a0;\n                bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2;\n                if (bVar3) {\n                  uVar28 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                if (iVar5 != 0) {\n                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);\n                  if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);\n                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }\n                  piVar7[9] = 2;\nLAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);\n                  if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }\n                  iVar5 = piVar7[9];\n                  if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }\nLAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar26 = 0x4d7;\n                  unaff_s7 = piVar7;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (byte *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar26 = 0x491;\nLAB_002757bc:\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar12 = PTR_s_courses_003a88ec + -400;\n                piVar7 = unaff_s7;\nLAB_0027507c:\n                uVar8 = 0x1a9;\n                unaff_s7 = piVar7;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                uVar26 = 0;\n                goto LAB_00274228;\n              }\n              if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7);\n              }\n              if (unaff_s7 != (int *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7 + -0x2c) {\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar5 = 0x18;\n              do {\n                iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar13 == -1) break;\n                iVar5 = iVar5 + -1;\n              } while (iVar5 != 0);\n            } while( true );\n          }\n          uVar26 = 0x3a8;\n        }" if (parenthesized_expression "(iVar5 == 0x11)" ( (binary_expression "iVar5 == 0x11" identifier == number_literal) )) (compound_statement "{\n          local_10d4 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (local_10d4 == 2) {\n            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n            if (iVar5 != 0xff) {\n              uVar26 = 0x3a0;\n              goto LAB_002741b8;\n            }\n          }\n          else if (local_10d4 != 1) {\n            uVar26 = 0x3a4;\n            goto LAB_002741b8;\n          }\n          iVar5 = (int)local_108e;\n          iVar13 = (int)local_108a;\n          if ((((-1 < iVar5) && (iVar9 = (int)local_1090, -1 < iVar13)) &&\n              ((iVar22 = (int)local_108c, -1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13)))))) &&\n             (iVar9 < iVar22)) {\n            iVar23 = *(int *)(param_1 + 0x1dc);\n            *(undefined4 *)(unaff_s0 + 0x200) = 0;\n            *(int *)(unaff_s0 + 0x18) = iVar13 - iVar5;\n            *(undefined4 *)(unaff_s0 + 0x20) = 8;\n            puVar12 = PTR_LAB_003a88e0;\n            *(int *)(unaff_s0 + 0x1c) = iVar22 - iVar9;\n            uVar37 = *(undefined8 *)(puVar12 + 0x13f0);\n            *(undefined8 *)(unaff_s0 + 0x218) = uVar37;\n            *(undefined8 *)(unaff_s0 + 0x220) = uVar37;\n            if (((iVar23 != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n               (pbVar31 = unaff_s3, piVar6 = unaff_s7,\n               (*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=\n               *(uint *)(unaff_s0 + 0x26c))) goto LAB_00274430;\n            iVar5 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar13 - iVar5,iVar22 - iVar9,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            local_10c8 = PTR_LAB_003a88e0;\n            unaff_s7 = (int *)0x0;\n            local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n            unaff_s3 = (byte *)0x0;\n            local_10b8 = 0;\n            in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418);\n            in_f22_23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n            in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58);\n            local_10cc = 0;\n            local_10bc = &local_1090;\n            local_10d0 = param_1;\n            local_10d8 = param_2;\nLAB_002744b8:\n            do {\n              piVar6 = (int *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pbVar31 = local_10d0;\n              if ((piVar6 != (int *)0x0) ||\n                 (((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pbVar31;\n                unaff_s7 = piVar6;\nLAB_00274228:\n                if (local_54 == *(int *)puVar4) {\n                  return uVar26;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (int *)((uint)piVar6 & 0xffff);\n              if (unaff_s7 == (int *)0x0) {\n                unaff_s7 = (int *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (int *)0xa2) {\n                if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (int *)0x78) {\n                  if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }\n                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                  puVar12 = PTR_SetImageExtent_003a94ac;\n                  if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;\n                  iVar5 = (int)local_108a - (int)local_108e;\n                  iVar13 = (int)local_108c - (int)local_1090;\n                  *(int *)(unaff_s0 + 0x18) = iVar5;\n                  *(int *)(unaff_s0 + 0x1c) = iVar13;\n                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);\n                  if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((int *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)) goto LAB_002752a0;\n                bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2;\n                if (bVar3) {\n                  uVar28 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                if (iVar5 != 0) {\n                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);\n                  if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);\n                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }\n                  piVar7[9] = 2;\nLAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);\n                  if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }\n                  iVar5 = piVar7[9];\n                  if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }\nLAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar26 = 0x4d7;\n                  unaff_s7 = piVar7;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (byte *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar26 = 0x491;\nLAB_002757bc:\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar12 = PTR_s_courses_003a88ec + -400;\n                piVar7 = unaff_s7;\nLAB_0027507c:\n                uVar8 = 0x1a9;\n                unaff_s7 = piVar7;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                uVar26 = 0;\n                goto LAB_00274228;\n              }\n              if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7);\n              }\n              if (unaff_s7 != (int *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7 + -0x2c) {\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar5 = 0x18;\n              do {\n                iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar13 == -1) break;\n                iVar5 = iVar5 + -1;\n              } while (iVar5 != 0);\n            } while( true );\n          }\n          uVar26 = 0x3a8;\n        }" { (expression_statement "local_10d4 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "local_10d4 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (local_10d4 == 2) {\n            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n            if (iVar5 != 0xff) {\n              uVar26 = 0x3a0;\n              goto LAB_002741b8;\n            }\n          }\n          else if (local_10d4 != 1) {\n            uVar26 = 0x3a4;\n            goto LAB_002741b8;\n          }" if (parenthesized_expression "(local_10d4 == 2)" ( (binary_expression "local_10d4 == 2" identifier == number_literal) )) (compound_statement "{\n            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n            if (iVar5 != 0xff) {\n              uVar26 = 0x3a0;\n              goto LAB_002741b8;\n            }\n          }" { (expression_statement "iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (iVar5 != 0xff) {\n              uVar26 = 0x3a0;\n              goto LAB_002741b8;\n            }" if (parenthesized_expression "(iVar5 != 0xff)" ( (binary_expression "iVar5 != 0xff" identifier != number_literal) )) (compound_statement "{\n              uVar26 = 0x3a0;\n              goto LAB_002741b8;\n            }" { (expression_statement "uVar26 = 0x3a0;" (assignment_expression "uVar26 = 0x3a0" identifier = number_literal) ;) (goto_statement "goto LAB_002741b8;" goto statement_identifier ;) })) }) (else_clause "else if (local_10d4 != 1) {\n            uVar26 = 0x3a4;\n            goto LAB_002741b8;\n          }" else (if_statement "if (local_10d4 != 1) {\n            uVar26 = 0x3a4;\n            goto LAB_002741b8;\n          }" if (parenthesized_expression "(local_10d4 != 1)" ( (binary_expression "local_10d4 != 1" identifier != number_literal) )) (compound_statement "{\n            uVar26 = 0x3a4;\n            goto LAB_002741b8;\n          }" { (expression_statement "uVar26 = 0x3a4;" (assignment_expression "uVar26 = 0x3a4" identifier = number_literal) ;) (goto_statement "goto LAB_002741b8;" goto statement_identifier ;) })))) (expression_statement "iVar5 = (int)local_108e;" (assignment_expression "iVar5 = (int)local_108e" identifier = (cast_expression "(int)local_108e" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "iVar13 = (int)local_108a;" (assignment_expression "iVar13 = (int)local_108a" identifier = (cast_expression "(int)local_108a" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if ((((-1 < iVar5) && (iVar9 = (int)local_1090, -1 < iVar13)) &&\n              ((iVar22 = (int)local_108c, -1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13)))))) &&\n             (iVar9 < iVar22)) {\n            iVar23 = *(int *)(param_1 + 0x1dc);\n            *(undefined4 *)(unaff_s0 + 0x200) = 0;\n            *(int *)(unaff_s0 + 0x18) = iVar13 - iVar5;\n            *(undefined4 *)(unaff_s0 + 0x20) = 8;\n            puVar12 = PTR_LAB_003a88e0;\n            *(int *)(unaff_s0 + 0x1c) = iVar22 - iVar9;\n            uVar37 = *(undefined8 *)(puVar12 + 0x13f0);\n            *(undefined8 *)(unaff_s0 + 0x218) = uVar37;\n            *(undefined8 *)(unaff_s0 + 0x220) = uVar37;\n            if (((iVar23 != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n               (pbVar31 = unaff_s3, piVar6 = unaff_s7,\n               (*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=\n               *(uint *)(unaff_s0 + 0x26c))) goto LAB_00274430;\n            iVar5 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar13 - iVar5,iVar22 - iVar9,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            local_10c8 = PTR_LAB_003a88e0;\n            unaff_s7 = (int *)0x0;\n            local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n            unaff_s3 = (byte *)0x0;\n            local_10b8 = 0;\n            in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418);\n            in_f22_23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n            in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58);\n            local_10cc = 0;\n            local_10bc = &local_1090;\n            local_10d0 = param_1;\n            local_10d8 = param_2;\nLAB_002744b8:\n            do {\n              piVar6 = (int *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pbVar31 = local_10d0;\n              if ((piVar6 != (int *)0x0) ||\n                 (((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pbVar31;\n                unaff_s7 = piVar6;\nLAB_00274228:\n                if (local_54 == *(int *)puVar4) {\n                  return uVar26;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (int *)((uint)piVar6 & 0xffff);\n              if (unaff_s7 == (int *)0x0) {\n                unaff_s7 = (int *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (int *)0xa2) {\n                if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (int *)0x78) {\n                  if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }\n                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                  puVar12 = PTR_SetImageExtent_003a94ac;\n                  if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;\n                  iVar5 = (int)local_108a - (int)local_108e;\n                  iVar13 = (int)local_108c - (int)local_1090;\n                  *(int *)(unaff_s0 + 0x18) = iVar5;\n                  *(int *)(unaff_s0 + 0x1c) = iVar13;\n                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);\n                  if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((int *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)) goto LAB_002752a0;\n                bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2;\n                if (bVar3) {\n                  uVar28 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                if (iVar5 != 0) {\n                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);\n                  if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);\n                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }\n                  piVar7[9] = 2;\nLAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);\n                  if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }\n                  iVar5 = piVar7[9];\n                  if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }\nLAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar26 = 0x4d7;\n                  unaff_s7 = piVar7;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (byte *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar26 = 0x491;\nLAB_002757bc:\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar12 = PTR_s_courses_003a88ec + -400;\n                piVar7 = unaff_s7;\nLAB_0027507c:\n                uVar8 = 0x1a9;\n                unaff_s7 = piVar7;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                uVar26 = 0;\n                goto LAB_00274228;\n              }\n              if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7);\n              }\n              if (unaff_s7 != (int *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7 + -0x2c) {\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar5 = 0x18;\n              do {\n                iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar13 == -1) break;\n                iVar5 = iVar5 + -1;\n              } while (iVar5 != 0);\n            } while( true );\n          }" if (parenthesized_expression "((((-1 < iVar5) && (iVar9 = (int)local_1090, -1 < iVar13)) &&\n              ((iVar22 = (int)local_108c, -1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13)))))) &&\n             (iVar9 < iVar22))" ( (binary_expression "(((-1 < iVar5) && (iVar9 = (int)local_1090, -1 < iVar13)) &&\n              ((iVar22 = (int)local_108c, -1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13)))))) &&\n             (iVar9 < iVar22)" (parenthesized_expression "(((-1 < iVar5) && (iVar9 = (int)local_1090, -1 < iVar13)) &&\n              ((iVar22 = (int)local_108c, -1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13))))))" ( (binary_expression "((-1 < iVar5) && (iVar9 = (int)local_1090, -1 < iVar13)) &&\n              ((iVar22 = (int)local_108c, -1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13)))))" (parenthesized_expression "((-1 < iVar5) && (iVar9 = (int)local_1090, -1 < iVar13))" ( (binary_expression "(-1 < iVar5) && (iVar9 = (int)local_1090, -1 < iVar13)" (parenthesized_expression "(-1 < iVar5)" ( (binary_expression "-1 < iVar5" number_literal < identifier) )) && (parenthesized_expression "(iVar9 = (int)local_1090, -1 < iVar13)" ( (comma_expression "iVar9 = (int)local_1090, -1 < iVar13" (assignment_expression "iVar9 = (int)local_1090" identifier = (cast_expression "(int)local_1090" ( (type_descriptor "int" primitive_type) ) identifier)) , (binary_expression "-1 < iVar13" number_literal < identifier)) ))) )) && (parenthesized_expression "((iVar22 = (int)local_108c, -1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13)))))" ( (parenthesized_expression "(iVar22 = (int)local_108c, -1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13))))" ( (comma_expression "iVar22 = (int)local_108c, -1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13)))" (assignment_expression "iVar22 = (int)local_108c" identifier = (cast_expression "(int)local_108c" ( (type_descriptor "int" primitive_type) ) identifier)) , (binary_expression "-1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13)))" (binary_expression "-1 < iVar9" number_literal < identifier) && (parenthesized_expression "((-1 < iVar22 && (iVar5 < iVar13)))" ( (parenthesized_expression "(-1 < iVar22 && (iVar5 < iVar13))" ( (binary_expression "-1 < iVar22 && (iVar5 < iVar13)" (binary_expression "-1 < iVar22" number_literal < identifier) && (parenthesized_expression "(iVar5 < iVar13)" ( (binary_expression "iVar5 < iVar13" identifier < identifier) ))) )) )))) )) ))) )) && (parenthesized_expression "(iVar9 < iVar22)" ( (binary_expression "iVar9 < iVar22" identifier < identifier) ))) )) (compound_statement "{\n            iVar23 = *(int *)(param_1 + 0x1dc);\n            *(undefined4 *)(unaff_s0 + 0x200) = 0;\n            *(int *)(unaff_s0 + 0x18) = iVar13 - iVar5;\n            *(undefined4 *)(unaff_s0 + 0x20) = 8;\n            puVar12 = PTR_LAB_003a88e0;\n            *(int *)(unaff_s0 + 0x1c) = iVar22 - iVar9;\n            uVar37 = *(undefined8 *)(puVar12 + 0x13f0);\n            *(undefined8 *)(unaff_s0 + 0x218) = uVar37;\n            *(undefined8 *)(unaff_s0 + 0x220) = uVar37;\n            if (((iVar23 != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n               (pbVar31 = unaff_s3, piVar6 = unaff_s7,\n               (*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=\n               *(uint *)(unaff_s0 + 0x26c))) goto LAB_00274430;\n            iVar5 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar13 - iVar5,iVar22 - iVar9,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            local_10c8 = PTR_LAB_003a88e0;\n            unaff_s7 = (int *)0x0;\n            local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n            unaff_s3 = (byte *)0x0;\n            local_10b8 = 0;\n            in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418);\n            in_f22_23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n            in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58);\n            local_10cc = 0;\n            local_10bc = &local_1090;\n            local_10d0 = param_1;\n            local_10d8 = param_2;\nLAB_002744b8:\n            do {\n              piVar6 = (int *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pbVar31 = local_10d0;\n              if ((piVar6 != (int *)0x0) ||\n                 (((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pbVar31;\n                unaff_s7 = piVar6;\nLAB_00274228:\n                if (local_54 == *(int *)puVar4) {\n                  return uVar26;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (int *)((uint)piVar6 & 0xffff);\n              if (unaff_s7 == (int *)0x0) {\n                unaff_s7 = (int *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (int *)0xa2) {\n                if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (int *)0x78) {\n                  if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }\n                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                  puVar12 = PTR_SetImageExtent_003a94ac;\n                  if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;\n                  iVar5 = (int)local_108a - (int)local_108e;\n                  iVar13 = (int)local_108c - (int)local_1090;\n                  *(int *)(unaff_s0 + 0x18) = iVar5;\n                  *(int *)(unaff_s0 + 0x1c) = iVar13;\n                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);\n                  if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((int *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)) goto LAB_002752a0;\n                bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2;\n                if (bVar3) {\n                  uVar28 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                if (iVar5 != 0) {\n                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);\n                  if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);\n                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }\n                  piVar7[9] = 2;\nLAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);\n                  if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }\n                  iVar5 = piVar7[9];\n                  if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }\nLAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar26 = 0x4d7;\n                  unaff_s7 = piVar7;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (byte *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar26 = 0x491;\nLAB_002757bc:\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar12 = PTR_s_courses_003a88ec + -400;\n                piVar7 = unaff_s7;\nLAB_0027507c:\n                uVar8 = 0x1a9;\n                unaff_s7 = piVar7;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                uVar26 = 0;\n                goto LAB_00274228;\n              }\n              if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7);\n              }\n              if (unaff_s7 != (int *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7 + -0x2c) {\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar5 = 0x18;\n              do {\n                iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar13 == -1) break;\n                iVar5 = iVar5 + -1;\n              } while (iVar5 != 0);\n            } while( true );\n          }" { (expression_statement "iVar23 = *(int *)(param_1 + 0x1dc);" (assignment_expression "iVar23 = *(int *)(param_1 + 0x1dc)" identifier = (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) ))))) ;) (expression_statement "*(undefined4 *)(unaff_s0 + 0x200) = 0;" (assignment_expression "*(undefined4 *)(unaff_s0 + 0x200) = 0" (pointer_expression "*(undefined4 *)(unaff_s0 + 0x200)" * (cast_expression "(undefined4 *)(unaff_s0 + 0x200)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x200)" ( (binary_expression "unaff_s0 + 0x200" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(int *)(unaff_s0 + 0x18) = iVar13 - iVar5;" (assignment_expression "*(int *)(unaff_s0 + 0x18) = iVar13 - iVar5" (pointer_expression "*(int *)(unaff_s0 + 0x18)" * (cast_expression "(int *)(unaff_s0 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x18)" ( (binary_expression "unaff_s0 + 0x18" identifier + number_literal) )))) = (binary_expression "iVar13 - iVar5" identifier - identifier)) ;) (expression_statement "*(undefined4 *)(unaff_s0 + 0x20) = 8;" (assignment_expression "*(undefined4 *)(unaff_s0 + 0x20) = 8" (pointer_expression "*(undefined4 *)(unaff_s0 + 0x20)" * (cast_expression "(undefined4 *)(unaff_s0 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x20)" ( (binary_expression "unaff_s0 + 0x20" identifier + number_literal) )))) = number_literal) ;) (expression_statement "puVar12 = PTR_LAB_003a88e0;" (assignment_expression "puVar12 = PTR_LAB_003a88e0" identifier = identifier) ;) (expression_statement "*(int *)(unaff_s0 + 0x1c) = iVar22 - iVar9;" (assignment_expression "*(int *)(unaff_s0 + 0x1c) = iVar22 - iVar9" (pointer_expression "*(int *)(unaff_s0 + 0x1c)" * (cast_expression "(int *)(unaff_s0 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x1c)" ( (binary_expression "unaff_s0 + 0x1c" identifier + number_literal) )))) = (binary_expression "iVar22 - iVar9" identifier - identifier)) ;) (expression_statement "uVar37 = *(undefined8 *)(puVar12 + 0x13f0);" (assignment_expression "uVar37 = *(undefined8 *)(puVar12 + 0x13f0)" identifier = (pointer_expression "*(undefined8 *)(puVar12 + 0x13f0)" * (cast_expression "(undefined8 *)(puVar12 + 0x13f0)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + 0x13f0)" ( (binary_expression "puVar12 + 0x13f0" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)(unaff_s0 + 0x218) = uVar37;" (assignment_expression "*(undefined8 *)(unaff_s0 + 0x218) = uVar37" (pointer_expression "*(undefined8 *)(unaff_s0 + 0x218)" * (cast_expression "(undefined8 *)(unaff_s0 + 0x218)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x218)" ( (binary_expression "unaff_s0 + 0x218" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined8 *)(unaff_s0 + 0x220) = uVar37;" (assignment_expression "*(undefined8 *)(unaff_s0 + 0x220) = uVar37" (pointer_expression "*(undefined8 *)(unaff_s0 + 0x220)" * (cast_expression "(undefined8 *)(unaff_s0 + 0x220)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x220)" ( (binary_expression "unaff_s0 + 0x220" identifier + number_literal) )))) = identifier) ;) (if_statement "if (((iVar23 != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n               (pbVar31 = unaff_s3, piVar6 = unaff_s7,\n               (*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=\n               *(uint *)(unaff_s0 + 0x26c))) goto LAB_00274430;" if (parenthesized_expression "(((iVar23 != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n               (pbVar31 = unaff_s3, piVar6 = unaff_s7,\n               (*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=\n               *(uint *)(unaff_s0 + 0x26c)))" ( (binary_expression "((iVar23 != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n               (pbVar31 = unaff_s3, piVar6 = unaff_s7,\n               (*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=\n               *(uint *)(unaff_s0 + 0x26c))" (parenthesized_expression "((iVar23 != 0) && (*(int *)(param_1 + 0x2c) != 0))" ( (binary_expression "(iVar23 != 0) && (*(int *)(param_1 + 0x2c) != 0)" (parenthesized_expression "(iVar23 != 0)" ( (binary_expression "iVar23 != 0" identifier != 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 "(pbVar31 = unaff_s3, piVar6 = unaff_s7,\n               (*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=\n               *(uint *)(unaff_s0 + 0x26c))" ( (comma_expression "pbVar31 = unaff_s3, piVar6 = unaff_s7,\n               (*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=\n               *(uint *)(unaff_s0 + 0x26c)" (assignment_expression "pbVar31 = unaff_s3" identifier = identifier) , (comma_expression "piVar6 = unaff_s7,\n               (*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=\n               *(uint *)(unaff_s0 + 0x26c)" (assignment_expression "piVar6 = unaff_s7" identifier = identifier) , (binary_expression "(*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=\n               *(uint *)(unaff_s0 + 0x26c)" (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) <= (pointer_expression "*(uint *)(unaff_s0 + 0x26c)" * (cast_expression "(uint *)(unaff_s0 + 0x26c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x26c)" ( (binary_expression "unaff_s0 + 0x26c" identifier + number_literal) ))))))) ))) )) (goto_statement "goto LAB_00274430;" goto statement_identifier ;)) (expression_statement "iVar5 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar13 - iVar5,iVar22 - iVar9,param_2);" (assignment_expression "iVar5 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar13 - iVar5,iVar22 - iVar9,param_2)" identifier = (call_expression "(*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar13 - iVar5,iVar22 - iVar9,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 "(unaff_s0,iVar13 - iVar5,iVar22 - iVar9,param_2)" ( identifier , (binary_expression "iVar13 - iVar5" identifier - identifier) , (binary_expression "iVar22 - iVar9" identifier - identifier) , identifier )))) ;) (if_statement "if (iVar5 == 0) goto LAB_002743d4;" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (goto_statement "goto LAB_002743d4;" goto statement_identifier ;)) (expression_statement "iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,param_2);" (assignment_expression "iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,param_2)" identifier = (call_expression "(*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,param_2)" (parenthesized_expression "(*(code *)PTR_ResetImagePixels_003a9334)" ( (pointer_expression "*(code *)PTR_ResetImagePixels_003a9334" * (cast_expression "(code *)PTR_ResetImagePixels_003a9334" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0,param_2)" ( identifier , identifier )))) ;) (if_statement "if (iVar5 == 0) goto LAB_002743d4;" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (goto_statement "goto LAB_002743d4;" goto statement_identifier ;)) (expression_statement "local_10c8 = PTR_LAB_003a88e0;" (assignment_expression "local_10c8 = PTR_LAB_003a88e0" identifier = identifier) ;) (expression_statement "unaff_s7 = (int *)0x0;" (assignment_expression "unaff_s7 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;" (assignment_expression "local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8" identifier = identifier) ;) (expression_statement "unaff_s3 = (byte *)0x0;" (assignment_expression "unaff_s3 = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_10b8 = 0;" (assignment_expression "local_10b8 = 0" identifier = number_literal) ;) (expression_statement "in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418);" (assignment_expression "in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418)" identifier = (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1418)" * (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1418)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1418)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1418" identifier + number_literal) ))))) ;) (expression_statement "in_f22_23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);" (assignment_expression "in_f22_23 = *(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 "in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58);" (assignment_expression "in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58)" identifier = (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1a58)" * (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1a58)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1a58)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1a58" identifier + number_literal) ))))) ;) (expression_statement "local_10cc = 0;" (assignment_expression "local_10cc = 0" identifier = number_literal) ;) (expression_statement "local_10bc = &local_1090;" (assignment_expression "local_10bc = &local_1090" identifier = (pointer_expression "&local_1090" & identifier)) ;) (expression_statement "local_10d0 = param_1;" (assignment_expression "local_10d0 = param_1" identifier = identifier) ;) (expression_statement "local_10d8 = param_2;" (assignment_expression "local_10d8 = param_2" identifier = identifier) ;) (labeled_statement "LAB_002744b8:\n            do {\n              piVar6 = (int *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pbVar31 = local_10d0;\n              if ((piVar6 != (int *)0x0) ||\n                 (((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pbVar31;\n                unaff_s7 = piVar6;\nLAB_00274228:\n                if (local_54 == *(int *)puVar4) {\n                  return uVar26;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (int *)((uint)piVar6 & 0xffff);\n              if (unaff_s7 == (int *)0x0) {\n                unaff_s7 = (int *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (int *)0xa2) {\n                if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (int *)0x78) {\n                  if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }\n                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                  puVar12 = PTR_SetImageExtent_003a94ac;\n                  if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;\n                  iVar5 = (int)local_108a - (int)local_108e;\n                  iVar13 = (int)local_108c - (int)local_1090;\n                  *(int *)(unaff_s0 + 0x18) = iVar5;\n                  *(int *)(unaff_s0 + 0x1c) = iVar13;\n                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);\n                  if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((int *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)) goto LAB_002752a0;\n                bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2;\n                if (bVar3) {\n                  uVar28 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                if (iVar5 != 0) {\n                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);\n                  if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);\n                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }\n                  piVar7[9] = 2;\nLAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);\n                  if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }\n                  iVar5 = piVar7[9];\n                  if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }\nLAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar26 = 0x4d7;\n                  unaff_s7 = piVar7;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (byte *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar26 = 0x491;\nLAB_002757bc:\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar12 = PTR_s_courses_003a88ec + -400;\n                piVar7 = unaff_s7;\nLAB_0027507c:\n                uVar8 = 0x1a9;\n                unaff_s7 = piVar7;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                uVar26 = 0;\n                goto LAB_00274228;\n              }\n              if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7);\n              }\n              if (unaff_s7 != (int *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7 + -0x2c) {\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar5 = 0x18;\n              do {\n                iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar13 == -1) break;\n                iVar5 = iVar5 + -1;\n              } while (iVar5 != 0);\n            } while( true );" statement_identifier : (do_statement "do {\n              piVar6 = (int *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pbVar31 = local_10d0;\n              if ((piVar6 != (int *)0x0) ||\n                 (((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pbVar31;\n                unaff_s7 = piVar6;\nLAB_00274228:\n                if (local_54 == *(int *)puVar4) {\n                  return uVar26;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (int *)((uint)piVar6 & 0xffff);\n              if (unaff_s7 == (int *)0x0) {\n                unaff_s7 = (int *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (int *)0xa2) {\n                if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (int *)0x78) {\n                  if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }\n                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                  puVar12 = PTR_SetImageExtent_003a94ac;\n                  if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;\n                  iVar5 = (int)local_108a - (int)local_108e;\n                  iVar13 = (int)local_108c - (int)local_1090;\n                  *(int *)(unaff_s0 + 0x18) = iVar5;\n                  *(int *)(unaff_s0 + 0x1c) = iVar13;\n                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);\n                  if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((int *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)) goto LAB_002752a0;\n                bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2;\n                if (bVar3) {\n                  uVar28 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                if (iVar5 != 0) {\n                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);\n                  if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);\n                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }\n                  piVar7[9] = 2;\nLAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);\n                  if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }\n                  iVar5 = piVar7[9];\n                  if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }\nLAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar26 = 0x4d7;\n                  unaff_s7 = piVar7;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (byte *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar26 = 0x491;\nLAB_002757bc:\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar12 = PTR_s_courses_003a88ec + -400;\n                piVar7 = unaff_s7;\nLAB_0027507c:\n                uVar8 = 0x1a9;\n                unaff_s7 = piVar7;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                uVar26 = 0;\n                goto LAB_00274228;\n              }\n              if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7);\n              }\n              if (unaff_s7 != (int *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7 + -0x2c) {\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar5 = 0x18;\n              do {\n                iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar13 == -1) break;\n                iVar5 = iVar5 + -1;\n              } while (iVar5 != 0);\n            } while( true );" do (compound_statement "{\n              piVar6 = (int *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pbVar31 = local_10d0;\n              if ((piVar6 != (int *)0x0) ||\n                 (((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pbVar31;\n                unaff_s7 = piVar6;\nLAB_00274228:\n                if (local_54 == *(int *)puVar4) {\n                  return uVar26;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (int *)((uint)piVar6 & 0xffff);\n              if (unaff_s7 == (int *)0x0) {\n                unaff_s7 = (int *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (int *)0xa2) {\n                if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (int *)0x78) {\n                  if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }\n                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                  puVar12 = PTR_SetImageExtent_003a94ac;\n                  if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;\n                  iVar5 = (int)local_108a - (int)local_108e;\n                  iVar13 = (int)local_108c - (int)local_1090;\n                  *(int *)(unaff_s0 + 0x18) = iVar5;\n                  *(int *)(unaff_s0 + 0x1c) = iVar13;\n                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);\n                  if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((int *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)) goto LAB_002752a0;\n                bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2;\n                if (bVar3) {\n                  uVar28 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                if (iVar5 != 0) {\n                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);\n                  if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);\n                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }\n                  piVar7[9] = 2;\nLAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);\n                  if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }\n                  iVar5 = piVar7[9];\n                  if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }\nLAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar26 = 0x4d7;\n                  unaff_s7 = piVar7;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (byte *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar26 = 0x491;\nLAB_002757bc:\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar12 = PTR_s_courses_003a88ec + -400;\n                piVar7 = unaff_s7;\nLAB_0027507c:\n                uVar8 = 0x1a9;\n                unaff_s7 = piVar7;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                uVar26 = 0;\n                goto LAB_00274228;\n              }\n              if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7);\n              }\n              if (unaff_s7 != (int *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7 + -0x2c) {\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar5 = 0x18;\n              do {\n                iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar13 == -1) break;\n                iVar5 = iVar5 + -1;\n              } while (iVar5 != 0);\n            }" { (expression_statement "piVar6 = (int *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);" (assignment_expression "piVar6 = (int *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0)" identifier = (cast_expression "(int *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_EOFBlob_003a9748)(unaff_s0)" (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 "(unaff_s0)" ( identifier ))))) ;) (expression_statement "pbVar31 = local_10d0;" (assignment_expression "pbVar31 = local_10d0" identifier = identifier) ;) (if_statement "if ((piVar6 != (int *)0x0) ||\n                 (((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pbVar31;\n                unaff_s7 = piVar6;\nLAB_00274228:\n                if (local_54 == *(int *)puVar4) {\n                  return uVar26;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }" if (parenthesized_expression "((piVar6 != (int *)0x0) ||\n                 (((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c)))))" ( (binary_expression "(piVar6 != (int *)0x0) ||\n                 (((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))))" (parenthesized_expression "(piVar6 != (int *)0x0)" ( (binary_expression "piVar6 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))))" ( (parenthesized_expression "((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c)))" ( (binary_expression "(*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))" (parenthesized_expression "(*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0))" ( (binary_expression "*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)" (binary_expression "*(int *)(local_10d0 + 0x1dc) != 0" (pointer_expression "*(int *)(local_10d0 + 0x1dc)" * (cast_expression "(int *)(local_10d0 + 0x1dc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_10d0 + 0x1dc)" ( (binary_expression "local_10d0 + 0x1dc" identifier + number_literal) )))) != number_literal) && (parenthesized_expression "(*(int *)(local_10d0 + 0x2c) != 0)" ( (binary_expression "*(int *)(local_10d0 + 0x2c) != 0" (pointer_expression "*(int *)(local_10d0 + 0x2c)" * (cast_expression "(int *)(local_10d0 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_10d0 + 0x2c)" ( (binary_expression "local_10d0 + 0x2c" identifier + number_literal) )))) != number_literal) ))) )) && (parenthesized_expression "((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))" ( (binary_expression "(*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c)" (binary_expression "(*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U" (parenthesized_expression "(*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28))" ( (binary_expression "*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)" (pointer_expression "*(int *)(local_10d0 + 0x2c)" * (cast_expression "(int *)(local_10d0 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_10d0 + 0x2c)" ( (binary_expression "local_10d0 + 0x2c" identifier + number_literal) )))) + (pointer_expression "*(int *)(local_10d0 + 0x28)" * (cast_expression "(int *)(local_10d0 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_10d0 + 0x28)" ( (binary_expression "local_10d0 + 0x28" identifier + number_literal) ))))) )) - number_literal) <= (pointer_expression "*(uint *)(unaff_s0 + 0x26c)" * (cast_expression "(uint *)(unaff_s0 + 0x26c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x26c)" ( (binary_expression "unaff_s0 + 0x26c" identifier + number_literal) ))))) ))) )) ))) )) (compound_statement "{\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pbVar31;\n                unaff_s7 = piVar6;\nLAB_00274228:\n                if (local_54 == *(int *)puVar4) {\n                  return uVar26;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }" { (labeled_statement "LAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);" statement_identifier : (expression_statement "(*(code *)PTR_CloseBlob_003a9688)(unaff_s0);" (call_expression "(*(code *)PTR_CloseBlob_003a9688)(unaff_s0)" (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 "(unaff_s0)" ( identifier ))) ;)) (expression_statement "uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);" (assignment_expression "uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (expression_statement "unaff_s3 = pbVar31;" (assignment_expression "unaff_s3 = pbVar31" identifier = identifier) ;) (expression_statement "unaff_s7 = piVar6;" (assignment_expression "unaff_s7 = piVar6" identifier = identifier) ;) (labeled_statement "LAB_00274228:\n                if (local_54 == *(int *)puVar4) {\n                  return uVar26;\n                }" statement_identifier : (if_statement "if (local_54 == *(int *)puVar4) {\n                  return uVar26;\n                }" if (parenthesized_expression "(local_54 == *(int *)puVar4)" ( (binary_expression "local_54 == *(int *)puVar4" identifier == (pointer_expression "*(int *)puVar4" * (cast_expression "(int *)puVar4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n                  return uVar26;\n                }" { (return_statement "return uVar26;" return identifier ;) }))) (labeled_statement "LAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();" statement_identifier : (expression_statement "local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();" (assignment_expression "local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)()" identifier = (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 "()" ( )))) ;)) (goto_statement "goto LAB_002744b8;" goto statement_identifier ;) })) (if_statement "if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }" if (parenthesized_expression "((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0))" ( (binary_expression "(local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0)" (parenthesized_expression "(local_10d4 == 1)" ( (binary_expression "local_10d4 == 1" identifier == number_literal) )) || (parenthesized_expression "((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0)" ( (comma_expression "(*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0" (call_expression "(*(code *)PTR_TellBlob_003a931c)(unaff_s0)" (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 "(unaff_s0)" ( identifier ))) , (comma_expression "piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0" (assignment_expression "piVar6 = unaff_s7" identifier = identifier) , (binary_expression "(extraout_v1 & 1) != 0" (parenthesized_expression "(extraout_v1 & 1)" ( (binary_expression "extraout_v1 & 1" identifier & number_literal) )) != number_literal))) ))) )) (compound_statement "{\n                piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }" { (expression_statement "piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (cast_expression "(int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier ))))) ;) })) (if_statement "if (local_10d4 == 2) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }" if (parenthesized_expression "(local_10d4 == 2)" ( (binary_expression "local_10d4 == 2" identifier == number_literal) )) (compound_statement "{\n                piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }" { (expression_statement "piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);" (assignment_expression "piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0)" identifier = (cast_expression "(int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBSignedShort_003a9600" * (cast_expression "(code *)PTR_ReadBlobMSBSignedShort_003a9600" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier ))))) ;) })) (expression_statement "unaff_s7 = (int *)((uint)piVar6 & 0xffff);" (assignment_expression "unaff_s7 = (int *)((uint)piVar6 & 0xffff)" identifier = (cast_expression "(int *)((uint)piVar6 & 0xffff)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)piVar6 & 0xffff)" ( (binary_expression "(uint)piVar6 & 0xffff" (cast_expression "(uint)piVar6" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) )))) ;) (if_statement "if (unaff_s7 == (int *)0x0) {\n                unaff_s7 = (int *)0x0;\n                goto LAB_002744b8;\n              }" if (parenthesized_expression "(unaff_s7 == (int *)0x0)" ( (binary_expression "unaff_s7 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                unaff_s7 = (int *)0x0;\n                goto LAB_002744b8;\n              }" { (expression_statement "unaff_s7 = (int *)0x0;" (assignment_expression "unaff_s7 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto LAB_002744b8;" goto statement_identifier ;) })) (if_statement "if (unaff_s7 < (int *)0xa2) {\n                if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (int *)0x78) {\n                  if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }\n                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                  puVar12 = PTR_SetImageExtent_003a94ac;\n                  if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;\n                  iVar5 = (int)local_108a - (int)local_108e;\n                  iVar13 = (int)local_108c - (int)local_1090;\n                  *(int *)(unaff_s0 + 0x18) = iVar5;\n                  *(int *)(unaff_s0 + 0x1c) = iVar13;\n                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);\n                  if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((int *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)) goto LAB_002752a0;\n                bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2;\n                if (bVar3) {\n                  uVar28 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                if (iVar5 != 0) {\n                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);\n                  if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);\n                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }\n                  piVar7[9] = 2;\nLAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);\n                  if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }\n                  iVar5 = piVar7[9];\n                  if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }\nLAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar26 = 0x4d7;\n                  unaff_s7 = piVar7;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (byte *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar26 = 0x491;\nLAB_002757bc:\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar12 = PTR_s_courses_003a88ec + -400;\n                piVar7 = unaff_s7;\nLAB_0027507c:\n                uVar8 = 0x1a9;\n                unaff_s7 = piVar7;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                uVar26 = 0;\n                goto LAB_00274228;\n              }" if (parenthesized_expression "(unaff_s7 < (int *)0xa2)" ( (binary_expression "unaff_s7 < (int *)0xa2" identifier < (cast_expression "(int *)0xa2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (int *)0x78) {\n                  if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }\n                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                  puVar12 = PTR_SetImageExtent_003a94ac;\n                  if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;\n                  iVar5 = (int)local_108a - (int)local_108e;\n                  iVar13 = (int)local_108c - (int)local_1090;\n                  *(int *)(unaff_s0 + 0x18) = iVar5;\n                  *(int *)(unaff_s0 + 0x1c) = iVar13;\n                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);\n                  if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((int *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)) goto LAB_002752a0;\n                bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2;\n                if (bVar3) {\n                  uVar28 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                if (iVar5 != 0) {\n                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);\n                  if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);\n                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }\n                  piVar7[9] = 2;\nLAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);\n                  if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }\n                  iVar5 = piVar7[9];\n                  if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }\nLAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar26 = 0x4d7;\n                  unaff_s7 = piVar7;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (byte *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar26 = 0x491;\nLAB_002757bc:\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar12 = PTR_s_courses_003a88ec + -400;\n                piVar7 = unaff_s7;\nLAB_0027507c:\n                uVar8 = 0x1a9;\n                unaff_s7 = piVar7;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                uVar26 = 0;\n                goto LAB_00274228;\n              }" { (if_statement "if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }" if (parenthesized_expression "(*(int *)(unaff_s0 + 0x3350) != 0)" ( (binary_expression "*(int *)(unaff_s0 + 0x3350) != 0" (pointer_expression "*(int *)(unaff_s0 + 0x3350)" * (cast_expression "(int *)(unaff_s0 + 0x3350)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x3350)" ( (binary_expression "unaff_s0 + 0x3350" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }" { (expression_statement "(*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));" (call_expression "(*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8))" (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 "(0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8))" ( number_literal , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier + number_literal) , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier + number_literal) , number_literal , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24" identifier + number_literal) , identifier , (pointer_expression "*(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c)" * (cast_expression "(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c)" ( (binary_expression "PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c" (binary_expression "PTR_DAT_003a8948 + (int)unaff_s7 * 0xc" identifier + (binary_expression "(int)unaff_s7 * 0xc" (cast_expression "(int)unaff_s7" ( (type_descriptor "int" primitive_type) ) identifier) * number_literal)) + number_literal) )))) , (pointer_expression "*(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8)" * (cast_expression "(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8)" ( (binary_expression "(int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8" (cast_expression "(int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c)" ( (binary_expression "PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c" (binary_expression "PTR_DAT_003a8948 + (int)unaff_s7 * 0xc" identifier + (binary_expression "(int)unaff_s7 * 0xc" (cast_expression "(int)unaff_s7" ( (type_descriptor "int" primitive_type) ) identifier) * number_literal)) + number_literal) ))) + number_literal) )))) ))) ;) })) (if_statement "if (unaff_s7 < (int *)0x78) {\n                  if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }\n                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                  puVar12 = PTR_SetImageExtent_003a94ac;\n                  if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;\n                  iVar5 = (int)local_108a - (int)local_108e;\n                  iVar13 = (int)local_108c - (int)local_1090;\n                  *(int *)(unaff_s0 + 0x18) = iVar5;\n                  *(int *)(unaff_s0 + 0x1c) = iVar13;\n                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);\n                  if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }" if (parenthesized_expression "(unaff_s7 < (int *)0x78)" ( (binary_expression "unaff_s7 < (int *)0x78" identifier < (cast_expression "(int *)0x78" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                  if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }\n                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                  puVar12 = PTR_SetImageExtent_003a94ac;\n                  if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;\n                  iVar5 = (int)local_108a - (int)local_108e;\n                  iVar13 = (int)local_108c - (int)local_1090;\n                  *(int *)(unaff_s0 + 0x18) = iVar5;\n                  *(int *)(unaff_s0 + 0x1c) = iVar13;\n                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);\n                  if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }" { (if_statement "if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }" if (parenthesized_expression "((int *)0x6f < unaff_s7)" ( (binary_expression "(int *)0x6f < unaff_s7" (cast_expression "(int *)0x6f" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) < identifier) )) (compound_statement "{\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }" { (expression_statement "uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (assignment_expression "uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier )))) ;) (expression_statement "uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);" (assignment_expression "uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }" if (parenthesized_expression "(((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28))" ( (binary_expression "((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)" (parenthesized_expression "((int)((ulonglong)uVar37 >> 0x20) == 0)" ( (binary_expression "(int)((ulonglong)uVar37 >> 0x20) == 0" (cast_expression "(int)((ulonglong)uVar37 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar37 >> 0x20)" ( (binary_expression "(ulonglong)uVar37 >> 0x20" (cast_expression "(ulonglong)uVar37" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) == number_literal) )) && (parenthesized_expression "((uint)uVar37 < uVar28)" ( (binary_expression "(uint)uVar37 < uVar28" (cast_expression "(uint)uVar37" ( (type_descriptor "uint" type_identifier) ) identifier) < identifier) ))) )) (compound_statement "{\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }" { (if_statement "if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }" if (parenthesized_expression "(unaff_s3 != (byte *)0x0)" ( (binary_expression "unaff_s3 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3)" ( identifier ))) ;) })) (if_statement "if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar26 = 0x467;" (assignment_expression "uVar26 = 0x467" identifier = number_literal) ;) (goto_statement "goto LAB_00275880;" goto statement_identifier ;) })) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (if_statement "if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }" if (parenthesized_expression "(0 < (int)(uVar28 - 2))" ( (binary_expression "0 < (int)(uVar28 - 2)" number_literal < (cast_expression "(int)(uVar28 - 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar28 - 2)" ( (binary_expression "uVar28 - 2" identifier - number_literal) )))) )) (compound_statement "{\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }" { (do_statement "do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);" do (compound_statement "{\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      }" { (expression_statement "iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (iVar13 == -1) break;" if (parenthesized_expression "(iVar13 == -1)" ( (binary_expression "iVar13 == -1" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar5 != uVar28 - 2)" ( (binary_expression "iVar5 != uVar28 - 2" identifier != (binary_expression "uVar28 - 2" identifier - number_literal)) )) ;) })) (goto_statement "goto LAB_00274584;" goto statement_identifier ;) })) (if_statement "if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }" if (parenthesized_expression "((int *)0x14 < unaff_s7)" ( (binary_expression "(int *)0x14 < unaff_s7" (cast_expression "(int *)0x14" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) < identifier) )) (compound_statement "{\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }" { (if_statement "if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }" if (parenthesized_expression "(unaff_s7 == (int *)&DAT_0000001b)" ( (binary_expression "unaff_s7 == (int *)&DAT_0000001b" identifier == (cast_expression "(int *)&DAT_0000001b" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_0000001b" & identifier))) )) (compound_statement "{\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }" { (expression_statement "iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (assignment_expression "iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier )))) ;) (expression_statement "puVar12 = PTR_ReadBlobMSBShort_003a9160;" (assignment_expression "puVar12 = PTR_ReadBlobMSBShort_003a9160" identifier = identifier) ;) (expression_statement "*(double *)(unaff_s0 + 0xb0) = (double)iVar5;" (assignment_expression "*(double *)(unaff_s0 + 0xb0) = (double)iVar5" (pointer_expression "*(double *)(unaff_s0 + 0xb0)" * (cast_expression "(double *)(unaff_s0 + 0xb0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0xb0)" ( (binary_expression "unaff_s0 + 0xb0" identifier + number_literal) )))) = (cast_expression "(double)iVar5" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (expression_statement "iVar5 = (*(code *)puVar12)(unaff_s0);" (assignment_expression "iVar5 = (*(code *)puVar12)(unaff_s0)" identifier = (call_expression "(*(code *)puVar12)(unaff_s0)" (parenthesized_expression "(*(code *)puVar12)" ( (pointer_expression "*(code *)puVar12" * (cast_expression "(code *)puVar12" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier )))) ;) (expression_statement "puVar12 = PTR_ReadBlobMSBShort_003a9160;" (assignment_expression "puVar12 = PTR_ReadBlobMSBShort_003a9160" identifier = identifier) ;) (expression_statement "*(double *)(unaff_s0 + 0xb8) = (double)iVar5;" (assignment_expression "*(double *)(unaff_s0 + 0xb8) = (double)iVar5" (pointer_expression "*(double *)(unaff_s0 + 0xb8)" * (cast_expression "(double *)(unaff_s0 + 0xb8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0xb8)" ( (binary_expression "unaff_s0 + 0xb8" identifier + number_literal) )))) = (cast_expression "(double)iVar5" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (expression_statement "iVar5 = (*(code *)puVar12)(unaff_s0);" (assignment_expression "iVar5 = (*(code *)puVar12)(unaff_s0)" identifier = (call_expression "(*(code *)puVar12)(unaff_s0)" (parenthesized_expression "(*(code *)puVar12)" ( (pointer_expression "*(code *)puVar12" * (cast_expression "(code *)puVar12" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier )))) ;) (expression_statement "*(double *)(unaff_s0 + 0xc0) = (double)iVar5;" (assignment_expression "*(double *)(unaff_s0 + 0xc0) = (double)iVar5" (pointer_expression "*(double *)(unaff_s0 + 0xc0)" * (cast_expression "(double *)(unaff_s0 + 0xc0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0xc0)" ( (binary_expression "unaff_s0 + 0xc0" identifier + number_literal) )))) = (cast_expression "(double)iVar5" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (goto_statement "goto LAB_00274594;" goto statement_identifier ;) })) (goto_statement "goto LAB_002752a0;" goto statement_identifier ;) })) (if_statement "if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }" if (parenthesized_expression "(&DAT_00000011 < unaff_s7)" ( (binary_expression "&DAT_00000011 < unaff_s7" (pointer_expression "&DAT_00000011" & identifier) < identifier) )) (compound_statement "{\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }" { (expression_statement "iVar13 = 8;" (assignment_expression "iVar13 = 8" identifier = number_literal) ;) (expression_statement "iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (assignment_expression "iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier )))) ;) (do_statement "do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);" do (compound_statement "{\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    }" { (expression_statement "iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (iVar9 == -1) break;" if (parenthesized_expression "(iVar9 == -1)" ( (binary_expression "iVar9 == -1" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar13 = iVar13 + -1;" (assignment_expression "iVar13 = iVar13 + -1" identifier = (binary_expression "iVar13 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar13 != 0)" ( (binary_expression "iVar13 != 0" identifier != number_literal) )) ;) (if_statement "if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }" if (parenthesized_expression "(iVar5 == 2)" ( (binary_expression "iVar5 == 2" identifier == number_literal) )) (compound_statement "{\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }" { (expression_statement "iVar5 = 5;" (assignment_expression "iVar5 = 5" identifier = number_literal) ;) (do_statement "do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);" do (compound_statement "{\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      }" { (expression_statement "iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (iVar13 == -1) break;" if (parenthesized_expression "(iVar13 == -1)" ( (binary_expression "iVar13 == -1" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar5 = iVar5 + -1;" (assignment_expression "iVar5 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) ;) (goto_statement "goto LAB_00274584;" goto statement_identifier ;) })) (if_statement "if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }" if (parenthesized_expression "(iVar5 == 1)" ( (binary_expression "iVar5 == 1" identifier == number_literal) )) (compound_statement "{\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }" { (expression_statement "uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (assignment_expression "uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier )))) ;) (expression_statement "uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);" (assignment_expression "uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }" if (parenthesized_expression "(((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))" ( (binary_expression "((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)" (parenthesized_expression "((int)((ulonglong)uVar37 >> 0x20) != 0)" ( (binary_expression "(int)((ulonglong)uVar37 >> 0x20) != 0" (cast_expression "(int)((ulonglong)uVar37 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar37 >> 0x20)" ( (binary_expression "(ulonglong)uVar37 >> 0x20" (cast_expression "(ulonglong)uVar37" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) != number_literal) )) || (parenthesized_expression "(uVar28 <= (uint)uVar37)" ( (binary_expression "uVar28 <= (uint)uVar37" identifier <= (cast_expression "(uint)uVar37" ( (type_descriptor "uint" type_identifier) ) identifier)) ))) )) (compound_statement "{\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }" { (expression_statement "iVar5 = FUN_002739c8(unaff_s0,local_10bc);" (assignment_expression "iVar5 = FUN_002739c8(unaff_s0,local_10bc)" identifier = (call_expression "FUN_002739c8(unaff_s0,local_10bc)" identifier (argument_list "(unaff_s0,local_10bc)" ( identifier , identifier )))) ;) (if_statement "if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }" { (if_statement "if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }" if (parenthesized_expression "(unaff_s3 != (byte *)0x0)" ( (binary_expression "unaff_s3 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3)" ( identifier ))) ;) })) (if_statement "if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar26 = 0x419;" (assignment_expression "uVar26 = 0x419" identifier = number_literal) ;) }) (else_clause "else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }" else (compound_statement "{\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }" { (expression_statement "iVar5 = FUN_00273794(unaff_s0,auStack_1078);" (assignment_expression "iVar5 = FUN_00273794(unaff_s0,auStack_1078)" identifier = (call_expression "FUN_00273794(unaff_s0,auStack_1078)" identifier (argument_list "(unaff_s0,auStack_1078)" ( identifier , identifier )))) ;) (if_statement "if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }" { (expression_statement "*(int *)(unaff_s0 + 0x20) = (int)local_1062;" (assignment_expression "*(int *)(unaff_s0 + 0x20) = (int)local_1062" (pointer_expression "*(int *)(unaff_s0 + 0x20)" * (cast_expression "(int *)(unaff_s0 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x20)" ( (binary_expression "unaff_s0 + 0x20" identifier + number_literal) )))) = (cast_expression "(int)local_1062" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "dVar33 = (double)local_1070;" (assignment_expression "dVar33 = (double)local_1070" identifier = (cast_expression "(double)local_1070" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (if_statement "if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }" if (parenthesized_expression "(local_1070 < 0)" ( (binary_expression "local_1070 < 0" identifier < number_literal) )) (compound_statement "{\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }" { (expression_statement "dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);" (assignment_expression "dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418)" identifier = (binary_expression "dVar33 + *(double *)(local_10c8 + 0x1418)" identifier + (pointer_expression "*(double *)(local_10c8 + 0x1418)" * (cast_expression "(double *)(local_10c8 + 0x1418)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_10c8 + 0x1418)" ( (binary_expression "local_10c8 + 0x1418" identifier + number_literal) )))))) ;) })) (expression_statement "*(double *)(unaff_s0 + 0x218) = dVar33;" (assignment_expression "*(double *)(unaff_s0 + 0x218) = dVar33" (pointer_expression "*(double *)(unaff_s0 + 0x218)" * (cast_expression "(double *)(unaff_s0 + 0x218)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x218)" ( (binary_expression "unaff_s0 + 0x218" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar12 = PTR_ReadBlobMSBLong_003a8d98;" (assignment_expression "puVar12 = PTR_ReadBlobMSBLong_003a8d98" identifier = identifier) ;) (expression_statement "dVar33 = (double)local_106c;" (assignment_expression "dVar33 = (double)local_106c" identifier = (cast_expression "(double)local_106c" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (if_statement "if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }" if (parenthesized_expression "(local_106c < 0)" ( (binary_expression "local_106c < 0" identifier < number_literal) )) (compound_statement "{\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }" { (expression_statement "dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);" (assignment_expression "dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418)" identifier = (binary_expression "dVar33 + *(double *)(local_10c8 + 0x1418)" identifier + (pointer_expression "*(double *)(local_10c8 + 0x1418)" * (cast_expression "(double *)(local_10c8 + 0x1418)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_10c8 + 0x1418)" ( (binary_expression "local_10c8 + 0x1418" identifier + number_literal) )))))) ;) })) (expression_statement "*(double *)(unaff_s0 + 0x220) = dVar33;" (assignment_expression "*(double *)(unaff_s0 + 0x220) = dVar33" (pointer_expression "*(double *)(unaff_s0 + 0x220)" * (cast_expression "(double *)(unaff_s0 + 0x220)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x220)" ( (binary_expression "unaff_s0 + 0x220" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(unaff_s0 + 0x200) = 1;" (assignment_expression "*(undefined4 *)(unaff_s0 + 0x200) = 1" (pointer_expression "*(undefined4 *)(unaff_s0 + 0x200)" * (cast_expression "(undefined4 *)(unaff_s0 + 0x200)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x200)" ( (binary_expression "unaff_s0 + 0x200" identifier + number_literal) )))) = number_literal) ;) (expression_statement "(*(code *)puVar12)(unaff_s0);" (call_expression "(*(code *)puVar12)(unaff_s0)" (parenthesized_expression "(*(code *)puVar12)" ( (pointer_expression "*(code *)puVar12" * (cast_expression "(code *)puVar12" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier ))) ;) (expression_statement "uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (assignment_expression "uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier )))) ;) (expression_statement "uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);" (assignment_expression "uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }" if (parenthesized_expression "(((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))" ( (binary_expression "((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)" (parenthesized_expression "((int)((ulonglong)uVar37 >> 0x20) != 0)" ( (binary_expression "(int)((ulonglong)uVar37 >> 0x20) != 0" (cast_expression "(int)((ulonglong)uVar37 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar37 >> 0x20)" ( (binary_expression "(ulonglong)uVar37 >> 0x20" (cast_expression "(ulonglong)uVar37" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) != number_literal) )) || (parenthesized_expression "(uVar28 <= (uint)uVar37)" ( (binary_expression "uVar28 <= (uint)uVar37" identifier <= (cast_expression "(uint)uVar37" ( (type_descriptor "uint" type_identifier) ) identifier)) ))) )) (compound_statement "{\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }" { (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (do_statement "do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);" do (compound_statement "{\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              }" { (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "(*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);" (call_expression "(*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBLong_003a8d98)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBLong_003a8d98" * (cast_expression "(code *)PTR_ReadBlobMSBLong_003a8d98" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier ))) ;) }) while (parenthesized_expression "(iVar5 != uVar28 + 1)" ( (binary_expression "iVar5 != uVar28 + 1" identifier != (binary_expression "uVar28 + 1" identifier + number_literal)) )) ;) (expression_statement "uVar29 = (int)local_108c - (int)local_1090;" (assignment_expression "uVar29 = (int)local_108c - (int)local_1090" identifier = (binary_expression "(int)local_108c - (int)local_1090" (cast_expression "(int)local_108c" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)local_1090" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "iVar5 = (int)local_108a - (int)local_108e;" (assignment_expression "iVar5 = (int)local_108a - (int)local_108e" identifier = (binary_expression "(int)local_108a - (int)local_108e" (cast_expression "(int)local_108a" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)local_108e" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }" if (parenthesized_expression "(local_1066 < 9)" ( (binary_expression "local_1066 < 9" identifier < number_literal) )) (compound_statement "{\n                                uVar28 = uVar28 & 0x7fff;\n                              }" { (expression_statement "uVar28 = uVar28 & 0x7fff;" (assignment_expression "uVar28 = uVar28 & 0x7fff" identifier = (binary_expression "uVar28 & 0x7fff" identifier & number_literal)) ;) }) (else_clause "else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }" else (if_statement "if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }" if (parenthesized_expression "(local_1066 == 0x10)" ( (binary_expression "local_1066 == 0x10" identifier == number_literal) )) (compound_statement "{\n                                uVar29 = uVar29 * 2;\n                              }" { (expression_statement "uVar29 = uVar29 * 2;" (assignment_expression "uVar29 = uVar29 * 2" identifier = (binary_expression "uVar29 * 2" identifier * number_literal)) ;) })))) (if_statement "if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }" if (parenthesized_expression "(uVar28 != 0)" ( (binary_expression "uVar28 != 0" identifier != number_literal) )) (compound_statement "{\n                                uVar29 = uVar28;\n                              }" { (expression_statement "uVar29 = uVar28;" (assignment_expression "uVar29 = uVar28" identifier = identifier) ;) })) (if_statement "if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }" if (parenthesized_expression "(uVar29 < 8)" ( (binary_expression "uVar29 < 8" identifier < number_literal) )) (compound_statement "{\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }" { (if_statement "if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }" if (parenthesized_expression "(0 < (int)(uVar29 * iVar5))" ( (binary_expression "0 < (int)(uVar29 * iVar5)" number_literal < (cast_expression "(int)(uVar29 * iVar5)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar29 * iVar5)" ( (binary_expression "uVar29 * iVar5" identifier * identifier) )))) )) (compound_statement "{\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }" { (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" identifier = number_literal) ;) (do_statement "do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);" do (compound_statement "{\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  }" { (expression_statement "iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (iVar9 == -1) break;" if (parenthesized_expression "(iVar9 == -1)" ( (binary_expression "iVar9 == -1" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar13 = iVar13 + 1;" (assignment_expression "iVar13 = iVar13 + 1" identifier = (binary_expression "iVar13 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar29 * iVar5 != iVar13)" ( (binary_expression "uVar29 * iVar5 != iVar13" (binary_expression "uVar29 * iVar5" identifier * identifier) != identifier) )) ;) })) }) (else_clause "else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }" else (compound_statement "{\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }" { (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" identifier = number_literal) ;) (if_statement "if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }" if (parenthesized_expression "(0 < iVar5)" ( (binary_expression "0 < iVar5" number_literal < identifier) )) (compound_statement "{\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }" { (do_statement "do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);" do (compound_statement "{\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  }" { (expression_statement "iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);" (assignment_expression "iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_EOFBlob_003a9748)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (iVar9 != 0) break;" if (parenthesized_expression "(iVar9 != 0)" ( (binary_expression "iVar9 != 0" identifier != number_literal) )) (break_statement "break;" break ;)) (if_statement "if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }" if (parenthesized_expression "(uVar29 < 0xc9)" ( (binary_expression "uVar29 < 0xc9" identifier < number_literal) )) (compound_statement "{\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }" { (expression_statement "uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) }) (else_clause "else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }" else (compound_statement "{\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }" { (expression_statement "uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (assignment_expression "uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier )))) ;) }))) (expression_statement "uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);" (assignment_expression "uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }" if (parenthesized_expression "(((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28))" ( (binary_expression "((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)" (parenthesized_expression "((int)((ulonglong)uVar37 >> 0x20) == 0)" ( (binary_expression "(int)((ulonglong)uVar37 >> 0x20) == 0" (cast_expression "(int)((ulonglong)uVar37 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar37 >> 0x20)" ( (binary_expression "(ulonglong)uVar37 >> 0x20" (cast_expression "(ulonglong)uVar37" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) == number_literal) )) && (parenthesized_expression "((uint)uVar37 < uVar28)" ( (binary_expression "(uint)uVar37 < uVar28" (cast_expression "(uint)uVar37" ( (type_descriptor "uint" type_identifier) ) identifier) < identifier) ))) )) (compound_statement "{\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }" { (if_statement "if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }" if (parenthesized_expression "(unaff_s3 != (byte *)0x0)" ( (binary_expression "unaff_s3 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3)" ( identifier ))) ;) })) (if_statement "if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar26 = 0x444;" (assignment_expression "uVar26 = 0x444" identifier = number_literal) ;) (goto_statement "goto LAB_00275880;" goto statement_identifier ;) })) (expression_statement "uVar30 = 0;" (assignment_expression "uVar30 = 0" identifier = number_literal) ;) (if_statement "if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }" if (parenthesized_expression "(0 < (int)uVar28)" ( (binary_expression "0 < (int)uVar28" number_literal < (cast_expression "(int)uVar28" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }" { (do_statement "do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);" do (compound_statement "{\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      }" { (expression_statement "iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (iVar9 == -1) break;" if (parenthesized_expression "(iVar9 == -1)" ( (binary_expression "iVar9 == -1" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "uVar30 = uVar30 + 1;" (assignment_expression "uVar30 = uVar30 + 1" identifier = (binary_expression "uVar30 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar28 != uVar30)" ( (binary_expression "uVar28 != uVar30" identifier != identifier) )) ;) })) (expression_statement "iVar13 = iVar13 + 1;" (assignment_expression "iVar13 = iVar13 + 1" identifier = (binary_expression "iVar13 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar5 != iVar13)" ( (binary_expression "iVar5 != iVar13" identifier != identifier) )) ;) })) }))) (goto_statement "goto LAB_00274584;" goto statement_identifier ;) })) (if_statement "if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }" if (parenthesized_expression "(unaff_s3 != (byte *)0x0)" ( (binary_expression "unaff_s3 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3)" ( identifier ))) ;) })) (if_statement "if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar26 = 0x425;" (assignment_expression "uVar26 = 0x425" identifier = number_literal) ;) (goto_statement "goto LAB_00275880;" goto statement_identifier ;) })) (if_statement "if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }" if (parenthesized_expression "(unaff_s3 != (byte *)0x0)" ( (binary_expression "unaff_s3 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3)" ( identifier ))) ;) })) (if_statement "if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar26 = 0x41b;" (assignment_expression "uVar26 = 0x41b" identifier = number_literal) ;) }))) (goto_statement "goto LAB_002757bc;" goto statement_identifier ;) })) (if_statement "if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }" if (parenthesized_expression "(unaff_s3 != (byte *)0x0)" ( (binary_expression "unaff_s3 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3,local_10bc)" ( identifier , identifier ))) ;) })) (if_statement "if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar26 = 0x417;" (assignment_expression "uVar26 = 0x417" identifier = number_literal) ;) (goto_statement "goto LAB_00275880;" goto statement_identifier ;) })) (if_statement "if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }" if (parenthesized_expression "(unaff_s3 != (byte *)0x0)" ( (binary_expression "unaff_s3 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3)" ( identifier ))) ;) })) (if_statement "if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar26 = 0x413;" (assignment_expression "uVar26 = 0x413" identifier = number_literal) ;) (expression_statement "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;" (assignment_expression "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier + number_literal)) ;) (expression_statement "uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);" (assignment_expression "uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" identifier = (call_expression "CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" identifier (argument_list "(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" ( (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal) , (binary_expression "local_10d0 + 0x2210" identifier + number_literal) )))) ;) (expression_statement "puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;" (assignment_expression "puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier + number_literal)) ;) (expression_statement "puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;" (assignment_expression "puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14" identifier + number_literal)) ;) (expression_statement "piVar7 = unaff_s7;" (assignment_expression "piVar7 = unaff_s7" identifier = identifier) ;) (goto_statement "goto LAB_0027507c;" goto statement_identifier ;) })) (if_statement "if (unaff_s7 != (int *)0x1) goto LAB_002752a0;" if (parenthesized_expression "(unaff_s7 != (int *)0x1)" ( (binary_expression "unaff_s7 != (int *)0x1" identifier != (cast_expression "(int *)0x1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_002752a0;" goto statement_identifier ;)) (expression_statement "uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (assignment_expression "uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier )))) ;) (expression_statement "uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);" (assignment_expression "uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }" if (parenthesized_expression "(((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28))" ( (binary_expression "((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)" (parenthesized_expression "((int)((ulonglong)uVar37 >> 0x20) == 0)" ( (binary_expression "(int)((ulonglong)uVar37 >> 0x20) == 0" (cast_expression "(int)((ulonglong)uVar37 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar37 >> 0x20)" ( (binary_expression "(ulonglong)uVar37 >> 0x20" (cast_expression "(ulonglong)uVar37" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) == number_literal) )) && (parenthesized_expression "((uint)uVar37 < uVar28)" ( (binary_expression "(uint)uVar37 < uVar28" (cast_expression "(uint)uVar37" ( (type_descriptor "uint" type_identifier) ) identifier) < identifier) ))) )) (compound_statement "{\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }" { (if_statement "if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }" if (parenthesized_expression "(unaff_s3 != (byte *)0x0)" ( (binary_expression "unaff_s3 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3)" ( identifier ))) ;) })) (if_statement "if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar26 = 0x3e4;" (assignment_expression "uVar26 = 0x3e4" identifier = number_literal) ;) (goto_statement "goto LAB_00275880;" goto statement_identifier ;) })) (if_statement "if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }" if (parenthesized_expression "(uVar28 != 10)" ( (binary_expression "uVar28 != 10" identifier != number_literal) )) (compound_statement "{\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }" { (if_statement "if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }" if (parenthesized_expression "(0 < (int)(uVar28 - 2))" ( (binary_expression "0 < (int)(uVar28 - 2)" number_literal < (cast_expression "(int)(uVar28 - 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar28 - 2)" ( (binary_expression "uVar28 - 2" identifier - number_literal) )))) )) (compound_statement "{\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }" { (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (do_statement "do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);" do (compound_statement "{\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      }" { (expression_statement "iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (iVar13 == -1) break;" if (parenthesized_expression "(iVar13 == -1)" ( (binary_expression "iVar13 == -1" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar28 - 2 != iVar5)" ( (binary_expression "uVar28 - 2 != iVar5" (binary_expression "uVar28 - 2" identifier - number_literal) != identifier) )) ;) })) (goto_statement "goto LAB_00274594;" goto statement_identifier ;) })) (expression_statement "iVar5 = FUN_002739c8(unaff_s0,local_10bc);" (assignment_expression "iVar5 = FUN_002739c8(unaff_s0,local_10bc)" identifier = (call_expression "FUN_002739c8(unaff_s0,local_10bc)" identifier (argument_list "(unaff_s0,local_10bc)" ( identifier , identifier )))) ;) (expression_statement "puVar12 = PTR_SetImageExtent_003a94ac;" (assignment_expression "puVar12 = PTR_SetImageExtent_003a94ac" identifier = identifier) ;) (if_statement "if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }" { (if_statement "if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }" if (parenthesized_expression "(unaff_s3 != (byte *)0x0)" ( (binary_expression "unaff_s3 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3)" ( identifier ))) ;) })) (if_statement "if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar26 = 0x3ed;" (assignment_expression "uVar26 = 0x3ed" identifier = number_literal) ;) (goto_statement "goto LAB_002757bc;" goto statement_identifier ;) })) (if_statement "if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;" if (parenthesized_expression "((local_108e < 0) || (local_1090 < 0))" ( (binary_expression "(local_108e < 0) || (local_1090 < 0)" (parenthesized_expression "(local_108e < 0)" ( (binary_expression "local_108e < 0" identifier < number_literal) )) || (parenthesized_expression "(local_1090 < 0)" ( (binary_expression "local_1090 < 0" identifier < number_literal) ))) )) (goto_statement "goto LAB_00274594;" goto statement_identifier ;)) (expression_statement "iVar5 = (int)local_108a - (int)local_108e;" (assignment_expression "iVar5 = (int)local_108a - (int)local_108e" identifier = (binary_expression "(int)local_108a - (int)local_108e" (cast_expression "(int)local_108a" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)local_108e" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "iVar13 = (int)local_108c - (int)local_1090;" (assignment_expression "iVar13 = (int)local_108c - (int)local_1090" identifier = (binary_expression "(int)local_108c - (int)local_1090" (cast_expression "(int)local_108c" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)local_1090" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "*(int *)(unaff_s0 + 0x18) = iVar5;" (assignment_expression "*(int *)(unaff_s0 + 0x18) = iVar5" (pointer_expression "*(int *)(unaff_s0 + 0x18)" * (cast_expression "(int *)(unaff_s0 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x18)" ( (binary_expression "unaff_s0 + 0x18" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(unaff_s0 + 0x1c) = iVar13;" (assignment_expression "*(int *)(unaff_s0 + 0x1c) = iVar13" (pointer_expression "*(int *)(unaff_s0 + 0x1c)" * (cast_expression "(int *)(unaff_s0 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x1c)" ( (binary_expression "unaff_s0 + 0x1c" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);" (assignment_expression "iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8)" identifier = (call_expression "(*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8)" (parenthesized_expression "(*(code *)puVar12)" ( (pointer_expression "*(code *)puVar12" * (cast_expression "(code *)puVar12" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0,iVar5,iVar13,local_10d8)" ( identifier , identifier , identifier , identifier )))) ;) (if_statement "if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;" if (parenthesized_expression "((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0))" ( (binary_expression "(iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)" (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)" ( (comma_expression "iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0" (assignment_expression "iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8)" identifier = (call_expression "(*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8)" (parenthesized_expression "(*(code *)PTR_ResetImagePixels_003a9334)" ( (pointer_expression "*(code *)PTR_ResetImagePixels_003a9334" * (cast_expression "(code *)PTR_ResetImagePixels_003a9334" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0,local_10d8)" ( identifier , identifier )))) , (binary_expression "iVar5 != 0" identifier != number_literal)) ))) )) (goto_statement "goto LAB_00274594;" goto statement_identifier ;)) (labeled_statement "LAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);" statement_identifier : (expression_statement "uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);" (assignment_expression "uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_DestroyImageList_003a9510)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;)) (goto_statement "goto LAB_00274228;" goto statement_identifier ;) })) (if_statement "if ((int *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }\n                  goto LAB_00274584;\n                }" if (parenthesized_expression "((int *)0x9b < unaff_s7)" ( (binary_expression "(int *)0x9b < unaff_s7" (cast_expression "(int *)0x9b" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) < identifier) )) (compound_statement "{\n                  if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }\n                  goto LAB_00274584;\n                }" { (if_statement "if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }" if (parenthesized_expression "(unaff_s7 == (int *)0xa1)" ( (binary_expression "unaff_s7 == (int *)0xa1" identifier == (cast_expression "(int *)0xa1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }" { (expression_statement "iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (assignment_expression "iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier )))) ;) (expression_statement "uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (assignment_expression "uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier )))) ;) (expression_statement "uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);" (assignment_expression "uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }" if (parenthesized_expression "(((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28))" ( (binary_expression "((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)" (parenthesized_expression "((int)((ulonglong)uVar37 >> 0x20) == 0)" ( (binary_expression "(int)((ulonglong)uVar37 >> 0x20) == 0" (cast_expression "(int)((ulonglong)uVar37 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar37 >> 0x20)" ( (binary_expression "(ulonglong)uVar37 >> 0x20" (cast_expression "(ulonglong)uVar37" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) == number_literal) )) && (parenthesized_expression "((uint)uVar37 < uVar28)" ( (binary_expression "(uint)uVar37 < uVar28" (cast_expression "(uint)uVar37" ( (type_descriptor "uint" type_identifier) ) identifier) < identifier) ))) )) (compound_statement "{\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }" { (if_statement "if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }" if (parenthesized_expression "(unaff_s3 != (byte *)0x0)" ( (binary_expression "unaff_s3 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3)" ( identifier ))) ;) })) (if_statement "if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar26 = 0x562;" (assignment_expression "uVar26 = 0x562" identifier = number_literal) ;) (goto_statement "goto LAB_00275880;" goto statement_identifier ;) })) (if_statement "if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }" if (parenthesized_expression "(uVar28 != 0)" ( (binary_expression "uVar28 != 0" identifier != number_literal) )) (compound_statement "{\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }" { (expression_statement "(*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);" (call_expression "(*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBLong_003a8d98)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBLong_003a8d98" * (cast_expression "(code *)PTR_ReadBlobMSBLong_003a8d98" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier ))) ;) (expression_statement "uVar29 = 4;" (assignment_expression "uVar29 = 4" identifier = number_literal) ;) (if_statement "if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }" if (parenthesized_expression "(uVar28 < 5)" ( (binary_expression "uVar28 < 5" identifier < number_literal) )) (compound_statement "{\n                        uVar29 = uVar28;\n                      }" { (expression_statement "uVar29 = uVar28;" (assignment_expression "uVar29 = uVar28" identifier = identifier) ;) })) (expression_statement "iVar13 = uVar28 - uVar29;" (assignment_expression "iVar13 = uVar28 - uVar29" identifier = (binary_expression "uVar28 - uVar29" identifier - identifier)) ;) (if_statement "if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }" if (parenthesized_expression "((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         ))" ( (binary_expression "(iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )" (parenthesized_expression "(iVar13 != 0)" ( (binary_expression "iVar13 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )" ( (comma_expression "iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0" (assignment_expression "iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1)" identifier = (call_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,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 "(iVar13,1)" ( identifier , number_literal )))) , (binary_expression "iVar9 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }" { (expression_statement "iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);" (assignment_expression "iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9)" identifier = (call_expression "(*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9)" (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 "(unaff_s0,iVar13,iVar9)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }" if (parenthesized_expression "(iVar13 != iVar22)" ( (binary_expression "iVar13 != iVar22" identifier != identifier) )) (compound_statement "{\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9)" (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 "(iVar9)" ( identifier ))) ;) (if_statement "if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }" if (parenthesized_expression "(unaff_s3 != (byte *)0x0)" ( (binary_expression "unaff_s3 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3)" ( identifier ))) ;) })) (if_statement "if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar26 = 0x570;" (assignment_expression "uVar26 = 0x570" identifier = number_literal) ;) (expression_statement "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;" (assignment_expression "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier + number_literal)) ;) (expression_statement "uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);" (assignment_expression "uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" identifier = (call_expression "CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" identifier (argument_list "(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" ( (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal) , (binary_expression "local_10d0 + 0x2210" identifier + number_literal) )))) ;) (expression_statement "puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;" (assignment_expression "puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier + number_literal)) ;) (expression_statement "puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;" (assignment_expression "puVar12 = 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 "uVar8 = 400;" (assignment_expression "uVar8 = 400" identifier = number_literal) ;) (goto_statement "goto LAB_00275084;" goto statement_identifier ;) })) (if_statement "if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }" if (parenthesized_expression "(iVar5 == 0xe0)" ( (binary_expression "iVar5 == 0xe0" identifier == number_literal) )) (compound_statement "{\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }" { (expression_statement "uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);" (assignment_expression "uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13)" identifier = (call_expression "(*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13)" (parenthesized_expression "(*(code *)PTR_BlobToStringInfo_003a96c4)" ( (pointer_expression "*(code *)PTR_BlobToStringInfo_003a96c4" * (cast_expression "(code *)PTR_BlobToStringInfo_003a96c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,iVar13)" ( number_literal , identifier )))) ;) (expression_statement "(*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);" (call_expression "(*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9)" (parenthesized_expression "(*(code *)PTR_SetStringInfoDatum_003a90e0)" ( (pointer_expression "*(code *)PTR_SetStringInfoDatum_003a90e0" * (cast_expression "(code *)PTR_SetStringInfoDatum_003a90e0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar26,iVar9)" ( identifier , identifier ))) ;) (expression_statement "iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);" (assignment_expression "iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8)" identifier = (call_expression "(*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8)" (parenthesized_expression "(*(code *)PTR_SetImageProfile_003a9698)" ( (pointer_expression "*(code *)PTR_SetImageProfile_003a9698" * (cast_expression "(code *)PTR_SetImageProfile_003a9698" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8)" ( identifier , (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890" identifier + number_literal) , identifier , identifier )))) ;) (expression_statement "(*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);" (call_expression "(*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26)" (parenthesized_expression "(*(code *)PTR_DestroyStringInfo_003a8dfc)" ( (pointer_expression "*(code *)PTR_DestroyStringInfo_003a8dfc" * (cast_expression "(code *)PTR_DestroyStringInfo_003a8dfc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar26)" ( identifier ))) ;) (if_statement "if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9)" (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 "(iVar9)" ( identifier ))) ;) (if_statement "if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }" if (parenthesized_expression "(unaff_s3 != (byte *)0x0)" ( (binary_expression "unaff_s3 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3)" ( identifier ))) ;) })) (if_statement "if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar26 = 0x57e;" (assignment_expression "uVar26 = 0x57e" identifier = number_literal) ;) (goto_statement "goto LAB_00275720;" goto statement_identifier ;) })) }) (else_clause "else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }" else (if_statement "if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }" if (parenthesized_expression "(iVar5 == 0x1f2)" ( (binary_expression "iVar5 == 0x1f2" identifier == number_literal) )) (compound_statement "{\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }" { (expression_statement "uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);" (assignment_expression "uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13)" identifier = (call_expression "(*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13)" (parenthesized_expression "(*(code *)PTR_BlobToStringInfo_003a96c4)" ( (pointer_expression "*(code *)PTR_BlobToStringInfo_003a96c4" * (cast_expression "(code *)PTR_BlobToStringInfo_003a96c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,iVar13)" ( number_literal , identifier )))) ;) (expression_statement "(*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);" (call_expression "(*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9)" (parenthesized_expression "(*(code *)PTR_SetStringInfoDatum_003a90e0)" ( (pointer_expression "*(code *)PTR_SetStringInfoDatum_003a90e0" * (cast_expression "(code *)PTR_SetStringInfoDatum_003a90e0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar26,iVar9)" ( identifier , identifier ))) ;) (expression_statement "iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);" (assignment_expression "iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8)" identifier = (call_expression "(*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8)" (parenthesized_expression "(*(code *)PTR_SetImageProfile_003a9698)" ( (pointer_expression "*(code *)PTR_SetImageProfile_003a9698" * (cast_expression "(code *)PTR_SetImageProfile_003a9698" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8)" ( identifier , (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918" identifier + number_literal) , identifier , identifier )))) ;) (if_statement "if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9)" (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 "(iVar9)" ( identifier ))) ;) (if_statement "if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }" if (parenthesized_expression "(unaff_s3 != (byte *)0x0)" ( (binary_expression "unaff_s3 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3)" ( identifier ))) ;) })) (if_statement "if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar26 = 0x58b;" (assignment_expression "uVar26 = 0x58b" identifier = number_literal) ;) (goto_statement "goto LAB_00275720;" goto statement_identifier ;) })) (expression_statement "(*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);" (call_expression "(*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26)" (parenthesized_expression "(*(code *)PTR_DestroyStringInfo_003a8dfc)" ( (pointer_expression "*(code *)PTR_DestroyStringInfo_003a8dfc" * (cast_expression "(code *)PTR_DestroyStringInfo_003a8dfc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar26)" ( identifier ))) ;) })))) (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9)" (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 "(iVar9)" ( identifier ))) ;) })) })) (goto_statement "goto LAB_00274594;" goto statement_identifier ;) })) (labeled_statement "LAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);" statement_identifier : (expression_statement "iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);" (assignment_expression "iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850)" identifier = (pointer_expression "*(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850)" * (cast_expression "(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850)" ( (binary_expression "PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850" (binary_expression "PTR_DAT_003a8948 + (int)unaff_s7 * 0xc" identifier + (binary_expression "(int)unaff_s7 * 0xc" (cast_expression "(int)unaff_s7" ( (type_descriptor "int" primitive_type) ) identifier) * number_literal)) + number_literal) ))))) ;)) (if_statement "if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }" if (parenthesized_expression "(iVar5 == -1)" ( (binary_expression "iVar5 == -1" identifier == number_literal) )) (compound_statement "{\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }" { (expression_statement "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier ))) ;) }) (else_clause "else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }" else (compound_statement "{\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }" { (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" identifier = number_literal) ;) (if_statement "if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }" if (parenthesized_expression "(0 < iVar5)" ( (binary_expression "0 < iVar5" number_literal < identifier) )) (compound_statement "{\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }" { (do_statement "do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);" do (compound_statement "{\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      }" { (expression_statement "iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (iVar9 == -1) break;" if (parenthesized_expression "(iVar9 == -1)" ( (binary_expression "iVar9 == -1" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar13 = iVar13 + 1;" (assignment_expression "iVar13 = iVar13 + 1" identifier = (binary_expression "iVar13 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar5 != iVar13)" ( (binary_expression "iVar5 != iVar13" identifier != identifier) )) ;) })) }))) (goto_statement "goto LAB_00274584;" goto statement_identifier ;) })) (if_statement "if ((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)) goto LAB_002752a0;" if (parenthesized_expression "((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24))" ( (binary_expression "(unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)" (parenthesized_expression "(unaff_s7 < (int *)0x98)" ( (binary_expression "unaff_s7 < (int *)0x98" identifier < (cast_expression "(int *)0x98" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "((int *)0x1 < unaff_s7 + -0x24)" ( (binary_expression "(int *)0x1 < unaff_s7 + -0x24" (cast_expression "(int *)0x1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) < (binary_expression "unaff_s7 + -0x24" identifier + number_literal)) ))) )) (goto_statement "goto LAB_002752a0;" goto statement_identifier ;)) (expression_statement "bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2;" (assignment_expression "bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2" identifier = (binary_expression "(undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2" (cast_expression "(undefined1 *)((int)unaff_s7 + -0x9a)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_s7 + -0x9a)" ( (binary_expression "(int)unaff_s7 + -0x9a" (cast_expression "(int)unaff_s7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))) < (cast_expression "(undefined1 *)0x2" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (if_statement "if (bVar3) {\n                  uVar28 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }" if (parenthesized_expression "(bVar3)" ( identifier )) (compound_statement "{\n                  uVar28 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }" { (expression_statement "uVar28 = 0;" (assignment_expression "uVar28 = 0" identifier = number_literal) ;) (expression_statement "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier ))) ;) }) (else_clause "else {\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }" else (compound_statement "{\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }" { (expression_statement "uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();" (assignment_expression "uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)()" identifier = (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)()" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) }))) (expression_statement "iVar5 = FUN_002739c8(unaff_s0,local_10bc);" (assignment_expression "iVar5 = FUN_002739c8(unaff_s0,local_10bc)" identifier = (call_expression "FUN_002739c8(unaff_s0,local_10bc)" identifier (argument_list "(unaff_s0,local_10bc)" ( identifier , identifier )))) ;) (if_statement "if (iVar5 != 0) {\n                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);\n                  if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);\n                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }\n                  piVar7[9] = 2;\nLAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);\n                  if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }\n                  iVar5 = piVar7[9];\n                  if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }\nLAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar26 = 0x4d7;\n                  unaff_s7 = piVar7;\n                  goto LAB_00275880;\n                }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);\n                  if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);\n                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }\n                  piVar7[9] = 2;\nLAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);\n                  if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }\n                  iVar5 = piVar7[9];\n                  if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }\nLAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar26 = 0x4d7;\n                  unaff_s7 = piVar7;\n                  goto LAB_00275880;\n                }" { (expression_statement "piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);" (assignment_expression "piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1)" identifier = (cast_expression "(int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1)" (parenthesized_expression "(*(code *)PTR_CloneImage_003a9830)" ( (pointer_expression "*(code *)PTR_CloneImage_003a9830" * (cast_expression "(code *)PTR_CloneImage_003a9830" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1)" ( identifier , (binary_expression "(int)local_108a - (int)local_108e" (cast_expression "(int)local_108a" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)local_108e" ( (type_descriptor "int" primitive_type) ) identifier)) , (binary_expression "(int)local_108c - (int)local_1090" (cast_expression "(int)local_108c" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)local_1090" ( (type_descriptor "int" primitive_type) ) identifier)) , number_literal ))))) ;) (if_statement "if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }" if (parenthesized_expression "(piVar7 == (int *)0x0)" ( (binary_expression "piVar7 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }" { (if_statement "if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar26 = 0x498;" (assignment_expression "uVar26 = 0x498" identifier = number_literal) ;) (goto_statement "goto LAB_002757bc;" goto statement_identifier ;) })) (expression_statement "(*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);" (call_expression "(*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8)" (parenthesized_expression "(*(code *)PTR_ResetImagePixels_003a9334)" ( (pointer_expression "*(code *)PTR_ResetImagePixels_003a9334" * (cast_expression "(code *)PTR_ResetImagePixels_003a9334" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar7,local_10d8)" ( identifier , identifier ))) ;) (if_statement "if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }" if (parenthesized_expression "((bVar3) || ((uVar28 & 0x8000) != 0))" ( (binary_expression "(bVar3) || ((uVar28 & 0x8000) != 0)" (parenthesized_expression "(bVar3)" ( identifier )) || (parenthesized_expression "((uVar28 & 0x8000) != 0)" ( (binary_expression "(uVar28 & 0x8000) != 0" (parenthesized_expression "(uVar28 & 0x8000)" ( (binary_expression "uVar28 & 0x8000" identifier & number_literal) )) != number_literal) ))) )) (compound_statement "{\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }" { (expression_statement "iVar5 = FUN_00273794(unaff_s0,auStack_1078);" (assignment_expression "iVar5 = FUN_00273794(unaff_s0,auStack_1078)" identifier = (call_expression "FUN_00273794(unaff_s0,auStack_1078)" identifier (argument_list "(unaff_s0,auStack_1078)" ( identifier , identifier )))) ;) (if_statement "if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }" { (expression_statement "piVar7[8] = (int)local_1062;" (assignment_expression "piVar7[8] = (int)local_1062" (subscript_expression "piVar7[8]" identifier [ number_literal ]) = (cast_expression "(int)local_1062" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "puVar12 = PTR_SetImageAlpha_003a8c78;" (assignment_expression "puVar12 = PTR_SetImageAlpha_003a8c78" identifier = identifier) ;) (expression_statement "dVar33 = (double)local_1070;" (assignment_expression "dVar33 = (double)local_1070" identifier = (cast_expression "(double)local_1070" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (if_statement "if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }" if (parenthesized_expression "(local_1070 < 0)" ( (binary_expression "local_1070 < 0" identifier < number_literal) )) (compound_statement "{\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }" { (expression_statement "dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);" (assignment_expression "dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418)" identifier = (binary_expression "dVar33 + *(double *)(local_10c8 + 0x1418)" identifier + (pointer_expression "*(double *)(local_10c8 + 0x1418)" * (cast_expression "(double *)(local_10c8 + 0x1418)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_10c8 + 0x1418)" ( (binary_expression "local_10c8 + 0x1418" identifier + number_literal) )))))) ;) })) (expression_statement "dVar32 = (double)local_106c;" (assignment_expression "dVar32 = (double)local_106c" identifier = (cast_expression "(double)local_106c" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (if_statement "if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }" if (parenthesized_expression "(local_106c < 0)" ( (binary_expression "local_106c < 0" identifier < number_literal) )) (compound_statement "{\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }" { (expression_statement "dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);" (assignment_expression "dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418)" identifier = (binary_expression "dVar32 + *(double *)(local_10c8 + 0x1418)" identifier + (pointer_expression "*(double *)(local_10c8 + 0x1418)" * (cast_expression "(double *)(local_10c8 + 0x1418)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_10c8 + 0x1418)" ( (binary_expression "local_10c8 + 0x1418" identifier + number_literal) )))))) ;) })) (if_statement "if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }" if (parenthesized_expression "(local_1064 == 4)" ( (binary_expression "local_1064 == 4" identifier == number_literal) )) (compound_statement "{\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }" { (expression_statement "piVar7[0xaf] = 4;" (assignment_expression "piVar7[0xaf] = 4" (subscript_expression "piVar7[0xaf]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar7[0x80] = 1;" (assignment_expression "piVar7[0x80] = 1" (subscript_expression "piVar7[0x80]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar21 = PTR_LAB_003a88e0;" (assignment_expression "puVar21 = PTR_LAB_003a88e0" identifier = identifier) ;) (expression_statement "*(double *)(piVar7 + 0x86) = dVar33;" (assignment_expression "*(double *)(piVar7 + 0x86) = dVar33" (pointer_expression "*(double *)(piVar7 + 0x86)" * (cast_expression "(double *)(piVar7 + 0x86)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 0x86)" ( (binary_expression "piVar7 + 0x86" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(double *)(piVar7 + 0x88) = dVar32;" (assignment_expression "*(double *)(piVar7 + 0x88) = dVar32" (pointer_expression "*(double *)(piVar7 + 0x88)" * (cast_expression "(double *)(piVar7 + 0x88)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 0x88)" ( (binary_expression "piVar7 + 0x88" identifier + number_literal) )))) = identifier) ;) (expression_statement "(*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);" (call_expression "(*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8)" (parenthesized_expression "(*(code *)puVar12)" ( (pointer_expression "*(code *)puVar12" * (cast_expression "(code *)puVar12" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8)" ( identifier , (pointer_expression "*(undefined4 *)(puVar21 + 0x1a50)" * (cast_expression "(undefined4 *)(puVar21 + 0x1a50)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar21 + 0x1a50)" ( (binary_expression "puVar21 + 0x1a50" identifier + number_literal) )))) , identifier ))) ;) }) (else_clause "else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }" else (compound_statement "{\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }" { (expression_statement "*(double *)(piVar7 + 0x86) = dVar33;" (assignment_expression "*(double *)(piVar7 + 0x86) = dVar33" (pointer_expression "*(double *)(piVar7 + 0x86)" * (cast_expression "(double *)(piVar7 + 0x86)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 0x86)" ( (binary_expression "piVar7 + 0x86" identifier + number_literal) )))) = identifier) ;) (expression_statement "piVar7[0xaf] = 0;" (assignment_expression "piVar7[0xaf] = 0" (subscript_expression "piVar7[0xaf]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(double *)(piVar7 + 0x88) = dVar32;" (assignment_expression "*(double *)(piVar7 + 0x88) = dVar32" (pointer_expression "*(double *)(piVar7 + 0x88)" * (cast_expression "(double *)(piVar7 + 0x88)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 0x88)" ( (binary_expression "piVar7 + 0x88" identifier + number_literal) )))) = identifier) ;) (expression_statement "piVar7[0x80] = 1;" (assignment_expression "piVar7[0x80] = 1" (subscript_expression "piVar7[0x80]" identifier [ number_literal ]) = number_literal) ;) }))) (if_statement "if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }" if (parenthesized_expression "(!bVar3)" ( (unary_expression "!bVar3" ! identifier) )) (compound_statement "{\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }" { (expression_statement "piVar7[9] = 2;" (assignment_expression "piVar7[9] = 2" (subscript_expression "piVar7[9]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;" if (parenthesized_expression "((uVar28 & 0x8000) == 0)" ( (binary_expression "(uVar28 & 0x8000) == 0" (parenthesized_expression "(uVar28 & 0x8000)" ( (binary_expression "uVar28 & 0x8000" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_0027565c;" goto statement_identifier ;)) (expression_statement "(*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);" (call_expression "(*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBLong_003a8d98)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBLong_003a8d98" * (cast_expression "(code *)PTR_ReadBlobMSBLong_003a8d98" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier ))) ;) (expression_statement "sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (assignment_expression "sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier )))) ;) (expression_statement "iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (assignment_expression "iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier )))) ;) (expression_statement "puVar12 = PTR_AcquireImageColormap_003a9194;" (assignment_expression "puVar12 = PTR_AcquireImageColormap_003a9194" identifier = identifier) ;) (expression_statement "piVar7[9] = iVar5 + 1;" (assignment_expression "piVar7[9] = iVar5 + 1" (subscript_expression "piVar7[9]" identifier [ number_literal ]) = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);" (assignment_expression "iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8)" identifier = (call_expression "(*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8)" (parenthesized_expression "(*(code *)puVar12)" ( (pointer_expression "*(code *)puVar12" * (cast_expression "(code *)puVar12" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar7,iVar5 + 1,local_10d8)" ( identifier , (binary_expression "iVar5 + 1" identifier + number_literal) , identifier )))) ;) (if_statement "if (iVar5 == 0) goto LAB_002756e4;" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (goto_statement "goto LAB_002756e4;" goto statement_identifier ;)) (if_statement "if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }" if (parenthesized_expression "(0 < piVar7[9])" ( (binary_expression "0 < piVar7[9]" number_literal < (subscript_expression "piVar7[9]" identifier [ number_literal ])) )) (compound_statement "{\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }" { (expression_statement "uVar29 = 0;" (assignment_expression "uVar29 = 0" identifier = number_literal) ;) (do_statement "do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);" do (compound_statement "{\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          }" { (expression_statement "uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (assignment_expression "uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier )))) ;) (expression_statement "uVar30 = uVar29;" (assignment_expression "uVar30 = uVar29" identifier = identifier) ;) (if_statement "if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }" if (parenthesized_expression "(-1 < sVar15)" ( (binary_expression "-1 < sVar15" number_literal < identifier) )) (compound_statement "{\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }" { (if_statement "if (piVar7[9] == 0) {\n                                trap(7);\n                              }" if (parenthesized_expression "(piVar7[9] == 0)" ( (binary_expression "piVar7[9] == 0" (subscript_expression "piVar7[9]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n                                trap(7);\n                              }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar30 = uVar14 % (uint)piVar7[9];" (assignment_expression "uVar30 = uVar14 % (uint)piVar7[9]" identifier = (binary_expression "uVar14 % (uint)piVar7[9]" identifier % (cast_expression "(uint)piVar7[9]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "piVar7[9]" identifier [ number_literal ])))) ;) })) (expression_statement "uVar29 = uVar29 + 1;" (assignment_expression "uVar29 = uVar29 + 1" identifier = (binary_expression "uVar29 + 1" identifier + number_literal)) ;) (expression_statement "iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (assignment_expression "iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier )))) ;) (expression_statement "puVar12 = PTR_ReadBlobMSBShort_003a9160;" (assignment_expression "puVar12 = PTR_ReadBlobMSBShort_003a9160" identifier = identifier) ;) (expression_statement "iVar9 = uVar30 * 0x58;" (assignment_expression "iVar9 = uVar30 * 0x58" identifier = (binary_expression "uVar30 * 0x58" identifier * number_literal)) ;) (expression_statement "*(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;" (assignment_expression "*(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5" (pointer_expression "*(double *)(piVar7[10] + iVar9 + 0x28)" * (cast_expression "(double *)(piVar7[10] + iVar9 + 0x28)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7[10] + iVar9 + 0x28)" ( (binary_expression "piVar7[10] + iVar9 + 0x28" (binary_expression "piVar7[10] + iVar9" (subscript_expression "piVar7[10]" identifier [ number_literal ]) + identifier) + number_literal) )))) = (cast_expression "(double)iVar5" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (expression_statement "iVar5 = (*(code *)puVar12)(unaff_s0);" (assignment_expression "iVar5 = (*(code *)puVar12)(unaff_s0)" identifier = (call_expression "(*(code *)puVar12)(unaff_s0)" (parenthesized_expression "(*(code *)puVar12)" ( (pointer_expression "*(code *)puVar12" * (cast_expression "(code *)puVar12" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier )))) ;) (expression_statement "puVar12 = PTR_ReadBlobMSBShort_003a9160;" (assignment_expression "puVar12 = PTR_ReadBlobMSBShort_003a9160" identifier = identifier) ;) (expression_statement "*(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;" (assignment_expression "*(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5" (pointer_expression "*(double *)(piVar7[10] + iVar9 + 0x30)" * (cast_expression "(double *)(piVar7[10] + iVar9 + 0x30)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7[10] + iVar9 + 0x30)" ( (binary_expression "piVar7[10] + iVar9 + 0x30" (binary_expression "piVar7[10] + iVar9" (subscript_expression "piVar7[10]" identifier [ number_literal ]) + identifier) + number_literal) )))) = (cast_expression "(double)iVar5" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (expression_statement "iVar5 = (*(code *)puVar12)(unaff_s0);" (assignment_expression "iVar5 = (*(code *)puVar12)(unaff_s0)" identifier = (call_expression "(*(code *)puVar12)(unaff_s0)" (parenthesized_expression "(*(code *)puVar12)" ( (pointer_expression "*(code *)puVar12" * (cast_expression "(code *)puVar12" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier )))) ;) (expression_statement "iVar13 = piVar7[9];" (assignment_expression "iVar13 = piVar7[9]" identifier = (subscript_expression "piVar7[9]" identifier [ number_literal ])) ;) (expression_statement "unaff_s3 = (byte *)(piVar7[10] + iVar9);" (assignment_expression "unaff_s3 = (byte *)(piVar7[10] + iVar9)" identifier = (cast_expression "(byte *)(piVar7[10] + iVar9)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7[10] + iVar9)" ( (binary_expression "piVar7[10] + iVar9" (subscript_expression "piVar7[10]" identifier [ number_literal ]) + identifier) )))) ;) (expression_statement "*(double *)(unaff_s3 + 0x38) = (double)iVar5;" (assignment_expression "*(double *)(unaff_s3 + 0x38) = (double)iVar5" (pointer_expression "*(double *)(unaff_s3 + 0x38)" * (cast_expression "(double *)(unaff_s3 + 0x38)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s3 + 0x38)" ( (binary_expression "unaff_s3 + 0x38" identifier + number_literal) )))) = (cast_expression "(double)iVar5" ( (type_descriptor "double" primitive_type) ) identifier)) ;) }) while (parenthesized_expression "((int)uVar29 < iVar13)" ( (binary_expression "(int)uVar29 < iVar13" (cast_expression "(int)uVar29" ( (type_descriptor "int" primitive_type) ) identifier) < identifier) )) ;) })) })) (goto_statement "goto LAB_00274838;" goto statement_identifier ;) })) (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(piVar7)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar7)" ( identifier ))) ;) (if_statement "if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar26 = 0x49e;" (assignment_expression "uVar26 = 0x49e" identifier = number_literal) ;) (expression_statement "unaff_s7 = piVar7;" (assignment_expression "unaff_s7 = piVar7" identifier = identifier) ;) (goto_statement "goto LAB_002757bc;" goto statement_identifier ;) })) (expression_statement "piVar7[9] = 2;" (assignment_expression "piVar7[9] = 2" (subscript_expression "piVar7[9]" identifier [ number_literal ]) = number_literal) ;) (labeled_statement "LAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);" statement_identifier : (expression_statement "iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);" (assignment_expression "iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8)" identifier = (call_expression "(*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8)" (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 "(piVar7,2,local_10d8)" ( identifier , number_literal , identifier )))) ;)) (if_statement "if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }" { (labeled_statement "LAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);" statement_identifier : (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(piVar7)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar7)" ( identifier ))) ;)) (if_statement "if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar26 = 0x4b8;" (assignment_expression "uVar26 = 0x4b8" identifier = number_literal) ;) (expression_statement "unaff_s7 = piVar7;" (assignment_expression "unaff_s7 = piVar7" identifier = identifier) ;) (labeled_statement "LAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;" statement_identifier : (expression_statement "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;" (assignment_expression "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier + number_literal)) ;)) (expression_statement "uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);" (assignment_expression "uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" identifier = (call_expression "CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" identifier (argument_list "(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" ( (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal) , (binary_expression "local_10d0 + 0x2210" identifier + number_literal) )))) ;) (expression_statement "puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;" (assignment_expression "puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier + number_literal)) ;) (expression_statement "puVar12 = PTR_LAB_003a88e0 + 0x16f8;" (assignment_expression "puVar12 = PTR_LAB_003a88e0 + 0x16f8" identifier = (binary_expression "PTR_LAB_003a88e0 + 0x16f8" identifier + number_literal)) ;) (expression_statement "uVar8 = 400;" (assignment_expression "uVar8 = 400" identifier = number_literal) ;) (goto_statement "goto LAB_00275084;" goto statement_identifier ;) })) (expression_statement "iVar5 = piVar7[9];" (assignment_expression "iVar5 = piVar7[9]" identifier = (subscript_expression "piVar7[9]" identifier [ number_literal ])) ;) (if_statement "if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }" if (parenthesized_expression "(0 < iVar5)" ( (binary_expression "0 < iVar5" number_literal < identifier) )) (compound_statement "{\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }" { (expression_statement "iVar13 = piVar7[10];" (assignment_expression "iVar13 = piVar7[10]" identifier = (subscript_expression "piVar7[10]" identifier [ number_literal ])) ;) (expression_statement "pdVar10 = (double *)(iVar13 + 0x28);" (assignment_expression "pdVar10 = (double *)(iVar13 + 0x28)" identifier = (cast_expression "(double *)(iVar13 + 0x28)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x28)" ( (binary_expression "iVar13 + 0x28" identifier + number_literal) )))) ;) (do_statement "do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));" do (compound_statement "{\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    }" { (expression_statement "pdVar11 = pdVar10 + 0xb;" (assignment_expression "pdVar11 = pdVar10 + 0xb" identifier = (binary_expression "pdVar10 + 0xb" identifier + number_literal)) ;) (expression_statement "*pdVar10 = (double)(float)(in_f20_21 - *pdVar10);" (assignment_expression "*pdVar10 = (double)(float)(in_f20_21 - *pdVar10)" (pointer_expression "*pdVar10" * identifier) = (cast_expression "(double)(float)(in_f20_21 - *pdVar10)" ( (type_descriptor "double" primitive_type) ) (cast_expression "(float)(in_f20_21 - *pdVar10)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "(in_f20_21 - *pdVar10)" ( (binary_expression "in_f20_21 - *pdVar10" identifier - (pointer_expression "*pdVar10" * identifier)) ))))) ;) (expression_statement "pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);" (assignment_expression "pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1])" (subscript_expression "pdVar10[1]" identifier [ number_literal ]) = (cast_expression "(double)(float)(in_f20_21 - pdVar10[1])" ( (type_descriptor "double" primitive_type) ) (cast_expression "(float)(in_f20_21 - pdVar10[1])" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "(in_f20_21 - pdVar10[1])" ( (binary_expression "in_f20_21 - pdVar10[1]" identifier - (subscript_expression "pdVar10[1]" identifier [ number_literal ])) ))))) ;) (expression_statement "pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);" (assignment_expression "pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2])" (subscript_expression "pdVar10[2]" identifier [ number_literal ]) = (cast_expression "(double)(float)(in_f20_21 - pdVar10[2])" ( (type_descriptor "double" primitive_type) ) (cast_expression "(float)(in_f20_21 - pdVar10[2])" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "(in_f20_21 - pdVar10[2])" ( (binary_expression "in_f20_21 - pdVar10[2]" identifier - (subscript_expression "pdVar10[2]" identifier [ number_literal ])) ))))) ;) (expression_statement "pdVar10 = pdVar11;" (assignment_expression "pdVar10 = pdVar11" identifier = identifier) ;) }) while (parenthesized_expression "(pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28))" ( (binary_expression "pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28)" identifier != (cast_expression "(double *)(iVar5 * 0x58 + iVar13 + 0x28)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 * 0x58 + iVar13 + 0x28)" ( (binary_expression "iVar5 * 0x58 + iVar13 + 0x28" (binary_expression "iVar5 * 0x58 + iVar13" (binary_expression "iVar5 * 0x58" identifier * number_literal) + identifier) + number_literal) )))) )) ;) })) (labeled_statement "LAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);" statement_identifier : (expression_statement "iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);" (assignment_expression "iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_EOFBlob_003a9748)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;)) (if_statement "if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }" { (expression_statement "iVar5 = FUN_002739c8(unaff_s0,auStack_1088);" (assignment_expression "iVar5 = FUN_002739c8(unaff_s0,auStack_1088)" identifier = (call_expression "FUN_002739c8(unaff_s0,auStack_1088)" identifier (argument_list "(unaff_s0,auStack_1088)" ( identifier , identifier )))) ;) (if_statement "if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(piVar7)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar7)" ( identifier ))) ;) (if_statement "if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar26 = 0x4d9;" (assignment_expression "uVar26 = 0x4d9" identifier = number_literal) ;) (expression_statement "unaff_s7 = piVar7;" (assignment_expression "unaff_s7 = piVar7" identifier = identifier) ;) }) (else_clause "else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }" else (compound_statement "{\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }" { (expression_statement "iVar5 = FUN_002739c8(unaff_s0,&local_1080);" (assignment_expression "iVar5 = FUN_002739c8(unaff_s0,&local_1080)" identifier = (call_expression "FUN_002739c8(unaff_s0,&local_1080)" identifier (argument_list "(unaff_s0,&local_1080)" ( identifier , (pointer_expression "&local_1080" & identifier) )))) ;) (if_statement "if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }" { (expression_statement "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier ))) ;) (if_statement "if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }" if (parenthesized_expression "((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b))" ( (binary_expression "(((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)" (parenthesized_expression "(((uint)piVar6 & 0xfff7) == 0x91)" ( (binary_expression "((uint)piVar6 & 0xfff7) == 0x91" (parenthesized_expression "((uint)piVar6 & 0xfff7)" ( (binary_expression "(uint)piVar6 & 0xfff7" (cast_expression "(uint)piVar6" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) )) == number_literal) )) || (parenthesized_expression "(unaff_s7 == (int *)0x9b)" ( (binary_expression "unaff_s7 == (int *)0x9b" identifier == (cast_expression "(int *)0x9b" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }" { (expression_statement "uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (assignment_expression "uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier )))) ;) (expression_statement "uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);" (assignment_expression "uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }" if (parenthesized_expression "(((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29))" ( (binary_expression "((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)" (parenthesized_expression "((int)((ulonglong)uVar37 >> 0x20) == 0)" ( (binary_expression "(int)((ulonglong)uVar37 >> 0x20) == 0" (cast_expression "(int)((ulonglong)uVar37 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar37 >> 0x20)" ( (binary_expression "(ulonglong)uVar37 >> 0x20" (cast_expression "(ulonglong)uVar37" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) == number_literal) )) && (parenthesized_expression "((uint)uVar37 < uVar29)" ( (binary_expression "(uint)uVar37 < uVar29" (cast_expression "(uint)uVar37" ( (type_descriptor "uint" type_identifier) ) identifier) < identifier) ))) )) (compound_statement "{\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(piVar7)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar7)" ( identifier ))) ;) (if_statement "if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar26 = 0x4e5;" (assignment_expression "uVar26 = 0x4e5" identifier = number_literal) ;) (expression_statement "unaff_s7 = piVar7;" (assignment_expression "unaff_s7 = piVar7" identifier = identifier) ;) (goto_statement "goto LAB_00275880;" goto statement_identifier ;) })) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (if_statement "if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }" if (parenthesized_expression "(0 < (int)(uVar29 - 2))" ( (binary_expression "0 < (int)(uVar29 - 2)" number_literal < (cast_expression "(int)(uVar29 - 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar29 - 2)" ( (binary_expression "uVar29 - 2" identifier - number_literal) )))) )) (compound_statement "{\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }" { (do_statement "do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);" do (compound_statement "{\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            }" { (expression_statement "iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (iVar13 == -1) break;" if (parenthesized_expression "(iVar13 == -1)" ( (binary_expression "iVar13 == -1" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar29 - 2 != iVar5)" ( (binary_expression "uVar29 - 2 != iVar5" (binary_expression "uVar29 - 2" identifier - number_literal) != identifier) )) ;) })) })) (if_statement "if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }" if (parenthesized_expression "((bVar3) || ((uVar28 & 0x8000) != 0))" ( (binary_expression "(bVar3) || ((uVar28 & 0x8000) != 0)" (parenthesized_expression "(bVar3)" ( identifier )) || (parenthesized_expression "((uVar28 & 0x8000) != 0)" ( (binary_expression "(uVar28 & 0x8000) != 0" (parenthesized_expression "(uVar28 & 0x8000)" ( (binary_expression "uVar28 & 0x8000" identifier & number_literal) )) != number_literal) ))) )) (compound_statement "{\n                          iVar5 = (int)local_1066;\n                        }" { (expression_statement "iVar5 = (int)local_1066;" (assignment_expression "iVar5 = (int)local_1066" identifier = (cast_expression "(int)local_1066" ( (type_descriptor "int" primitive_type) ) identifier)) ;) }) (else_clause "else {\n                          iVar5 = 1;\n                        }" else (compound_statement "{\n                          iVar5 = 1;\n                        }" { (expression_statement "iVar5 = 1;" (assignment_expression "iVar5 = 1" identifier = number_literal) ;) }))) (expression_statement "unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);" (assignment_expression "unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5)" identifier = (cast_expression "(byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5)" identifier (argument_list "(unaff_s0,piVar7,uVar28,iVar5)" ( identifier , identifier , identifier , identifier ))))) ;) (if_statement "if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }" if (parenthesized_expression "(unaff_s3 == (byte *)0x0)" ( (binary_expression "unaff_s3 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(piVar7)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar7)" ( identifier ))) ;) (if_statement "if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar26 = 0x4f2;" (assignment_expression "uVar26 = 0x4f2" identifier = number_literal) ;) (expression_statement "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;" (assignment_expression "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier + number_literal)) ;) (expression_statement "uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);" (assignment_expression "uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" identifier = (call_expression "CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" identifier (argument_list "(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" ( (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal) , (binary_expression "local_10d0 + 0x2210" identifier + number_literal) )))) ;) (expression_statement "puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;" (assignment_expression "puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier + number_literal)) ;) (expression_statement "puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;" (assignment_expression "puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00" identifier + number_literal)) ;) }) (else_clause "else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }" else (compound_statement "{\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }" { (if_statement "if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }" if (parenthesized_expression "(piVar7[7] < 1)" ( (binary_expression "piVar7[7] < 1" (subscript_expression "piVar7[7]" identifier [ number_literal ]) < number_literal) )) (compound_statement "{\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }" { (labeled_statement "LAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);" statement_identifier : (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3)" (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 "(unaff_s3)" ( identifier ))) ;)) (if_statement "if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }" if (parenthesized_expression "(((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0))))" ( (binary_expression "((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))" (parenthesized_expression "((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0))" ( (binary_expression "(local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)" (parenthesized_expression "(local_10b8 == 0)" ( (binary_expression "local_10b8 == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)" ( (comma_expression "iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0" (assignment_expression "iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_EOFBlob_003a9748)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) , (binary_expression "iVar5 == 0" identifier == number_literal)) ))) )) && (parenthesized_expression "((bVar3 || ((uVar28 & 0x8000) != 0)))" ( (parenthesized_expression "(bVar3 || ((uVar28 & 0x8000) != 0))" ( (binary_expression "bVar3 || ((uVar28 & 0x8000) != 0)" identifier || (parenthesized_expression "((uVar28 & 0x8000) != 0)" ( (binary_expression "(uVar28 & 0x8000) != 0" (parenthesized_expression "(uVar28 & 0x8000)" ( (binary_expression "uVar28 & 0x8000" identifier & number_literal) )) != number_literal) ))) )) ))) )) (compound_statement "{\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }" { (expression_statement "(*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);" (call_expression "(*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_)" (parenthesized_expression "(*(code *)PTR_CompositeImage_003a8cc4)" ( (pointer_expression "*(code *)PTR_CompositeImage_003a8cc4" * (cast_expression "(code *)PTR_CompositeImage_003a8cc4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_)" ( identifier , identifier , number_literal , number_literal , (cast_expression "(int)local_1080._2_2_" ( (type_descriptor "int" primitive_type) ) (field_expression "local_1080._2_2_" identifier . field_identifier)) , (cast_expression "(int)local_1080._0_2_" ( (type_descriptor "int" primitive_type) ) (field_expression "local_1080._0_2_" identifier . field_identifier)) ))) ;) })) (expression_statement "unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);" (assignment_expression "unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7)" identifier = (cast_expression "(byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(piVar7)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar7)" ( identifier ))))) ;) (goto_statement "goto LAB_00274584;" goto statement_identifier ;) })) (if_statement "if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }" if (parenthesized_expression "(unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094)" ( (binary_expression "unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094" identifier <= (binary_expression "unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094" (binary_expression "unaff_s3 + *(int *)(unaff_s0 + 0x18)" identifier + (pointer_expression "*(int *)(unaff_s0 + 0x18)" * (cast_expression "(int *)(unaff_s0 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x18)" ( (binary_expression "unaff_s0 + 0x18" identifier + number_literal) ))))) + identifier)) )) (compound_statement "{\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }" { (expression_statement "local_10b0 = 0;" (assignment_expression "local_10b0 = 0" identifier = number_literal) ;) (expression_statement "puVar12 = PTR_LAB_003a88e0 + 0x3e28;" (assignment_expression "puVar12 = PTR_LAB_003a88e0 + 0x3e28" identifier = (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal)) ;) (expression_statement "puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;" (assignment_expression "puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990" identifier = (binary_expression "PTR_s_t_to_left_003a88e4 + -0x5990" identifier + number_literal)) ;) (expression_statement "uVar29 = 0;" (assignment_expression "uVar29 = 0" identifier = number_literal) ;) (expression_statement "pbVar31 = unaff_s3;" (assignment_expression "pbVar31 = unaff_s3" identifier = identifier) ;) (do_statement "do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);" do (compound_statement "{\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            }" { (expression_statement "iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);" (assignment_expression "iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8)" identifier = (call_expression "(*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8)" (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 "(piVar7,0,uVar29,piVar7[6],1,local_10d8)" ( identifier , number_literal , identifier , (subscript_expression "piVar7[6]" identifier [ number_literal ]) , number_literal , identifier )))) ;) (if_statement "if (iVar5 == 0) goto LAB_00276500;" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00276500;" goto statement_identifier ;)) (expression_statement "iVar13 = piVar7[6];" (assignment_expression "iVar13 = piVar7[6]" identifier = (subscript_expression "piVar7[6]" identifier [ number_literal ])) ;) (if_statement "if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }" if (parenthesized_expression "(0 < iVar13)" ( (binary_expression "0 < iVar13" number_literal < identifier) )) (compound_statement "{\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }" { (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" identifier = number_literal) ;) (expression_statement "dVar32 = *(double *)(local_10ac + -0x5af0);" (assignment_expression "dVar32 = *(double *)(local_10ac + -0x5af0)" identifier = (pointer_expression "*(double *)(local_10ac + -0x5af0)" * (cast_expression "(double *)(local_10ac + -0x5af0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_10ac + -0x5af0)" ( (binary_expression "local_10ac + -0x5af0" identifier + number_literal) ))))) ;) (expression_statement "dVar33 = dVar32;" (assignment_expression "dVar33 = dVar32" identifier = identifier) ;) (do_statement "do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);" do (compound_statement "{\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                }" { (if_statement "if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }" if (parenthesized_expression "(*piVar7 == 2)" ( (binary_expression "*piVar7 == 2" (pointer_expression "*piVar7" * identifier) == number_literal) )) (compound_statement "{\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }" { (if_statement "if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }" if (parenthesized_expression "((int)(uint)*pbVar31 < piVar7[9])" ( (binary_expression "(int)(uint)*pbVar31 < piVar7[9]" (binary_expression "(int)(uint)*pbVar31" (cast_expression "(int)(uint)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uint)" ( identifier ))) * identifier) < (subscript_expression "piVar7[9]" identifier [ number_literal ])) )) (compound_statement "{\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }" { (expression_statement "fVar34 = (float)*pbVar31;" (assignment_expression "fVar34 = (float)*pbVar31" identifier = (cast_expression "(float)*pbVar31" ( (type_descriptor "float" primitive_type) ) (pointer_expression "*pbVar31" * identifier))) ;) (expression_statement "iVar22 = (int)fVar34 * 0x58;" (assignment_expression "iVar22 = (int)fVar34 * 0x58" identifier = (binary_expression "(int)fVar34 * 0x58" (cast_expression "(int)fVar34" ( (type_descriptor "int" primitive_type) ) identifier) * number_literal)) ;) }) (else_clause "else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }" else (if_statement "if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }" if (parenthesized_expression "(*local_10d8 == 0x1a9)" ( (binary_expression "*local_10d8 == 0x1a9" (pointer_expression "*local_10d8" * identifier) == number_literal) )) (compound_statement "{\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }" { (expression_statement "fVar34 = 0.0;" (assignment_expression "fVar34 = 0.0" identifier = number_literal) ;) (expression_statement "iVar22 = 0;" (assignment_expression "iVar22 = 0" identifier = number_literal) ;) }) (else_clause "else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }" else (compound_statement "{\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }" { (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 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 "(local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0)" ( identifier , (binary_expression "PTR_s_courses_003a88ec + 0x6f4" identifier + number_literal) , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4" identifier + number_literal) , number_literal , number_literal , identifier , identifier , (binary_expression "piVar7 + 0xd0" identifier + number_literal) ))) ;) (expression_statement "fVar34 = 0.0;" (assignment_expression "fVar34 = 0.0" identifier = number_literal) ;) (expression_statement "iVar22 = 0;" (assignment_expression "iVar22 = 0" identifier = number_literal) ;) (expression_statement "iVar13 = piVar7[6];" (assignment_expression "iVar13 = piVar7[6]" identifier = (subscript_expression "piVar7[6]" identifier [ number_literal ])) ;) }))))) (expression_statement "iVar23 = piVar7[0xb4];" (assignment_expression "iVar23 = piVar7[0xb4]" identifier = (subscript_expression "piVar7[0xb4]" identifier [ number_literal ])) ;) (if_statement "if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }" if (parenthesized_expression "(*(int *)(iVar23 + 0x40) != 0)" ( (binary_expression "*(int *)(iVar23 + 0x40) != 0" (pointer_expression "*(int *)(iVar23 + 0x40)" * (cast_expression "(int *)(iVar23 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar23 + 0x40)" ( (binary_expression "iVar23 + 0x40" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }" { (expression_statement "*(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;" (assignment_expression "*(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34" (pointer_expression "*(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4)" * (cast_expression "(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + *(int *)(iVar23 + 0x44) * 4)" ( (binary_expression "iVar5 + *(int *)(iVar23 + 0x44) * 4" identifier + (binary_expression "*(int *)(iVar23 + 0x44) * 4" (pointer_expression "*(int *)(iVar23 + 0x44)" * (cast_expression "(int *)(iVar23 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar23 + 0x44)" ( (binary_expression "iVar23 + 0x44" identifier + number_literal) )))) * number_literal)) )))) = identifier) ;) })) (expression_statement "iVar20 = *(int *)(iVar23 + 0x14);" (assignment_expression "iVar20 = *(int *)(iVar23 + 0x14)" identifier = (pointer_expression "*(int *)(iVar23 + 0x14)" * (cast_expression "(int *)(iVar23 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar23 + 0x14)" ( (binary_expression "iVar23 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar22 = piVar7[10] + iVar22;" (assignment_expression "iVar22 = piVar7[10] + iVar22" identifier = (binary_expression "piVar7[10] + iVar22" (subscript_expression "piVar7[10]" identifier [ number_literal ]) + identifier)) ;) (expression_statement "iVar27 = *(int *)(iVar23 + 0x20);" (assignment_expression "iVar27 = *(int *)(iVar23 + 0x20)" identifier = (pointer_expression "*(int *)(iVar23 + 0x20)" * (cast_expression "(int *)(iVar23 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar23 + 0x20)" ( (binary_expression "iVar23 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "dVar36 = *(double *)(iVar22 + 0x30);" (assignment_expression "dVar36 = *(double *)(iVar22 + 0x30)" identifier = (pointer_expression "*(double *)(iVar22 + 0x30)" * (cast_expression "(double *)(iVar22 + 0x30)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar22 + 0x30)" ( (binary_expression "iVar22 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "dVar35 = *(double *)(iVar22 + 0x38);" (assignment_expression "dVar35 = *(double *)(iVar22 + 0x38)" identifier = (pointer_expression "*(double *)(iVar22 + 0x38)" * (cast_expression "(double *)(iVar22 + 0x38)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar22 + 0x38)" ( (binary_expression "iVar22 + 0x38" identifier + number_literal) ))))) ;) (expression_statement "*(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);" (assignment_expression "*(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28)" (pointer_expression "*(float *)(iVar5 + *(int *)(iVar23 + 8) * 4)" * (cast_expression "(float *)(iVar5 + *(int *)(iVar23 + 8) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + *(int *)(iVar23 + 8) * 4)" ( (binary_expression "iVar5 + *(int *)(iVar23 + 8) * 4" identifier + (binary_expression "*(int *)(iVar23 + 8) * 4" (pointer_expression "*(int *)(iVar23 + 8)" * (cast_expression "(int *)(iVar23 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar23 + 8)" ( (binary_expression "iVar23 + 8" identifier + number_literal) )))) * number_literal)) )))) = (cast_expression "(float)*(double *)(iVar22 + 0x28)" ( (type_descriptor "float" primitive_type) ) (pointer_expression "*(double *)(iVar22 + 0x28)" * (cast_expression "(double *)(iVar22 + 0x28)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar22 + 0x28)" ( (binary_expression "iVar22 + 0x28" identifier + number_literal) )))))) ;) (expression_statement "*(float *)(iVar5 + iVar20 * 4) = (float)dVar36;" (assignment_expression "*(float *)(iVar5 + iVar20 * 4) = (float)dVar36" (pointer_expression "*(float *)(iVar5 + iVar20 * 4)" * (cast_expression "(float *)(iVar5 + iVar20 * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + iVar20 * 4)" ( (binary_expression "iVar5 + iVar20 * 4" identifier + (binary_expression "iVar20 * 4" identifier * number_literal)) )))) = (cast_expression "(float)dVar36" ( (type_descriptor "float" primitive_type) ) identifier)) ;) (expression_statement "*(float *)(iVar5 + iVar27 * 4) = (float)dVar35;" (assignment_expression "*(float *)(iVar5 + iVar27 * 4) = (float)dVar35" (pointer_expression "*(float *)(iVar5 + iVar27 * 4)" * (cast_expression "(float *)(iVar5 + iVar27 * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + iVar27 * 4)" ( (binary_expression "iVar5 + iVar27 * 4" identifier + (binary_expression "iVar27 * 4" identifier * number_literal)) )))) = (cast_expression "(float)dVar35" ( (type_descriptor "float" primitive_type) ) identifier)) ;) }) (else_clause "else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }" else (if_statement "if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }" if (parenthesized_expression "(local_1066 == 0x10)" ( (binary_expression "local_1066 == 0x10" identifier == number_literal) )) (compound_statement "{\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }" { (expression_statement "bVar1 = pbVar31[1];" (assignment_expression "bVar1 = pbVar31[1]" identifier = (subscript_expression "pbVar31[1]" identifier [ number_literal ])) ;) (expression_statement "iVar22 = piVar7[0xb4];" (assignment_expression "iVar22 = piVar7[0xb4]" identifier = (subscript_expression "piVar7[0xb4]" identifier [ number_literal ])) ;) (expression_statement "bVar2 = *pbVar31;" (assignment_expression "bVar2 = *pbVar31" identifier = (pointer_expression "*pbVar31" * identifier)) ;) (expression_statement "iVar27 = *(int *)(iVar22 + 0x14);" (assignment_expression "iVar27 = *(int *)(iVar22 + 0x14)" identifier = (pointer_expression "*(int *)(iVar22 + 0x14)" * (cast_expression "(int *)(iVar22 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar22 + 0x14)" ( (binary_expression "iVar22 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar23 = *(int *)(iVar22 + 0x20);" (assignment_expression "iVar23 = *(int *)(iVar22 + 0x20)" identifier = (pointer_expression "*(int *)(iVar22 + 0x20)" * (cast_expression "(int *)(iVar22 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar22 + 0x20)" ( (binary_expression "iVar22 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "*(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);" (assignment_expression "*(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33)" (pointer_expression "*(float *)(iVar5 + *(int *)(iVar22 + 8) * 4)" * (cast_expression "(float *)(iVar5 + *(int *)(iVar22 + 8) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + *(int *)(iVar22 + 8) * 4)" ( (binary_expression "iVar5 + *(int *)(iVar22 + 8) * 4" identifier + (binary_expression "*(int *)(iVar22 + 8) * 4" (pointer_expression "*(int *)(iVar22 + 8)" * (cast_expression "(int *)(iVar22 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar22 + 8)" ( (binary_expression "iVar22 + 8" identifier + number_literal) )))) * number_literal)) )))) = (cast_expression "(float)((double)((bVar2 & 0x7c) << 1) * dVar33)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "((double)((bVar2 & 0x7c) << 1) * dVar33)" ( (binary_expression "(double)((bVar2 & 0x7c) << 1) * dVar33" (cast_expression "(double)((bVar2 & 0x7c) << 1)" ( (type_descriptor "double" primitive_type) ) (parenthesized_expression "((bVar2 & 0x7c) << 1)" ( (binary_expression "(bVar2 & 0x7c) << 1" (parenthesized_expression "(bVar2 & 0x7c)" ( (binary_expression "bVar2 & 0x7c" identifier & number_literal) )) << number_literal) ))) * identifier) )))) ;) (expression_statement "*(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);" (assignment_expression "*(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33)" (pointer_expression "*(float *)(iVar5 + iVar27 * 4)" * (cast_expression "(float *)(iVar5 + iVar27 * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + iVar27 * 4)" ( (binary_expression "iVar5 + iVar27 * 4" identifier + (binary_expression "iVar27 * 4" identifier * number_literal)) )))) = (cast_expression "(float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33)" ( (binary_expression "(double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33" (cast_expression "(double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6)" ( (type_descriptor "double" primitive_type) ) (parenthesized_expression "(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6)" ( (binary_expression "bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6" (binary_expression "bVar1 >> 2 & 0x38" (binary_expression "bVar1 >> 2" identifier >> number_literal) & number_literal) | (binary_expression "(bVar2 & 3) << 6" (parenthesized_expression "(bVar2 & 3)" ( (binary_expression "bVar2 & 3" identifier & number_literal) )) << number_literal)) ))) * identifier) )))) ;) (expression_statement "*(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);" (assignment_expression "*(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33)" (pointer_expression "*(float *)(iVar5 + iVar23 * 4)" * (cast_expression "(float *)(iVar5 + iVar23 * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + iVar23 * 4)" ( (binary_expression "iVar5 + iVar23 * 4" identifier + (binary_expression "iVar23 * 4" identifier * number_literal)) )))) = (cast_expression "(float)((double)((bVar1 & 0x1f) << 3) * dVar33)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "((double)((bVar1 & 0x1f) << 3) * dVar33)" ( (binary_expression "(double)((bVar1 & 0x1f) << 3) * dVar33" (cast_expression "(double)((bVar1 & 0x1f) << 3)" ( (type_descriptor "double" primitive_type) ) (parenthesized_expression "((bVar1 & 0x1f) << 3)" ( (binary_expression "(bVar1 & 0x1f) << 3" (parenthesized_expression "(bVar1 & 0x1f)" ( (binary_expression "bVar1 & 0x1f" identifier & number_literal) )) << number_literal) ))) * identifier) )))) ;) (expression_statement "pbVar31 = pbVar31 + 1;" (assignment_expression "pbVar31 = pbVar31 + 1" identifier = (binary_expression "pbVar31 + 1" identifier + number_literal)) ;) }) (else_clause "else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }" else (if_statement "if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }" if (parenthesized_expression "(piVar7[0xaf] == 0)" ( (binary_expression "piVar7[0xaf] == 0" (subscript_expression "piVar7[0xaf]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }" { (if_statement "if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }" if (parenthesized_expression "(unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31)" ( (binary_expression "unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31" (binary_expression "unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094" (binary_expression "unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2" identifier + (binary_expression "*(int *)(unaff_s0 + 0x18) * 2" (pointer_expression "*(int *)(unaff_s0 + 0x18)" * (cast_expression "(int *)(unaff_s0 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x18)" ( (binary_expression "unaff_s0 + 0x18" identifier + number_literal) )))) * number_literal)) + identifier) < identifier) )) (compound_statement "{\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(piVar7)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar7)" ( identifier ))) ;) (if_statement "if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar26 = 0x523;" (assignment_expression "uVar26 = 0x523" identifier = number_literal) ;) (goto_statement "goto LAB_0027504c;" goto statement_identifier ;) })) (expression_statement "iVar22 = piVar7[0xb4];" (assignment_expression "iVar22 = piVar7[0xb4]" identifier = (subscript_expression "piVar7[0xb4]" identifier [ number_literal ])) ;) (expression_statement "iVar27 = *(int *)(iVar22 + 0x14);" (assignment_expression "iVar27 = *(int *)(iVar22 + 0x14)" identifier = (pointer_expression "*(int *)(iVar22 + 0x14)" * (cast_expression "(int *)(iVar22 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar22 + 0x14)" ( (binary_expression "iVar22 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar23 = *(int *)(iVar22 + 0x20);" (assignment_expression "iVar23 = *(int *)(iVar22 + 0x20)" identifier = (pointer_expression "*(int *)(iVar22 + 0x20)" * (cast_expression "(int *)(iVar22 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar22 + 0x20)" ( (binary_expression "iVar22 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "*(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);" (assignment_expression "*(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32)" (pointer_expression "*(float *)(iVar5 + *(int *)(iVar22 + 8) * 4)" * (cast_expression "(float *)(iVar5 + *(int *)(iVar22 + 8) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + *(int *)(iVar22 + 8) * 4)" ( (binary_expression "iVar5 + *(int *)(iVar22 + 8) * 4" identifier + (binary_expression "*(int *)(iVar22 + 8) * 4" (pointer_expression "*(int *)(iVar22 + 8)" * (cast_expression "(int *)(iVar22 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar22 + 8)" ( (binary_expression "iVar22 + 8" identifier + number_literal) )))) * number_literal)) )))) = (cast_expression "(float)((double)*pbVar31 * dVar32)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "((double)*pbVar31 * dVar32)" ( (binary_expression "(double)*pbVar31 * dVar32" (cast_expression "(double)*pbVar31" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*pbVar31" * identifier)) * identifier) )))) ;) (expression_statement "*(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);" (assignment_expression "*(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32)" (pointer_expression "*(float *)(iVar5 + iVar27 * 4)" * (cast_expression "(float *)(iVar5 + iVar27 * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + iVar27 * 4)" ( (binary_expression "iVar5 + iVar27 * 4" identifier + (binary_expression "iVar27 * 4" identifier * number_literal)) )))) = (cast_expression "(float)((double)pbVar31[iVar13] * dVar32)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "((double)pbVar31[iVar13] * dVar32)" ( (binary_expression "(double)pbVar31[iVar13] * dVar32" (cast_expression "(double)pbVar31[iVar13]" ( (type_descriptor "double" primitive_type) ) (subscript_expression "pbVar31[iVar13]" identifier [ identifier ])) * identifier) )))) ;) (expression_statement "*(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);" (assignment_expression "*(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32)" (pointer_expression "*(float *)(iVar5 + iVar23 * 4)" * (cast_expression "(float *)(iVar5 + iVar23 * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + iVar23 * 4)" ( (binary_expression "iVar5 + iVar23 * 4" identifier + (binary_expression "iVar23 * 4" identifier * number_literal)) )))) = (cast_expression "(float)((double)(pbVar31 + iVar13)[iVar13] * dVar32)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "((double)(pbVar31 + iVar13)[iVar13] * dVar32)" ( (binary_expression "(double)(pbVar31 + iVar13)[iVar13] * dVar32" (cast_expression "(double)(pbVar31 + iVar13)[iVar13]" ( (type_descriptor "double" primitive_type) ) (subscript_expression "(pbVar31 + iVar13)[iVar13]" (parenthesized_expression "(pbVar31 + iVar13)" ( (binary_expression "pbVar31 + iVar13" identifier + identifier) )) [ identifier ])) * identifier) )))) ;) }) (else_clause "else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }" else (compound_statement "{\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }" { (if_statement "if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }" if (parenthesized_expression "(unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31)" ( (binary_expression "unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31" (binary_expression "unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094" (binary_expression "unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3" identifier + (binary_expression "*(int *)(unaff_s0 + 0x18) * 3" (pointer_expression "*(int *)(unaff_s0 + 0x18)" * (cast_expression "(int *)(unaff_s0 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x18)" ( (binary_expression "unaff_s0 + 0x18" identifier + number_literal) )))) * number_literal)) + identifier) < identifier) )) (compound_statement "{\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(piVar7)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar7)" ( identifier ))) ;) (if_statement "if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar26 = 0x52e;" (assignment_expression "uVar26 = 0x52e" identifier = number_literal) ;) (goto_statement "goto LAB_0027504c;" goto statement_identifier ;) })) (expression_statement "iVar22 = piVar7[0xb4];" (assignment_expression "iVar22 = piVar7[0xb4]" identifier = (subscript_expression "piVar7[0xb4]" identifier [ number_literal ])) ;) (expression_statement "pbVar24 = pbVar31 + iVar13;" (assignment_expression "pbVar24 = pbVar31 + iVar13" identifier = (binary_expression "pbVar31 + iVar13" identifier + identifier)) ;) (if_statement "if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }" if (parenthesized_expression "(*(int *)(iVar22 + 0x34) != 0)" ( (binary_expression "*(int *)(iVar22 + 0x34) != 0" (pointer_expression "*(int *)(iVar22 + 0x34)" * (cast_expression "(int *)(iVar22 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar22 + 0x34)" ( (binary_expression "iVar22 + 0x34" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }" { (expression_statement "*(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);" (assignment_expression "*(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23)" (pointer_expression "*(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4)" * (cast_expression "(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + *(int *)(iVar22 + 0x38) * 4)" ( (binary_expression "iVar5 + *(int *)(iVar22 + 0x38) * 4" identifier + (binary_expression "*(int *)(iVar22 + 0x38) * 4" (pointer_expression "*(int *)(iVar22 + 0x38)" * (cast_expression "(int *)(iVar22 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar22 + 0x38)" ( (binary_expression "iVar22 + 0x38" identifier + number_literal) )))) * number_literal)) )))) = (cast_expression "(float)((double)*pbVar31 * in_f22_23)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "((double)*pbVar31 * in_f22_23)" ( (binary_expression "(double)*pbVar31 * in_f22_23" (cast_expression "(double)*pbVar31" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*pbVar31" * identifier)) * identifier) )))) ;) })) (expression_statement "dVar35 = *(double *)(local_10ac + -0x5af0);" (assignment_expression "dVar35 = *(double *)(local_10ac + -0x5af0)" identifier = (pointer_expression "*(double *)(local_10ac + -0x5af0)" * (cast_expression "(double *)(local_10ac + -0x5af0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_10ac + -0x5af0)" ( (binary_expression "local_10ac + -0x5af0" identifier + number_literal) ))))) ;) (expression_statement "iVar27 = *(int *)(iVar22 + 0x14);" (assignment_expression "iVar27 = *(int *)(iVar22 + 0x14)" identifier = (pointer_expression "*(int *)(iVar22 + 0x14)" * (cast_expression "(int *)(iVar22 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar22 + 0x14)" ( (binary_expression "iVar22 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar23 = *(int *)(iVar22 + 0x20);" (assignment_expression "iVar23 = *(int *)(iVar22 + 0x20)" identifier = (pointer_expression "*(int *)(iVar22 + 0x20)" * (cast_expression "(int *)(iVar22 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar22 + 0x20)" ( (binary_expression "iVar22 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "*(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);" (assignment_expression "*(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35)" (pointer_expression "*(float *)(iVar5 + *(int *)(iVar22 + 8) * 4)" * (cast_expression "(float *)(iVar5 + *(int *)(iVar22 + 8) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + *(int *)(iVar22 + 8) * 4)" ( (binary_expression "iVar5 + *(int *)(iVar22 + 8) * 4" identifier + (binary_expression "*(int *)(iVar22 + 8) * 4" (pointer_expression "*(int *)(iVar22 + 8)" * (cast_expression "(int *)(iVar22 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar22 + 8)" ( (binary_expression "iVar22 + 8" identifier + number_literal) )))) * number_literal)) )))) = (cast_expression "(float)((double)*pbVar24 * dVar35)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "((double)*pbVar24 * dVar35)" ( (binary_expression "(double)*pbVar24 * dVar35" (cast_expression "(double)*pbVar24" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*pbVar24" * identifier)) * identifier) )))) ;) (expression_statement "*(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);" (assignment_expression "*(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35)" (pointer_expression "*(float *)(iVar5 + iVar27 * 4)" * (cast_expression "(float *)(iVar5 + iVar27 * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + iVar27 * 4)" ( (binary_expression "iVar5 + iVar27 * 4" identifier + (binary_expression "iVar27 * 4" identifier * number_literal)) )))) = (cast_expression "(float)((double)pbVar24[iVar13] * dVar35)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "((double)pbVar24[iVar13] * dVar35)" ( (binary_expression "(double)pbVar24[iVar13] * dVar35" (cast_expression "(double)pbVar24[iVar13]" ( (type_descriptor "double" primitive_type) ) (subscript_expression "pbVar24[iVar13]" identifier [ identifier ])) * identifier) )))) ;) (expression_statement "*(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);" (assignment_expression "*(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35)" (pointer_expression "*(float *)(iVar5 + iVar23 * 4)" * (cast_expression "(float *)(iVar5 + iVar23 * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + iVar23 * 4)" ( (binary_expression "iVar5 + iVar23 * 4" identifier + (binary_expression "iVar23 * 4" identifier * number_literal)) )))) = (cast_expression "(float)((double)(pbVar24 + iVar13)[iVar13] * dVar35)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "((double)(pbVar24 + iVar13)[iVar13] * dVar35)" ( (binary_expression "(double)(pbVar24 + iVar13)[iVar13] * dVar35" (cast_expression "(double)(pbVar24 + iVar13)[iVar13]" ( (type_descriptor "double" primitive_type) ) (subscript_expression "(pbVar24 + iVar13)[iVar13]" (parenthesized_expression "(pbVar24 + iVar13)" ( (binary_expression "pbVar24 + iVar13" identifier + identifier) )) [ identifier ])) * identifier) )))) ;) }))))))) (expression_statement "iVar9 = iVar9 + 1;" (assignment_expression "iVar9 = iVar9 + 1" identifier = (binary_expression "iVar9 + 1" identifier + number_literal)) ;) (expression_statement "pbVar31 = pbVar31 + 1;" (assignment_expression "pbVar31 = pbVar31 + 1" identifier = (binary_expression "pbVar31 + 1" identifier + number_literal)) ;) (expression_statement "iVar5 = iVar5 + piVar7[0xb0] * 4;" (assignment_expression "iVar5 = iVar5 + piVar7[0xb0] * 4" identifier = (binary_expression "iVar5 + piVar7[0xb0] * 4" identifier + (binary_expression "piVar7[0xb0] * 4" (subscript_expression "piVar7[0xb0]" identifier [ number_literal ]) * number_literal))) ;) }) while (parenthesized_expression "(iVar9 < iVar13)" ( (binary_expression "iVar9 < iVar13" identifier < identifier) )) ;) })) (expression_statement "iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;" (assignment_expression "iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)" identifier = (call_expression "(*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)" (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 "(piVar7,local_10d8)" ( identifier , identifier )))) ;) (if_statement "if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;" if (parenthesized_expression "(((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))" ( (binary_expression "((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30)))" (parenthesized_expression "((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3))))" ( (binary_expression "(iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))" (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) || (parenthesized_expression "(((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))" ( (parenthesized_expression "((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3))" ( (binary_expression "(*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)" (parenthesized_expression "(*piVar7 == 1 && (local_1066 != 0x10))" ( (binary_expression "*piVar7 == 1 && (local_1066 != 0x10)" (binary_expression "*piVar7 == 1" (pointer_expression "*piVar7" * identifier) == number_literal) && (parenthesized_expression "(local_1066 != 0x10)" ( (binary_expression "local_1066 != 0x10" identifier != number_literal) ))) )) && (parenthesized_expression "(pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)" ( (comma_expression "pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3" (assignment_expression "pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6]" identifier = (binary_expression "pbVar31 + (local_1064 + -1) * piVar7[6]" identifier + (binary_expression "(local_1064 + -1) * piVar7[6]" (parenthesized_expression "(local_1064 + -1)" ( (binary_expression "local_1064 + -1" identifier + number_literal) )) * (subscript_expression "piVar7[6]" identifier [ number_literal ])))) , (binary_expression "pbVar31 < unaff_s3" identifier < identifier)) ))) )) ))) )) || (parenthesized_expression "((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30)))" ( (parenthesized_expression "(iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))" ( (comma_expression "iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30)" (assignment_expression "iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7])" identifier = (call_expression "(*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7])" (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 "(unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7])" ( identifier , (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0" identifier + number_literal) , identifier , identifier , number_literal , (subscript_expression "piVar7[7]" identifier [ number_literal ]) )))) , (binary_expression "iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30)" (binary_expression "iVar5 == 0" identifier == number_literal) || (parenthesized_expression "(uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30)" ( (comma_expression "uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30" (assignment_expression "uVar30 = uVar29 + 1" identifier = (binary_expression "uVar29 + 1" identifier + number_literal)) , (binary_expression "piVar7[7] <= (int)uVar30" (subscript_expression "piVar7[7]" identifier [ number_literal ]) <= (cast_expression "(int)uVar30" ( (type_descriptor "int" primitive_type) ) identifier))) )))) )) ))) )) (goto_statement "goto LAB_00276500;" goto statement_identifier ;)) (expression_statement "local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;" (assignment_expression "local_10b0 = (uint)(uVar30 < uVar29) + local_10b0" identifier = (binary_expression "(uint)(uVar30 < uVar29) + local_10b0" (call_expression "(uint)(uVar30 < uVar29)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar30 < uVar29)" ( (binary_expression "uVar30 < uVar29" identifier < identifier) ))) + identifier)) ;) (expression_statement "uVar29 = uVar30;" (assignment_expression "uVar29 = uVar30" identifier = identifier) ;) }) while (parenthesized_expression "(pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094)" ( (binary_expression "pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094" identifier <= (binary_expression "unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094" (binary_expression "unaff_s3 + *(int *)(unaff_s0 + 0x18)" identifier + (pointer_expression "*(int *)(unaff_s0 + 0x18)" * (cast_expression "(int *)(unaff_s0 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x18)" ( (binary_expression "unaff_s0 + 0x18" identifier + number_literal) ))))) + identifier)) )) ;) })) (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3)" (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 "(unaff_s3)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(piVar7)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar7)" ( identifier ))) ;) (if_statement "if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar26 = 0x4fc;" (assignment_expression "uVar26 = 0x4fc" identifier = number_literal) ;) (expression_statement "unaff_s7 = piVar7;" (assignment_expression "unaff_s7 = piVar7" identifier = identifier) ;) (labeled_statement "LAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;" statement_identifier : (expression_statement "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;" (assignment_expression "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier + number_literal)) ;)) (expression_statement "uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);" (assignment_expression "uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" identifier = (call_expression "CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" identifier (argument_list "(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" ( (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal) , (binary_expression "local_10d0 + 0x2210" identifier + number_literal) )))) ;) (expression_statement "puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;" (assignment_expression "puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier + number_literal)) ;) (expression_statement "puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;" (assignment_expression "puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8" identifier + number_literal)) ;) (expression_statement "piVar7 = unaff_s7;" (assignment_expression "piVar7 = unaff_s7" identifier = identifier) ;) }))) (goto_statement "goto LAB_0027507c;" goto statement_identifier ;) })) (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(piVar7)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar7)" ( identifier ))) ;) (if_statement "if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar26 = 0x4db;" (assignment_expression "uVar26 = 0x4db" identifier = number_literal) ;) (expression_statement "unaff_s7 = piVar7;" (assignment_expression "unaff_s7 = piVar7" identifier = identifier) ;) }))) (goto_statement "goto LAB_002757bc;" goto statement_identifier ;) })) (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(piVar7)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar7)" ( identifier ))) ;) (if_statement "if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar26 = 0x4d7;" (assignment_expression "uVar26 = 0x4d7" identifier = number_literal) ;) (expression_statement "unaff_s7 = piVar7;" (assignment_expression "unaff_s7 = piVar7" identifier = identifier) ;) (goto_statement "goto LAB_00275880;" goto statement_identifier ;) })) (if_statement "if (unaff_s3 != (byte *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }" if (parenthesized_expression "(unaff_s3 != (byte *)0x0)" ( (binary_expression "unaff_s3 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3)" ( identifier ))) ;) })) (if_statement "if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar26 = 0x491;" (assignment_expression "uVar26 = 0x491" identifier = number_literal) ;) (labeled_statement "LAB_002757bc:\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;" statement_identifier : (expression_statement "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;" (assignment_expression "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier + number_literal)) ;)) (expression_statement "uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);" (assignment_expression "uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" identifier = (call_expression "CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" identifier (argument_list "(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" ( (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal) , (binary_expression "local_10d0 + 0x2210" identifier + number_literal) )))) ;) (expression_statement "puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;" (assignment_expression "puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier + number_literal)) ;) (expression_statement "puVar12 = PTR_s_courses_003a88ec + -400;" (assignment_expression "puVar12 = PTR_s_courses_003a88ec + -400" identifier = (binary_expression "PTR_s_courses_003a88ec + -400" identifier + number_literal)) ;) (expression_statement "piVar7 = unaff_s7;" (assignment_expression "piVar7 = unaff_s7" identifier = identifier) ;) (labeled_statement "LAB_0027507c:\n                uVar8 = 0x1a9;" statement_identifier : (expression_statement "uVar8 = 0x1a9;" (assignment_expression "uVar8 = 0x1a9" identifier = number_literal) ;)) (expression_statement "unaff_s7 = piVar7;" (assignment_expression "unaff_s7 = piVar7" identifier = identifier) ;) (labeled_statement "LAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);" statement_identifier : (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37)" (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_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37)" ( identifier , identifier , identifier , identifier , identifier , identifier , identifier ))) ;)) (labeled_statement "LAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);" statement_identifier : (expression_statement "(*(code *)PTR_CloseBlob_003a9688)(unaff_s0);" (call_expression "(*(code *)PTR_CloseBlob_003a9688)(unaff_s0)" (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 "(unaff_s0)" ( identifier ))) ;)) (expression_statement "(*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);" (call_expression "(*(code *)PTR_DestroyImageList_003a9510)(unaff_s0)" (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 "(unaff_s0)" ( identifier ))) ;) (labeled_statement "LAB_00274224:\n                uVar26 = 0;" statement_identifier : (expression_statement "uVar26 = 0;" (assignment_expression "uVar26 = 0" identifier = number_literal) ;)) (goto_statement "goto LAB_00274228;" goto statement_identifier ;) })) (if_statement "if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7);\n              }" if (parenthesized_expression "(*(int *)(unaff_s0 + 0x3350) != 0)" ( (binary_expression "*(int *)(unaff_s0 + 0x3350) != 0" (pointer_expression "*(int *)(unaff_s0 + 0x3350)" * (cast_expression "(int *)(unaff_s0 + 0x3350)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x3350)" ( (binary_expression "unaff_s0 + 0x3350" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7);\n              }" { (expression_statement "(*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7);" (call_expression "(*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7)" (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 "(0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7)" ( number_literal , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier + number_literal) , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier + number_literal) , number_literal , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c" identifier + number_literal) , identifier ))) ;) })) (if_statement "if (unaff_s7 != (int *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7 + -0x2c) {\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }" if (parenthesized_expression "(unaff_s7 != (int *)0xc00)" ( (binary_expression "unaff_s7 != (int *)0xc00" identifier != (cast_expression "(int *)0xc00" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7 + -0x2c) {\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }" { (labeled_statement "LAB_00274584:\n                if (&DAT_0000001f < unaff_s7 + -0x2c) {\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }" statement_identifier : (if_statement "if (&DAT_0000001f < unaff_s7 + -0x2c) {\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }" if (parenthesized_expression "(&DAT_0000001f < unaff_s7 + -0x2c)" ( (binary_expression "&DAT_0000001f < unaff_s7 + -0x2c" (pointer_expression "&DAT_0000001f" & identifier) < (binary_expression "unaff_s7 + -0x2c" identifier + number_literal)) )) (compound_statement "{\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }" { (labeled_statement "LAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }" statement_identifier : (if_statement "if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }" if (parenthesized_expression "((int *)0xff < unaff_s7 + -0x2000)" ( (binary_expression "(int *)0xff < unaff_s7 + -0x2000" (cast_expression "(int *)0xff" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) < (binary_expression "unaff_s7 + -0x2000" identifier + number_literal)) )) (compound_statement "{\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }" { (if_statement "if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }" if (parenthesized_expression "(unaff_s7 == (int *)0x8200)" ( (binary_expression "unaff_s7 == (int *)0x8200" identifier == (cast_expression "(int *)0x8200" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }" { (expression_statement "uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);" (assignment_expression "uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBLong_003a8d98)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBLong_003a8d98" * (cast_expression "(code *)PTR_ReadBlobMSBLong_003a8d98" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier )))) ;) (expression_statement "uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);" (assignment_expression "uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }" if (parenthesized_expression "(((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28))" ( (binary_expression "((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)" (parenthesized_expression "((int)((ulonglong)uVar37 >> 0x20) == 0)" ( (binary_expression "(int)((ulonglong)uVar37 >> 0x20) == 0" (cast_expression "(int)((ulonglong)uVar37 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar37 >> 0x20)" ( (binary_expression "(ulonglong)uVar37 >> 0x20" (cast_expression "(ulonglong)uVar37" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) == number_literal) )) && (parenthesized_expression "((uint)uVar37 < uVar28)" ( (binary_expression "(uint)uVar37 < uVar28" (cast_expression "(uint)uVar37" ( (type_descriptor "uint" type_identifier) ) identifier) < identifier) ))) )) (compound_statement "{\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }" { (if_statement "if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }" if (parenthesized_expression "(unaff_s3 != (byte *)0x0)" ( (binary_expression "unaff_s3 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3)" ( identifier ))) ;) })) (if_statement "if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar26 = 0x5b9;" (assignment_expression "uVar26 = 0x5b9" identifier = number_literal) ;) (goto_statement "goto LAB_00275880;" goto statement_identifier ;) })) (expression_statement "iVar5 = 6;" (assignment_expression "iVar5 = 6" identifier = number_literal) ;) (if_statement "if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }" if (parenthesized_expression "(0x9a < uVar28)" ( (binary_expression "0x9a < uVar28" number_literal < identifier) )) (compound_statement "{\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }" { (do_statement "do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);" do (compound_statement "{\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        }" { (expression_statement "iVar5 = iVar5 + -1;" (assignment_expression "iVar5 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ;) (expression_statement "(*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);" (call_expression "(*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBLong_003a8d98)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBLong_003a8d98" * (cast_expression "(code *)PTR_ReadBlobMSBLong_003a8d98" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier ))) ;) }) while (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) ;) (expression_statement "iVar5 = FUN_002739c8(unaff_s0,local_10bc);" (assignment_expression "iVar5 = FUN_002739c8(unaff_s0,local_10bc)" identifier = (call_expression "FUN_002739c8(unaff_s0,local_10bc)" identifier (argument_list "(unaff_s0,local_10bc)" ( identifier , identifier )))) ;) (if_statement "if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }" { (if_statement "if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }" if (parenthesized_expression "(unaff_s3 != (byte *)0x0)" ( (binary_expression "unaff_s3 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3)" ( identifier ))) ;) })) (if_statement "if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar26 = 0x5c8;" (assignment_expression "uVar26 = 0x5c8" identifier = number_literal) ;) (expression_statement "uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);" (assignment_expression "uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" identifier = (call_expression "CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" identifier (argument_list "(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" ( (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal) , (binary_expression "local_10d0 + 0x2210" identifier + number_literal) )))) ;) (labeled_statement "LAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;" statement_identifier : (expression_statement "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;" (assignment_expression "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier + number_literal)) ;)) (expression_statement "puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;" (assignment_expression "puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier + number_literal)) ;) (expression_statement "puVar12 = PTR_s_courses_003a88ec + -400;" (assignment_expression "puVar12 = PTR_s_courses_003a88ec + -400" identifier = (binary_expression "PTR_s_courses_003a88ec + -400" identifier + number_literal)) ;) (expression_statement "uVar8 = 0x1a9;" (assignment_expression "uVar8 = 0x1a9" identifier = number_literal) ;) }) (else_clause "else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }" else (compound_statement "{\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }" { (expression_statement "iVar5 = 0x7a;" (assignment_expression "iVar5 = 0x7a" identifier = number_literal) ;) (do_statement "do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);" do (compound_statement "{\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          }" { (expression_statement "iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (iVar13 == -1) break;" if (parenthesized_expression "(iVar13 == -1)" ( (binary_expression "iVar13 == -1" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar5 = iVar5 + -1;" (assignment_expression "iVar5 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) ;) (expression_statement "iVar5 = uVar28 - 0x9a;" (assignment_expression "iVar5 = uVar28 - 0x9a" identifier = (binary_expression "uVar28 - 0x9a" identifier - number_literal)) ;) (expression_statement "piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);" (assignment_expression "piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1)" identifier = (cast_expression "(int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,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 "(iVar5,1)" ( identifier , number_literal ))))) ;) (expression_statement "pbVar31 = local_10d0 + 0x2210;" (assignment_expression "pbVar31 = local_10d0 + 0x2210" identifier = (binary_expression "local_10d0 + 0x2210" identifier + number_literal)) ;) (if_statement "if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }" if (parenthesized_expression "(piVar6 != (int *)0x0)" ( (binary_expression "piVar6 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }" { (expression_statement "uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);" (assignment_expression "uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080)" identifier = (call_expression "(*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080)" (parenthesized_expression "(*(code *)PTR_ReadBlobStream_003a9098)" ( (pointer_expression "*(code *)PTR_ReadBlobStream_003a9098" * (cast_expression "(code *)PTR_ReadBlobStream_003a9098" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0,iVar5,piVar6,&local_1080)" ( identifier , identifier , identifier , (pointer_expression "&local_1080" & identifier) )))) ;) (if_statement "if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }" if (parenthesized_expression "(local_1080 == iVar5)" ( (binary_expression "local_1080 == iVar5" identifier == identifier) )) (compound_statement "{\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }" { (expression_statement "iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();" (assignment_expression "iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)()" identifier = (call_expression "(*(code *)PTR_AcquireImageInfo_003a91d0)()" (parenthesized_expression "(*(code *)PTR_AcquireImageInfo_003a91d0)" ( (pointer_expression "*(code *)PTR_AcquireImageInfo_003a91d0" * (cast_expression "(code *)PTR_AcquireImageInfo_003a91d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "(*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);" (call_expression "(*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31)" (parenthesized_expression "(*(code *)PTR_FormatLocaleString_003a8d7c)" ( (pointer_expression "*(code *)PTR_FormatLocaleString_003a8d7c" * (cast_expression "(code *)PTR_FormatLocaleString_003a8d7c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31)" ( (binary_expression "iVar5 + 0x2210" identifier + number_literal) , number_literal , (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c" identifier + number_literal) , identifier ))) ;) (expression_statement "unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);" (assignment_expression "unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8)" identifier = (cast_expression "(byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8)" (parenthesized_expression "(*(code *)PTR_BlobToImage_003a9330)" ( (pointer_expression "*(code *)PTR_BlobToImage_003a9330" * (cast_expression "(code *)PTR_BlobToImage_003a9330" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar5,uVar26,local_1080,local_10d8)" ( identifier , identifier , identifier , identifier ))))) ;) (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6)" (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 "(piVar6)" ( identifier ))) ;) (expression_statement "local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);" (assignment_expression "local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5)" identifier = (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5)" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar5)" ( identifier )))) ;) (goto_statement "goto LAB_00274de8;" goto statement_identifier ;) })) (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6)" (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 "(piVar6)" ( identifier ))) ;) (if_statement "if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }" if (parenthesized_expression "(unaff_s3 != (byte *)0x0)" ( (binary_expression "unaff_s3 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3)" ( identifier ))) ;) })) (if_statement "if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar26 = 0x5d5;" (assignment_expression "uVar26 = 0x5d5" identifier = number_literal) ;) (expression_statement "uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);" (assignment_expression "uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31)" identifier = (call_expression "CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31)" identifier (argument_list "(PTR_LAB_003a88e0 + 0x3e28,pbVar31)" ( (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal) , identifier )))) ;) (expression_statement "unaff_s7 = piVar6;" (assignment_expression "unaff_s7 = piVar6" identifier = identifier) ;) (goto_statement "goto LAB_00275b88;" goto statement_identifier ;) })) (if_statement "if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }" if (parenthesized_expression "(unaff_s3 != (byte *)0x0)" ( (binary_expression "unaff_s3 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3)" ( identifier ))) ;) })) (if_statement "if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar26 = 0x5d0;" (assignment_expression "uVar26 = 0x5d0" identifier = number_literal) ;) (expression_statement "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;" (assignment_expression "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier + number_literal)) ;) (expression_statement "uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);" (assignment_expression "uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31)" identifier = (call_expression "CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31)" identifier (argument_list "(PTR_LAB_003a88e0 + 0x3e28,pbVar31)" ( (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal) , identifier )))) ;) (expression_statement "puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;" (assignment_expression "puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier + number_literal)) ;) (expression_statement "puVar12 = PTR_LAB_003a88e0 + 0x16f8;" (assignment_expression "puVar12 = PTR_LAB_003a88e0 + 0x16f8" identifier = (binary_expression "PTR_LAB_003a88e0 + 0x16f8" identifier + number_literal)) ;) (expression_statement "uVar8 = 400;" (assignment_expression "uVar8 = 400" identifier = number_literal) ;) }))) (goto_statement "goto LAB_00275084;" goto statement_identifier ;) })) (labeled_statement "LAB_00274de8:\n                      local_10b8 = 1;" statement_identifier : (expression_statement "local_10b8 = 1;" (assignment_expression "local_10b8 = 1" identifier = number_literal) ;)) (if_statement "if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }" if (parenthesized_expression "(unaff_s3 != (byte *)0x0)" ( (binary_expression "unaff_s3 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }" { (expression_statement "uVar28 = *(uint *)(unaff_s3 + 0x18);" (assignment_expression "uVar28 = *(uint *)(unaff_s3 + 0x18)" identifier = (pointer_expression "*(uint *)(unaff_s3 + 0x18)" * (cast_expression "(uint *)(unaff_s3 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s3 + 0x18)" ( (binary_expression "unaff_s3 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }" if (parenthesized_expression "(uVar28 < *(uint *)(unaff_s0 + 0x18))" ( (binary_expression "uVar28 < *(uint *)(unaff_s0 + 0x18)" identifier < (pointer_expression "*(uint *)(unaff_s0 + 0x18)" * (cast_expression "(uint *)(unaff_s0 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x18)" ( (binary_expression "unaff_s0 + 0x18" identifier + number_literal) ))))) )) (compound_statement "{\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }" { (expression_statement "uVar28 = *(uint *)(unaff_s0 + 0x18);" (assignment_expression "uVar28 = *(uint *)(unaff_s0 + 0x18)" identifier = (pointer_expression "*(uint *)(unaff_s0 + 0x18)" * (cast_expression "(uint *)(unaff_s0 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x18)" ( (binary_expression "unaff_s0 + 0x18" identifier + number_literal) ))))) ;) })) (expression_statement "dVar33 = (double)(int)uVar28;" (assignment_expression "dVar33 = (double)(int)uVar28" identifier = (cast_expression "(double)(int)uVar28" ( (type_descriptor "double" primitive_type) ) (cast_expression "(int)uVar28" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }" if (parenthesized_expression "((int)uVar28 < 0)" ( (binary_expression "(int)uVar28 < 0" (cast_expression "(int)uVar28" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }" { (expression_statement "dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);" (assignment_expression "dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418)" identifier = (binary_expression "dVar33 + *(double *)(local_10c8 + 0x1418)" identifier + (pointer_expression "*(double *)(local_10c8 + 0x1418)" * (cast_expression "(double *)(local_10c8 + 0x1418)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_10c8 + 0x1418)" ( (binary_expression "local_10c8 + 0x1418" identifier + number_literal) )))))) ;) })) (expression_statement "uVar29 = *(uint *)(unaff_s0 + 0x1c);" (assignment_expression "uVar29 = *(uint *)(unaff_s0 + 0x1c)" identifier = (pointer_expression "*(uint *)(unaff_s0 + 0x1c)" * (cast_expression "(uint *)(unaff_s0 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x1c)" ( (binary_expression "unaff_s0 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "uVar28 = *(uint *)(unaff_s3 + 0x1c);" (assignment_expression "uVar28 = *(uint *)(unaff_s3 + 0x1c)" identifier = (pointer_expression "*(uint *)(unaff_s3 + 0x1c)" * (cast_expression "(uint *)(unaff_s3 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s3 + 0x1c)" ( (binary_expression "unaff_s3 + 0x1c" identifier + number_literal) ))))) ;) (if_statement "if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }" if (parenthesized_expression "(uVar28 < uVar29)" ( (binary_expression "uVar28 < uVar29" identifier < identifier) )) (compound_statement "{\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }" { (expression_statement "in_f2_3 = (double)(int)uVar29;" (assignment_expression "in_f2_3 = (double)(int)uVar29" identifier = (cast_expression "(double)(int)uVar29" ( (type_descriptor "double" primitive_type) ) (cast_expression "(int)uVar29" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }" if (parenthesized_expression "((int)uVar29 < 0)" ( (binary_expression "(int)uVar29 < 0" (cast_expression "(int)uVar29" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }" { (labeled_statement "LAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);" statement_identifier : (expression_statement "in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);" (assignment_expression "in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418)" identifier = (binary_expression "in_f2_3 + *(double *)(local_10c8 + 0x1418)" identifier + (pointer_expression "*(double *)(local_10c8 + 0x1418)" * (cast_expression "(double *)(local_10c8 + 0x1418)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_10c8 + 0x1418)" ( (binary_expression "local_10c8 + 0x1418" identifier + number_literal) )))))) ;)) })) }) (else_clause "else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }" else (compound_statement "{\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }" { (expression_statement "in_f2_3 = (double)(int)uVar28;" (assignment_expression "in_f2_3 = (double)(int)uVar28" identifier = (cast_expression "(double)(int)uVar28" ( (type_descriptor "double" primitive_type) ) (cast_expression "(int)uVar28" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }" if (parenthesized_expression "((int)uVar28 < 0)" ( (binary_expression "(int)uVar28 < 0" (cast_expression "(int)uVar28" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }" { (expression_statement "in_f2_3 = in_f2_3 + in_f24_25;" (assignment_expression "in_f2_3 = in_f2_3 + in_f24_25" identifier = (binary_expression "in_f2_3 + in_f24_25" identifier + identifier)) ;) })) }))) (expression_statement "(*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);" (call_expression "(*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494)" (parenthesized_expression "(*(code *)PTR_FormatLocaleString_003a8d7c)" ( (pointer_expression "*(code *)PTR_FormatLocaleString_003a8d7c" * (cast_expression "(code *)PTR_FormatLocaleString_003a8d7c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494)" ( identifier , number_literal , (binary_expression "PTR_s_courses_003a88ec + 0x494" identifier + number_literal) ))) ;) (expression_statement "uVar28 = *(uint *)(unaff_s0 + 0x18);" (assignment_expression "uVar28 = *(uint *)(unaff_s0 + 0x18)" identifier = (pointer_expression "*(uint *)(unaff_s0 + 0x18)" * (cast_expression "(uint *)(unaff_s0 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x18)" ( (binary_expression "unaff_s0 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }" if (parenthesized_expression "(*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18))" ( (binary_expression "*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)" (pointer_expression "*(uint *)(unaff_s0 + 0x18)" * (cast_expression "(uint *)(unaff_s0 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x18)" ( (binary_expression "unaff_s0 + 0x18" identifier + number_literal) )))) <= (pointer_expression "*(uint *)(unaff_s3 + 0x18)" * (cast_expression "(uint *)(unaff_s3 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s3 + 0x18)" ( (binary_expression "unaff_s3 + 0x18" identifier + number_literal) ))))) )) (compound_statement "{\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }" { (expression_statement "uVar28 = *(uint *)(unaff_s3 + 0x18);" (assignment_expression "uVar28 = *(uint *)(unaff_s3 + 0x18)" identifier = (pointer_expression "*(uint *)(unaff_s3 + 0x18)" * (cast_expression "(uint *)(unaff_s3 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s3 + 0x18)" ( (binary_expression "unaff_s3 + 0x18" identifier + number_literal) ))))) ;) })) (expression_statement "uVar29 = *(uint *)(unaff_s3 + 0x1c);" (assignment_expression "uVar29 = *(uint *)(unaff_s3 + 0x1c)" identifier = (pointer_expression "*(uint *)(unaff_s3 + 0x1c)" * (cast_expression "(uint *)(unaff_s3 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s3 + 0x1c)" ( (binary_expression "unaff_s3 + 0x1c" identifier + number_literal) ))))) ;) (if_statement "if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }" if (parenthesized_expression "(*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c))" ( (binary_expression "*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)" (pointer_expression "*(uint *)(unaff_s3 + 0x1c)" * (cast_expression "(uint *)(unaff_s3 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s3 + 0x1c)" ( (binary_expression "unaff_s3 + 0x1c" identifier + number_literal) )))) < (pointer_expression "*(uint *)(unaff_s0 + 0x1c)" * (cast_expression "(uint *)(unaff_s0 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x1c)" ( (binary_expression "unaff_s0 + 0x1c" identifier + number_literal) ))))) )) (compound_statement "{\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }" { (expression_statement "uVar29 = *(uint *)(unaff_s0 + 0x1c);" (assignment_expression "uVar29 = *(uint *)(unaff_s0 + 0x1c)" identifier = (pointer_expression "*(uint *)(unaff_s0 + 0x1c)" * (cast_expression "(uint *)(unaff_s0 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x1c)" ( (binary_expression "unaff_s0 + 0x1c" identifier + number_literal) ))))) ;) })) (expression_statement "(*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);" (call_expression "(*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3)" (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 "(unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3)" ( identifier , identifier , identifier , identifier , identifier , identifier ))) ;) (expression_statement "(*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);" (call_expression "(*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8)" (parenthesized_expression "(*(code *)PTR_TransformImageColorspace_003a9180)" ( (pointer_expression "*(code *)PTR_TransformImageColorspace_003a9180" * (cast_expression "(code *)PTR_TransformImageColorspace_003a9180" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8)" ( identifier , (pointer_expression "*(undefined4 *)(unaff_s3 + 4)" * (cast_expression "(undefined4 *)(unaff_s3 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s3 + 4)" ( (binary_expression "unaff_s3 + 4" identifier + number_literal) )))) , identifier ))) ;) (expression_statement "(*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);" (call_expression "(*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a)" (parenthesized_expression "(*(code *)PTR_CompositeImage_003a8cc4)" ( (pointer_expression "*(code *)PTR_CompositeImage_003a8cc4" * (cast_expression "(code *)PTR_CompositeImage_003a8cc4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a)" ( identifier , identifier , number_literal , number_literal , (cast_expression "(int)local_108e" ( (type_descriptor "int" primitive_type) ) identifier) , (cast_expression "(int)local_108a" ( (type_descriptor "int" primitive_type) ) identifier) ))) ;) (expression_statement "puVar12 = PTR_DestroyImage_003a8f4c;" (assignment_expression "puVar12 = PTR_DestroyImage_003a8f4c" identifier = identifier) ;) (expression_statement "*(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);" (assignment_expression "*(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8)" (pointer_expression "*(undefined4 *)(unaff_s0 + 8)" * (cast_expression "(undefined4 *)(unaff_s0 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 8)" ( (binary_expression "unaff_s0 + 8" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(unaff_s3 + 8)" * (cast_expression "(undefined4 *)(unaff_s3 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s3 + 8)" ( (binary_expression "unaff_s3 + 8" identifier + number_literal) ))))) ;) (expression_statement "unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);" (assignment_expression "unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3)" identifier = (cast_expression "(byte *)(*(code *)puVar12)(unaff_s3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)puVar12)(unaff_s3)" (parenthesized_expression "(*(code *)puVar12)" ( (pointer_expression "*(code *)puVar12" * (cast_expression "(code *)puVar12" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3)" ( identifier ))))) ;) (expression_statement "local_10b8 = 1;" (assignment_expression "local_10b8 = 1" identifier = number_literal) ;) })) (goto_statement "goto LAB_002744b8;" goto statement_identifier ;) })) (expression_statement "pbVar31 = unaff_s3;" (assignment_expression "pbVar31 = unaff_s3" identifier = identifier) ;) (expression_statement "piVar6 = unaff_s7;" (assignment_expression "piVar6 = unaff_s7" identifier = identifier) ;) (if_statement "if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;" if (parenthesized_expression "((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       )" ( (binary_expression "(unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)" (parenthesized_expression "(unaff_s7 == (int *)0xff)" ( (binary_expression "unaff_s7 == (int *)0xff" identifier == (cast_expression "(int *)0xff" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)" ( (comma_expression "pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff" (assignment_expression "pbVar31 = unaff_s3" identifier = identifier) , (binary_expression "unaff_s7 == (int *)0xffff" identifier == (cast_expression "(int *)0xffff" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (goto_statement "goto LAB_00274430;" goto statement_identifier ;)) (if_statement "if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }" if (parenthesized_expression "((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00))" ( (binary_expression "(unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)" (parenthesized_expression "(unaff_s7 + -0x34 < (int *)0x2f)" ( (binary_expression "unaff_s7 + -0x34 < (int *)0x2f" (binary_expression "unaff_s7 + -0x34" identifier + number_literal) < (cast_expression "(int *)0x2f" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(unaff_s7 + -0x2040 < (int *)0x7f00)" ( (binary_expression "unaff_s7 + -0x2040 < (int *)0x7f00" (binary_expression "unaff_s7 + -0x2040" identifier + number_literal) < (cast_expression "(int *)0x7f00" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }" { (expression_statement "uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (assignment_expression "uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier )))) ;) (expression_statement "uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);" (assignment_expression "uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }" if (parenthesized_expression "(((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))" ( (binary_expression "((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)" (parenthesized_expression "((int)((ulonglong)uVar37 >> 0x20) != 0)" ( (binary_expression "(int)((ulonglong)uVar37 >> 0x20) != 0" (cast_expression "(int)((ulonglong)uVar37 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar37 >> 0x20)" ( (binary_expression "(ulonglong)uVar37 >> 0x20" (cast_expression "(ulonglong)uVar37" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) != number_literal) )) || (parenthesized_expression "(uVar28 <= (uint)uVar37)" ( (binary_expression "uVar28 <= (uint)uVar37" identifier <= (cast_expression "(uint)uVar37" ( (type_descriptor "uint" type_identifier) ) identifier)) ))) )) (compound_statement "{\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }" { (if_statement "if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }" if (parenthesized_expression "(uVar28 != 0)" ( (binary_expression "uVar28 != 0" identifier != number_literal) )) (compound_statement "{\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }" { (expression_statement "uVar29 = 0;" (assignment_expression "uVar29 = 0" identifier = number_literal) ;) (do_statement "do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);" do (compound_statement "{\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          }" { (expression_statement "iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (iVar5 == -1) break;" if (parenthesized_expression "(iVar5 == -1)" ( (binary_expression "iVar5 == -1" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "uVar29 = uVar29 + 1;" (assignment_expression "uVar29 = uVar29 + 1" identifier = (binary_expression "uVar29 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar28 != uVar29)" ( (binary_expression "uVar28 != uVar29" identifier != identifier) )) ;) })) (goto_statement "goto LAB_002744b8;" goto statement_identifier ;) })) (if_statement "if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }" if (parenthesized_expression "(unaff_s3 != (byte *)0x0)" ( (binary_expression "unaff_s3 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3)" ( identifier ))) ;) })) (if_statement "if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar26 = 0x5f8;" (assignment_expression "uVar26 = 0x5f8" identifier = number_literal) ;) }) (else_clause "else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }" else (compound_statement "{\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }" { (if_statement "if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;" if (parenthesized_expression "((int *)0x7eff < unaff_s7 + -0x40)" ( (binary_expression "(int *)0x7eff < unaff_s7 + -0x40" (cast_expression "(int *)0x7eff" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) < (binary_expression "unaff_s7 + -0x40" identifier + number_literal)) )) (goto_statement "goto LAB_002744b8;" goto statement_identifier ;)) (expression_statement "uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);" (assignment_expression "uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }" if (parenthesized_expression "(((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37))" ( (binary_expression "((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)" (parenthesized_expression "((int)((ulonglong)uVar37 >> 0x20) != 0)" ( (binary_expression "(int)((ulonglong)uVar37 >> 0x20) != 0" (cast_expression "(int)((ulonglong)uVar37 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar37 >> 0x20)" ( (binary_expression "(ulonglong)uVar37 >> 0x20" (cast_expression "(ulonglong)uVar37" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) != number_literal) )) || (parenthesized_expression "((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)" ( (binary_expression "(uint)((int)unaff_s7 >> 7) <= (uint)uVar37" (call_expression "(uint)((int)unaff_s7 >> 7)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)unaff_s7 >> 7)" ( (binary_expression "(int)unaff_s7 >> 7" (cast_expression "(int)unaff_s7" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ))) <= (cast_expression "(uint)uVar37" ( (type_descriptor "uint" type_identifier) ) identifier)) ))) )) (compound_statement "{\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }" { (expression_statement "uVar28 = 0;" (assignment_expression "uVar28 = 0" identifier = number_literal) ;) (do_statement "do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);" do (compound_statement "{\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        }" { (expression_statement "iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (iVar5 == -1) break;" if (parenthesized_expression "(iVar5 == -1)" ( (binary_expression "iVar5 == -1" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "uVar28 = uVar28 + 1;" (assignment_expression "uVar28 = uVar28 + 1" identifier = (binary_expression "uVar28 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((int)unaff_s7 >> 7 != uVar28)" ( (binary_expression "(int)unaff_s7 >> 7 != uVar28" (binary_expression "(int)unaff_s7 >> 7" (cast_expression "(int)unaff_s7" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) != identifier) )) ;) (goto_statement "goto LAB_002744b8;" goto statement_identifier ;) })) (if_statement "if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }" if (parenthesized_expression "(unaff_s3 != (byte *)0x0)" ( (binary_expression "unaff_s3 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3)" ( identifier ))) ;) })) (if_statement "if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar26 = 0x606;" (assignment_expression "uVar26 = 0x606" identifier = number_literal) ;) }))) (labeled_statement "LAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;" statement_identifier : (expression_statement "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;" (assignment_expression "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier + number_literal)) ;)) (expression_statement "uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);" (assignment_expression "uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" identifier = (call_expression "CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" identifier (argument_list "(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" ( (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal) , (binary_expression "local_10d0 + 0x2210" identifier + number_literal) )))) ;) (expression_statement "puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;" (assignment_expression "puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier + number_literal)) ;) (expression_statement "puVar12 = PTR_s_courses_003a88ec + 0x4a0;" (assignment_expression "puVar12 = PTR_s_courses_003a88ec + 0x4a0" identifier = (binary_expression "PTR_s_courses_003a88ec + 0x4a0" identifier + number_literal)) ;) (expression_statement "piVar7 = unaff_s7;" (assignment_expression "piVar7 = unaff_s7" identifier = identifier) ;) (goto_statement "goto LAB_0027507c;" goto statement_identifier ;) }))) }))) (goto_statement "goto LAB_002744b8;" goto statement_identifier ;) })) (expression_statement "iVar5 = 0x18;" (assignment_expression "iVar5 = 0x18" identifier = number_literal) ;) (do_statement "do {\n                iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar13 == -1) break;\n                iVar5 = iVar5 + -1;\n              } while (iVar5 != 0);" do (compound_statement "{\n                iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar13 == -1) break;\n                iVar5 = iVar5 + -1;\n              }" { (expression_statement "iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (iVar13 == -1) break;" if (parenthesized_expression "(iVar13 == -1)" ( (binary_expression "iVar13 == -1" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar5 = iVar5 + -1;" (assignment_expression "iVar5 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) ;) }) while (parenthesized_expression "( true )" ( true )) ;)) })) (expression_statement "uVar26 = 0x3a8;" (assignment_expression "uVar26 = 0x3a8" identifier = number_literal) ;) })) }))) (labeled_statement "LAB_002741b8:\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,uVar26,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,param_1 + 0x2210);" statement_identifier : (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,uVar26,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 + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,uVar26,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 + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,uVar26,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 + -0x3d60" identifier + number_literal) , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier + number_literal) , identifier , 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) ))) ;)) (if_statement "if (unaff_s0 == 0) goto LAB_00274224;" if (parenthesized_expression "(unaff_s0 == 0)" ( (binary_expression "unaff_s0 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00274224;" goto statement_identifier ;)) (goto_statement "goto LAB_00274208;" goto statement_identifier ;) })) }) (else_clause "else {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0xda0,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n               0x375,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\n  }" else (compound_statement "{\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0xda0,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n               0x375,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\n  }" { (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0xda0,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n               0x375,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0xda0,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n               0x375,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac)" (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,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n               0x375,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac)" ( (binary_expression "PTR_LAB_003a88e0 + 0xda0" identifier + number_literal) , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier + number_literal) , number_literal , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac" identifier + number_literal) ))) ;) }))) (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n            (PTR_LAB_003a88e0 + 0x294c,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n             0x37a,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n            (PTR_LAB_003a88e0 + 0x294c,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n             0x37a,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac)" (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,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n             0x37a,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac)" ( (binary_expression "PTR_LAB_003a88e0 + 0x294c" identifier + number_literal) , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier + number_literal) , number_literal , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac" identifier + number_literal) ))) ;) (labeled_statement "LAB_00275e6c:\n  (*(code *)PTR___assert_fail_003a9608)\n            (PTR_LAB_003a88e0 + 0x1cac,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n             0x379,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);" statement_identifier : (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n            (PTR_LAB_003a88e0 + 0x1cac,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n             0x379,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n            (PTR_LAB_003a88e0 + 0x1cac,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n             0x379,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac)" (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,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n             0x379,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1cac" identifier + number_literal) , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier + number_literal) , number_literal , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac" identifier + number_literal) ))) ;)) (goto_statement "goto LAB_00275e90;" goto statement_identifier ;) })))
(translation_unit "/* 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 * ReadPICTImage(ImageInfo *image_info,ExceptionInfo *exception)\n\n{\n  byte bVar1;\n  undefined1 uVar2;\n  bool bVar3;\n  undefined *puVar4;\n  int iVar5;\n  int iVar6;\n  char cVar19;\n  char cVar20;\n  char cVar21;\n  char cVar22;\n  MagickBooleanType MVar7;\n  Image *pIVar8;\n  Image *pIVar9;\n  char *pcVar10;\n  undefined4 uVar11;\n  int iVar12;\n  MagickRealType *pMVar13;\n  MagickRealType *pMVar14;\n  undefined *puVar15;\n  int iVar16;\n  short sVar18;\n  uint uVar17;\n  uint extraout_v1;\n  int iVar23;\n  char *pcVar24;\n  undefined *puVar25;\n  size_t sVar26;\n  byte *pbVar27;\n  PixelChannelMap *pPVar28;\n  PixelInfo *pPVar29;\n  undefined *puVar30;\n  size_t sVar31;\n  undefined4 uVar32;\n  int iVar33;\n  byte *pbVar34;\n  Image *unaff_s0;\n  ImageInfo *unaff_s3;\n  ImageInfo *pIVar35;\n  uint uVar36;\n  uint uVar37;\n  uint uVar38;\n  Image *unaff_s7;\n  double dVar39;\n  float fVar41;\n  double dVar40;\n  double in_f2_3;\n  double dVar42;\n  double dVar43;\n  double in_f20_21;\n  double in_f22_23;\n  double in_f24_25;\n  undefined8 uVar44;\n  ExceptionInfo *local_10d8;\n  int local_10d4;\n  ImageInfo *local_10d0;\n  int local_10cc;\n  undefined *local_10c8;\n  PICTRectangle *local_10bc;\n  int local_10b8;\n  int local_10b0;\n  undefined *local_10ac;\n  size_t extent;\n  PICTRectangle frame;\n  PICTRectangle source;\n  PICTRectangle destination;\n  PICTPixmap pixmap;\n  char geometry [4096];\n  \n  puVar4 = PTR___stack_chk_guard_003a9230;\n  iVar5 = *(int *)PTR___stack_chk_guard_003a9230;\n  if (image_info == (ImageInfo *)0x0) {\n    dVar40 = (double)(*(code *)PTR___assert_fail_003a9608)\n                               (PTR_LAB_003a88e0 + 0xd78,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,0x374,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\n    goto LAB_00275d54;\n  }\n  if (image_info->signature == 0xabacadab) {\n    if (image_info->debug != MagickFalse) {\n      (*(code *)PTR_LogMagickEvent_003a91e0)\n                (0x8000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x377);\n    }\n    if (exception == (ExceptionInfo *)0x0) goto LAB_00275e6c;\n    if (exception->signature == 0xabacadab) {\n      unaff_s0 = (Image *)(*(code *)PTR_AcquireImage_003a960c)(image_info,exception);\n      iVar6 = (*(code *)PTR_OpenBlob_003a924c)(image_info,unaff_s0,2,exception);\n      if (iVar6 == 0) {\n        (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n        pIVar8 = (Image *)0x0;\n        goto LAB_00274228;\n      }\n      pixmap.bits_per_pixel = 0;\n      pixmap.component_count = 0;\n      cVar19 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar20 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar21 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar22 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      if ((((cVar19 != 'P') || (unaff_s3 = (ImageInfo *)0x1fc, cVar20 != 'I')) || (cVar21 != 'C'))\n         || (cVar22 != 'T')) {\n        unaff_s3 = (ImageInfo *)0x1fc;\n        do {\n          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (iVar6 == -1) break;\n          unaff_s3 = (ImageInfo *)((int)&unaff_s3[-1].matte_color.index + 7);\n        } while (unaff_s3 != (ImageInfo *)0x0);\n      }\n      (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n      MVar7 = ReadRectangle(unaff_s0,&frame);\n      if (MVar7 == MagickFalse) {\n        uVar32 = 0x397;\n      }\n      else {\n        do {\n          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n        } while (iVar6 == 0);\n        uVar32 = 0x39a;\n        if (iVar6 == 0x11) {\n          local_10d4 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (local_10d4 == 2) {\n            iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n            if (iVar6 != 0xff) {\n              uVar32 = 0x3a0;\n              goto LAB_002741b8;\n            }\n          }\n          else if (local_10d4 != 1) {\n            uVar32 = 0x3a4;\n            goto LAB_002741b8;\n          }\n          iVar6 = (int)frame.left;\n          iVar16 = (int)frame.right;\n          if ((((-1 < iVar6) && (iVar12 = (int)frame.top, -1 < iVar16)) &&\n              ((iVar33 = (int)frame.bottom, -1 < iVar12 && ((-1 < iVar33 && (iVar6 < iVar16)))))) &&\n             (iVar12 < iVar33)) {\n            MVar7 = image_info->ping;\n            unaff_s0->units = UndefinedResolution;\n            unaff_s0->columns = iVar16 - iVar6;\n            unaff_s0->depth = 8;\n            puVar15 = PTR_LAB_003a88e0;\n            unaff_s0->rows = iVar33 - iVar12;\n            dVar40 = *(double *)(puVar15 + 0x13f0);\n            (unaff_s0->resolution).x = dVar40;\n            (unaff_s0->resolution).y = dVar40;\n            if (((MVar7 != MagickFalse) && (image_info->number_scenes != 0)) &&\n               (pIVar35 = unaff_s3, pIVar9 = unaff_s7,\n               (image_info->number_scenes + image_info->scene) - 1 <= unaff_s0->scene))\n            goto LAB_00274430;\n            iVar6 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar16 - iVar6,iVar33 - iVar12,exception);\n            if (iVar6 == 0) goto LAB_002743d4;\n            iVar6 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,exception);\n            if (iVar6 == 0) goto LAB_002743d4;\n            local_10c8 = PTR_LAB_003a88e0;\n            unaff_s7 = (Image *)0x0;\n            local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n            unaff_s3 = (ImageInfo *)0x0;\n            local_10b8 = 0;\n            in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418);\n            in_f22_23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n            in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58);\n            local_10cc = 0;\n            local_10bc = &frame;\n            local_10d0 = image_info;\n            local_10d8 = exception;\nLAB_002744b8:\n            do {\n              pIVar9 = (Image *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pIVar35 = local_10d0;\n              if ((pIVar9 != (Image *)0x0) ||\n                 (((local_10d0->ping != MagickFalse && (local_10d0->number_scenes != 0)) &&\n                  ((local_10d0->number_scenes + local_10d0->scene) - 1 <= unaff_s0->scene)))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                pIVar8 = (Image *)(*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pIVar35;\n                unaff_s7 = pIVar9;\nLAB_00274228:\n                if (iVar5 == *(int *)puVar4) {\n                  return pIVar8;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), pIVar8 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                pIVar8 = (Image *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                pIVar8 = (Image *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (Image *)((uint)pIVar8 & 0xffff);\n              if (unaff_s7 == (Image *)0x0) {\n                unaff_s7 = (Image *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (Image *)0xa2) {\n                if (unaff_s0->debug != MagickFalse) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)\n                              (PTR_MagickImageList_3__magick_276__003a8948 +\n                              (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_MagickImageList_3__magick_276__003a8948 +\n                                    (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (Image *)0x78) {\n                  if ((Image *)0x6f < unaff_s7) {\n                    uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar6 = 0;\n                    if (0 < (int)(uVar36 - 2)) {\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + 1;\n                      } while (iVar6 != uVar36 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((Image *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (Image *)&DAT_0000001b) {\n                      iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                      (unaff_s0->background_color).red = (double)iVar6;\n                      iVar6 = (*(code *)puVar15)(unaff_s0);\n                      puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                      (unaff_s0->background_color).green = (double)iVar6;\n                      iVar6 = (*(code *)puVar15)(unaff_s0);\n                      (unaff_s0->background_color).blue = (double)iVar6;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if ((Image *)&DAT_00000011 < unaff_s7) {\n                    iVar16 = 8;\n                    iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar12 == -1) break;\n                      iVar16 = iVar16 + -1;\n                    } while (iVar16 != 0);\n                    if (iVar6 == 2) {\n                      iVar6 = 5;\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + -1;\n                      } while (iVar6 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar6 == 1) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44)) {\n                        MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                        if (MVar7 == MagickFalse) {\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x419;\n                        }\n                        else {\n                          MVar7 = ReadPixmap(unaff_s0,&pixmap);\n                          if (MVar7 != MagickFalse) {\n                            unaff_s0->depth = (int)pixmap.component_size;\n                            dVar40 = (double)(int)pixmap.horizontal_resolution;\n                            if ((int)pixmap.horizontal_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).x = dVar40;\n                            puVar15 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar40 = (double)(int)pixmap.vertical_resolution;\n                            if ((int)pixmap.vertical_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).y = dVar40;\n                            unaff_s0->units = PixelsPerInchResolution;\n                            (*(code *)puVar15)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44))\n                            {\n                              iVar6 = 0;\n                              do {\n                                iVar6 = iVar6 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar6 != uVar36 + 1);\n                              uVar37 = (int)frame.bottom - (int)frame.top;\n                              iVar6 = (int)frame.right - (int)frame.left;\n                              if (pixmap.bits_per_pixel < 9) {\n                                uVar36 = uVar36 & 0x7fff;\n                              }\n                              else if (pixmap.bits_per_pixel == 0x10) {\n                                uVar37 = uVar37 * 2;\n                              }\n                              if (uVar36 != 0) {\n                                uVar37 = uVar36;\n                              }\n                              if (uVar37 < 8) {\n                                if (0 < (int)(uVar37 * iVar6)) {\n                                  iVar16 = 0;\n                                  do {\n                                    iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar12 == -1) break;\n                                    iVar16 = iVar16 + 1;\n                                  } while (uVar37 * iVar6 != iVar16);\n                                }\n                              }\n                              else {\n                                iVar16 = 0;\n                                if (0 < iVar6) {\n                                  do {\n                                    iVar12 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar12 != 0) break;\n                                    if (uVar37 < 0xc9) {\n                                      uVar36 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) &&\n                                       ((uint)uVar44 < uVar36)) {\n                                      if (unaff_s3 != (ImageInfo *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar38 = 0;\n                                    if (0 < (int)uVar36) {\n                                      do {\n                                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar12 == -1) break;\n                                        uVar38 = uVar38 + 1;\n                                      } while (uVar36 != uVar38);\n                                    }\n                                    iVar16 = iVar16 + 1;\n                                  } while (iVar6 != iVar16);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x413;\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    pIVar9 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (Image *)0x1) goto LAB_002752a0;\n                  uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar36 != 10) {\n                    if (0 < (int)(uVar36 - 2)) {\n                      iVar6 = 0;\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + 1;\n                      } while (uVar36 - 2 != iVar6);\n                    }\n                    goto LAB_00274594;\n                  }\n                  MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                  puVar15 = PTR_SetImageExtent_003a94ac;\n                  if (MVar7 == MagickFalse) {\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((frame.left < 0) || (frame.top < 0)) goto LAB_00274594;\n                  sVar26 = (int)frame.right - (int)frame.left;\n                  sVar31 = (int)frame.bottom - (int)frame.top;\n                  unaff_s0->columns = sVar26;\n                  unaff_s0->rows = sVar31;\n                  iVar6 = (*(code *)puVar15)(unaff_s0,sVar26,sVar31,local_10d8);\n                  if ((iVar6 != 0) &&\n                     (iVar6 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar6 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  pIVar8 = (Image *)(*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((Image *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (Image *)0xa1) {\n                    iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar36 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = 4;\n                      if (uVar36 < 5) {\n                        uVar37 = uVar36;\n                      }\n                      iVar16 = uVar36 - uVar37;\n                      if ((iVar16 != 0) &&\n                         (iVar12 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar16,1),\n                         iVar12 != 0)) {\n                        iVar33 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar16,iVar12);\n                        if (iVar16 != iVar33) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x570;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar11 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar6 == 0xe0) {\n                          uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);\n                          iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar32,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);\n                          if (iVar6 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar6 == 0x1f2) {\n                          uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);\n                          iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar32,local_10d8);\n                          if (iVar6 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar6 = *(int *)(PTR_MagickImageList_3__magick_276__003a8948 +\n                                  (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar6 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar16 = 0;\n                    if (0 < iVar6) {\n                      do {\n                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar12 == -1) break;\n                        iVar16 = iVar16 + 1;\n                      } while (iVar6 != iVar16);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (Image *)0x98) && ((BlobInfo **)0x1 < &unaff_s7[-1].blob))\n                goto LAB_002752a0;\n                bVar3 = unaff_s7[-1].magick + 0xffe < (char *)0x2;\n                if (bVar3) {\n                  uVar36 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                if (MVar7 != MagickFalse) {\n                  pIVar9 = (Image *)(*(code *)PTR_CloneImage_003a9830)\n                                              (unaff_s0,(int)frame.right - (int)frame.left,\n                                               (int)frame.bottom - (int)frame.top,1);\n                  if (pIVar9 == (Image *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(pIVar9,local_10d8);\n                  if ((bVar3) || ((uVar36 & 0x8000) != 0)) {\n                    MVar7 = ReadPixmap(unaff_s0,&pixmap);\n                    if (MVar7 != MagickFalse) {\n                      pIVar9->depth = (int)pixmap.component_size;\n                      puVar15 = PTR_SetImageAlpha_003a8c78;\n                      dVar40 = (double)(int)pixmap.horizontal_resolution;\n                      if ((int)pixmap.horizontal_resolution < 0) {\n                        dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar39 = (double)(int)pixmap.vertical_resolution;\n                      if ((int)pixmap.vertical_resolution < 0) {\n                        dVar39 = dVar39 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (pixmap.component_count == 4) {\n                        pIVar9->alpha_trait = BlendPixelTrait;\n                        pIVar9->units = PixelsPerInchResolution;\n                        puVar25 = PTR_LAB_003a88e0;\n                        (pIVar9->resolution).x = dVar40;\n                        (pIVar9->resolution).y = dVar39;\n                        (*(code *)puVar15)(pIVar9,*(undefined4 *)(puVar25 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        (pIVar9->resolution).x = dVar40;\n                        pIVar9->alpha_trait = UndefinedPixelTrait;\n                        (pIVar9->resolution).y = dVar39;\n                        pIVar9->units = PixelsPerInchResolution;\n                      }\n                      if (!bVar3) {\n                        pIVar9->colors = 2;\n                        if ((uVar36 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar18 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar15 = PTR_AcquireImageColormap_003a9194;\n                        pIVar9->colors = iVar6 + 1U;\n                        iVar6 = (*(code *)puVar15)(pIVar9,iVar6 + 1U,local_10d8);\n                        if (iVar6 == 0) goto LAB_002756e4;\n                        if (0 < (int)pIVar9->colors) {\n                          uVar37 = 0;\n                          do {\n                            uVar17 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar38 = uVar37;\n                            if (-1 < sVar18) {\n                              if (pIVar9->colors == 0) {\n                                trap(7);\n                              }\n                              uVar38 = uVar17 % pIVar9->colors;\n                            }\n                            uVar37 = uVar37 + 1;\n                            iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                            pIVar9->colormap[uVar38].red = (double)iVar6;\n                            iVar6 = (*(code *)puVar15)(unaff_s0);\n                            puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                            pIVar9->colormap[uVar38].green = (double)iVar6;\n                            iVar6 = (*(code *)puVar15)(unaff_s0);\n                            sVar26 = pIVar9->colors;\n                            unaff_s3 = (ImageInfo *)(pIVar9->colormap + uVar38);\n                            *(double *)&unaff_s3->endian = (double)iVar6;\n                          } while ((int)uVar37 < (int)sVar26);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x49e;\n                    unaff_s7 = pIVar9;\n                    goto LAB_002757bc;\n                  }\n                  pIVar9->colors = 2;\nLAB_0027565c:\n                  iVar6 = (*(code *)PTR_AcquireImageColormap_003a9194)(pIVar9,2,local_10d8);\n                  if (iVar6 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x4b8;\n                    unaff_s7 = pIVar9;\nLAB_00275720:\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar11 = 400;\n                    goto LAB_00275084;\n                  }\n                  sVar26 = pIVar9->colors;\n                  if (0 < (int)sVar26) {\n                    pPVar29 = pIVar9->colormap;\n                    pMVar13 = &pPVar29->red;\n                    do {\n                      pMVar14 = pMVar13 + 0xb;\n                      *pMVar13 = (double)(float)(in_f20_21 - *pMVar13);\n                      pMVar13[1] = (double)(float)(in_f20_21 - pMVar13[1]);\n                      pMVar13[2] = (double)(float)(in_f20_21 - pMVar13[2]);\n                      pMVar13 = pMVar14;\n                    } while (pMVar14 != &pPVar29[sVar26].red);\n                  }\nLAB_00274838:\n                  iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar6 == 0) {\n                    MVar7 = ReadRectangle(unaff_s0,&source);\n                    if (MVar7 == MagickFalse) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x4d9;\n                      unaff_s7 = pIVar9;\n                    }\n                    else {\n                      MVar7 = ReadRectangle(unaff_s0,&destination);\n                      if (MVar7 != MagickFalse) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)pIVar8 & 0xfff7) == 0x91) || (unaff_s7 == (Image *)0x9b)) {\n                          uVar37 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar37)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x4e5;\n                            unaff_s7 = pIVar9;\n                            goto LAB_00275880;\n                          }\n                          iVar6 = 0;\n                          if (0 < (int)(uVar37 - 2)) {\n                            do {\n                              iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar16 == -1) break;\n                              iVar6 = iVar6 + 1;\n                            } while (uVar37 - 2 != iVar6);\n                          }\n                        }\n                        if ((bVar3) || ((uVar36 & 0x8000) != 0)) {\n                          uVar37 = (uint)pixmap.bits_per_pixel;\n                        }\n                        else {\n                          uVar37 = 1;\n                        }\n                        unaff_s3 = (ImageInfo *)DecodeImage(unaff_s0,pIVar9,uVar36,uVar37,&extent);\n                        if (unaff_s3 == (ImageInfo *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x4f2;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if ((int)pIVar9->rows < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar6 == 0)) &&\n                               ((bVar3 || ((uVar36 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,pIVar9,0xd,1);\n                            }\n                            unaff_s3 = (ImageInfo *)(*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <=\n                              (ImageInfo *)\n                              ((int)&unaff_s3->compression + unaff_s0->columns + extent)) {\n                            local_10b0 = 0;\n                            uVar37 = 0;\n                            pIVar35 = unaff_s3;\n                            do {\n                              iVar6 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (pIVar9,0,uVar37,pIVar9->columns);\n                              if (iVar6 == 0) goto LAB_00276500;\n                              sVar26 = pIVar9->columns;\n                              if (0 < (int)sVar26) {\n                                iVar16 = 0;\n                                dVar39 = *(double *)(local_10ac + -0x5af0);\n                                dVar40 = dVar39;\n                                do {\n                                  if (pIVar9->storage_class == PseudoClass) {\n                                    if ((int)(uint)(byte)*(undefined1 *)&pIVar35->compression <\n                                        (int)pIVar9->colors) {\n                                      fVar41 = (float)(byte)*(undefined1 *)&pIVar35->compression;\n                                      iVar12 = (int)fVar41 * 0x58;\n                                    }\n                                    else if (local_10d8->severity == CorruptImageError) {\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23);\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                      sVar26 = pIVar9->columns;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    if (pPVar28[5].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[5].offset * 4) = fVar41;\n                                    }\n                                    pPVar29 = pIVar9->colormap;\n                                    iVar23 = pPVar28[1].offset;\n                                    iVar33 = pPVar28[2].offset;\n                                    dVar43 = *(double *)((int)&pPVar29->green + iVar12);\n                                    dVar42 = *(double *)((int)&pPVar29->blue + iVar12);\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)*(double *)((int)&pPVar29->red + iVar12);\n                                    *(float *)(iVar6 + iVar23 * 4) = (float)dVar43;\n                                    *(float *)(iVar6 + iVar33 * 4) = (float)dVar42;\n                                  }\n                                  else if (pixmap.bits_per_pixel == 0x10) {\n                                    bVar1 = *(byte *)((int)&pIVar35->compression + 1);\n                                    pPVar28 = pIVar9->channel_map;\n                                    uVar2 = *(undefined1 *)&pIVar35->compression;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(((byte)uVar2 & 0x7c) << 1) * dVar40);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | ((byte)uVar2 & 3) << 6\n                                                         ) * dVar40);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar40);\n                                    pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  }\n                                  else if (pIVar9->alpha_trait == UndefinedPixelTrait) {\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 2 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(byte)*(undefined1 *)&pIVar35->compression\n                                                * dVar39);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar27 * dVar39);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar27[sVar26] * dVar39);\n                                  }\n                                  else {\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 3 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if (pPVar28[4].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[4].offset * 4) =\n                                           (float)((double)(byte)*(undefined1 *)\n                                                                  &pIVar35->compression * in_f22_23)\n                                      ;\n                                    }\n                                    pbVar34 = pbVar27 + sVar26;\n                                    dVar42 = *(double *)(local_10ac + -0x5af0);\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)*pbVar27 * dVar42);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar34 * dVar42);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar34[sVar26] * dVar42);\n                                  }\n                                  iVar16 = iVar16 + 1;\n                                  pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  iVar6 = iVar6 + pIVar9->number_channels * 4;\n                                } while (iVar16 < (int)sVar26);\n                              }\n                              iVar6 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar9,local_10d8)\n                              ;\n                              if (((iVar6 == 0) ||\n                                  (((pIVar9->storage_class == DirectClass &&\n                                    (pixmap.bits_per_pixel != 0x10)) &&\n                                   (pIVar35 = (ImageInfo *)\n                                              ((int)&pIVar35->compression +\n                                              (pixmap.component_count + -1) * pIVar9->columns),\n                                   pIVar35 < unaff_s3)))) ||\n                                 ((iVar6 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar37), iVar6 == 0 ||\n                                  (uVar38 = uVar37 + 1, (int)pIVar9->rows <= (int)uVar38))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar38 < uVar37) + local_10b0;\n                              uVar37 = uVar38;\n                            } while (pIVar35 <=\n                                     (ImageInfo *)\n                                     ((int)&unaff_s3->compression + unaff_s0->columns + extent));\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x4fc;\n                          unaff_s7 = pIVar9;\nLAB_0027504c:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          pIVar9 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x4db;\n                      unaff_s7 = pIVar9;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar32 = 0x4d7;\n                  unaff_s7 = pIVar9;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (ImageInfo *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar32 = 0x491;\nLAB_002757bc:\n                puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar15 = PTR_s_courses_003a88ec + -400;\n                pIVar9 = unaff_s7;\nLAB_0027507c:\n                uVar11 = 0x1a9;\n                unaff_s7 = pIVar9;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar25,puVar30,uVar32,uVar11,puVar15,uVar44);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                pIVar8 = (Image *)0x0;\n                goto LAB_00274228;\n              }\n              if (unaff_s0->debug != MagickFalse) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3);\n              }\n              if (unaff_s7 != (Image *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7[-1].magick + 0xfe8) {\nLAB_00274594:\n                  if ((char *)0xff < unaff_s7[-3].magick_filename + 0x848) {\n                    if (unaff_s7 == (Image *)0x8200) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                        if (unaff_s3 != (ImageInfo *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar32 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar6 = 6;\n                      if (0x9a < uVar36) {\n                        do {\n                          iVar6 = iVar6 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar6 != 0);\n                        MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                        if (MVar7 == MagickFalse) {\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x5c8;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\nLAB_00275b88:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_courses_003a88ec + -400;\n                          uVar11 = 0x1a9;\n                        }\n                        else {\n                          iVar6 = 0x7a;\n                          do {\n                            iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar16 == -1) break;\n                            iVar6 = iVar6 + -1;\n                          } while (iVar6 != 0);\n                          iVar6 = uVar36 - 0x9a;\n                          pIVar8 = (Image *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar6,1);\n                          pcVar10 = local_10d0->filename;\n                          if (pIVar8 != (Image *)0x0) {\n                            uVar32 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar6,pIVar8,&destination);\n                            if (destination._0_4_ == iVar6) {\n                              iVar6 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar6 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pcVar10);\n                              unaff_s3 = (ImageInfo *)\n                                         (*(code *)PTR_BlobToImage_003a9330)\n                                                   (iVar6,uVar32,destination._0_4_,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar6);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x5d5;\n                            uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                            unaff_s7 = pIVar8;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x5d0;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar11 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        pcVar10 = unaff_s3->size;\n                        if (pcVar10 < (char *)unaff_s0->columns) {\n                          pcVar10 = (char *)unaff_s0->columns;\n                        }\n                        dVar40 = (double)(int)pcVar10;\n                        if ((int)pcVar10 < 0) {\n                          dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        pcVar24 = (char *)unaff_s0->rows;\n                        pcVar10 = unaff_s3->extract;\n                        if (pcVar10 < pcVar24) {\n                          in_f2_3 = (double)(int)pcVar24;\n                          if ((int)pcVar24 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)pcVar10;\n                          if ((int)pcVar10 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (geometry,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        pcVar10 = (char *)unaff_s0->columns;\n                        if ((char *)unaff_s0->columns <= unaff_s3->size) {\n                          pcVar10 = unaff_s3->size;\n                        }\n                        pcVar24 = unaff_s3->extract;\n                        if (unaff_s3->extract < (char *)unaff_s0->rows) {\n                          pcVar24 = (char *)unaff_s0->rows;\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,pcVar10,pcVar24,local_10d8,dVar40,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,unaff_s3->orientation,local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,unaff_s3,0xd,1);\n                        puVar15 = PTR_DestroyImage_003a8f4c;\n                        unaff_s0->compression = unaff_s3->temporary;\n                        unaff_s3 = (ImageInfo *)(*(code *)puVar15)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pIVar35 = unaff_s3;\n                    pIVar9 = unaff_s7;\n                    if ((unaff_s7 == (Image *)0xff) ||\n                       (pIVar35 = unaff_s3, unaff_s7 == (Image *)0xffff)) goto LAB_00274430;\n                    if ((unaff_s7[-1].magick + 0xfc8 < (char *)0x2f) ||\n                       (unaff_s7[-3].magick_filename + 0x748 < (char *)0x7f00)) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44)) {\n                        if (uVar36 != 0) {\n                          uVar37 = 0;\n                          do {\n                            iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar6 == -1) break;\n                            uVar37 = uVar37 + 1;\n                          } while (uVar36 != uVar37);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x5f8;\n                    }\n                    else {\n                      if ((char *)0x7eff < unaff_s7[-1].magick + 0xf98) goto LAB_002744b8;\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar44)) {\n                        uVar36 = 0;\n                        do {\n                          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar6 == -1) break;\n                          uVar36 = uVar36 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar36);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x606;\n                    }\nLAB_00275880:\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_s_courses_003a88ec + 0x4a0;\n                    pIVar9 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar6 = 0x18;\n              do {\n                iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar16 == -1) break;\n                iVar6 = iVar6 + -1;\n              } while (iVar6 != 0);\n            } while( true );\n          }\n          uVar32 = 0x3a8;\n        }\n      }\nLAB_002741b8:\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (exception,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,uVar32,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,image_info->filename);\n      if (unaff_s0 == (Image *)0x0) goto LAB_00274224;\n      goto LAB_00274208;\n    }\n  }\n  else {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0xda0,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n               0x375,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\n  }\n  (*(code *)PTR___assert_fail_003a9608)\n            (PTR_LAB_003a88e0 + 0x294c,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n             0x37a,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\nLAB_00275e6c:\n  (*(code *)PTR___assert_fail_003a9608)\n            (PTR_LAB_003a88e0 + 0x1cac,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n             0x379,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\n  goto LAB_00275e90;\n}\n\n" comment comment comment comment comment (function_definition "Image * ReadPICTImage(ImageInfo *image_info,ExceptionInfo *exception)\n\n{\n  byte bVar1;\n  undefined1 uVar2;\n  bool bVar3;\n  undefined *puVar4;\n  int iVar5;\n  int iVar6;\n  char cVar19;\n  char cVar20;\n  char cVar21;\n  char cVar22;\n  MagickBooleanType MVar7;\n  Image *pIVar8;\n  Image *pIVar9;\n  char *pcVar10;\n  undefined4 uVar11;\n  int iVar12;\n  MagickRealType *pMVar13;\n  MagickRealType *pMVar14;\n  undefined *puVar15;\n  int iVar16;\n  short sVar18;\n  uint uVar17;\n  uint extraout_v1;\n  int iVar23;\n  char *pcVar24;\n  undefined *puVar25;\n  size_t sVar26;\n  byte *pbVar27;\n  PixelChannelMap *pPVar28;\n  PixelInfo *pPVar29;\n  undefined *puVar30;\n  size_t sVar31;\n  undefined4 uVar32;\n  int iVar33;\n  byte *pbVar34;\n  Image *unaff_s0;\n  ImageInfo *unaff_s3;\n  ImageInfo *pIVar35;\n  uint uVar36;\n  uint uVar37;\n  uint uVar38;\n  Image *unaff_s7;\n  double dVar39;\n  float fVar41;\n  double dVar40;\n  double in_f2_3;\n  double dVar42;\n  double dVar43;\n  double in_f20_21;\n  double in_f22_23;\n  double in_f24_25;\n  undefined8 uVar44;\n  ExceptionInfo *local_10d8;\n  int local_10d4;\n  ImageInfo *local_10d0;\n  int local_10cc;\n  undefined *local_10c8;\n  PICTRectangle *local_10bc;\n  int local_10b8;\n  int local_10b0;\n  undefined *local_10ac;\n  size_t extent;\n  PICTRectangle frame;\n  PICTRectangle source;\n  PICTRectangle destination;\n  PICTPixmap pixmap;\n  char geometry [4096];\n  \n  puVar4 = PTR___stack_chk_guard_003a9230;\n  iVar5 = *(int *)PTR___stack_chk_guard_003a9230;\n  if (image_info == (ImageInfo *)0x0) {\n    dVar40 = (double)(*(code *)PTR___assert_fail_003a9608)\n                               (PTR_LAB_003a88e0 + 0xd78,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,0x374,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\n    goto LAB_00275d54;\n  }\n  if (image_info->signature == 0xabacadab) {\n    if (image_info->debug != MagickFalse) {\n      (*(code *)PTR_LogMagickEvent_003a91e0)\n                (0x8000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x377);\n    }\n    if (exception == (ExceptionInfo *)0x0) goto LAB_00275e6c;\n    if (exception->signature == 0xabacadab) {\n      unaff_s0 = (Image *)(*(code *)PTR_AcquireImage_003a960c)(image_info,exception);\n      iVar6 = (*(code *)PTR_OpenBlob_003a924c)(image_info,unaff_s0,2,exception);\n      if (iVar6 == 0) {\n        (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n        pIVar8 = (Image *)0x0;\n        goto LAB_00274228;\n      }\n      pixmap.bits_per_pixel = 0;\n      pixmap.component_count = 0;\n      cVar19 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar20 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar21 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar22 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      if ((((cVar19 != 'P') || (unaff_s3 = (ImageInfo *)0x1fc, cVar20 != 'I')) || (cVar21 != 'C'))\n         || (cVar22 != 'T')) {\n        unaff_s3 = (ImageInfo *)0x1fc;\n        do {\n          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (iVar6 == -1) break;\n          unaff_s3 = (ImageInfo *)((int)&unaff_s3[-1].matte_color.index + 7);\n        } while (unaff_s3 != (ImageInfo *)0x0);\n      }\n      (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n      MVar7 = ReadRectangle(unaff_s0,&frame);\n      if (MVar7 == MagickFalse) {\n        uVar32 = 0x397;\n      }\n      else {\n        do {\n          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n        } while (iVar6 == 0);\n        uVar32 = 0x39a;\n        if (iVar6 == 0x11) {\n          local_10d4 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (local_10d4 == 2) {\n            iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n            if (iVar6 != 0xff) {\n              uVar32 = 0x3a0;\n              goto LAB_002741b8;\n            }\n          }\n          else if (local_10d4 != 1) {\n            uVar32 = 0x3a4;\n            goto LAB_002741b8;\n          }\n          iVar6 = (int)frame.left;\n          iVar16 = (int)frame.right;\n          if ((((-1 < iVar6) && (iVar12 = (int)frame.top, -1 < iVar16)) &&\n              ((iVar33 = (int)frame.bottom, -1 < iVar12 && ((-1 < iVar33 && (iVar6 < iVar16)))))) &&\n             (iVar12 < iVar33)) {\n            MVar7 = image_info->ping;\n            unaff_s0->units = UndefinedResolution;\n            unaff_s0->columns = iVar16 - iVar6;\n            unaff_s0->depth = 8;\n            puVar15 = PTR_LAB_003a88e0;\n            unaff_s0->rows = iVar33 - iVar12;\n            dVar40 = *(double *)(puVar15 + 0x13f0);\n            (unaff_s0->resolution).x = dVar40;\n            (unaff_s0->resolution).y = dVar40;\n            if (((MVar7 != MagickFalse) && (image_info->number_scenes != 0)) &&\n               (pIVar35 = unaff_s3, pIVar9 = unaff_s7,\n               (image_info->number_scenes + image_info->scene) - 1 <= unaff_s0->scene))\n            goto LAB_00274430;\n            iVar6 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar16 - iVar6,iVar33 - iVar12,exception);\n            if (iVar6 == 0) goto LAB_002743d4;\n            iVar6 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,exception);\n            if (iVar6 == 0) goto LAB_002743d4;\n            local_10c8 = PTR_LAB_003a88e0;\n            unaff_s7 = (Image *)0x0;\n            local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n            unaff_s3 = (ImageInfo *)0x0;\n            local_10b8 = 0;\n            in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418);\n            in_f22_23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n            in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58);\n            local_10cc = 0;\n            local_10bc = &frame;\n            local_10d0 = image_info;\n            local_10d8 = exception;\nLAB_002744b8:\n            do {\n              pIVar9 = (Image *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pIVar35 = local_10d0;\n              if ((pIVar9 != (Image *)0x0) ||\n                 (((local_10d0->ping != MagickFalse && (local_10d0->number_scenes != 0)) &&\n                  ((local_10d0->number_scenes + local_10d0->scene) - 1 <= unaff_s0->scene)))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                pIVar8 = (Image *)(*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pIVar35;\n                unaff_s7 = pIVar9;\nLAB_00274228:\n                if (iVar5 == *(int *)puVar4) {\n                  return pIVar8;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), pIVar8 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                pIVar8 = (Image *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                pIVar8 = (Image *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (Image *)((uint)pIVar8 & 0xffff);\n              if (unaff_s7 == (Image *)0x0) {\n                unaff_s7 = (Image *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (Image *)0xa2) {\n                if (unaff_s0->debug != MagickFalse) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)\n                              (PTR_MagickImageList_3__magick_276__003a8948 +\n                              (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_MagickImageList_3__magick_276__003a8948 +\n                                    (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (Image *)0x78) {\n                  if ((Image *)0x6f < unaff_s7) {\n                    uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar6 = 0;\n                    if (0 < (int)(uVar36 - 2)) {\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + 1;\n                      } while (iVar6 != uVar36 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((Image *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (Image *)&DAT_0000001b) {\n                      iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                      (unaff_s0->background_color).red = (double)iVar6;\n                      iVar6 = (*(code *)puVar15)(unaff_s0);\n                      puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                      (unaff_s0->background_color).green = (double)iVar6;\n                      iVar6 = (*(code *)puVar15)(unaff_s0);\n                      (unaff_s0->background_color).blue = (double)iVar6;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if ((Image *)&DAT_00000011 < unaff_s7) {\n                    iVar16 = 8;\n                    iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar12 == -1) break;\n                      iVar16 = iVar16 + -1;\n                    } while (iVar16 != 0);\n                    if (iVar6 == 2) {\n                      iVar6 = 5;\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + -1;\n                      } while (iVar6 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar6 == 1) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44)) {\n                        MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                        if (MVar7 == MagickFalse) {\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x419;\n                        }\n                        else {\n                          MVar7 = ReadPixmap(unaff_s0,&pixmap);\n                          if (MVar7 != MagickFalse) {\n                            unaff_s0->depth = (int)pixmap.component_size;\n                            dVar40 = (double)(int)pixmap.horizontal_resolution;\n                            if ((int)pixmap.horizontal_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).x = dVar40;\n                            puVar15 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar40 = (double)(int)pixmap.vertical_resolution;\n                            if ((int)pixmap.vertical_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).y = dVar40;\n                            unaff_s0->units = PixelsPerInchResolution;\n                            (*(code *)puVar15)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44))\n                            {\n                              iVar6 = 0;\n                              do {\n                                iVar6 = iVar6 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar6 != uVar36 + 1);\n                              uVar37 = (int)frame.bottom - (int)frame.top;\n                              iVar6 = (int)frame.right - (int)frame.left;\n                              if (pixmap.bits_per_pixel < 9) {\n                                uVar36 = uVar36 & 0x7fff;\n                              }\n                              else if (pixmap.bits_per_pixel == 0x10) {\n                                uVar37 = uVar37 * 2;\n                              }\n                              if (uVar36 != 0) {\n                                uVar37 = uVar36;\n                              }\n                              if (uVar37 < 8) {\n                                if (0 < (int)(uVar37 * iVar6)) {\n                                  iVar16 = 0;\n                                  do {\n                                    iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar12 == -1) break;\n                                    iVar16 = iVar16 + 1;\n                                  } while (uVar37 * iVar6 != iVar16);\n                                }\n                              }\n                              else {\n                                iVar16 = 0;\n                                if (0 < iVar6) {\n                                  do {\n                                    iVar12 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar12 != 0) break;\n                                    if (uVar37 < 0xc9) {\n                                      uVar36 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) &&\n                                       ((uint)uVar44 < uVar36)) {\n                                      if (unaff_s3 != (ImageInfo *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar38 = 0;\n                                    if (0 < (int)uVar36) {\n                                      do {\n                                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar12 == -1) break;\n                                        uVar38 = uVar38 + 1;\n                                      } while (uVar36 != uVar38);\n                                    }\n                                    iVar16 = iVar16 + 1;\n                                  } while (iVar6 != iVar16);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x413;\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    pIVar9 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (Image *)0x1) goto LAB_002752a0;\n                  uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar36 != 10) {\n                    if (0 < (int)(uVar36 - 2)) {\n                      iVar6 = 0;\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + 1;\n                      } while (uVar36 - 2 != iVar6);\n                    }\n                    goto LAB_00274594;\n                  }\n                  MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                  puVar15 = PTR_SetImageExtent_003a94ac;\n                  if (MVar7 == MagickFalse) {\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((frame.left < 0) || (frame.top < 0)) goto LAB_00274594;\n                  sVar26 = (int)frame.right - (int)frame.left;\n                  sVar31 = (int)frame.bottom - (int)frame.top;\n                  unaff_s0->columns = sVar26;\n                  unaff_s0->rows = sVar31;\n                  iVar6 = (*(code *)puVar15)(unaff_s0,sVar26,sVar31,local_10d8);\n                  if ((iVar6 != 0) &&\n                     (iVar6 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar6 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  pIVar8 = (Image *)(*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((Image *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (Image *)0xa1) {\n                    iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar36 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = 4;\n                      if (uVar36 < 5) {\n                        uVar37 = uVar36;\n                      }\n                      iVar16 = uVar36 - uVar37;\n                      if ((iVar16 != 0) &&\n                         (iVar12 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar16,1),\n                         iVar12 != 0)) {\n                        iVar33 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar16,iVar12);\n                        if (iVar16 != iVar33) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x570;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar11 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar6 == 0xe0) {\n                          uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);\n                          iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar32,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);\n                          if (iVar6 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar6 == 0x1f2) {\n                          uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);\n                          iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar32,local_10d8);\n                          if (iVar6 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar6 = *(int *)(PTR_MagickImageList_3__magick_276__003a8948 +\n                                  (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar6 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar16 = 0;\n                    if (0 < iVar6) {\n                      do {\n                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar12 == -1) break;\n                        iVar16 = iVar16 + 1;\n                      } while (iVar6 != iVar16);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (Image *)0x98) && ((BlobInfo **)0x1 < &unaff_s7[-1].blob))\n                goto LAB_002752a0;\n                bVar3 = unaff_s7[-1].magick + 0xffe < (char *)0x2;\n                if (bVar3) {\n                  uVar36 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                if (MVar7 != MagickFalse) {\n                  pIVar9 = (Image *)(*(code *)PTR_CloneImage_003a9830)\n                                              (unaff_s0,(int)frame.right - (int)frame.left,\n                                               (int)frame.bottom - (int)frame.top,1);\n                  if (pIVar9 == (Image *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(pIVar9,local_10d8);\n                  if ((bVar3) || ((uVar36 & 0x8000) != 0)) {\n                    MVar7 = ReadPixmap(unaff_s0,&pixmap);\n                    if (MVar7 != MagickFalse) {\n                      pIVar9->depth = (int)pixmap.component_size;\n                      puVar15 = PTR_SetImageAlpha_003a8c78;\n                      dVar40 = (double)(int)pixmap.horizontal_resolution;\n                      if ((int)pixmap.horizontal_resolution < 0) {\n                        dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar39 = (double)(int)pixmap.vertical_resolution;\n                      if ((int)pixmap.vertical_resolution < 0) {\n                        dVar39 = dVar39 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (pixmap.component_count == 4) {\n                        pIVar9->alpha_trait = BlendPixelTrait;\n                        pIVar9->units = PixelsPerInchResolution;\n                        puVar25 = PTR_LAB_003a88e0;\n                        (pIVar9->resolution).x = dVar40;\n                        (pIVar9->resolution).y = dVar39;\n                        (*(code *)puVar15)(pIVar9,*(undefined4 *)(puVar25 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        (pIVar9->resolution).x = dVar40;\n                        pIVar9->alpha_trait = UndefinedPixelTrait;\n                        (pIVar9->resolution).y = dVar39;\n                        pIVar9->units = PixelsPerInchResolution;\n                      }\n                      if (!bVar3) {\n                        pIVar9->colors = 2;\n                        if ((uVar36 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar18 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar15 = PTR_AcquireImageColormap_003a9194;\n                        pIVar9->colors = iVar6 + 1U;\n                        iVar6 = (*(code *)puVar15)(pIVar9,iVar6 + 1U,local_10d8);\n                        if (iVar6 == 0) goto LAB_002756e4;\n                        if (0 < (int)pIVar9->colors) {\n                          uVar37 = 0;\n                          do {\n                            uVar17 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar38 = uVar37;\n                            if (-1 < sVar18) {\n                              if (pIVar9->colors == 0) {\n                                trap(7);\n                              }\n                              uVar38 = uVar17 % pIVar9->colors;\n                            }\n                            uVar37 = uVar37 + 1;\n                            iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                            pIVar9->colormap[uVar38].red = (double)iVar6;\n                            iVar6 = (*(code *)puVar15)(unaff_s0);\n                            puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                            pIVar9->colormap[uVar38].green = (double)iVar6;\n                            iVar6 = (*(code *)puVar15)(unaff_s0);\n                            sVar26 = pIVar9->colors;\n                            unaff_s3 = (ImageInfo *)(pIVar9->colormap + uVar38);\n                            *(double *)&unaff_s3->endian = (double)iVar6;\n                          } while ((int)uVar37 < (int)sVar26);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x49e;\n                    unaff_s7 = pIVar9;\n                    goto LAB_002757bc;\n                  }\n                  pIVar9->colors = 2;\nLAB_0027565c:\n                  iVar6 = (*(code *)PTR_AcquireImageColormap_003a9194)(pIVar9,2,local_10d8);\n                  if (iVar6 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x4b8;\n                    unaff_s7 = pIVar9;\nLAB_00275720:\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar11 = 400;\n                    goto LAB_00275084;\n                  }\n                  sVar26 = pIVar9->colors;\n                  if (0 < (int)sVar26) {\n                    pPVar29 = pIVar9->colormap;\n                    pMVar13 = &pPVar29->red;\n                    do {\n                      pMVar14 = pMVar13 + 0xb;\n                      *pMVar13 = (double)(float)(in_f20_21 - *pMVar13);\n                      pMVar13[1] = (double)(float)(in_f20_21 - pMVar13[1]);\n                      pMVar13[2] = (double)(float)(in_f20_21 - pMVar13[2]);\n                      pMVar13 = pMVar14;\n                    } while (pMVar14 != &pPVar29[sVar26].red);\n                  }\nLAB_00274838:\n                  iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar6 == 0) {\n                    MVar7 = ReadRectangle(unaff_s0,&source);\n                    if (MVar7 == MagickFalse) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x4d9;\n                      unaff_s7 = pIVar9;\n                    }\n                    else {\n                      MVar7 = ReadRectangle(unaff_s0,&destination);\n                      if (MVar7 != MagickFalse) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)pIVar8 & 0xfff7) == 0x91) || (unaff_s7 == (Image *)0x9b)) {\n                          uVar37 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar37)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x4e5;\n                            unaff_s7 = pIVar9;\n                            goto LAB_00275880;\n                          }\n                          iVar6 = 0;\n                          if (0 < (int)(uVar37 - 2)) {\n                            do {\n                              iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar16 == -1) break;\n                              iVar6 = iVar6 + 1;\n                            } while (uVar37 - 2 != iVar6);\n                          }\n                        }\n                        if ((bVar3) || ((uVar36 & 0x8000) != 0)) {\n                          uVar37 = (uint)pixmap.bits_per_pixel;\n                        }\n                        else {\n                          uVar37 = 1;\n                        }\n                        unaff_s3 = (ImageInfo *)DecodeImage(unaff_s0,pIVar9,uVar36,uVar37,&extent);\n                        if (unaff_s3 == (ImageInfo *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x4f2;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if ((int)pIVar9->rows < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar6 == 0)) &&\n                               ((bVar3 || ((uVar36 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,pIVar9,0xd,1);\n                            }\n                            unaff_s3 = (ImageInfo *)(*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <=\n                              (ImageInfo *)\n                              ((int)&unaff_s3->compression + unaff_s0->columns + extent)) {\n                            local_10b0 = 0;\n                            uVar37 = 0;\n                            pIVar35 = unaff_s3;\n                            do {\n                              iVar6 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (pIVar9,0,uVar37,pIVar9->columns);\n                              if (iVar6 == 0) goto LAB_00276500;\n                              sVar26 = pIVar9->columns;\n                              if (0 < (int)sVar26) {\n                                iVar16 = 0;\n                                dVar39 = *(double *)(local_10ac + -0x5af0);\n                                dVar40 = dVar39;\n                                do {\n                                  if (pIVar9->storage_class == PseudoClass) {\n                                    if ((int)(uint)(byte)*(undefined1 *)&pIVar35->compression <\n                                        (int)pIVar9->colors) {\n                                      fVar41 = (float)(byte)*(undefined1 *)&pIVar35->compression;\n                                      iVar12 = (int)fVar41 * 0x58;\n                                    }\n                                    else if (local_10d8->severity == CorruptImageError) {\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23);\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                      sVar26 = pIVar9->columns;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    if (pPVar28[5].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[5].offset * 4) = fVar41;\n                                    }\n                                    pPVar29 = pIVar9->colormap;\n                                    iVar23 = pPVar28[1].offset;\n                                    iVar33 = pPVar28[2].offset;\n                                    dVar43 = *(double *)((int)&pPVar29->green + iVar12);\n                                    dVar42 = *(double *)((int)&pPVar29->blue + iVar12);\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)*(double *)((int)&pPVar29->red + iVar12);\n                                    *(float *)(iVar6 + iVar23 * 4) = (float)dVar43;\n                                    *(float *)(iVar6 + iVar33 * 4) = (float)dVar42;\n                                  }\n                                  else if (pixmap.bits_per_pixel == 0x10) {\n                                    bVar1 = *(byte *)((int)&pIVar35->compression + 1);\n                                    pPVar28 = pIVar9->channel_map;\n                                    uVar2 = *(undefined1 *)&pIVar35->compression;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(((byte)uVar2 & 0x7c) << 1) * dVar40);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | ((byte)uVar2 & 3) << 6\n                                                         ) * dVar40);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar40);\n                                    pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  }\n                                  else if (pIVar9->alpha_trait == UndefinedPixelTrait) {\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 2 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(byte)*(undefined1 *)&pIVar35->compression\n                                                * dVar39);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar27 * dVar39);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar27[sVar26] * dVar39);\n                                  }\n                                  else {\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 3 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if (pPVar28[4].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[4].offset * 4) =\n                                           (float)((double)(byte)*(undefined1 *)\n                                                                  &pIVar35->compression * in_f22_23)\n                                      ;\n                                    }\n                                    pbVar34 = pbVar27 + sVar26;\n                                    dVar42 = *(double *)(local_10ac + -0x5af0);\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)*pbVar27 * dVar42);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar34 * dVar42);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar34[sVar26] * dVar42);\n                                  }\n                                  iVar16 = iVar16 + 1;\n                                  pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  iVar6 = iVar6 + pIVar9->number_channels * 4;\n                                } while (iVar16 < (int)sVar26);\n                              }\n                              iVar6 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar9,local_10d8)\n                              ;\n                              if (((iVar6 == 0) ||\n                                  (((pIVar9->storage_class == DirectClass &&\n                                    (pixmap.bits_per_pixel != 0x10)) &&\n                                   (pIVar35 = (ImageInfo *)\n                                              ((int)&pIVar35->compression +\n                                              (pixmap.component_count + -1) * pIVar9->columns),\n                                   pIVar35 < unaff_s3)))) ||\n                                 ((iVar6 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar37), iVar6 == 0 ||\n                                  (uVar38 = uVar37 + 1, (int)pIVar9->rows <= (int)uVar38))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar38 < uVar37) + local_10b0;\n                              uVar37 = uVar38;\n                            } while (pIVar35 <=\n                                     (ImageInfo *)\n                                     ((int)&unaff_s3->compression + unaff_s0->columns + extent));\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x4fc;\n                          unaff_s7 = pIVar9;\nLAB_0027504c:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          pIVar9 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x4db;\n                      unaff_s7 = pIVar9;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar32 = 0x4d7;\n                  unaff_s7 = pIVar9;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (ImageInfo *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar32 = 0x491;\nLAB_002757bc:\n                puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar15 = PTR_s_courses_003a88ec + -400;\n                pIVar9 = unaff_s7;\nLAB_0027507c:\n                uVar11 = 0x1a9;\n                unaff_s7 = pIVar9;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar25,puVar30,uVar32,uVar11,puVar15,uVar44);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                pIVar8 = (Image *)0x0;\n                goto LAB_00274228;\n              }\n              if (unaff_s0->debug != MagickFalse) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3);\n              }\n              if (unaff_s7 != (Image *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7[-1].magick + 0xfe8) {\nLAB_00274594:\n                  if ((char *)0xff < unaff_s7[-3].magick_filename + 0x848) {\n                    if (unaff_s7 == (Image *)0x8200) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                        if (unaff_s3 != (ImageInfo *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar32 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar6 = 6;\n                      if (0x9a < uVar36) {\n                        do {\n                          iVar6 = iVar6 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar6 != 0);\n                        MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                        if (MVar7 == MagickFalse) {\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x5c8;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\nLAB_00275b88:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_courses_003a88ec + -400;\n                          uVar11 = 0x1a9;\n                        }\n                        else {\n                          iVar6 = 0x7a;\n                          do {\n                            iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar16 == -1) break;\n                            iVar6 = iVar6 + -1;\n                          } while (iVar6 != 0);\n                          iVar6 = uVar36 - 0x9a;\n                          pIVar8 = (Image *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar6,1);\n                          pcVar10 = local_10d0->filename;\n                          if (pIVar8 != (Image *)0x0) {\n                            uVar32 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar6,pIVar8,&destination);\n                            if (destination._0_4_ == iVar6) {\n                              iVar6 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar6 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pcVar10);\n                              unaff_s3 = (ImageInfo *)\n                                         (*(code *)PTR_BlobToImage_003a9330)\n                                                   (iVar6,uVar32,destination._0_4_,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar6);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x5d5;\n                            uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                            unaff_s7 = pIVar8;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x5d0;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar11 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        pcVar10 = unaff_s3->size;\n                        if (pcVar10 < (char *)unaff_s0->columns) {\n                          pcVar10 = (char *)unaff_s0->columns;\n                        }\n                        dVar40 = (double)(int)pcVar10;\n                        if ((int)pcVar10 < 0) {\n                          dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        pcVar24 = (char *)unaff_s0->rows;\n                        pcVar10 = unaff_s3->extract;\n                        if (pcVar10 < pcVar24) {\n                          in_f2_3 = (double)(int)pcVar24;\n                          if ((int)pcVar24 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)pcVar10;\n                          if ((int)pcVar10 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (geometry,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        pcVar10 = (char *)unaff_s0->columns;\n                        if ((char *)unaff_s0->columns <= unaff_s3->size) {\n                          pcVar10 = unaff_s3->size;\n                        }\n                        pcVar24 = unaff_s3->extract;\n                        if (unaff_s3->extract < (char *)unaff_s0->rows) {\n                          pcVar24 = (char *)unaff_s0->rows;\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,pcVar10,pcVar24,local_10d8,dVar40,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,unaff_s3->orientation,local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,unaff_s3,0xd,1);\n                        puVar15 = PTR_DestroyImage_003a8f4c;\n                        unaff_s0->compression = unaff_s3->temporary;\n                        unaff_s3 = (ImageInfo *)(*(code *)puVar15)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pIVar35 = unaff_s3;\n                    pIVar9 = unaff_s7;\n                    if ((unaff_s7 == (Image *)0xff) ||\n                       (pIVar35 = unaff_s3, unaff_s7 == (Image *)0xffff)) goto LAB_00274430;\n                    if ((unaff_s7[-1].magick + 0xfc8 < (char *)0x2f) ||\n                       (unaff_s7[-3].magick_filename + 0x748 < (char *)0x7f00)) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44)) {\n                        if (uVar36 != 0) {\n                          uVar37 = 0;\n                          do {\n                            iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar6 == -1) break;\n                            uVar37 = uVar37 + 1;\n                          } while (uVar36 != uVar37);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x5f8;\n                    }\n                    else {\n                      if ((char *)0x7eff < unaff_s7[-1].magick + 0xf98) goto LAB_002744b8;\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar44)) {\n                        uVar36 = 0;\n                        do {\n                          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar6 == -1) break;\n                          uVar36 = uVar36 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar36);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x606;\n                    }\nLAB_00275880:\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_s_courses_003a88ec + 0x4a0;\n                    pIVar9 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar6 = 0x18;\n              do {\n                iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar16 == -1) break;\n                iVar6 = iVar6 + -1;\n              } while (iVar6 != 0);\n            } while( true );\n          }\n          uVar32 = 0x3a8;\n        }\n      }\nLAB_002741b8:\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (exception,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,uVar32,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,image_info->filename);\n      if (unaff_s0 == (Image *)0x0) goto LAB_00274224;\n      goto LAB_00274208;\n    }\n  }\n  else {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0xda0,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n               0x375,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\n  }\n  (*(code *)PTR___assert_fail_003a9608)\n            (PTR_LAB_003a88e0 + 0x294c,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n             0x37a,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\nLAB_00275e6c:\n  (*(code *)PTR___assert_fail_003a9608)\n            (PTR_LAB_003a88e0 + 0x1cac,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n             0x379,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\n  goto LAB_00275e90;\n}" type_identifier (pointer_declarator "* ReadPICTImage(ImageInfo *image_info,ExceptionInfo *exception)" * (function_declarator "ReadPICTImage(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  byte bVar1;\n  undefined1 uVar2;\n  bool bVar3;\n  undefined *puVar4;\n  int iVar5;\n  int iVar6;\n  char cVar19;\n  char cVar20;\n  char cVar21;\n  char cVar22;\n  MagickBooleanType MVar7;\n  Image *pIVar8;\n  Image *pIVar9;\n  char *pcVar10;\n  undefined4 uVar11;\n  int iVar12;\n  MagickRealType *pMVar13;\n  MagickRealType *pMVar14;\n  undefined *puVar15;\n  int iVar16;\n  short sVar18;\n  uint uVar17;\n  uint extraout_v1;\n  int iVar23;\n  char *pcVar24;\n  undefined *puVar25;\n  size_t sVar26;\n  byte *pbVar27;\n  PixelChannelMap *pPVar28;\n  PixelInfo *pPVar29;\n  undefined *puVar30;\n  size_t sVar31;\n  undefined4 uVar32;\n  int iVar33;\n  byte *pbVar34;\n  Image *unaff_s0;\n  ImageInfo *unaff_s3;\n  ImageInfo *pIVar35;\n  uint uVar36;\n  uint uVar37;\n  uint uVar38;\n  Image *unaff_s7;\n  double dVar39;\n  float fVar41;\n  double dVar40;\n  double in_f2_3;\n  double dVar42;\n  double dVar43;\n  double in_f20_21;\n  double in_f22_23;\n  double in_f24_25;\n  undefined8 uVar44;\n  ExceptionInfo *local_10d8;\n  int local_10d4;\n  ImageInfo *local_10d0;\n  int local_10cc;\n  undefined *local_10c8;\n  PICTRectangle *local_10bc;\n  int local_10b8;\n  int local_10b0;\n  undefined *local_10ac;\n  size_t extent;\n  PICTRectangle frame;\n  PICTRectangle source;\n  PICTRectangle destination;\n  PICTPixmap pixmap;\n  char geometry [4096];\n  \n  puVar4 = PTR___stack_chk_guard_003a9230;\n  iVar5 = *(int *)PTR___stack_chk_guard_003a9230;\n  if (image_info == (ImageInfo *)0x0) {\n    dVar40 = (double)(*(code *)PTR___assert_fail_003a9608)\n                               (PTR_LAB_003a88e0 + 0xd78,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,0x374,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\n    goto LAB_00275d54;\n  }\n  if (image_info->signature == 0xabacadab) {\n    if (image_info->debug != MagickFalse) {\n      (*(code *)PTR_LogMagickEvent_003a91e0)\n                (0x8000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x377);\n    }\n    if (exception == (ExceptionInfo *)0x0) goto LAB_00275e6c;\n    if (exception->signature == 0xabacadab) {\n      unaff_s0 = (Image *)(*(code *)PTR_AcquireImage_003a960c)(image_info,exception);\n      iVar6 = (*(code *)PTR_OpenBlob_003a924c)(image_info,unaff_s0,2,exception);\n      if (iVar6 == 0) {\n        (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n        pIVar8 = (Image *)0x0;\n        goto LAB_00274228;\n      }\n      pixmap.bits_per_pixel = 0;\n      pixmap.component_count = 0;\n      cVar19 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar20 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar21 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar22 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      if ((((cVar19 != 'P') || (unaff_s3 = (ImageInfo *)0x1fc, cVar20 != 'I')) || (cVar21 != 'C'))\n         || (cVar22 != 'T')) {\n        unaff_s3 = (ImageInfo *)0x1fc;\n        do {\n          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (iVar6 == -1) break;\n          unaff_s3 = (ImageInfo *)((int)&unaff_s3[-1].matte_color.index + 7);\n        } while (unaff_s3 != (ImageInfo *)0x0);\n      }\n      (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n      MVar7 = ReadRectangle(unaff_s0,&frame);\n      if (MVar7 == MagickFalse) {\n        uVar32 = 0x397;\n      }\n      else {\n        do {\n          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n        } while (iVar6 == 0);\n        uVar32 = 0x39a;\n        if (iVar6 == 0x11) {\n          local_10d4 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (local_10d4 == 2) {\n            iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n            if (iVar6 != 0xff) {\n              uVar32 = 0x3a0;\n              goto LAB_002741b8;\n            }\n          }\n          else if (local_10d4 != 1) {\n            uVar32 = 0x3a4;\n            goto LAB_002741b8;\n          }\n          iVar6 = (int)frame.left;\n          iVar16 = (int)frame.right;\n          if ((((-1 < iVar6) && (iVar12 = (int)frame.top, -1 < iVar16)) &&\n              ((iVar33 = (int)frame.bottom, -1 < iVar12 && ((-1 < iVar33 && (iVar6 < iVar16)))))) &&\n             (iVar12 < iVar33)) {\n            MVar7 = image_info->ping;\n            unaff_s0->units = UndefinedResolution;\n            unaff_s0->columns = iVar16 - iVar6;\n            unaff_s0->depth = 8;\n            puVar15 = PTR_LAB_003a88e0;\n            unaff_s0->rows = iVar33 - iVar12;\n            dVar40 = *(double *)(puVar15 + 0x13f0);\n            (unaff_s0->resolution).x = dVar40;\n            (unaff_s0->resolution).y = dVar40;\n            if (((MVar7 != MagickFalse) && (image_info->number_scenes != 0)) &&\n               (pIVar35 = unaff_s3, pIVar9 = unaff_s7,\n               (image_info->number_scenes + image_info->scene) - 1 <= unaff_s0->scene))\n            goto LAB_00274430;\n            iVar6 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar16 - iVar6,iVar33 - iVar12,exception);\n            if (iVar6 == 0) goto LAB_002743d4;\n            iVar6 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,exception);\n            if (iVar6 == 0) goto LAB_002743d4;\n            local_10c8 = PTR_LAB_003a88e0;\n            unaff_s7 = (Image *)0x0;\n            local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n            unaff_s3 = (ImageInfo *)0x0;\n            local_10b8 = 0;\n            in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418);\n            in_f22_23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n            in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58);\n            local_10cc = 0;\n            local_10bc = &frame;\n            local_10d0 = image_info;\n            local_10d8 = exception;\nLAB_002744b8:\n            do {\n              pIVar9 = (Image *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pIVar35 = local_10d0;\n              if ((pIVar9 != (Image *)0x0) ||\n                 (((local_10d0->ping != MagickFalse && (local_10d0->number_scenes != 0)) &&\n                  ((local_10d0->number_scenes + local_10d0->scene) - 1 <= unaff_s0->scene)))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                pIVar8 = (Image *)(*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pIVar35;\n                unaff_s7 = pIVar9;\nLAB_00274228:\n                if (iVar5 == *(int *)puVar4) {\n                  return pIVar8;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), pIVar8 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                pIVar8 = (Image *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                pIVar8 = (Image *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (Image *)((uint)pIVar8 & 0xffff);\n              if (unaff_s7 == (Image *)0x0) {\n                unaff_s7 = (Image *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (Image *)0xa2) {\n                if (unaff_s0->debug != MagickFalse) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)\n                              (PTR_MagickImageList_3__magick_276__003a8948 +\n                              (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_MagickImageList_3__magick_276__003a8948 +\n                                    (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (Image *)0x78) {\n                  if ((Image *)0x6f < unaff_s7) {\n                    uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar6 = 0;\n                    if (0 < (int)(uVar36 - 2)) {\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + 1;\n                      } while (iVar6 != uVar36 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((Image *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (Image *)&DAT_0000001b) {\n                      iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                      (unaff_s0->background_color).red = (double)iVar6;\n                      iVar6 = (*(code *)puVar15)(unaff_s0);\n                      puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                      (unaff_s0->background_color).green = (double)iVar6;\n                      iVar6 = (*(code *)puVar15)(unaff_s0);\n                      (unaff_s0->background_color).blue = (double)iVar6;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if ((Image *)&DAT_00000011 < unaff_s7) {\n                    iVar16 = 8;\n                    iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar12 == -1) break;\n                      iVar16 = iVar16 + -1;\n                    } while (iVar16 != 0);\n                    if (iVar6 == 2) {\n                      iVar6 = 5;\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + -1;\n                      } while (iVar6 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar6 == 1) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44)) {\n                        MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                        if (MVar7 == MagickFalse) {\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x419;\n                        }\n                        else {\n                          MVar7 = ReadPixmap(unaff_s0,&pixmap);\n                          if (MVar7 != MagickFalse) {\n                            unaff_s0->depth = (int)pixmap.component_size;\n                            dVar40 = (double)(int)pixmap.horizontal_resolution;\n                            if ((int)pixmap.horizontal_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).x = dVar40;\n                            puVar15 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar40 = (double)(int)pixmap.vertical_resolution;\n                            if ((int)pixmap.vertical_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).y = dVar40;\n                            unaff_s0->units = PixelsPerInchResolution;\n                            (*(code *)puVar15)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44))\n                            {\n                              iVar6 = 0;\n                              do {\n                                iVar6 = iVar6 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar6 != uVar36 + 1);\n                              uVar37 = (int)frame.bottom - (int)frame.top;\n                              iVar6 = (int)frame.right - (int)frame.left;\n                              if (pixmap.bits_per_pixel < 9) {\n                                uVar36 = uVar36 & 0x7fff;\n                              }\n                              else if (pixmap.bits_per_pixel == 0x10) {\n                                uVar37 = uVar37 * 2;\n                              }\n                              if (uVar36 != 0) {\n                                uVar37 = uVar36;\n                              }\n                              if (uVar37 < 8) {\n                                if (0 < (int)(uVar37 * iVar6)) {\n                                  iVar16 = 0;\n                                  do {\n                                    iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar12 == -1) break;\n                                    iVar16 = iVar16 + 1;\n                                  } while (uVar37 * iVar6 != iVar16);\n                                }\n                              }\n                              else {\n                                iVar16 = 0;\n                                if (0 < iVar6) {\n                                  do {\n                                    iVar12 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar12 != 0) break;\n                                    if (uVar37 < 0xc9) {\n                                      uVar36 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) &&\n                                       ((uint)uVar44 < uVar36)) {\n                                      if (unaff_s3 != (ImageInfo *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar38 = 0;\n                                    if (0 < (int)uVar36) {\n                                      do {\n                                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar12 == -1) break;\n                                        uVar38 = uVar38 + 1;\n                                      } while (uVar36 != uVar38);\n                                    }\n                                    iVar16 = iVar16 + 1;\n                                  } while (iVar6 != iVar16);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x413;\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    pIVar9 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (Image *)0x1) goto LAB_002752a0;\n                  uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar36 != 10) {\n                    if (0 < (int)(uVar36 - 2)) {\n                      iVar6 = 0;\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + 1;\n                      } while (uVar36 - 2 != iVar6);\n                    }\n                    goto LAB_00274594;\n                  }\n                  MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                  puVar15 = PTR_SetImageExtent_003a94ac;\n                  if (MVar7 == MagickFalse) {\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((frame.left < 0) || (frame.top < 0)) goto LAB_00274594;\n                  sVar26 = (int)frame.right - (int)frame.left;\n                  sVar31 = (int)frame.bottom - (int)frame.top;\n                  unaff_s0->columns = sVar26;\n                  unaff_s0->rows = sVar31;\n                  iVar6 = (*(code *)puVar15)(unaff_s0,sVar26,sVar31,local_10d8);\n                  if ((iVar6 != 0) &&\n                     (iVar6 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar6 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  pIVar8 = (Image *)(*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((Image *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (Image *)0xa1) {\n                    iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar36 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = 4;\n                      if (uVar36 < 5) {\n                        uVar37 = uVar36;\n                      }\n                      iVar16 = uVar36 - uVar37;\n                      if ((iVar16 != 0) &&\n                         (iVar12 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar16,1),\n                         iVar12 != 0)) {\n                        iVar33 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar16,iVar12);\n                        if (iVar16 != iVar33) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x570;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar11 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar6 == 0xe0) {\n                          uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);\n                          iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar32,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);\n                          if (iVar6 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar6 == 0x1f2) {\n                          uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);\n                          iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar32,local_10d8);\n                          if (iVar6 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar6 = *(int *)(PTR_MagickImageList_3__magick_276__003a8948 +\n                                  (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar6 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar16 = 0;\n                    if (0 < iVar6) {\n                      do {\n                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar12 == -1) break;\n                        iVar16 = iVar16 + 1;\n                      } while (iVar6 != iVar16);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (Image *)0x98) && ((BlobInfo **)0x1 < &unaff_s7[-1].blob))\n                goto LAB_002752a0;\n                bVar3 = unaff_s7[-1].magick + 0xffe < (char *)0x2;\n                if (bVar3) {\n                  uVar36 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                if (MVar7 != MagickFalse) {\n                  pIVar9 = (Image *)(*(code *)PTR_CloneImage_003a9830)\n                                              (unaff_s0,(int)frame.right - (int)frame.left,\n                                               (int)frame.bottom - (int)frame.top,1);\n                  if (pIVar9 == (Image *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(pIVar9,local_10d8);\n                  if ((bVar3) || ((uVar36 & 0x8000) != 0)) {\n                    MVar7 = ReadPixmap(unaff_s0,&pixmap);\n                    if (MVar7 != MagickFalse) {\n                      pIVar9->depth = (int)pixmap.component_size;\n                      puVar15 = PTR_SetImageAlpha_003a8c78;\n                      dVar40 = (double)(int)pixmap.horizontal_resolution;\n                      if ((int)pixmap.horizontal_resolution < 0) {\n                        dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar39 = (double)(int)pixmap.vertical_resolution;\n                      if ((int)pixmap.vertical_resolution < 0) {\n                        dVar39 = dVar39 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (pixmap.component_count == 4) {\n                        pIVar9->alpha_trait = BlendPixelTrait;\n                        pIVar9->units = PixelsPerInchResolution;\n                        puVar25 = PTR_LAB_003a88e0;\n                        (pIVar9->resolution).x = dVar40;\n                        (pIVar9->resolution).y = dVar39;\n                        (*(code *)puVar15)(pIVar9,*(undefined4 *)(puVar25 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        (pIVar9->resolution).x = dVar40;\n                        pIVar9->alpha_trait = UndefinedPixelTrait;\n                        (pIVar9->resolution).y = dVar39;\n                        pIVar9->units = PixelsPerInchResolution;\n                      }\n                      if (!bVar3) {\n                        pIVar9->colors = 2;\n                        if ((uVar36 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar18 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar15 = PTR_AcquireImageColormap_003a9194;\n                        pIVar9->colors = iVar6 + 1U;\n                        iVar6 = (*(code *)puVar15)(pIVar9,iVar6 + 1U,local_10d8);\n                        if (iVar6 == 0) goto LAB_002756e4;\n                        if (0 < (int)pIVar9->colors) {\n                          uVar37 = 0;\n                          do {\n                            uVar17 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar38 = uVar37;\n                            if (-1 < sVar18) {\n                              if (pIVar9->colors == 0) {\n                                trap(7);\n                              }\n                              uVar38 = uVar17 % pIVar9->colors;\n                            }\n                            uVar37 = uVar37 + 1;\n                            iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                            pIVar9->colormap[uVar38].red = (double)iVar6;\n                            iVar6 = (*(code *)puVar15)(unaff_s0);\n                            puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                            pIVar9->colormap[uVar38].green = (double)iVar6;\n                            iVar6 = (*(code *)puVar15)(unaff_s0);\n                            sVar26 = pIVar9->colors;\n                            unaff_s3 = (ImageInfo *)(pIVar9->colormap + uVar38);\n                            *(double *)&unaff_s3->endian = (double)iVar6;\n                          } while ((int)uVar37 < (int)sVar26);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x49e;\n                    unaff_s7 = pIVar9;\n                    goto LAB_002757bc;\n                  }\n                  pIVar9->colors = 2;\nLAB_0027565c:\n                  iVar6 = (*(code *)PTR_AcquireImageColormap_003a9194)(pIVar9,2,local_10d8);\n                  if (iVar6 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x4b8;\n                    unaff_s7 = pIVar9;\nLAB_00275720:\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar11 = 400;\n                    goto LAB_00275084;\n                  }\n                  sVar26 = pIVar9->colors;\n                  if (0 < (int)sVar26) {\n                    pPVar29 = pIVar9->colormap;\n                    pMVar13 = &pPVar29->red;\n                    do {\n                      pMVar14 = pMVar13 + 0xb;\n                      *pMVar13 = (double)(float)(in_f20_21 - *pMVar13);\n                      pMVar13[1] = (double)(float)(in_f20_21 - pMVar13[1]);\n                      pMVar13[2] = (double)(float)(in_f20_21 - pMVar13[2]);\n                      pMVar13 = pMVar14;\n                    } while (pMVar14 != &pPVar29[sVar26].red);\n                  }\nLAB_00274838:\n                  iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar6 == 0) {\n                    MVar7 = ReadRectangle(unaff_s0,&source);\n                    if (MVar7 == MagickFalse) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x4d9;\n                      unaff_s7 = pIVar9;\n                    }\n                    else {\n                      MVar7 = ReadRectangle(unaff_s0,&destination);\n                      if (MVar7 != MagickFalse) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)pIVar8 & 0xfff7) == 0x91) || (unaff_s7 == (Image *)0x9b)) {\n                          uVar37 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar37)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x4e5;\n                            unaff_s7 = pIVar9;\n                            goto LAB_00275880;\n                          }\n                          iVar6 = 0;\n                          if (0 < (int)(uVar37 - 2)) {\n                            do {\n                              iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar16 == -1) break;\n                              iVar6 = iVar6 + 1;\n                            } while (uVar37 - 2 != iVar6);\n                          }\n                        }\n                        if ((bVar3) || ((uVar36 & 0x8000) != 0)) {\n                          uVar37 = (uint)pixmap.bits_per_pixel;\n                        }\n                        else {\n                          uVar37 = 1;\n                        }\n                        unaff_s3 = (ImageInfo *)DecodeImage(unaff_s0,pIVar9,uVar36,uVar37,&extent);\n                        if (unaff_s3 == (ImageInfo *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x4f2;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if ((int)pIVar9->rows < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar6 == 0)) &&\n                               ((bVar3 || ((uVar36 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,pIVar9,0xd,1);\n                            }\n                            unaff_s3 = (ImageInfo *)(*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <=\n                              (ImageInfo *)\n                              ((int)&unaff_s3->compression + unaff_s0->columns + extent)) {\n                            local_10b0 = 0;\n                            uVar37 = 0;\n                            pIVar35 = unaff_s3;\n                            do {\n                              iVar6 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (pIVar9,0,uVar37,pIVar9->columns);\n                              if (iVar6 == 0) goto LAB_00276500;\n                              sVar26 = pIVar9->columns;\n                              if (0 < (int)sVar26) {\n                                iVar16 = 0;\n                                dVar39 = *(double *)(local_10ac + -0x5af0);\n                                dVar40 = dVar39;\n                                do {\n                                  if (pIVar9->storage_class == PseudoClass) {\n                                    if ((int)(uint)(byte)*(undefined1 *)&pIVar35->compression <\n                                        (int)pIVar9->colors) {\n                                      fVar41 = (float)(byte)*(undefined1 *)&pIVar35->compression;\n                                      iVar12 = (int)fVar41 * 0x58;\n                                    }\n                                    else if (local_10d8->severity == CorruptImageError) {\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23);\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                      sVar26 = pIVar9->columns;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    if (pPVar28[5].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[5].offset * 4) = fVar41;\n                                    }\n                                    pPVar29 = pIVar9->colormap;\n                                    iVar23 = pPVar28[1].offset;\n                                    iVar33 = pPVar28[2].offset;\n                                    dVar43 = *(double *)((int)&pPVar29->green + iVar12);\n                                    dVar42 = *(double *)((int)&pPVar29->blue + iVar12);\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)*(double *)((int)&pPVar29->red + iVar12);\n                                    *(float *)(iVar6 + iVar23 * 4) = (float)dVar43;\n                                    *(float *)(iVar6 + iVar33 * 4) = (float)dVar42;\n                                  }\n                                  else if (pixmap.bits_per_pixel == 0x10) {\n                                    bVar1 = *(byte *)((int)&pIVar35->compression + 1);\n                                    pPVar28 = pIVar9->channel_map;\n                                    uVar2 = *(undefined1 *)&pIVar35->compression;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(((byte)uVar2 & 0x7c) << 1) * dVar40);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | ((byte)uVar2 & 3) << 6\n                                                         ) * dVar40);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar40);\n                                    pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  }\n                                  else if (pIVar9->alpha_trait == UndefinedPixelTrait) {\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 2 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(byte)*(undefined1 *)&pIVar35->compression\n                                                * dVar39);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar27 * dVar39);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar27[sVar26] * dVar39);\n                                  }\n                                  else {\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 3 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if (pPVar28[4].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[4].offset * 4) =\n                                           (float)((double)(byte)*(undefined1 *)\n                                                                  &pIVar35->compression * in_f22_23)\n                                      ;\n                                    }\n                                    pbVar34 = pbVar27 + sVar26;\n                                    dVar42 = *(double *)(local_10ac + -0x5af0);\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)*pbVar27 * dVar42);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar34 * dVar42);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar34[sVar26] * dVar42);\n                                  }\n                                  iVar16 = iVar16 + 1;\n                                  pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  iVar6 = iVar6 + pIVar9->number_channels * 4;\n                                } while (iVar16 < (int)sVar26);\n                              }\n                              iVar6 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar9,local_10d8)\n                              ;\n                              if (((iVar6 == 0) ||\n                                  (((pIVar9->storage_class == DirectClass &&\n                                    (pixmap.bits_per_pixel != 0x10)) &&\n                                   (pIVar35 = (ImageInfo *)\n                                              ((int)&pIVar35->compression +\n                                              (pixmap.component_count + -1) * pIVar9->columns),\n                                   pIVar35 < unaff_s3)))) ||\n                                 ((iVar6 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar37), iVar6 == 0 ||\n                                  (uVar38 = uVar37 + 1, (int)pIVar9->rows <= (int)uVar38))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar38 < uVar37) + local_10b0;\n                              uVar37 = uVar38;\n                            } while (pIVar35 <=\n                                     (ImageInfo *)\n                                     ((int)&unaff_s3->compression + unaff_s0->columns + extent));\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x4fc;\n                          unaff_s7 = pIVar9;\nLAB_0027504c:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          pIVar9 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x4db;\n                      unaff_s7 = pIVar9;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar32 = 0x4d7;\n                  unaff_s7 = pIVar9;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (ImageInfo *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar32 = 0x491;\nLAB_002757bc:\n                puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar15 = PTR_s_courses_003a88ec + -400;\n                pIVar9 = unaff_s7;\nLAB_0027507c:\n                uVar11 = 0x1a9;\n                unaff_s7 = pIVar9;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar25,puVar30,uVar32,uVar11,puVar15,uVar44);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                pIVar8 = (Image *)0x0;\n                goto LAB_00274228;\n              }\n              if (unaff_s0->debug != MagickFalse) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3);\n              }\n              if (unaff_s7 != (Image *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7[-1].magick + 0xfe8) {\nLAB_00274594:\n                  if ((char *)0xff < unaff_s7[-3].magick_filename + 0x848) {\n                    if (unaff_s7 == (Image *)0x8200) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                        if (unaff_s3 != (ImageInfo *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar32 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar6 = 6;\n                      if (0x9a < uVar36) {\n                        do {\n                          iVar6 = iVar6 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar6 != 0);\n                        MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                        if (MVar7 == MagickFalse) {\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x5c8;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\nLAB_00275b88:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_courses_003a88ec + -400;\n                          uVar11 = 0x1a9;\n                        }\n                        else {\n                          iVar6 = 0x7a;\n                          do {\n                            iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar16 == -1) break;\n                            iVar6 = iVar6 + -1;\n                          } while (iVar6 != 0);\n                          iVar6 = uVar36 - 0x9a;\n                          pIVar8 = (Image *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar6,1);\n                          pcVar10 = local_10d0->filename;\n                          if (pIVar8 != (Image *)0x0) {\n                            uVar32 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar6,pIVar8,&destination);\n                            if (destination._0_4_ == iVar6) {\n                              iVar6 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar6 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pcVar10);\n                              unaff_s3 = (ImageInfo *)\n                                         (*(code *)PTR_BlobToImage_003a9330)\n                                                   (iVar6,uVar32,destination._0_4_,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar6);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x5d5;\n                            uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                            unaff_s7 = pIVar8;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x5d0;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar11 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        pcVar10 = unaff_s3->size;\n                        if (pcVar10 < (char *)unaff_s0->columns) {\n                          pcVar10 = (char *)unaff_s0->columns;\n                        }\n                        dVar40 = (double)(int)pcVar10;\n                        if ((int)pcVar10 < 0) {\n                          dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        pcVar24 = (char *)unaff_s0->rows;\n                        pcVar10 = unaff_s3->extract;\n                        if (pcVar10 < pcVar24) {\n                          in_f2_3 = (double)(int)pcVar24;\n                          if ((int)pcVar24 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)pcVar10;\n                          if ((int)pcVar10 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (geometry,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        pcVar10 = (char *)unaff_s0->columns;\n                        if ((char *)unaff_s0->columns <= unaff_s3->size) {\n                          pcVar10 = unaff_s3->size;\n                        }\n                        pcVar24 = unaff_s3->extract;\n                        if (unaff_s3->extract < (char *)unaff_s0->rows) {\n                          pcVar24 = (char *)unaff_s0->rows;\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,pcVar10,pcVar24,local_10d8,dVar40,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,unaff_s3->orientation,local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,unaff_s3,0xd,1);\n                        puVar15 = PTR_DestroyImage_003a8f4c;\n                        unaff_s0->compression = unaff_s3->temporary;\n                        unaff_s3 = (ImageInfo *)(*(code *)puVar15)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pIVar35 = unaff_s3;\n                    pIVar9 = unaff_s7;\n                    if ((unaff_s7 == (Image *)0xff) ||\n                       (pIVar35 = unaff_s3, unaff_s7 == (Image *)0xffff)) goto LAB_00274430;\n                    if ((unaff_s7[-1].magick + 0xfc8 < (char *)0x2f) ||\n                       (unaff_s7[-3].magick_filename + 0x748 < (char *)0x7f00)) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44)) {\n                        if (uVar36 != 0) {\n                          uVar37 = 0;\n                          do {\n                            iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar6 == -1) break;\n                            uVar37 = uVar37 + 1;\n                          } while (uVar36 != uVar37);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x5f8;\n                    }\n                    else {\n                      if ((char *)0x7eff < unaff_s7[-1].magick + 0xf98) goto LAB_002744b8;\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar44)) {\n                        uVar36 = 0;\n                        do {\n                          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar6 == -1) break;\n                          uVar36 = uVar36 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar36);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x606;\n                    }\nLAB_00275880:\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_s_courses_003a88ec + 0x4a0;\n                    pIVar9 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar6 = 0x18;\n              do {\n                iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar16 == -1) break;\n                iVar6 = iVar6 + -1;\n              } while (iVar6 != 0);\n            } while( true );\n          }\n          uVar32 = 0x3a8;\n        }\n      }\nLAB_002741b8:\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (exception,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,uVar32,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,image_info->filename);\n      if (unaff_s0 == (Image *)0x0) goto LAB_00274224;\n      goto LAB_00274208;\n    }\n  }\n  else {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0xda0,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n               0x375,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\n  }\n  (*(code *)PTR___assert_fail_003a9608)\n            (PTR_LAB_003a88e0 + 0x294c,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n             0x37a,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\nLAB_00275e6c:\n  (*(code *)PTR___assert_fail_003a9608)\n            (PTR_LAB_003a88e0 + 0x1cac,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n             0x379,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\n  goto LAB_00275e90;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "undefined1 uVar2;" type_identifier identifier ;) (declaration "bool bVar3;" primitive_type identifier ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "char cVar19;" primitive_type identifier ;) (declaration "char cVar20;" primitive_type identifier ;) (declaration "char cVar21;" primitive_type identifier ;) (declaration "char cVar22;" primitive_type identifier ;) (declaration "MagickBooleanType MVar7;" type_identifier identifier ;) (declaration "Image *pIVar8;" type_identifier (pointer_declarator "*pIVar8" * identifier) ;) (declaration "Image *pIVar9;" type_identifier (pointer_declarator "*pIVar9" * identifier) ;) (declaration "char *pcVar10;" primitive_type (pointer_declarator "*pcVar10" * identifier) ;) (declaration "undefined4 uVar11;" type_identifier identifier ;) (declaration "int iVar12;" primitive_type identifier ;) (declaration "MagickRealType *pMVar13;" type_identifier (pointer_declarator "*pMVar13" * identifier) ;) (declaration "MagickRealType *pMVar14;" type_identifier (pointer_declarator "*pMVar14" * identifier) ;) (declaration "undefined *puVar15;" type_identifier (pointer_declarator "*puVar15" * identifier) ;) (declaration "int iVar16;" primitive_type identifier ;) (declaration "short sVar18;" (sized_type_specifier "short" short) identifier ;) (declaration "uint uVar17;" type_identifier identifier ;) (declaration "uint extraout_v1;" type_identifier identifier ;) (declaration "int iVar23;" primitive_type identifier ;) (declaration "char *pcVar24;" primitive_type (pointer_declarator "*pcVar24" * identifier) ;) (declaration "undefined *puVar25;" type_identifier (pointer_declarator "*puVar25" * identifier) ;) (declaration "size_t sVar26;" primitive_type identifier ;) (declaration "byte *pbVar27;" type_identifier (pointer_declarator "*pbVar27" * identifier) ;) (declaration "PixelChannelMap *pPVar28;" type_identifier (pointer_declarator "*pPVar28" * identifier) ;) (declaration "PixelInfo *pPVar29;" type_identifier (pointer_declarator "*pPVar29" * identifier) ;) (declaration "undefined *puVar30;" type_identifier (pointer_declarator "*puVar30" * identifier) ;) (declaration "size_t sVar31;" primitive_type identifier ;) (declaration "undefined4 uVar32;" type_identifier identifier ;) (declaration "int iVar33;" primitive_type identifier ;) (declaration "byte *pbVar34;" type_identifier (pointer_declarator "*pbVar34" * identifier) ;) (declaration "Image *unaff_s0;" type_identifier (pointer_declarator "*unaff_s0" * identifier) ;) (declaration "ImageInfo *unaff_s3;" type_identifier (pointer_declarator "*unaff_s3" * identifier) ;) (declaration "ImageInfo *pIVar35;" type_identifier (pointer_declarator "*pIVar35" * identifier) ;) (declaration "uint uVar36;" type_identifier identifier ;) (declaration "uint uVar37;" type_identifier identifier ;) (declaration "uint uVar38;" type_identifier identifier ;) (declaration "Image *unaff_s7;" type_identifier (pointer_declarator "*unaff_s7" * identifier) ;) (declaration "double dVar39;" primitive_type identifier ;) (declaration "float fVar41;" primitive_type identifier ;) (declaration "double dVar40;" primitive_type identifier ;) (declaration "double in_f2_3;" primitive_type identifier ;) (declaration "double dVar42;" primitive_type identifier ;) (declaration "double dVar43;" primitive_type identifier ;) (declaration "double in_f20_21;" primitive_type identifier ;) (declaration "double in_f22_23;" primitive_type identifier ;) (declaration "double in_f24_25;" primitive_type identifier ;) (declaration "undefined8 uVar44;" type_identifier identifier ;) (declaration "ExceptionInfo *local_10d8;" type_identifier (pointer_declarator "*local_10d8" * identifier) ;) (declaration "int local_10d4;" primitive_type identifier ;) (declaration "ImageInfo *local_10d0;" type_identifier (pointer_declarator "*local_10d0" * identifier) ;) (declaration "int local_10cc;" primitive_type identifier ;) (declaration "undefined *local_10c8;" type_identifier (pointer_declarator "*local_10c8" * identifier) ;) (declaration "PICTRectangle *local_10bc;" type_identifier (pointer_declarator "*local_10bc" * identifier) ;) (declaration "int local_10b8;" primitive_type identifier ;) (declaration "int local_10b0;" primitive_type identifier ;) (declaration "undefined *local_10ac;" type_identifier (pointer_declarator "*local_10ac" * identifier) ;) (declaration "size_t extent;" primitive_type identifier ;) (declaration "PICTRectangle frame;" type_identifier identifier ;) (declaration "PICTRectangle source;" type_identifier identifier ;) (declaration "PICTRectangle destination;" type_identifier identifier ;) (declaration "PICTPixmap pixmap;" type_identifier identifier ;) (declaration "char geometry [4096];" primitive_type (array_declarator "geometry [4096]" identifier [ number_literal ]) ;) (expression_statement "puVar4 = PTR___stack_chk_guard_003a9230;" (assignment_expression "puVar4 = PTR___stack_chk_guard_003a9230" identifier = identifier) ;) (expression_statement "iVar5 = *(int *)PTR___stack_chk_guard_003a9230;" (assignment_expression "iVar5 = *(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    dVar40 = (double)(*(code *)PTR___assert_fail_003a9608)\n                               (PTR_LAB_003a88e0 + 0xd78,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,0x374,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\n    goto LAB_00275d54;\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    dVar40 = (double)(*(code *)PTR___assert_fail_003a9608)\n                               (PTR_LAB_003a88e0 + 0xd78,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,0x374,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\n    goto LAB_00275d54;\n  }" { (expression_statement "dVar40 = (double)(*(code *)PTR___assert_fail_003a9608)\n                               (PTR_LAB_003a88e0 + 0xd78,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,0x374,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);" (assignment_expression "dVar40 = (double)(*(code *)PTR___assert_fail_003a9608)\n                               (PTR_LAB_003a88e0 + 0xd78,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,0x374,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac)" identifier = (cast_expression "(double)(*(code *)PTR___assert_fail_003a9608)\n                               (PTR_LAB_003a88e0 + 0xd78,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,0x374,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac)" ( (type_descriptor "double" primitive_type) ) (call_expression "(*(code *)PTR___assert_fail_003a9608)\n                               (PTR_LAB_003a88e0 + 0xd78,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,0x374,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac)" (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 + -0x3d60,0x374,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac)" ( (binary_expression "PTR_LAB_003a88e0 + 0xd78" identifier + number_literal) , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier + number_literal) , number_literal , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac" identifier + number_literal) ))))) ;) (goto_statement "goto LAB_00275d54;" goto statement_identifier ;) })) (if_statement "if (image_info->signature == 0xabacadab) {\n    if (image_info->debug != MagickFalse) {\n      (*(code *)PTR_LogMagickEvent_003a91e0)\n                (0x8000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x377);\n    }\n    if (exception == (ExceptionInfo *)0x0) goto LAB_00275e6c;\n    if (exception->signature == 0xabacadab) {\n      unaff_s0 = (Image *)(*(code *)PTR_AcquireImage_003a960c)(image_info,exception);\n      iVar6 = (*(code *)PTR_OpenBlob_003a924c)(image_info,unaff_s0,2,exception);\n      if (iVar6 == 0) {\n        (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n        pIVar8 = (Image *)0x0;\n        goto LAB_00274228;\n      }\n      pixmap.bits_per_pixel = 0;\n      pixmap.component_count = 0;\n      cVar19 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar20 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar21 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar22 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      if ((((cVar19 != 'P') || (unaff_s3 = (ImageInfo *)0x1fc, cVar20 != 'I')) || (cVar21 != 'C'))\n         || (cVar22 != 'T')) {\n        unaff_s3 = (ImageInfo *)0x1fc;\n        do {\n          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (iVar6 == -1) break;\n          unaff_s3 = (ImageInfo *)((int)&unaff_s3[-1].matte_color.index + 7);\n        } while (unaff_s3 != (ImageInfo *)0x0);\n      }\n      (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n      MVar7 = ReadRectangle(unaff_s0,&frame);\n      if (MVar7 == MagickFalse) {\n        uVar32 = 0x397;\n      }\n      else {\n        do {\n          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n        } while (iVar6 == 0);\n        uVar32 = 0x39a;\n        if (iVar6 == 0x11) {\n          local_10d4 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (local_10d4 == 2) {\n            iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n            if (iVar6 != 0xff) {\n              uVar32 = 0x3a0;\n              goto LAB_002741b8;\n            }\n          }\n          else if (local_10d4 != 1) {\n            uVar32 = 0x3a4;\n            goto LAB_002741b8;\n          }\n          iVar6 = (int)frame.left;\n          iVar16 = (int)frame.right;\n          if ((((-1 < iVar6) && (iVar12 = (int)frame.top, -1 < iVar16)) &&\n              ((iVar33 = (int)frame.bottom, -1 < iVar12 && ((-1 < iVar33 && (iVar6 < iVar16)))))) &&\n             (iVar12 < iVar33)) {\n            MVar7 = image_info->ping;\n            unaff_s0->units = UndefinedResolution;\n            unaff_s0->columns = iVar16 - iVar6;\n            unaff_s0->depth = 8;\n            puVar15 = PTR_LAB_003a88e0;\n            unaff_s0->rows = iVar33 - iVar12;\n            dVar40 = *(double *)(puVar15 + 0x13f0);\n            (unaff_s0->resolution).x = dVar40;\n            (unaff_s0->resolution).y = dVar40;\n            if (((MVar7 != MagickFalse) && (image_info->number_scenes != 0)) &&\n               (pIVar35 = unaff_s3, pIVar9 = unaff_s7,\n               (image_info->number_scenes + image_info->scene) - 1 <= unaff_s0->scene))\n            goto LAB_00274430;\n            iVar6 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar16 - iVar6,iVar33 - iVar12,exception);\n            if (iVar6 == 0) goto LAB_002743d4;\n            iVar6 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,exception);\n            if (iVar6 == 0) goto LAB_002743d4;\n            local_10c8 = PTR_LAB_003a88e0;\n            unaff_s7 = (Image *)0x0;\n            local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n            unaff_s3 = (ImageInfo *)0x0;\n            local_10b8 = 0;\n            in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418);\n            in_f22_23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n            in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58);\n            local_10cc = 0;\n            local_10bc = &frame;\n            local_10d0 = image_info;\n            local_10d8 = exception;\nLAB_002744b8:\n            do {\n              pIVar9 = (Image *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pIVar35 = local_10d0;\n              if ((pIVar9 != (Image *)0x0) ||\n                 (((local_10d0->ping != MagickFalse && (local_10d0->number_scenes != 0)) &&\n                  ((local_10d0->number_scenes + local_10d0->scene) - 1 <= unaff_s0->scene)))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                pIVar8 = (Image *)(*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pIVar35;\n                unaff_s7 = pIVar9;\nLAB_00274228:\n                if (iVar5 == *(int *)puVar4) {\n                  return pIVar8;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), pIVar8 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                pIVar8 = (Image *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                pIVar8 = (Image *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (Image *)((uint)pIVar8 & 0xffff);\n              if (unaff_s7 == (Image *)0x0) {\n                unaff_s7 = (Image *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (Image *)0xa2) {\n                if (unaff_s0->debug != MagickFalse) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)\n                              (PTR_MagickImageList_3__magick_276__003a8948 +\n                              (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_MagickImageList_3__magick_276__003a8948 +\n                                    (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (Image *)0x78) {\n                  if ((Image *)0x6f < unaff_s7) {\n                    uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar6 = 0;\n                    if (0 < (int)(uVar36 - 2)) {\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + 1;\n                      } while (iVar6 != uVar36 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((Image *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (Image *)&DAT_0000001b) {\n                      iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                      (unaff_s0->background_color).red = (double)iVar6;\n                      iVar6 = (*(code *)puVar15)(unaff_s0);\n                      puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                      (unaff_s0->background_color).green = (double)iVar6;\n                      iVar6 = (*(code *)puVar15)(unaff_s0);\n                      (unaff_s0->background_color).blue = (double)iVar6;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if ((Image *)&DAT_00000011 < unaff_s7) {\n                    iVar16 = 8;\n                    iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar12 == -1) break;\n                      iVar16 = iVar16 + -1;\n                    } while (iVar16 != 0);\n                    if (iVar6 == 2) {\n                      iVar6 = 5;\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + -1;\n                      } while (iVar6 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar6 == 1) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44)) {\n                        MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                        if (MVar7 == MagickFalse) {\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x419;\n                        }\n                        else {\n                          MVar7 = ReadPixmap(unaff_s0,&pixmap);\n                          if (MVar7 != MagickFalse) {\n                            unaff_s0->depth = (int)pixmap.component_size;\n                            dVar40 = (double)(int)pixmap.horizontal_resolution;\n                            if ((int)pixmap.horizontal_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).x = dVar40;\n                            puVar15 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar40 = (double)(int)pixmap.vertical_resolution;\n                            if ((int)pixmap.vertical_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).y = dVar40;\n                            unaff_s0->units = PixelsPerInchResolution;\n                            (*(code *)puVar15)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44))\n                            {\n                              iVar6 = 0;\n                              do {\n                                iVar6 = iVar6 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar6 != uVar36 + 1);\n                              uVar37 = (int)frame.bottom - (int)frame.top;\n                              iVar6 = (int)frame.right - (int)frame.left;\n                              if (pixmap.bits_per_pixel < 9) {\n                                uVar36 = uVar36 & 0x7fff;\n                              }\n                              else if (pixmap.bits_per_pixel == 0x10) {\n                                uVar37 = uVar37 * 2;\n                              }\n                              if (uVar36 != 0) {\n                                uVar37 = uVar36;\n                              }\n                              if (uVar37 < 8) {\n                                if (0 < (int)(uVar37 * iVar6)) {\n                                  iVar16 = 0;\n                                  do {\n                                    iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar12 == -1) break;\n                                    iVar16 = iVar16 + 1;\n                                  } while (uVar37 * iVar6 != iVar16);\n                                }\n                              }\n                              else {\n                                iVar16 = 0;\n                                if (0 < iVar6) {\n                                  do {\n                                    iVar12 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar12 != 0) break;\n                                    if (uVar37 < 0xc9) {\n                                      uVar36 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) &&\n                                       ((uint)uVar44 < uVar36)) {\n                                      if (unaff_s3 != (ImageInfo *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar38 = 0;\n                                    if (0 < (int)uVar36) {\n                                      do {\n                                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar12 == -1) break;\n                                        uVar38 = uVar38 + 1;\n                                      } while (uVar36 != uVar38);\n                                    }\n                                    iVar16 = iVar16 + 1;\n                                  } while (iVar6 != iVar16);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x413;\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    pIVar9 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (Image *)0x1) goto LAB_002752a0;\n                  uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar36 != 10) {\n                    if (0 < (int)(uVar36 - 2)) {\n                      iVar6 = 0;\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + 1;\n                      } while (uVar36 - 2 != iVar6);\n                    }\n                    goto LAB_00274594;\n                  }\n                  MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                  puVar15 = PTR_SetImageExtent_003a94ac;\n                  if (MVar7 == MagickFalse) {\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((frame.left < 0) || (frame.top < 0)) goto LAB_00274594;\n                  sVar26 = (int)frame.right - (int)frame.left;\n                  sVar31 = (int)frame.bottom - (int)frame.top;\n                  unaff_s0->columns = sVar26;\n                  unaff_s0->rows = sVar31;\n                  iVar6 = (*(code *)puVar15)(unaff_s0,sVar26,sVar31,local_10d8);\n                  if ((iVar6 != 0) &&\n                     (iVar6 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar6 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  pIVar8 = (Image *)(*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((Image *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (Image *)0xa1) {\n                    iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar36 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = 4;\n                      if (uVar36 < 5) {\n                        uVar37 = uVar36;\n                      }\n                      iVar16 = uVar36 - uVar37;\n                      if ((iVar16 != 0) &&\n                         (iVar12 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar16,1),\n                         iVar12 != 0)) {\n                        iVar33 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar16,iVar12);\n                        if (iVar16 != iVar33) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x570;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar11 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar6 == 0xe0) {\n                          uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);\n                          iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar32,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);\n                          if (iVar6 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar6 == 0x1f2) {\n                          uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);\n                          iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar32,local_10d8);\n                          if (iVar6 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar6 = *(int *)(PTR_MagickImageList_3__magick_276__003a8948 +\n                                  (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar6 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar16 = 0;\n                    if (0 < iVar6) {\n                      do {\n                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar12 == -1) break;\n                        iVar16 = iVar16 + 1;\n                      } while (iVar6 != iVar16);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (Image *)0x98) && ((BlobInfo **)0x1 < &unaff_s7[-1].blob))\n                goto LAB_002752a0;\n                bVar3 = unaff_s7[-1].magick + 0xffe < (char *)0x2;\n                if (bVar3) {\n                  uVar36 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                if (MVar7 != MagickFalse) {\n                  pIVar9 = (Image *)(*(code *)PTR_CloneImage_003a9830)\n                                              (unaff_s0,(int)frame.right - (int)frame.left,\n                                               (int)frame.bottom - (int)frame.top,1);\n                  if (pIVar9 == (Image *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(pIVar9,local_10d8);\n                  if ((bVar3) || ((uVar36 & 0x8000) != 0)) {\n                    MVar7 = ReadPixmap(unaff_s0,&pixmap);\n                    if (MVar7 != MagickFalse) {\n                      pIVar9->depth = (int)pixmap.component_size;\n                      puVar15 = PTR_SetImageAlpha_003a8c78;\n                      dVar40 = (double)(int)pixmap.horizontal_resolution;\n                      if ((int)pixmap.horizontal_resolution < 0) {\n                        dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar39 = (double)(int)pixmap.vertical_resolution;\n                      if ((int)pixmap.vertical_resolution < 0) {\n                        dVar39 = dVar39 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (pixmap.component_count == 4) {\n                        pIVar9->alpha_trait = BlendPixelTrait;\n                        pIVar9->units = PixelsPerInchResolution;\n                        puVar25 = PTR_LAB_003a88e0;\n                        (pIVar9->resolution).x = dVar40;\n                        (pIVar9->resolution).y = dVar39;\n                        (*(code *)puVar15)(pIVar9,*(undefined4 *)(puVar25 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        (pIVar9->resolution).x = dVar40;\n                        pIVar9->alpha_trait = UndefinedPixelTrait;\n                        (pIVar9->resolution).y = dVar39;\n                        pIVar9->units = PixelsPerInchResolution;\n                      }\n                      if (!bVar3) {\n                        pIVar9->colors = 2;\n                        if ((uVar36 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar18 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar15 = PTR_AcquireImageColormap_003a9194;\n                        pIVar9->colors = iVar6 + 1U;\n                        iVar6 = (*(code *)puVar15)(pIVar9,iVar6 + 1U,local_10d8);\n                        if (iVar6 == 0) goto LAB_002756e4;\n                        if (0 < (int)pIVar9->colors) {\n                          uVar37 = 0;\n                          do {\n                            uVar17 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar38 = uVar37;\n                            if (-1 < sVar18) {\n                              if (pIVar9->colors == 0) {\n                                trap(7);\n                              }\n                              uVar38 = uVar17 % pIVar9->colors;\n                            }\n                            uVar37 = uVar37 + 1;\n                            iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                            pIVar9->colormap[uVar38].red = (double)iVar6;\n                            iVar6 = (*(code *)puVar15)(unaff_s0);\n                            puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                            pIVar9->colormap[uVar38].green = (double)iVar6;\n                            iVar6 = (*(code *)puVar15)(unaff_s0);\n                            sVar26 = pIVar9->colors;\n                            unaff_s3 = (ImageInfo *)(pIVar9->colormap + uVar38);\n                            *(double *)&unaff_s3->endian = (double)iVar6;\n                          } while ((int)uVar37 < (int)sVar26);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x49e;\n                    unaff_s7 = pIVar9;\n                    goto LAB_002757bc;\n                  }\n                  pIVar9->colors = 2;\nLAB_0027565c:\n                  iVar6 = (*(code *)PTR_AcquireImageColormap_003a9194)(pIVar9,2,local_10d8);\n                  if (iVar6 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x4b8;\n                    unaff_s7 = pIVar9;\nLAB_00275720:\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar11 = 400;\n                    goto LAB_00275084;\n                  }\n                  sVar26 = pIVar9->colors;\n                  if (0 < (int)sVar26) {\n                    pPVar29 = pIVar9->colormap;\n                    pMVar13 = &pPVar29->red;\n                    do {\n                      pMVar14 = pMVar13 + 0xb;\n                      *pMVar13 = (double)(float)(in_f20_21 - *pMVar13);\n                      pMVar13[1] = (double)(float)(in_f20_21 - pMVar13[1]);\n                      pMVar13[2] = (double)(float)(in_f20_21 - pMVar13[2]);\n                      pMVar13 = pMVar14;\n                    } while (pMVar14 != &pPVar29[sVar26].red);\n                  }\nLAB_00274838:\n                  iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar6 == 0) {\n                    MVar7 = ReadRectangle(unaff_s0,&source);\n                    if (MVar7 == MagickFalse) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x4d9;\n                      unaff_s7 = pIVar9;\n                    }\n                    else {\n                      MVar7 = ReadRectangle(unaff_s0,&destination);\n                      if (MVar7 != MagickFalse) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)pIVar8 & 0xfff7) == 0x91) || (unaff_s7 == (Image *)0x9b)) {\n                          uVar37 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar37)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x4e5;\n                            unaff_s7 = pIVar9;\n                            goto LAB_00275880;\n                          }\n                          iVar6 = 0;\n                          if (0 < (int)(uVar37 - 2)) {\n                            do {\n                              iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar16 == -1) break;\n                              iVar6 = iVar6 + 1;\n                            } while (uVar37 - 2 != iVar6);\n                          }\n                        }\n                        if ((bVar3) || ((uVar36 & 0x8000) != 0)) {\n                          uVar37 = (uint)pixmap.bits_per_pixel;\n                        }\n                        else {\n                          uVar37 = 1;\n                        }\n                        unaff_s3 = (ImageInfo *)DecodeImage(unaff_s0,pIVar9,uVar36,uVar37,&extent);\n                        if (unaff_s3 == (ImageInfo *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x4f2;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if ((int)pIVar9->rows < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar6 == 0)) &&\n                               ((bVar3 || ((uVar36 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,pIVar9,0xd,1);\n                            }\n                            unaff_s3 = (ImageInfo *)(*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <=\n                              (ImageInfo *)\n                              ((int)&unaff_s3->compression + unaff_s0->columns + extent)) {\n                            local_10b0 = 0;\n                            uVar37 = 0;\n                            pIVar35 = unaff_s3;\n                            do {\n                              iVar6 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (pIVar9,0,uVar37,pIVar9->columns);\n                              if (iVar6 == 0) goto LAB_00276500;\n                              sVar26 = pIVar9->columns;\n                              if (0 < (int)sVar26) {\n                                iVar16 = 0;\n                                dVar39 = *(double *)(local_10ac + -0x5af0);\n                                dVar40 = dVar39;\n                                do {\n                                  if (pIVar9->storage_class == PseudoClass) {\n                                    if ((int)(uint)(byte)*(undefined1 *)&pIVar35->compression <\n                                        (int)pIVar9->colors) {\n                                      fVar41 = (float)(byte)*(undefined1 *)&pIVar35->compression;\n                                      iVar12 = (int)fVar41 * 0x58;\n                                    }\n                                    else if (local_10d8->severity == CorruptImageError) {\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23);\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                      sVar26 = pIVar9->columns;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    if (pPVar28[5].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[5].offset * 4) = fVar41;\n                                    }\n                                    pPVar29 = pIVar9->colormap;\n                                    iVar23 = pPVar28[1].offset;\n                                    iVar33 = pPVar28[2].offset;\n                                    dVar43 = *(double *)((int)&pPVar29->green + iVar12);\n                                    dVar42 = *(double *)((int)&pPVar29->blue + iVar12);\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)*(double *)((int)&pPVar29->red + iVar12);\n                                    *(float *)(iVar6 + iVar23 * 4) = (float)dVar43;\n                                    *(float *)(iVar6 + iVar33 * 4) = (float)dVar42;\n                                  }\n                                  else if (pixmap.bits_per_pixel == 0x10) {\n                                    bVar1 = *(byte *)((int)&pIVar35->compression + 1);\n                                    pPVar28 = pIVar9->channel_map;\n                                    uVar2 = *(undefined1 *)&pIVar35->compression;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(((byte)uVar2 & 0x7c) << 1) * dVar40);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | ((byte)uVar2 & 3) << 6\n                                                         ) * dVar40);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar40);\n                                    pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  }\n                                  else if (pIVar9->alpha_trait == UndefinedPixelTrait) {\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 2 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(byte)*(undefined1 *)&pIVar35->compression\n                                                * dVar39);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar27 * dVar39);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar27[sVar26] * dVar39);\n                                  }\n                                  else {\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 3 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if (pPVar28[4].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[4].offset * 4) =\n                                           (float)((double)(byte)*(undefined1 *)\n                                                                  &pIVar35->compression * in_f22_23)\n                                      ;\n                                    }\n                                    pbVar34 = pbVar27 + sVar26;\n                                    dVar42 = *(double *)(local_10ac + -0x5af0);\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)*pbVar27 * dVar42);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar34 * dVar42);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar34[sVar26] * dVar42);\n                                  }\n                                  iVar16 = iVar16 + 1;\n                                  pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  iVar6 = iVar6 + pIVar9->number_channels * 4;\n                                } while (iVar16 < (int)sVar26);\n                              }\n                              iVar6 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar9,local_10d8)\n                              ;\n                              if (((iVar6 == 0) ||\n                                  (((pIVar9->storage_class == DirectClass &&\n                                    (pixmap.bits_per_pixel != 0x10)) &&\n                                   (pIVar35 = (ImageInfo *)\n                                              ((int)&pIVar35->compression +\n                                              (pixmap.component_count + -1) * pIVar9->columns),\n                                   pIVar35 < unaff_s3)))) ||\n                                 ((iVar6 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar37), iVar6 == 0 ||\n                                  (uVar38 = uVar37 + 1, (int)pIVar9->rows <= (int)uVar38))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar38 < uVar37) + local_10b0;\n                              uVar37 = uVar38;\n                            } while (pIVar35 <=\n                                     (ImageInfo *)\n                                     ((int)&unaff_s3->compression + unaff_s0->columns + extent));\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x4fc;\n                          unaff_s7 = pIVar9;\nLAB_0027504c:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          pIVar9 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x4db;\n                      unaff_s7 = pIVar9;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar32 = 0x4d7;\n                  unaff_s7 = pIVar9;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (ImageInfo *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar32 = 0x491;\nLAB_002757bc:\n                puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar15 = PTR_s_courses_003a88ec + -400;\n                pIVar9 = unaff_s7;\nLAB_0027507c:\n                uVar11 = 0x1a9;\n                unaff_s7 = pIVar9;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar25,puVar30,uVar32,uVar11,puVar15,uVar44);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                pIVar8 = (Image *)0x0;\n                goto LAB_00274228;\n              }\n              if (unaff_s0->debug != MagickFalse) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3);\n              }\n              if (unaff_s7 != (Image *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7[-1].magick + 0xfe8) {\nLAB_00274594:\n                  if ((char *)0xff < unaff_s7[-3].magick_filename + 0x848) {\n                    if (unaff_s7 == (Image *)0x8200) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                        if (unaff_s3 != (ImageInfo *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar32 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar6 = 6;\n                      if (0x9a < uVar36) {\n                        do {\n                          iVar6 = iVar6 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar6 != 0);\n                        MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                        if (MVar7 == MagickFalse) {\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x5c8;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\nLAB_00275b88:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_courses_003a88ec + -400;\n                          uVar11 = 0x1a9;\n                        }\n                        else {\n                          iVar6 = 0x7a;\n                          do {\n                            iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar16 == -1) break;\n                            iVar6 = iVar6 + -1;\n                          } while (iVar6 != 0);\n                          iVar6 = uVar36 - 0x9a;\n                          pIVar8 = (Image *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar6,1);\n                          pcVar10 = local_10d0->filename;\n                          if (pIVar8 != (Image *)0x0) {\n                            uVar32 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar6,pIVar8,&destination);\n                            if (destination._0_4_ == iVar6) {\n                              iVar6 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar6 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pcVar10);\n                              unaff_s3 = (ImageInfo *)\n                                         (*(code *)PTR_BlobToImage_003a9330)\n                                                   (iVar6,uVar32,destination._0_4_,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar6);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x5d5;\n                            uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                            unaff_s7 = pIVar8;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x5d0;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar11 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        pcVar10 = unaff_s3->size;\n                        if (pcVar10 < (char *)unaff_s0->columns) {\n                          pcVar10 = (char *)unaff_s0->columns;\n                        }\n                        dVar40 = (double)(int)pcVar10;\n                        if ((int)pcVar10 < 0) {\n                          dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        pcVar24 = (char *)unaff_s0->rows;\n                        pcVar10 = unaff_s3->extract;\n                        if (pcVar10 < pcVar24) {\n                          in_f2_3 = (double)(int)pcVar24;\n                          if ((int)pcVar24 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)pcVar10;\n                          if ((int)pcVar10 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (geometry,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        pcVar10 = (char *)unaff_s0->columns;\n                        if ((char *)unaff_s0->columns <= unaff_s3->size) {\n                          pcVar10 = unaff_s3->size;\n                        }\n                        pcVar24 = unaff_s3->extract;\n                        if (unaff_s3->extract < (char *)unaff_s0->rows) {\n                          pcVar24 = (char *)unaff_s0->rows;\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,pcVar10,pcVar24,local_10d8,dVar40,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,unaff_s3->orientation,local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,unaff_s3,0xd,1);\n                        puVar15 = PTR_DestroyImage_003a8f4c;\n                        unaff_s0->compression = unaff_s3->temporary;\n                        unaff_s3 = (ImageInfo *)(*(code *)puVar15)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pIVar35 = unaff_s3;\n                    pIVar9 = unaff_s7;\n                    if ((unaff_s7 == (Image *)0xff) ||\n                       (pIVar35 = unaff_s3, unaff_s7 == (Image *)0xffff)) goto LAB_00274430;\n                    if ((unaff_s7[-1].magick + 0xfc8 < (char *)0x2f) ||\n                       (unaff_s7[-3].magick_filename + 0x748 < (char *)0x7f00)) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44)) {\n                        if (uVar36 != 0) {\n                          uVar37 = 0;\n                          do {\n                            iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar6 == -1) break;\n                            uVar37 = uVar37 + 1;\n                          } while (uVar36 != uVar37);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x5f8;\n                    }\n                    else {\n                      if ((char *)0x7eff < unaff_s7[-1].magick + 0xf98) goto LAB_002744b8;\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar44)) {\n                        uVar36 = 0;\n                        do {\n                          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar6 == -1) break;\n                          uVar36 = uVar36 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar36);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x606;\n                    }\nLAB_00275880:\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_s_courses_003a88ec + 0x4a0;\n                    pIVar9 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar6 = 0x18;\n              do {\n                iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar16 == -1) break;\n                iVar6 = iVar6 + -1;\n              } while (iVar6 != 0);\n            } while( true );\n          }\n          uVar32 = 0x3a8;\n        }\n      }\nLAB_002741b8:\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (exception,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,uVar32,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,image_info->filename);\n      if (unaff_s0 == (Image *)0x0) goto LAB_00274224;\n      goto LAB_00274208;\n    }\n  }\n  else {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0xda0,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n               0x375,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\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    if (image_info->debug != MagickFalse) {\n      (*(code *)PTR_LogMagickEvent_003a91e0)\n                (0x8000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x377);\n    }\n    if (exception == (ExceptionInfo *)0x0) goto LAB_00275e6c;\n    if (exception->signature == 0xabacadab) {\n      unaff_s0 = (Image *)(*(code *)PTR_AcquireImage_003a960c)(image_info,exception);\n      iVar6 = (*(code *)PTR_OpenBlob_003a924c)(image_info,unaff_s0,2,exception);\n      if (iVar6 == 0) {\n        (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n        pIVar8 = (Image *)0x0;\n        goto LAB_00274228;\n      }\n      pixmap.bits_per_pixel = 0;\n      pixmap.component_count = 0;\n      cVar19 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar20 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar21 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar22 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      if ((((cVar19 != 'P') || (unaff_s3 = (ImageInfo *)0x1fc, cVar20 != 'I')) || (cVar21 != 'C'))\n         || (cVar22 != 'T')) {\n        unaff_s3 = (ImageInfo *)0x1fc;\n        do {\n          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (iVar6 == -1) break;\n          unaff_s3 = (ImageInfo *)((int)&unaff_s3[-1].matte_color.index + 7);\n        } while (unaff_s3 != (ImageInfo *)0x0);\n      }\n      (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n      MVar7 = ReadRectangle(unaff_s0,&frame);\n      if (MVar7 == MagickFalse) {\n        uVar32 = 0x397;\n      }\n      else {\n        do {\n          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n        } while (iVar6 == 0);\n        uVar32 = 0x39a;\n        if (iVar6 == 0x11) {\n          local_10d4 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (local_10d4 == 2) {\n            iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n            if (iVar6 != 0xff) {\n              uVar32 = 0x3a0;\n              goto LAB_002741b8;\n            }\n          }\n          else if (local_10d4 != 1) {\n            uVar32 = 0x3a4;\n            goto LAB_002741b8;\n          }\n          iVar6 = (int)frame.left;\n          iVar16 = (int)frame.right;\n          if ((((-1 < iVar6) && (iVar12 = (int)frame.top, -1 < iVar16)) &&\n              ((iVar33 = (int)frame.bottom, -1 < iVar12 && ((-1 < iVar33 && (iVar6 < iVar16)))))) &&\n             (iVar12 < iVar33)) {\n            MVar7 = image_info->ping;\n            unaff_s0->units = UndefinedResolution;\n            unaff_s0->columns = iVar16 - iVar6;\n            unaff_s0->depth = 8;\n            puVar15 = PTR_LAB_003a88e0;\n            unaff_s0->rows = iVar33 - iVar12;\n            dVar40 = *(double *)(puVar15 + 0x13f0);\n            (unaff_s0->resolution).x = dVar40;\n            (unaff_s0->resolution).y = dVar40;\n            if (((MVar7 != MagickFalse) && (image_info->number_scenes != 0)) &&\n               (pIVar35 = unaff_s3, pIVar9 = unaff_s7,\n               (image_info->number_scenes + image_info->scene) - 1 <= unaff_s0->scene))\n            goto LAB_00274430;\n            iVar6 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar16 - iVar6,iVar33 - iVar12,exception);\n            if (iVar6 == 0) goto LAB_002743d4;\n            iVar6 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,exception);\n            if (iVar6 == 0) goto LAB_002743d4;\n            local_10c8 = PTR_LAB_003a88e0;\n            unaff_s7 = (Image *)0x0;\n            local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n            unaff_s3 = (ImageInfo *)0x0;\n            local_10b8 = 0;\n            in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418);\n            in_f22_23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n            in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58);\n            local_10cc = 0;\n            local_10bc = &frame;\n            local_10d0 = image_info;\n            local_10d8 = exception;\nLAB_002744b8:\n            do {\n              pIVar9 = (Image *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pIVar35 = local_10d0;\n              if ((pIVar9 != (Image *)0x0) ||\n                 (((local_10d0->ping != MagickFalse && (local_10d0->number_scenes != 0)) &&\n                  ((local_10d0->number_scenes + local_10d0->scene) - 1 <= unaff_s0->scene)))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                pIVar8 = (Image *)(*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pIVar35;\n                unaff_s7 = pIVar9;\nLAB_00274228:\n                if (iVar5 == *(int *)puVar4) {\n                  return pIVar8;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), pIVar8 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                pIVar8 = (Image *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                pIVar8 = (Image *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (Image *)((uint)pIVar8 & 0xffff);\n              if (unaff_s7 == (Image *)0x0) {\n                unaff_s7 = (Image *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (Image *)0xa2) {\n                if (unaff_s0->debug != MagickFalse) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)\n                              (PTR_MagickImageList_3__magick_276__003a8948 +\n                              (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_MagickImageList_3__magick_276__003a8948 +\n                                    (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (Image *)0x78) {\n                  if ((Image *)0x6f < unaff_s7) {\n                    uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar6 = 0;\n                    if (0 < (int)(uVar36 - 2)) {\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + 1;\n                      } while (iVar6 != uVar36 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((Image *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (Image *)&DAT_0000001b) {\n                      iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                      (unaff_s0->background_color).red = (double)iVar6;\n                      iVar6 = (*(code *)puVar15)(unaff_s0);\n                      puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                      (unaff_s0->background_color).green = (double)iVar6;\n                      iVar6 = (*(code *)puVar15)(unaff_s0);\n                      (unaff_s0->background_color).blue = (double)iVar6;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if ((Image *)&DAT_00000011 < unaff_s7) {\n                    iVar16 = 8;\n                    iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar12 == -1) break;\n                      iVar16 = iVar16 + -1;\n                    } while (iVar16 != 0);\n                    if (iVar6 == 2) {\n                      iVar6 = 5;\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + -1;\n                      } while (iVar6 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar6 == 1) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44)) {\n                        MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                        if (MVar7 == MagickFalse) {\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x419;\n                        }\n                        else {\n                          MVar7 = ReadPixmap(unaff_s0,&pixmap);\n                          if (MVar7 != MagickFalse) {\n                            unaff_s0->depth = (int)pixmap.component_size;\n                            dVar40 = (double)(int)pixmap.horizontal_resolution;\n                            if ((int)pixmap.horizontal_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).x = dVar40;\n                            puVar15 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar40 = (double)(int)pixmap.vertical_resolution;\n                            if ((int)pixmap.vertical_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).y = dVar40;\n                            unaff_s0->units = PixelsPerInchResolution;\n                            (*(code *)puVar15)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44))\n                            {\n                              iVar6 = 0;\n                              do {\n                                iVar6 = iVar6 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar6 != uVar36 + 1);\n                              uVar37 = (int)frame.bottom - (int)frame.top;\n                              iVar6 = (int)frame.right - (int)frame.left;\n                              if (pixmap.bits_per_pixel < 9) {\n                                uVar36 = uVar36 & 0x7fff;\n                              }\n                              else if (pixmap.bits_per_pixel == 0x10) {\n                                uVar37 = uVar37 * 2;\n                              }\n                              if (uVar36 != 0) {\n                                uVar37 = uVar36;\n                              }\n                              if (uVar37 < 8) {\n                                if (0 < (int)(uVar37 * iVar6)) {\n                                  iVar16 = 0;\n                                  do {\n                                    iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar12 == -1) break;\n                                    iVar16 = iVar16 + 1;\n                                  } while (uVar37 * iVar6 != iVar16);\n                                }\n                              }\n                              else {\n                                iVar16 = 0;\n                                if (0 < iVar6) {\n                                  do {\n                                    iVar12 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar12 != 0) break;\n                                    if (uVar37 < 0xc9) {\n                                      uVar36 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) &&\n                                       ((uint)uVar44 < uVar36)) {\n                                      if (unaff_s3 != (ImageInfo *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar38 = 0;\n                                    if (0 < (int)uVar36) {\n                                      do {\n                                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar12 == -1) break;\n                                        uVar38 = uVar38 + 1;\n                                      } while (uVar36 != uVar38);\n                                    }\n                                    iVar16 = iVar16 + 1;\n                                  } while (iVar6 != iVar16);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x413;\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    pIVar9 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (Image *)0x1) goto LAB_002752a0;\n                  uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar36 != 10) {\n                    if (0 < (int)(uVar36 - 2)) {\n                      iVar6 = 0;\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + 1;\n                      } while (uVar36 - 2 != iVar6);\n                    }\n                    goto LAB_00274594;\n                  }\n                  MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                  puVar15 = PTR_SetImageExtent_003a94ac;\n                  if (MVar7 == MagickFalse) {\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((frame.left < 0) || (frame.top < 0)) goto LAB_00274594;\n                  sVar26 = (int)frame.right - (int)frame.left;\n                  sVar31 = (int)frame.bottom - (int)frame.top;\n                  unaff_s0->columns = sVar26;\n                  unaff_s0->rows = sVar31;\n                  iVar6 = (*(code *)puVar15)(unaff_s0,sVar26,sVar31,local_10d8);\n                  if ((iVar6 != 0) &&\n                     (iVar6 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar6 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  pIVar8 = (Image *)(*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((Image *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (Image *)0xa1) {\n                    iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar36 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = 4;\n                      if (uVar36 < 5) {\n                        uVar37 = uVar36;\n                      }\n                      iVar16 = uVar36 - uVar37;\n                      if ((iVar16 != 0) &&\n                         (iVar12 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar16,1),\n                         iVar12 != 0)) {\n                        iVar33 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar16,iVar12);\n                        if (iVar16 != iVar33) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x570;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar11 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar6 == 0xe0) {\n                          uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);\n                          iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar32,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);\n                          if (iVar6 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar6 == 0x1f2) {\n                          uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);\n                          iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar32,local_10d8);\n                          if (iVar6 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar6 = *(int *)(PTR_MagickImageList_3__magick_276__003a8948 +\n                                  (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar6 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar16 = 0;\n                    if (0 < iVar6) {\n                      do {\n                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar12 == -1) break;\n                        iVar16 = iVar16 + 1;\n                      } while (iVar6 != iVar16);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (Image *)0x98) && ((BlobInfo **)0x1 < &unaff_s7[-1].blob))\n                goto LAB_002752a0;\n                bVar3 = unaff_s7[-1].magick + 0xffe < (char *)0x2;\n                if (bVar3) {\n                  uVar36 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                if (MVar7 != MagickFalse) {\n                  pIVar9 = (Image *)(*(code *)PTR_CloneImage_003a9830)\n                                              (unaff_s0,(int)frame.right - (int)frame.left,\n                                               (int)frame.bottom - (int)frame.top,1);\n                  if (pIVar9 == (Image *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(pIVar9,local_10d8);\n                  if ((bVar3) || ((uVar36 & 0x8000) != 0)) {\n                    MVar7 = ReadPixmap(unaff_s0,&pixmap);\n                    if (MVar7 != MagickFalse) {\n                      pIVar9->depth = (int)pixmap.component_size;\n                      puVar15 = PTR_SetImageAlpha_003a8c78;\n                      dVar40 = (double)(int)pixmap.horizontal_resolution;\n                      if ((int)pixmap.horizontal_resolution < 0) {\n                        dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar39 = (double)(int)pixmap.vertical_resolution;\n                      if ((int)pixmap.vertical_resolution < 0) {\n                        dVar39 = dVar39 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (pixmap.component_count == 4) {\n                        pIVar9->alpha_trait = BlendPixelTrait;\n                        pIVar9->units = PixelsPerInchResolution;\n                        puVar25 = PTR_LAB_003a88e0;\n                        (pIVar9->resolution).x = dVar40;\n                        (pIVar9->resolution).y = dVar39;\n                        (*(code *)puVar15)(pIVar9,*(undefined4 *)(puVar25 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        (pIVar9->resolution).x = dVar40;\n                        pIVar9->alpha_trait = UndefinedPixelTrait;\n                        (pIVar9->resolution).y = dVar39;\n                        pIVar9->units = PixelsPerInchResolution;\n                      }\n                      if (!bVar3) {\n                        pIVar9->colors = 2;\n                        if ((uVar36 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar18 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar15 = PTR_AcquireImageColormap_003a9194;\n                        pIVar9->colors = iVar6 + 1U;\n                        iVar6 = (*(code *)puVar15)(pIVar9,iVar6 + 1U,local_10d8);\n                        if (iVar6 == 0) goto LAB_002756e4;\n                        if (0 < (int)pIVar9->colors) {\n                          uVar37 = 0;\n                          do {\n                            uVar17 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar38 = uVar37;\n                            if (-1 < sVar18) {\n                              if (pIVar9->colors == 0) {\n                                trap(7);\n                              }\n                              uVar38 = uVar17 % pIVar9->colors;\n                            }\n                            uVar37 = uVar37 + 1;\n                            iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                            pIVar9->colormap[uVar38].red = (double)iVar6;\n                            iVar6 = (*(code *)puVar15)(unaff_s0);\n                            puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                            pIVar9->colormap[uVar38].green = (double)iVar6;\n                            iVar6 = (*(code *)puVar15)(unaff_s0);\n                            sVar26 = pIVar9->colors;\n                            unaff_s3 = (ImageInfo *)(pIVar9->colormap + uVar38);\n                            *(double *)&unaff_s3->endian = (double)iVar6;\n                          } while ((int)uVar37 < (int)sVar26);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x49e;\n                    unaff_s7 = pIVar9;\n                    goto LAB_002757bc;\n                  }\n                  pIVar9->colors = 2;\nLAB_0027565c:\n                  iVar6 = (*(code *)PTR_AcquireImageColormap_003a9194)(pIVar9,2,local_10d8);\n                  if (iVar6 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x4b8;\n                    unaff_s7 = pIVar9;\nLAB_00275720:\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar11 = 400;\n                    goto LAB_00275084;\n                  }\n                  sVar26 = pIVar9->colors;\n                  if (0 < (int)sVar26) {\n                    pPVar29 = pIVar9->colormap;\n                    pMVar13 = &pPVar29->red;\n                    do {\n                      pMVar14 = pMVar13 + 0xb;\n                      *pMVar13 = (double)(float)(in_f20_21 - *pMVar13);\n                      pMVar13[1] = (double)(float)(in_f20_21 - pMVar13[1]);\n                      pMVar13[2] = (double)(float)(in_f20_21 - pMVar13[2]);\n                      pMVar13 = pMVar14;\n                    } while (pMVar14 != &pPVar29[sVar26].red);\n                  }\nLAB_00274838:\n                  iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar6 == 0) {\n                    MVar7 = ReadRectangle(unaff_s0,&source);\n                    if (MVar7 == MagickFalse) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x4d9;\n                      unaff_s7 = pIVar9;\n                    }\n                    else {\n                      MVar7 = ReadRectangle(unaff_s0,&destination);\n                      if (MVar7 != MagickFalse) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)pIVar8 & 0xfff7) == 0x91) || (unaff_s7 == (Image *)0x9b)) {\n                          uVar37 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar37)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x4e5;\n                            unaff_s7 = pIVar9;\n                            goto LAB_00275880;\n                          }\n                          iVar6 = 0;\n                          if (0 < (int)(uVar37 - 2)) {\n                            do {\n                              iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar16 == -1) break;\n                              iVar6 = iVar6 + 1;\n                            } while (uVar37 - 2 != iVar6);\n                          }\n                        }\n                        if ((bVar3) || ((uVar36 & 0x8000) != 0)) {\n                          uVar37 = (uint)pixmap.bits_per_pixel;\n                        }\n                        else {\n                          uVar37 = 1;\n                        }\n                        unaff_s3 = (ImageInfo *)DecodeImage(unaff_s0,pIVar9,uVar36,uVar37,&extent);\n                        if (unaff_s3 == (ImageInfo *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x4f2;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if ((int)pIVar9->rows < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar6 == 0)) &&\n                               ((bVar3 || ((uVar36 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,pIVar9,0xd,1);\n                            }\n                            unaff_s3 = (ImageInfo *)(*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <=\n                              (ImageInfo *)\n                              ((int)&unaff_s3->compression + unaff_s0->columns + extent)) {\n                            local_10b0 = 0;\n                            uVar37 = 0;\n                            pIVar35 = unaff_s3;\n                            do {\n                              iVar6 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (pIVar9,0,uVar37,pIVar9->columns);\n                              if (iVar6 == 0) goto LAB_00276500;\n                              sVar26 = pIVar9->columns;\n                              if (0 < (int)sVar26) {\n                                iVar16 = 0;\n                                dVar39 = *(double *)(local_10ac + -0x5af0);\n                                dVar40 = dVar39;\n                                do {\n                                  if (pIVar9->storage_class == PseudoClass) {\n                                    if ((int)(uint)(byte)*(undefined1 *)&pIVar35->compression <\n                                        (int)pIVar9->colors) {\n                                      fVar41 = (float)(byte)*(undefined1 *)&pIVar35->compression;\n                                      iVar12 = (int)fVar41 * 0x58;\n                                    }\n                                    else if (local_10d8->severity == CorruptImageError) {\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23);\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                      sVar26 = pIVar9->columns;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    if (pPVar28[5].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[5].offset * 4) = fVar41;\n                                    }\n                                    pPVar29 = pIVar9->colormap;\n                                    iVar23 = pPVar28[1].offset;\n                                    iVar33 = pPVar28[2].offset;\n                                    dVar43 = *(double *)((int)&pPVar29->green + iVar12);\n                                    dVar42 = *(double *)((int)&pPVar29->blue + iVar12);\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)*(double *)((int)&pPVar29->red + iVar12);\n                                    *(float *)(iVar6 + iVar23 * 4) = (float)dVar43;\n                                    *(float *)(iVar6 + iVar33 * 4) = (float)dVar42;\n                                  }\n                                  else if (pixmap.bits_per_pixel == 0x10) {\n                                    bVar1 = *(byte *)((int)&pIVar35->compression + 1);\n                                    pPVar28 = pIVar9->channel_map;\n                                    uVar2 = *(undefined1 *)&pIVar35->compression;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(((byte)uVar2 & 0x7c) << 1) * dVar40);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | ((byte)uVar2 & 3) << 6\n                                                         ) * dVar40);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar40);\n                                    pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  }\n                                  else if (pIVar9->alpha_trait == UndefinedPixelTrait) {\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 2 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(byte)*(undefined1 *)&pIVar35->compression\n                                                * dVar39);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar27 * dVar39);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar27[sVar26] * dVar39);\n                                  }\n                                  else {\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 3 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if (pPVar28[4].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[4].offset * 4) =\n                                           (float)((double)(byte)*(undefined1 *)\n                                                                  &pIVar35->compression * in_f22_23)\n                                      ;\n                                    }\n                                    pbVar34 = pbVar27 + sVar26;\n                                    dVar42 = *(double *)(local_10ac + -0x5af0);\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)*pbVar27 * dVar42);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar34 * dVar42);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar34[sVar26] * dVar42);\n                                  }\n                                  iVar16 = iVar16 + 1;\n                                  pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  iVar6 = iVar6 + pIVar9->number_channels * 4;\n                                } while (iVar16 < (int)sVar26);\n                              }\n                              iVar6 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar9,local_10d8)\n                              ;\n                              if (((iVar6 == 0) ||\n                                  (((pIVar9->storage_class == DirectClass &&\n                                    (pixmap.bits_per_pixel != 0x10)) &&\n                                   (pIVar35 = (ImageInfo *)\n                                              ((int)&pIVar35->compression +\n                                              (pixmap.component_count + -1) * pIVar9->columns),\n                                   pIVar35 < unaff_s3)))) ||\n                                 ((iVar6 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar37), iVar6 == 0 ||\n                                  (uVar38 = uVar37 + 1, (int)pIVar9->rows <= (int)uVar38))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar38 < uVar37) + local_10b0;\n                              uVar37 = uVar38;\n                            } while (pIVar35 <=\n                                     (ImageInfo *)\n                                     ((int)&unaff_s3->compression + unaff_s0->columns + extent));\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x4fc;\n                          unaff_s7 = pIVar9;\nLAB_0027504c:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          pIVar9 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x4db;\n                      unaff_s7 = pIVar9;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar32 = 0x4d7;\n                  unaff_s7 = pIVar9;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (ImageInfo *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar32 = 0x491;\nLAB_002757bc:\n                puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar15 = PTR_s_courses_003a88ec + -400;\n                pIVar9 = unaff_s7;\nLAB_0027507c:\n                uVar11 = 0x1a9;\n                unaff_s7 = pIVar9;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar25,puVar30,uVar32,uVar11,puVar15,uVar44);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                pIVar8 = (Image *)0x0;\n                goto LAB_00274228;\n              }\n              if (unaff_s0->debug != MagickFalse) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3);\n              }\n              if (unaff_s7 != (Image *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7[-1].magick + 0xfe8) {\nLAB_00274594:\n                  if ((char *)0xff < unaff_s7[-3].magick_filename + 0x848) {\n                    if (unaff_s7 == (Image *)0x8200) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                        if (unaff_s3 != (ImageInfo *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar32 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar6 = 6;\n                      if (0x9a < uVar36) {\n                        do {\n                          iVar6 = iVar6 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar6 != 0);\n                        MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                        if (MVar7 == MagickFalse) {\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x5c8;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\nLAB_00275b88:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_courses_003a88ec + -400;\n                          uVar11 = 0x1a9;\n                        }\n                        else {\n                          iVar6 = 0x7a;\n                          do {\n                            iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar16 == -1) break;\n                            iVar6 = iVar6 + -1;\n                          } while (iVar6 != 0);\n                          iVar6 = uVar36 - 0x9a;\n                          pIVar8 = (Image *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar6,1);\n                          pcVar10 = local_10d0->filename;\n                          if (pIVar8 != (Image *)0x0) {\n                            uVar32 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar6,pIVar8,&destination);\n                            if (destination._0_4_ == iVar6) {\n                              iVar6 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar6 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pcVar10);\n                              unaff_s3 = (ImageInfo *)\n                                         (*(code *)PTR_BlobToImage_003a9330)\n                                                   (iVar6,uVar32,destination._0_4_,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar6);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x5d5;\n                            uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                            unaff_s7 = pIVar8;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x5d0;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar11 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        pcVar10 = unaff_s3->size;\n                        if (pcVar10 < (char *)unaff_s0->columns) {\n                          pcVar10 = (char *)unaff_s0->columns;\n                        }\n                        dVar40 = (double)(int)pcVar10;\n                        if ((int)pcVar10 < 0) {\n                          dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        pcVar24 = (char *)unaff_s0->rows;\n                        pcVar10 = unaff_s3->extract;\n                        if (pcVar10 < pcVar24) {\n                          in_f2_3 = (double)(int)pcVar24;\n                          if ((int)pcVar24 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)pcVar10;\n                          if ((int)pcVar10 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (geometry,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        pcVar10 = (char *)unaff_s0->columns;\n                        if ((char *)unaff_s0->columns <= unaff_s3->size) {\n                          pcVar10 = unaff_s3->size;\n                        }\n                        pcVar24 = unaff_s3->extract;\n                        if (unaff_s3->extract < (char *)unaff_s0->rows) {\n                          pcVar24 = (char *)unaff_s0->rows;\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,pcVar10,pcVar24,local_10d8,dVar40,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,unaff_s3->orientation,local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,unaff_s3,0xd,1);\n                        puVar15 = PTR_DestroyImage_003a8f4c;\n                        unaff_s0->compression = unaff_s3->temporary;\n                        unaff_s3 = (ImageInfo *)(*(code *)puVar15)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pIVar35 = unaff_s3;\n                    pIVar9 = unaff_s7;\n                    if ((unaff_s7 == (Image *)0xff) ||\n                       (pIVar35 = unaff_s3, unaff_s7 == (Image *)0xffff)) goto LAB_00274430;\n                    if ((unaff_s7[-1].magick + 0xfc8 < (char *)0x2f) ||\n                       (unaff_s7[-3].magick_filename + 0x748 < (char *)0x7f00)) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44)) {\n                        if (uVar36 != 0) {\n                          uVar37 = 0;\n                          do {\n                            iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar6 == -1) break;\n                            uVar37 = uVar37 + 1;\n                          } while (uVar36 != uVar37);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x5f8;\n                    }\n                    else {\n                      if ((char *)0x7eff < unaff_s7[-1].magick + 0xf98) goto LAB_002744b8;\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar44)) {\n                        uVar36 = 0;\n                        do {\n                          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar6 == -1) break;\n                          uVar36 = uVar36 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar36);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x606;\n                    }\nLAB_00275880:\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_s_courses_003a88ec + 0x4a0;\n                    pIVar9 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar6 = 0x18;\n              do {\n                iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar16 == -1) break;\n                iVar6 = iVar6 + -1;\n              } while (iVar6 != 0);\n            } while( true );\n          }\n          uVar32 = 0x3a8;\n        }\n      }\nLAB_002741b8:\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (exception,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,uVar32,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,image_info->filename);\n      if (unaff_s0 == (Image *)0x0) goto LAB_00274224;\n      goto LAB_00274208;\n    }\n  }" { (if_statement "if (image_info->debug != MagickFalse) {\n      (*(code *)PTR_LogMagickEvent_003a91e0)\n                (0x8000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x377);\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 + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x377);\n    }" { (expression_statement "(*(code *)PTR_LogMagickEvent_003a91e0)\n                (0x8000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x377);" (call_expression "(*(code *)PTR_LogMagickEvent_003a91e0)\n                (0x8000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x377)" (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 + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x377)" ( number_literal , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier + number_literal) , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier + number_literal) , number_literal ))) ;) })) (if_statement "if (exception == (ExceptionInfo *)0x0) goto LAB_00275e6c;" 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)) )) (goto_statement "goto LAB_00275e6c;" goto statement_identifier ;)) (if_statement "if (exception->signature == 0xabacadab) {\n      unaff_s0 = (Image *)(*(code *)PTR_AcquireImage_003a960c)(image_info,exception);\n      iVar6 = (*(code *)PTR_OpenBlob_003a924c)(image_info,unaff_s0,2,exception);\n      if (iVar6 == 0) {\n        (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n        pIVar8 = (Image *)0x0;\n        goto LAB_00274228;\n      }\n      pixmap.bits_per_pixel = 0;\n      pixmap.component_count = 0;\n      cVar19 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar20 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar21 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar22 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      if ((((cVar19 != 'P') || (unaff_s3 = (ImageInfo *)0x1fc, cVar20 != 'I')) || (cVar21 != 'C'))\n         || (cVar22 != 'T')) {\n        unaff_s3 = (ImageInfo *)0x1fc;\n        do {\n          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (iVar6 == -1) break;\n          unaff_s3 = (ImageInfo *)((int)&unaff_s3[-1].matte_color.index + 7);\n        } while (unaff_s3 != (ImageInfo *)0x0);\n      }\n      (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n      MVar7 = ReadRectangle(unaff_s0,&frame);\n      if (MVar7 == MagickFalse) {\n        uVar32 = 0x397;\n      }\n      else {\n        do {\n          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n        } while (iVar6 == 0);\n        uVar32 = 0x39a;\n        if (iVar6 == 0x11) {\n          local_10d4 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (local_10d4 == 2) {\n            iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n            if (iVar6 != 0xff) {\n              uVar32 = 0x3a0;\n              goto LAB_002741b8;\n            }\n          }\n          else if (local_10d4 != 1) {\n            uVar32 = 0x3a4;\n            goto LAB_002741b8;\n          }\n          iVar6 = (int)frame.left;\n          iVar16 = (int)frame.right;\n          if ((((-1 < iVar6) && (iVar12 = (int)frame.top, -1 < iVar16)) &&\n              ((iVar33 = (int)frame.bottom, -1 < iVar12 && ((-1 < iVar33 && (iVar6 < iVar16)))))) &&\n             (iVar12 < iVar33)) {\n            MVar7 = image_info->ping;\n            unaff_s0->units = UndefinedResolution;\n            unaff_s0->columns = iVar16 - iVar6;\n            unaff_s0->depth = 8;\n            puVar15 = PTR_LAB_003a88e0;\n            unaff_s0->rows = iVar33 - iVar12;\n            dVar40 = *(double *)(puVar15 + 0x13f0);\n            (unaff_s0->resolution).x = dVar40;\n            (unaff_s0->resolution).y = dVar40;\n            if (((MVar7 != MagickFalse) && (image_info->number_scenes != 0)) &&\n               (pIVar35 = unaff_s3, pIVar9 = unaff_s7,\n               (image_info->number_scenes + image_info->scene) - 1 <= unaff_s0->scene))\n            goto LAB_00274430;\n            iVar6 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar16 - iVar6,iVar33 - iVar12,exception);\n            if (iVar6 == 0) goto LAB_002743d4;\n            iVar6 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,exception);\n            if (iVar6 == 0) goto LAB_002743d4;\n            local_10c8 = PTR_LAB_003a88e0;\n            unaff_s7 = (Image *)0x0;\n            local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n            unaff_s3 = (ImageInfo *)0x0;\n            local_10b8 = 0;\n            in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418);\n            in_f22_23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n            in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58);\n            local_10cc = 0;\n            local_10bc = &frame;\n            local_10d0 = image_info;\n            local_10d8 = exception;\nLAB_002744b8:\n            do {\n              pIVar9 = (Image *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pIVar35 = local_10d0;\n              if ((pIVar9 != (Image *)0x0) ||\n                 (((local_10d0->ping != MagickFalse && (local_10d0->number_scenes != 0)) &&\n                  ((local_10d0->number_scenes + local_10d0->scene) - 1 <= unaff_s0->scene)))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                pIVar8 = (Image *)(*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pIVar35;\n                unaff_s7 = pIVar9;\nLAB_00274228:\n                if (iVar5 == *(int *)puVar4) {\n                  return pIVar8;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), pIVar8 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                pIVar8 = (Image *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                pIVar8 = (Image *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (Image *)((uint)pIVar8 & 0xffff);\n              if (unaff_s7 == (Image *)0x0) {\n                unaff_s7 = (Image *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (Image *)0xa2) {\n                if (unaff_s0->debug != MagickFalse) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)\n                              (PTR_MagickImageList_3__magick_276__003a8948 +\n                              (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_MagickImageList_3__magick_276__003a8948 +\n                                    (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (Image *)0x78) {\n                  if ((Image *)0x6f < unaff_s7) {\n                    uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar6 = 0;\n                    if (0 < (int)(uVar36 - 2)) {\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + 1;\n                      } while (iVar6 != uVar36 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((Image *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (Image *)&DAT_0000001b) {\n                      iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                      (unaff_s0->background_color).red = (double)iVar6;\n                      iVar6 = (*(code *)puVar15)(unaff_s0);\n                      puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                      (unaff_s0->background_color).green = (double)iVar6;\n                      iVar6 = (*(code *)puVar15)(unaff_s0);\n                      (unaff_s0->background_color).blue = (double)iVar6;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if ((Image *)&DAT_00000011 < unaff_s7) {\n                    iVar16 = 8;\n                    iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar12 == -1) break;\n                      iVar16 = iVar16 + -1;\n                    } while (iVar16 != 0);\n                    if (iVar6 == 2) {\n                      iVar6 = 5;\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + -1;\n                      } while (iVar6 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar6 == 1) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44)) {\n                        MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                        if (MVar7 == MagickFalse) {\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x419;\n                        }\n                        else {\n                          MVar7 = ReadPixmap(unaff_s0,&pixmap);\n                          if (MVar7 != MagickFalse) {\n                            unaff_s0->depth = (int)pixmap.component_size;\n                            dVar40 = (double)(int)pixmap.horizontal_resolution;\n                            if ((int)pixmap.horizontal_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).x = dVar40;\n                            puVar15 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar40 = (double)(int)pixmap.vertical_resolution;\n                            if ((int)pixmap.vertical_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).y = dVar40;\n                            unaff_s0->units = PixelsPerInchResolution;\n                            (*(code *)puVar15)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44))\n                            {\n                              iVar6 = 0;\n                              do {\n                                iVar6 = iVar6 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar6 != uVar36 + 1);\n                              uVar37 = (int)frame.bottom - (int)frame.top;\n                              iVar6 = (int)frame.right - (int)frame.left;\n                              if (pixmap.bits_per_pixel < 9) {\n                                uVar36 = uVar36 & 0x7fff;\n                              }\n                              else if (pixmap.bits_per_pixel == 0x10) {\n                                uVar37 = uVar37 * 2;\n                              }\n                              if (uVar36 != 0) {\n                                uVar37 = uVar36;\n                              }\n                              if (uVar37 < 8) {\n                                if (0 < (int)(uVar37 * iVar6)) {\n                                  iVar16 = 0;\n                                  do {\n                                    iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar12 == -1) break;\n                                    iVar16 = iVar16 + 1;\n                                  } while (uVar37 * iVar6 != iVar16);\n                                }\n                              }\n                              else {\n                                iVar16 = 0;\n                                if (0 < iVar6) {\n                                  do {\n                                    iVar12 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar12 != 0) break;\n                                    if (uVar37 < 0xc9) {\n                                      uVar36 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) &&\n                                       ((uint)uVar44 < uVar36)) {\n                                      if (unaff_s3 != (ImageInfo *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar38 = 0;\n                                    if (0 < (int)uVar36) {\n                                      do {\n                                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar12 == -1) break;\n                                        uVar38 = uVar38 + 1;\n                                      } while (uVar36 != uVar38);\n                                    }\n                                    iVar16 = iVar16 + 1;\n                                  } while (iVar6 != iVar16);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x413;\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    pIVar9 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (Image *)0x1) goto LAB_002752a0;\n                  uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar36 != 10) {\n                    if (0 < (int)(uVar36 - 2)) {\n                      iVar6 = 0;\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + 1;\n                      } while (uVar36 - 2 != iVar6);\n                    }\n                    goto LAB_00274594;\n                  }\n                  MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                  puVar15 = PTR_SetImageExtent_003a94ac;\n                  if (MVar7 == MagickFalse) {\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((frame.left < 0) || (frame.top < 0)) goto LAB_00274594;\n                  sVar26 = (int)frame.right - (int)frame.left;\n                  sVar31 = (int)frame.bottom - (int)frame.top;\n                  unaff_s0->columns = sVar26;\n                  unaff_s0->rows = sVar31;\n                  iVar6 = (*(code *)puVar15)(unaff_s0,sVar26,sVar31,local_10d8);\n                  if ((iVar6 != 0) &&\n                     (iVar6 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar6 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  pIVar8 = (Image *)(*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((Image *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (Image *)0xa1) {\n                    iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar36 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = 4;\n                      if (uVar36 < 5) {\n                        uVar37 = uVar36;\n                      }\n                      iVar16 = uVar36 - uVar37;\n                      if ((iVar16 != 0) &&\n                         (iVar12 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar16,1),\n                         iVar12 != 0)) {\n                        iVar33 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar16,iVar12);\n                        if (iVar16 != iVar33) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x570;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar11 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar6 == 0xe0) {\n                          uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);\n                          iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar32,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);\n                          if (iVar6 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar6 == 0x1f2) {\n                          uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);\n                          iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar32,local_10d8);\n                          if (iVar6 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar6 = *(int *)(PTR_MagickImageList_3__magick_276__003a8948 +\n                                  (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar6 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar16 = 0;\n                    if (0 < iVar6) {\n                      do {\n                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar12 == -1) break;\n                        iVar16 = iVar16 + 1;\n                      } while (iVar6 != iVar16);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (Image *)0x98) && ((BlobInfo **)0x1 < &unaff_s7[-1].blob))\n                goto LAB_002752a0;\n                bVar3 = unaff_s7[-1].magick + 0xffe < (char *)0x2;\n                if (bVar3) {\n                  uVar36 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                if (MVar7 != MagickFalse) {\n                  pIVar9 = (Image *)(*(code *)PTR_CloneImage_003a9830)\n                                              (unaff_s0,(int)frame.right - (int)frame.left,\n                                               (int)frame.bottom - (int)frame.top,1);\n                  if (pIVar9 == (Image *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(pIVar9,local_10d8);\n                  if ((bVar3) || ((uVar36 & 0x8000) != 0)) {\n                    MVar7 = ReadPixmap(unaff_s0,&pixmap);\n                    if (MVar7 != MagickFalse) {\n                      pIVar9->depth = (int)pixmap.component_size;\n                      puVar15 = PTR_SetImageAlpha_003a8c78;\n                      dVar40 = (double)(int)pixmap.horizontal_resolution;\n                      if ((int)pixmap.horizontal_resolution < 0) {\n                        dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar39 = (double)(int)pixmap.vertical_resolution;\n                      if ((int)pixmap.vertical_resolution < 0) {\n                        dVar39 = dVar39 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (pixmap.component_count == 4) {\n                        pIVar9->alpha_trait = BlendPixelTrait;\n                        pIVar9->units = PixelsPerInchResolution;\n                        puVar25 = PTR_LAB_003a88e0;\n                        (pIVar9->resolution).x = dVar40;\n                        (pIVar9->resolution).y = dVar39;\n                        (*(code *)puVar15)(pIVar9,*(undefined4 *)(puVar25 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        (pIVar9->resolution).x = dVar40;\n                        pIVar9->alpha_trait = UndefinedPixelTrait;\n                        (pIVar9->resolution).y = dVar39;\n                        pIVar9->units = PixelsPerInchResolution;\n                      }\n                      if (!bVar3) {\n                        pIVar9->colors = 2;\n                        if ((uVar36 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar18 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar15 = PTR_AcquireImageColormap_003a9194;\n                        pIVar9->colors = iVar6 + 1U;\n                        iVar6 = (*(code *)puVar15)(pIVar9,iVar6 + 1U,local_10d8);\n                        if (iVar6 == 0) goto LAB_002756e4;\n                        if (0 < (int)pIVar9->colors) {\n                          uVar37 = 0;\n                          do {\n                            uVar17 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar38 = uVar37;\n                            if (-1 < sVar18) {\n                              if (pIVar9->colors == 0) {\n                                trap(7);\n                              }\n                              uVar38 = uVar17 % pIVar9->colors;\n                            }\n                            uVar37 = uVar37 + 1;\n                            iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                            pIVar9->colormap[uVar38].red = (double)iVar6;\n                            iVar6 = (*(code *)puVar15)(unaff_s0);\n                            puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                            pIVar9->colormap[uVar38].green = (double)iVar6;\n                            iVar6 = (*(code *)puVar15)(unaff_s0);\n                            sVar26 = pIVar9->colors;\n                            unaff_s3 = (ImageInfo *)(pIVar9->colormap + uVar38);\n                            *(double *)&unaff_s3->endian = (double)iVar6;\n                          } while ((int)uVar37 < (int)sVar26);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x49e;\n                    unaff_s7 = pIVar9;\n                    goto LAB_002757bc;\n                  }\n                  pIVar9->colors = 2;\nLAB_0027565c:\n                  iVar6 = (*(code *)PTR_AcquireImageColormap_003a9194)(pIVar9,2,local_10d8);\n                  if (iVar6 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x4b8;\n                    unaff_s7 = pIVar9;\nLAB_00275720:\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar11 = 400;\n                    goto LAB_00275084;\n                  }\n                  sVar26 = pIVar9->colors;\n                  if (0 < (int)sVar26) {\n                    pPVar29 = pIVar9->colormap;\n                    pMVar13 = &pPVar29->red;\n                    do {\n                      pMVar14 = pMVar13 + 0xb;\n                      *pMVar13 = (double)(float)(in_f20_21 - *pMVar13);\n                      pMVar13[1] = (double)(float)(in_f20_21 - pMVar13[1]);\n                      pMVar13[2] = (double)(float)(in_f20_21 - pMVar13[2]);\n                      pMVar13 = pMVar14;\n                    } while (pMVar14 != &pPVar29[sVar26].red);\n                  }\nLAB_00274838:\n                  iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar6 == 0) {\n                    MVar7 = ReadRectangle(unaff_s0,&source);\n                    if (MVar7 == MagickFalse) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x4d9;\n                      unaff_s7 = pIVar9;\n                    }\n                    else {\n                      MVar7 = ReadRectangle(unaff_s0,&destination);\n                      if (MVar7 != MagickFalse) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)pIVar8 & 0xfff7) == 0x91) || (unaff_s7 == (Image *)0x9b)) {\n                          uVar37 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar37)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x4e5;\n                            unaff_s7 = pIVar9;\n                            goto LAB_00275880;\n                          }\n                          iVar6 = 0;\n                          if (0 < (int)(uVar37 - 2)) {\n                            do {\n                              iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar16 == -1) break;\n                              iVar6 = iVar6 + 1;\n                            } while (uVar37 - 2 != iVar6);\n                          }\n                        }\n                        if ((bVar3) || ((uVar36 & 0x8000) != 0)) {\n                          uVar37 = (uint)pixmap.bits_per_pixel;\n                        }\n                        else {\n                          uVar37 = 1;\n                        }\n                        unaff_s3 = (ImageInfo *)DecodeImage(unaff_s0,pIVar9,uVar36,uVar37,&extent);\n                        if (unaff_s3 == (ImageInfo *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x4f2;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if ((int)pIVar9->rows < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar6 == 0)) &&\n                               ((bVar3 || ((uVar36 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,pIVar9,0xd,1);\n                            }\n                            unaff_s3 = (ImageInfo *)(*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <=\n                              (ImageInfo *)\n                              ((int)&unaff_s3->compression + unaff_s0->columns + extent)) {\n                            local_10b0 = 0;\n                            uVar37 = 0;\n                            pIVar35 = unaff_s3;\n                            do {\n                              iVar6 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (pIVar9,0,uVar37,pIVar9->columns);\n                              if (iVar6 == 0) goto LAB_00276500;\n                              sVar26 = pIVar9->columns;\n                              if (0 < (int)sVar26) {\n                                iVar16 = 0;\n                                dVar39 = *(double *)(local_10ac + -0x5af0);\n                                dVar40 = dVar39;\n                                do {\n                                  if (pIVar9->storage_class == PseudoClass) {\n                                    if ((int)(uint)(byte)*(undefined1 *)&pIVar35->compression <\n                                        (int)pIVar9->colors) {\n                                      fVar41 = (float)(byte)*(undefined1 *)&pIVar35->compression;\n                                      iVar12 = (int)fVar41 * 0x58;\n                                    }\n                                    else if (local_10d8->severity == CorruptImageError) {\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23);\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                      sVar26 = pIVar9->columns;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    if (pPVar28[5].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[5].offset * 4) = fVar41;\n                                    }\n                                    pPVar29 = pIVar9->colormap;\n                                    iVar23 = pPVar28[1].offset;\n                                    iVar33 = pPVar28[2].offset;\n                                    dVar43 = *(double *)((int)&pPVar29->green + iVar12);\n                                    dVar42 = *(double *)((int)&pPVar29->blue + iVar12);\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)*(double *)((int)&pPVar29->red + iVar12);\n                                    *(float *)(iVar6 + iVar23 * 4) = (float)dVar43;\n                                    *(float *)(iVar6 + iVar33 * 4) = (float)dVar42;\n                                  }\n                                  else if (pixmap.bits_per_pixel == 0x10) {\n                                    bVar1 = *(byte *)((int)&pIVar35->compression + 1);\n                                    pPVar28 = pIVar9->channel_map;\n                                    uVar2 = *(undefined1 *)&pIVar35->compression;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(((byte)uVar2 & 0x7c) << 1) * dVar40);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | ((byte)uVar2 & 3) << 6\n                                                         ) * dVar40);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar40);\n                                    pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  }\n                                  else if (pIVar9->alpha_trait == UndefinedPixelTrait) {\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 2 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(byte)*(undefined1 *)&pIVar35->compression\n                                                * dVar39);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar27 * dVar39);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar27[sVar26] * dVar39);\n                                  }\n                                  else {\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 3 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if (pPVar28[4].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[4].offset * 4) =\n                                           (float)((double)(byte)*(undefined1 *)\n                                                                  &pIVar35->compression * in_f22_23)\n                                      ;\n                                    }\n                                    pbVar34 = pbVar27 + sVar26;\n                                    dVar42 = *(double *)(local_10ac + -0x5af0);\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)*pbVar27 * dVar42);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar34 * dVar42);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar34[sVar26] * dVar42);\n                                  }\n                                  iVar16 = iVar16 + 1;\n                                  pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  iVar6 = iVar6 + pIVar9->number_channels * 4;\n                                } while (iVar16 < (int)sVar26);\n                              }\n                              iVar6 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar9,local_10d8)\n                              ;\n                              if (((iVar6 == 0) ||\n                                  (((pIVar9->storage_class == DirectClass &&\n                                    (pixmap.bits_per_pixel != 0x10)) &&\n                                   (pIVar35 = (ImageInfo *)\n                                              ((int)&pIVar35->compression +\n                                              (pixmap.component_count + -1) * pIVar9->columns),\n                                   pIVar35 < unaff_s3)))) ||\n                                 ((iVar6 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar37), iVar6 == 0 ||\n                                  (uVar38 = uVar37 + 1, (int)pIVar9->rows <= (int)uVar38))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar38 < uVar37) + local_10b0;\n                              uVar37 = uVar38;\n                            } while (pIVar35 <=\n                                     (ImageInfo *)\n                                     ((int)&unaff_s3->compression + unaff_s0->columns + extent));\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x4fc;\n                          unaff_s7 = pIVar9;\nLAB_0027504c:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          pIVar9 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x4db;\n                      unaff_s7 = pIVar9;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar32 = 0x4d7;\n                  unaff_s7 = pIVar9;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (ImageInfo *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar32 = 0x491;\nLAB_002757bc:\n                puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar15 = PTR_s_courses_003a88ec + -400;\n                pIVar9 = unaff_s7;\nLAB_0027507c:\n                uVar11 = 0x1a9;\n                unaff_s7 = pIVar9;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar25,puVar30,uVar32,uVar11,puVar15,uVar44);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                pIVar8 = (Image *)0x0;\n                goto LAB_00274228;\n              }\n              if (unaff_s0->debug != MagickFalse) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3);\n              }\n              if (unaff_s7 != (Image *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7[-1].magick + 0xfe8) {\nLAB_00274594:\n                  if ((char *)0xff < unaff_s7[-3].magick_filename + 0x848) {\n                    if (unaff_s7 == (Image *)0x8200) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                        if (unaff_s3 != (ImageInfo *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar32 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar6 = 6;\n                      if (0x9a < uVar36) {\n                        do {\n                          iVar6 = iVar6 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar6 != 0);\n                        MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                        if (MVar7 == MagickFalse) {\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x5c8;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\nLAB_00275b88:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_courses_003a88ec + -400;\n                          uVar11 = 0x1a9;\n                        }\n                        else {\n                          iVar6 = 0x7a;\n                          do {\n                            iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar16 == -1) break;\n                            iVar6 = iVar6 + -1;\n                          } while (iVar6 != 0);\n                          iVar6 = uVar36 - 0x9a;\n                          pIVar8 = (Image *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar6,1);\n                          pcVar10 = local_10d0->filename;\n                          if (pIVar8 != (Image *)0x0) {\n                            uVar32 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar6,pIVar8,&destination);\n                            if (destination._0_4_ == iVar6) {\n                              iVar6 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar6 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pcVar10);\n                              unaff_s3 = (ImageInfo *)\n                                         (*(code *)PTR_BlobToImage_003a9330)\n                                                   (iVar6,uVar32,destination._0_4_,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar6);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x5d5;\n                            uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                            unaff_s7 = pIVar8;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x5d0;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar11 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        pcVar10 = unaff_s3->size;\n                        if (pcVar10 < (char *)unaff_s0->columns) {\n                          pcVar10 = (char *)unaff_s0->columns;\n                        }\n                        dVar40 = (double)(int)pcVar10;\n                        if ((int)pcVar10 < 0) {\n                          dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        pcVar24 = (char *)unaff_s0->rows;\n                        pcVar10 = unaff_s3->extract;\n                        if (pcVar10 < pcVar24) {\n                          in_f2_3 = (double)(int)pcVar24;\n                          if ((int)pcVar24 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)pcVar10;\n                          if ((int)pcVar10 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (geometry,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        pcVar10 = (char *)unaff_s0->columns;\n                        if ((char *)unaff_s0->columns <= unaff_s3->size) {\n                          pcVar10 = unaff_s3->size;\n                        }\n                        pcVar24 = unaff_s3->extract;\n                        if (unaff_s3->extract < (char *)unaff_s0->rows) {\n                          pcVar24 = (char *)unaff_s0->rows;\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,pcVar10,pcVar24,local_10d8,dVar40,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,unaff_s3->orientation,local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,unaff_s3,0xd,1);\n                        puVar15 = PTR_DestroyImage_003a8f4c;\n                        unaff_s0->compression = unaff_s3->temporary;\n                        unaff_s3 = (ImageInfo *)(*(code *)puVar15)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pIVar35 = unaff_s3;\n                    pIVar9 = unaff_s7;\n                    if ((unaff_s7 == (Image *)0xff) ||\n                       (pIVar35 = unaff_s3, unaff_s7 == (Image *)0xffff)) goto LAB_00274430;\n                    if ((unaff_s7[-1].magick + 0xfc8 < (char *)0x2f) ||\n                       (unaff_s7[-3].magick_filename + 0x748 < (char *)0x7f00)) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44)) {\n                        if (uVar36 != 0) {\n                          uVar37 = 0;\n                          do {\n                            iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar6 == -1) break;\n                            uVar37 = uVar37 + 1;\n                          } while (uVar36 != uVar37);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x5f8;\n                    }\n                    else {\n                      if ((char *)0x7eff < unaff_s7[-1].magick + 0xf98) goto LAB_002744b8;\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar44)) {\n                        uVar36 = 0;\n                        do {\n                          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar6 == -1) break;\n                          uVar36 = uVar36 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar36);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x606;\n                    }\nLAB_00275880:\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_s_courses_003a88ec + 0x4a0;\n                    pIVar9 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar6 = 0x18;\n              do {\n                iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar16 == -1) break;\n                iVar6 = iVar6 + -1;\n              } while (iVar6 != 0);\n            } while( true );\n          }\n          uVar32 = 0x3a8;\n        }\n      }\nLAB_002741b8:\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (exception,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,uVar32,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,image_info->filename);\n      if (unaff_s0 == (Image *)0x0) goto LAB_00274224;\n      goto LAB_00274208;\n    }" if (parenthesized_expression "(exception->signature == 0xabacadab)" ( (binary_expression "exception->signature == 0xabacadab" (field_expression "exception->signature" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n      unaff_s0 = (Image *)(*(code *)PTR_AcquireImage_003a960c)(image_info,exception);\n      iVar6 = (*(code *)PTR_OpenBlob_003a924c)(image_info,unaff_s0,2,exception);\n      if (iVar6 == 0) {\n        (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n        pIVar8 = (Image *)0x0;\n        goto LAB_00274228;\n      }\n      pixmap.bits_per_pixel = 0;\n      pixmap.component_count = 0;\n      cVar19 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar20 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar21 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar22 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      if ((((cVar19 != 'P') || (unaff_s3 = (ImageInfo *)0x1fc, cVar20 != 'I')) || (cVar21 != 'C'))\n         || (cVar22 != 'T')) {\n        unaff_s3 = (ImageInfo *)0x1fc;\n        do {\n          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (iVar6 == -1) break;\n          unaff_s3 = (ImageInfo *)((int)&unaff_s3[-1].matte_color.index + 7);\n        } while (unaff_s3 != (ImageInfo *)0x0);\n      }\n      (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n      MVar7 = ReadRectangle(unaff_s0,&frame);\n      if (MVar7 == MagickFalse) {\n        uVar32 = 0x397;\n      }\n      else {\n        do {\n          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n        } while (iVar6 == 0);\n        uVar32 = 0x39a;\n        if (iVar6 == 0x11) {\n          local_10d4 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (local_10d4 == 2) {\n            iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n            if (iVar6 != 0xff) {\n              uVar32 = 0x3a0;\n              goto LAB_002741b8;\n            }\n          }\n          else if (local_10d4 != 1) {\n            uVar32 = 0x3a4;\n            goto LAB_002741b8;\n          }\n          iVar6 = (int)frame.left;\n          iVar16 = (int)frame.right;\n          if ((((-1 < iVar6) && (iVar12 = (int)frame.top, -1 < iVar16)) &&\n              ((iVar33 = (int)frame.bottom, -1 < iVar12 && ((-1 < iVar33 && (iVar6 < iVar16)))))) &&\n             (iVar12 < iVar33)) {\n            MVar7 = image_info->ping;\n            unaff_s0->units = UndefinedResolution;\n            unaff_s0->columns = iVar16 - iVar6;\n            unaff_s0->depth = 8;\n            puVar15 = PTR_LAB_003a88e0;\n            unaff_s0->rows = iVar33 - iVar12;\n            dVar40 = *(double *)(puVar15 + 0x13f0);\n            (unaff_s0->resolution).x = dVar40;\n            (unaff_s0->resolution).y = dVar40;\n            if (((MVar7 != MagickFalse) && (image_info->number_scenes != 0)) &&\n               (pIVar35 = unaff_s3, pIVar9 = unaff_s7,\n               (image_info->number_scenes + image_info->scene) - 1 <= unaff_s0->scene))\n            goto LAB_00274430;\n            iVar6 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar16 - iVar6,iVar33 - iVar12,exception);\n            if (iVar6 == 0) goto LAB_002743d4;\n            iVar6 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,exception);\n            if (iVar6 == 0) goto LAB_002743d4;\n            local_10c8 = PTR_LAB_003a88e0;\n            unaff_s7 = (Image *)0x0;\n            local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n            unaff_s3 = (ImageInfo *)0x0;\n            local_10b8 = 0;\n            in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418);\n            in_f22_23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n            in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58);\n            local_10cc = 0;\n            local_10bc = &frame;\n            local_10d0 = image_info;\n            local_10d8 = exception;\nLAB_002744b8:\n            do {\n              pIVar9 = (Image *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pIVar35 = local_10d0;\n              if ((pIVar9 != (Image *)0x0) ||\n                 (((local_10d0->ping != MagickFalse && (local_10d0->number_scenes != 0)) &&\n                  ((local_10d0->number_scenes + local_10d0->scene) - 1 <= unaff_s0->scene)))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                pIVar8 = (Image *)(*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pIVar35;\n                unaff_s7 = pIVar9;\nLAB_00274228:\n                if (iVar5 == *(int *)puVar4) {\n                  return pIVar8;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), pIVar8 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                pIVar8 = (Image *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                pIVar8 = (Image *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (Image *)((uint)pIVar8 & 0xffff);\n              if (unaff_s7 == (Image *)0x0) {\n                unaff_s7 = (Image *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (Image *)0xa2) {\n                if (unaff_s0->debug != MagickFalse) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)\n                              (PTR_MagickImageList_3__magick_276__003a8948 +\n                              (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_MagickImageList_3__magick_276__003a8948 +\n                                    (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (Image *)0x78) {\n                  if ((Image *)0x6f < unaff_s7) {\n                    uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar6 = 0;\n                    if (0 < (int)(uVar36 - 2)) {\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + 1;\n                      } while (iVar6 != uVar36 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((Image *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (Image *)&DAT_0000001b) {\n                      iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                      (unaff_s0->background_color).red = (double)iVar6;\n                      iVar6 = (*(code *)puVar15)(unaff_s0);\n                      puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                      (unaff_s0->background_color).green = (double)iVar6;\n                      iVar6 = (*(code *)puVar15)(unaff_s0);\n                      (unaff_s0->background_color).blue = (double)iVar6;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if ((Image *)&DAT_00000011 < unaff_s7) {\n                    iVar16 = 8;\n                    iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar12 == -1) break;\n                      iVar16 = iVar16 + -1;\n                    } while (iVar16 != 0);\n                    if (iVar6 == 2) {\n                      iVar6 = 5;\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + -1;\n                      } while (iVar6 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar6 == 1) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44)) {\n                        MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                        if (MVar7 == MagickFalse) {\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x419;\n                        }\n                        else {\n                          MVar7 = ReadPixmap(unaff_s0,&pixmap);\n                          if (MVar7 != MagickFalse) {\n                            unaff_s0->depth = (int)pixmap.component_size;\n                            dVar40 = (double)(int)pixmap.horizontal_resolution;\n                            if ((int)pixmap.horizontal_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).x = dVar40;\n                            puVar15 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar40 = (double)(int)pixmap.vertical_resolution;\n                            if ((int)pixmap.vertical_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).y = dVar40;\n                            unaff_s0->units = PixelsPerInchResolution;\n                            (*(code *)puVar15)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44))\n                            {\n                              iVar6 = 0;\n                              do {\n                                iVar6 = iVar6 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar6 != uVar36 + 1);\n                              uVar37 = (int)frame.bottom - (int)frame.top;\n                              iVar6 = (int)frame.right - (int)frame.left;\n                              if (pixmap.bits_per_pixel < 9) {\n                                uVar36 = uVar36 & 0x7fff;\n                              }\n                              else if (pixmap.bits_per_pixel == 0x10) {\n                                uVar37 = uVar37 * 2;\n                              }\n                              if (uVar36 != 0) {\n                                uVar37 = uVar36;\n                              }\n                              if (uVar37 < 8) {\n                                if (0 < (int)(uVar37 * iVar6)) {\n                                  iVar16 = 0;\n                                  do {\n                                    iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar12 == -1) break;\n                                    iVar16 = iVar16 + 1;\n                                  } while (uVar37 * iVar6 != iVar16);\n                                }\n                              }\n                              else {\n                                iVar16 = 0;\n                                if (0 < iVar6) {\n                                  do {\n                                    iVar12 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar12 != 0) break;\n                                    if (uVar37 < 0xc9) {\n                                      uVar36 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) &&\n                                       ((uint)uVar44 < uVar36)) {\n                                      if (unaff_s3 != (ImageInfo *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar38 = 0;\n                                    if (0 < (int)uVar36) {\n                                      do {\n                                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar12 == -1) break;\n                                        uVar38 = uVar38 + 1;\n                                      } while (uVar36 != uVar38);\n                                    }\n                                    iVar16 = iVar16 + 1;\n                                  } while (iVar6 != iVar16);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x413;\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    pIVar9 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (Image *)0x1) goto LAB_002752a0;\n                  uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar36 != 10) {\n                    if (0 < (int)(uVar36 - 2)) {\n                      iVar6 = 0;\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + 1;\n                      } while (uVar36 - 2 != iVar6);\n                    }\n                    goto LAB_00274594;\n                  }\n                  MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                  puVar15 = PTR_SetImageExtent_003a94ac;\n                  if (MVar7 == MagickFalse) {\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((frame.left < 0) || (frame.top < 0)) goto LAB_00274594;\n                  sVar26 = (int)frame.right - (int)frame.left;\n                  sVar31 = (int)frame.bottom - (int)frame.top;\n                  unaff_s0->columns = sVar26;\n                  unaff_s0->rows = sVar31;\n                  iVar6 = (*(code *)puVar15)(unaff_s0,sVar26,sVar31,local_10d8);\n                  if ((iVar6 != 0) &&\n                     (iVar6 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar6 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  pIVar8 = (Image *)(*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((Image *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (Image *)0xa1) {\n                    iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar36 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = 4;\n                      if (uVar36 < 5) {\n                        uVar37 = uVar36;\n                      }\n                      iVar16 = uVar36 - uVar37;\n                      if ((iVar16 != 0) &&\n                         (iVar12 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar16,1),\n                         iVar12 != 0)) {\n                        iVar33 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar16,iVar12);\n                        if (iVar16 != iVar33) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x570;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar11 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar6 == 0xe0) {\n                          uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);\n                          iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar32,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);\n                          if (iVar6 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar6 == 0x1f2) {\n                          uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);\n                          iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar32,local_10d8);\n                          if (iVar6 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar6 = *(int *)(PTR_MagickImageList_3__magick_276__003a8948 +\n                                  (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar6 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar16 = 0;\n                    if (0 < iVar6) {\n                      do {\n                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar12 == -1) break;\n                        iVar16 = iVar16 + 1;\n                      } while (iVar6 != iVar16);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (Image *)0x98) && ((BlobInfo **)0x1 < &unaff_s7[-1].blob))\n                goto LAB_002752a0;\n                bVar3 = unaff_s7[-1].magick + 0xffe < (char *)0x2;\n                if (bVar3) {\n                  uVar36 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                if (MVar7 != MagickFalse) {\n                  pIVar9 = (Image *)(*(code *)PTR_CloneImage_003a9830)\n                                              (unaff_s0,(int)frame.right - (int)frame.left,\n                                               (int)frame.bottom - (int)frame.top,1);\n                  if (pIVar9 == (Image *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(pIVar9,local_10d8);\n                  if ((bVar3) || ((uVar36 & 0x8000) != 0)) {\n                    MVar7 = ReadPixmap(unaff_s0,&pixmap);\n                    if (MVar7 != MagickFalse) {\n                      pIVar9->depth = (int)pixmap.component_size;\n                      puVar15 = PTR_SetImageAlpha_003a8c78;\n                      dVar40 = (double)(int)pixmap.horizontal_resolution;\n                      if ((int)pixmap.horizontal_resolution < 0) {\n                        dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar39 = (double)(int)pixmap.vertical_resolution;\n                      if ((int)pixmap.vertical_resolution < 0) {\n                        dVar39 = dVar39 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (pixmap.component_count == 4) {\n                        pIVar9->alpha_trait = BlendPixelTrait;\n                        pIVar9->units = PixelsPerInchResolution;\n                        puVar25 = PTR_LAB_003a88e0;\n                        (pIVar9->resolution).x = dVar40;\n                        (pIVar9->resolution).y = dVar39;\n                        (*(code *)puVar15)(pIVar9,*(undefined4 *)(puVar25 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        (pIVar9->resolution).x = dVar40;\n                        pIVar9->alpha_trait = UndefinedPixelTrait;\n                        (pIVar9->resolution).y = dVar39;\n                        pIVar9->units = PixelsPerInchResolution;\n                      }\n                      if (!bVar3) {\n                        pIVar9->colors = 2;\n                        if ((uVar36 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar18 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar15 = PTR_AcquireImageColormap_003a9194;\n                        pIVar9->colors = iVar6 + 1U;\n                        iVar6 = (*(code *)puVar15)(pIVar9,iVar6 + 1U,local_10d8);\n                        if (iVar6 == 0) goto LAB_002756e4;\n                        if (0 < (int)pIVar9->colors) {\n                          uVar37 = 0;\n                          do {\n                            uVar17 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar38 = uVar37;\n                            if (-1 < sVar18) {\n                              if (pIVar9->colors == 0) {\n                                trap(7);\n                              }\n                              uVar38 = uVar17 % pIVar9->colors;\n                            }\n                            uVar37 = uVar37 + 1;\n                            iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                            pIVar9->colormap[uVar38].red = (double)iVar6;\n                            iVar6 = (*(code *)puVar15)(unaff_s0);\n                            puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                            pIVar9->colormap[uVar38].green = (double)iVar6;\n                            iVar6 = (*(code *)puVar15)(unaff_s0);\n                            sVar26 = pIVar9->colors;\n                            unaff_s3 = (ImageInfo *)(pIVar9->colormap + uVar38);\n                            *(double *)&unaff_s3->endian = (double)iVar6;\n                          } while ((int)uVar37 < (int)sVar26);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x49e;\n                    unaff_s7 = pIVar9;\n                    goto LAB_002757bc;\n                  }\n                  pIVar9->colors = 2;\nLAB_0027565c:\n                  iVar6 = (*(code *)PTR_AcquireImageColormap_003a9194)(pIVar9,2,local_10d8);\n                  if (iVar6 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x4b8;\n                    unaff_s7 = pIVar9;\nLAB_00275720:\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar11 = 400;\n                    goto LAB_00275084;\n                  }\n                  sVar26 = pIVar9->colors;\n                  if (0 < (int)sVar26) {\n                    pPVar29 = pIVar9->colormap;\n                    pMVar13 = &pPVar29->red;\n                    do {\n                      pMVar14 = pMVar13 + 0xb;\n                      *pMVar13 = (double)(float)(in_f20_21 - *pMVar13);\n                      pMVar13[1] = (double)(float)(in_f20_21 - pMVar13[1]);\n                      pMVar13[2] = (double)(float)(in_f20_21 - pMVar13[2]);\n                      pMVar13 = pMVar14;\n                    } while (pMVar14 != &pPVar29[sVar26].red);\n                  }\nLAB_00274838:\n                  iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar6 == 0) {\n                    MVar7 = ReadRectangle(unaff_s0,&source);\n                    if (MVar7 == MagickFalse) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x4d9;\n                      unaff_s7 = pIVar9;\n                    }\n                    else {\n                      MVar7 = ReadRectangle(unaff_s0,&destination);\n                      if (MVar7 != MagickFalse) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)pIVar8 & 0xfff7) == 0x91) || (unaff_s7 == (Image *)0x9b)) {\n                          uVar37 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar37)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x4e5;\n                            unaff_s7 = pIVar9;\n                            goto LAB_00275880;\n                          }\n                          iVar6 = 0;\n                          if (0 < (int)(uVar37 - 2)) {\n                            do {\n                              iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar16 == -1) break;\n                              iVar6 = iVar6 + 1;\n                            } while (uVar37 - 2 != iVar6);\n                          }\n                        }\n                        if ((bVar3) || ((uVar36 & 0x8000) != 0)) {\n                          uVar37 = (uint)pixmap.bits_per_pixel;\n                        }\n                        else {\n                          uVar37 = 1;\n                        }\n                        unaff_s3 = (ImageInfo *)DecodeImage(unaff_s0,pIVar9,uVar36,uVar37,&extent);\n                        if (unaff_s3 == (ImageInfo *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x4f2;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if ((int)pIVar9->rows < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar6 == 0)) &&\n                               ((bVar3 || ((uVar36 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,pIVar9,0xd,1);\n                            }\n                            unaff_s3 = (ImageInfo *)(*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <=\n                              (ImageInfo *)\n                              ((int)&unaff_s3->compression + unaff_s0->columns + extent)) {\n                            local_10b0 = 0;\n                            uVar37 = 0;\n                            pIVar35 = unaff_s3;\n                            do {\n                              iVar6 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (pIVar9,0,uVar37,pIVar9->columns);\n                              if (iVar6 == 0) goto LAB_00276500;\n                              sVar26 = pIVar9->columns;\n                              if (0 < (int)sVar26) {\n                                iVar16 = 0;\n                                dVar39 = *(double *)(local_10ac + -0x5af0);\n                                dVar40 = dVar39;\n                                do {\n                                  if (pIVar9->storage_class == PseudoClass) {\n                                    if ((int)(uint)(byte)*(undefined1 *)&pIVar35->compression <\n                                        (int)pIVar9->colors) {\n                                      fVar41 = (float)(byte)*(undefined1 *)&pIVar35->compression;\n                                      iVar12 = (int)fVar41 * 0x58;\n                                    }\n                                    else if (local_10d8->severity == CorruptImageError) {\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23);\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                      sVar26 = pIVar9->columns;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    if (pPVar28[5].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[5].offset * 4) = fVar41;\n                                    }\n                                    pPVar29 = pIVar9->colormap;\n                                    iVar23 = pPVar28[1].offset;\n                                    iVar33 = pPVar28[2].offset;\n                                    dVar43 = *(double *)((int)&pPVar29->green + iVar12);\n                                    dVar42 = *(double *)((int)&pPVar29->blue + iVar12);\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)*(double *)((int)&pPVar29->red + iVar12);\n                                    *(float *)(iVar6 + iVar23 * 4) = (float)dVar43;\n                                    *(float *)(iVar6 + iVar33 * 4) = (float)dVar42;\n                                  }\n                                  else if (pixmap.bits_per_pixel == 0x10) {\n                                    bVar1 = *(byte *)((int)&pIVar35->compression + 1);\n                                    pPVar28 = pIVar9->channel_map;\n                                    uVar2 = *(undefined1 *)&pIVar35->compression;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(((byte)uVar2 & 0x7c) << 1) * dVar40);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | ((byte)uVar2 & 3) << 6\n                                                         ) * dVar40);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar40);\n                                    pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  }\n                                  else if (pIVar9->alpha_trait == UndefinedPixelTrait) {\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 2 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(byte)*(undefined1 *)&pIVar35->compression\n                                                * dVar39);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar27 * dVar39);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar27[sVar26] * dVar39);\n                                  }\n                                  else {\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 3 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if (pPVar28[4].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[4].offset * 4) =\n                                           (float)((double)(byte)*(undefined1 *)\n                                                                  &pIVar35->compression * in_f22_23)\n                                      ;\n                                    }\n                                    pbVar34 = pbVar27 + sVar26;\n                                    dVar42 = *(double *)(local_10ac + -0x5af0);\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)*pbVar27 * dVar42);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar34 * dVar42);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar34[sVar26] * dVar42);\n                                  }\n                                  iVar16 = iVar16 + 1;\n                                  pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  iVar6 = iVar6 + pIVar9->number_channels * 4;\n                                } while (iVar16 < (int)sVar26);\n                              }\n                              iVar6 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar9,local_10d8)\n                              ;\n                              if (((iVar6 == 0) ||\n                                  (((pIVar9->storage_class == DirectClass &&\n                                    (pixmap.bits_per_pixel != 0x10)) &&\n                                   (pIVar35 = (ImageInfo *)\n                                              ((int)&pIVar35->compression +\n                                              (pixmap.component_count + -1) * pIVar9->columns),\n                                   pIVar35 < unaff_s3)))) ||\n                                 ((iVar6 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar37), iVar6 == 0 ||\n                                  (uVar38 = uVar37 + 1, (int)pIVar9->rows <= (int)uVar38))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar38 < uVar37) + local_10b0;\n                              uVar37 = uVar38;\n                            } while (pIVar35 <=\n                                     (ImageInfo *)\n                                     ((int)&unaff_s3->compression + unaff_s0->columns + extent));\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x4fc;\n                          unaff_s7 = pIVar9;\nLAB_0027504c:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          pIVar9 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x4db;\n                      unaff_s7 = pIVar9;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar32 = 0x4d7;\n                  unaff_s7 = pIVar9;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (ImageInfo *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar32 = 0x491;\nLAB_002757bc:\n                puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar15 = PTR_s_courses_003a88ec + -400;\n                pIVar9 = unaff_s7;\nLAB_0027507c:\n                uVar11 = 0x1a9;\n                unaff_s7 = pIVar9;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar25,puVar30,uVar32,uVar11,puVar15,uVar44);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                pIVar8 = (Image *)0x0;\n                goto LAB_00274228;\n              }\n              if (unaff_s0->debug != MagickFalse) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3);\n              }\n              if (unaff_s7 != (Image *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7[-1].magick + 0xfe8) {\nLAB_00274594:\n                  if ((char *)0xff < unaff_s7[-3].magick_filename + 0x848) {\n                    if (unaff_s7 == (Image *)0x8200) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                        if (unaff_s3 != (ImageInfo *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar32 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar6 = 6;\n                      if (0x9a < uVar36) {\n                        do {\n                          iVar6 = iVar6 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar6 != 0);\n                        MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                        if (MVar7 == MagickFalse) {\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x5c8;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\nLAB_00275b88:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_courses_003a88ec + -400;\n                          uVar11 = 0x1a9;\n                        }\n                        else {\n                          iVar6 = 0x7a;\n                          do {\n                            iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar16 == -1) break;\n                            iVar6 = iVar6 + -1;\n                          } while (iVar6 != 0);\n                          iVar6 = uVar36 - 0x9a;\n                          pIVar8 = (Image *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar6,1);\n                          pcVar10 = local_10d0->filename;\n                          if (pIVar8 != (Image *)0x0) {\n                            uVar32 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar6,pIVar8,&destination);\n                            if (destination._0_4_ == iVar6) {\n                              iVar6 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar6 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pcVar10);\n                              unaff_s3 = (ImageInfo *)\n                                         (*(code *)PTR_BlobToImage_003a9330)\n                                                   (iVar6,uVar32,destination._0_4_,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar6);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x5d5;\n                            uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                            unaff_s7 = pIVar8;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x5d0;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar11 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        pcVar10 = unaff_s3->size;\n                        if (pcVar10 < (char *)unaff_s0->columns) {\n                          pcVar10 = (char *)unaff_s0->columns;\n                        }\n                        dVar40 = (double)(int)pcVar10;\n                        if ((int)pcVar10 < 0) {\n                          dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        pcVar24 = (char *)unaff_s0->rows;\n                        pcVar10 = unaff_s3->extract;\n                        if (pcVar10 < pcVar24) {\n                          in_f2_3 = (double)(int)pcVar24;\n                          if ((int)pcVar24 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)pcVar10;\n                          if ((int)pcVar10 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (geometry,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        pcVar10 = (char *)unaff_s0->columns;\n                        if ((char *)unaff_s0->columns <= unaff_s3->size) {\n                          pcVar10 = unaff_s3->size;\n                        }\n                        pcVar24 = unaff_s3->extract;\n                        if (unaff_s3->extract < (char *)unaff_s0->rows) {\n                          pcVar24 = (char *)unaff_s0->rows;\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,pcVar10,pcVar24,local_10d8,dVar40,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,unaff_s3->orientation,local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,unaff_s3,0xd,1);\n                        puVar15 = PTR_DestroyImage_003a8f4c;\n                        unaff_s0->compression = unaff_s3->temporary;\n                        unaff_s3 = (ImageInfo *)(*(code *)puVar15)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pIVar35 = unaff_s3;\n                    pIVar9 = unaff_s7;\n                    if ((unaff_s7 == (Image *)0xff) ||\n                       (pIVar35 = unaff_s3, unaff_s7 == (Image *)0xffff)) goto LAB_00274430;\n                    if ((unaff_s7[-1].magick + 0xfc8 < (char *)0x2f) ||\n                       (unaff_s7[-3].magick_filename + 0x748 < (char *)0x7f00)) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44)) {\n                        if (uVar36 != 0) {\n                          uVar37 = 0;\n                          do {\n                            iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar6 == -1) break;\n                            uVar37 = uVar37 + 1;\n                          } while (uVar36 != uVar37);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x5f8;\n                    }\n                    else {\n                      if ((char *)0x7eff < unaff_s7[-1].magick + 0xf98) goto LAB_002744b8;\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar44)) {\n                        uVar36 = 0;\n                        do {\n                          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar6 == -1) break;\n                          uVar36 = uVar36 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar36);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x606;\n                    }\nLAB_00275880:\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_s_courses_003a88ec + 0x4a0;\n                    pIVar9 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar6 = 0x18;\n              do {\n                iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar16 == -1) break;\n                iVar6 = iVar6 + -1;\n              } while (iVar6 != 0);\n            } while( true );\n          }\n          uVar32 = 0x3a8;\n        }\n      }\nLAB_002741b8:\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (exception,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,uVar32,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,image_info->filename);\n      if (unaff_s0 == (Image *)0x0) goto LAB_00274224;\n      goto LAB_00274208;\n    }" { (expression_statement "unaff_s0 = (Image *)(*(code *)PTR_AcquireImage_003a960c)(image_info,exception);" (assignment_expression "unaff_s0 = (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,unaff_s0,2,exception);" (assignment_expression "iVar6 = (*(code *)PTR_OpenBlob_003a924c)(image_info,unaff_s0,2,exception)" identifier = (call_expression "(*(code *)PTR_OpenBlob_003a924c)(image_info,unaff_s0,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,unaff_s0,2,exception)" ( identifier , identifier , number_literal , identifier )))) ;) (if_statement "if (iVar6 == 0) {\n        (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n        pIVar8 = (Image *)0x0;\n        goto LAB_00274228;\n      }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n        (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n        pIVar8 = (Image *)0x0;\n        goto LAB_00274228;\n      }" { (expression_statement "(*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);" (call_expression "(*(code *)PTR_DestroyImageList_003a9510)(unaff_s0)" (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 "(unaff_s0)" ( identifier ))) ;) (expression_statement "pIVar8 = (Image *)0x0;" (assignment_expression "pIVar8 = (Image *)0x0" identifier = (cast_expression "(Image *)0x0" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto LAB_00274228;" goto statement_identifier ;) })) (expression_statement "pixmap.bits_per_pixel = 0;" (assignment_expression "pixmap.bits_per_pixel = 0" (field_expression "pixmap.bits_per_pixel" identifier . field_identifier) = number_literal) ;) (expression_statement "pixmap.component_count = 0;" (assignment_expression "pixmap.component_count = 0" (field_expression "pixmap.component_count" identifier . field_identifier) = number_literal) ;) (expression_statement "cVar19 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "cVar19 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (expression_statement "cVar20 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "cVar20 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (expression_statement "cVar21 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "cVar21 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (expression_statement "cVar22 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "cVar22 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if ((((cVar19 != 'P') || (unaff_s3 = (ImageInfo *)0x1fc, cVar20 != 'I')) || (cVar21 != 'C'))\n         || (cVar22 != 'T')) {\n        unaff_s3 = (ImageInfo *)0x1fc;\n        do {\n          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (iVar6 == -1) break;\n          unaff_s3 = (ImageInfo *)((int)&unaff_s3[-1].matte_color.index + 7);\n        } while (unaff_s3 != (ImageInfo *)0x0);\n      }" if (parenthesized_expression "((((cVar19 != 'P') || (unaff_s3 = (ImageInfo *)0x1fc, cVar20 != 'I')) || (cVar21 != 'C'))\n         || (cVar22 != 'T'))" ( (binary_expression "(((cVar19 != 'P') || (unaff_s3 = (ImageInfo *)0x1fc, cVar20 != 'I')) || (cVar21 != 'C'))\n         || (cVar22 != 'T')" (parenthesized_expression "(((cVar19 != 'P') || (unaff_s3 = (ImageInfo *)0x1fc, cVar20 != 'I')) || (cVar21 != 'C'))" ( (binary_expression "((cVar19 != 'P') || (unaff_s3 = (ImageInfo *)0x1fc, cVar20 != 'I')) || (cVar21 != 'C')" (parenthesized_expression "((cVar19 != 'P') || (unaff_s3 = (ImageInfo *)0x1fc, cVar20 != 'I'))" ( (binary_expression "(cVar19 != 'P') || (unaff_s3 = (ImageInfo *)0x1fc, cVar20 != 'I')" (parenthesized_expression "(cVar19 != 'P')" ( (binary_expression "cVar19 != 'P'" identifier != (char_literal "'P'" ' character ')) )) || (parenthesized_expression "(unaff_s3 = (ImageInfo *)0x1fc, cVar20 != 'I')" ( (comma_expression "unaff_s3 = (ImageInfo *)0x1fc, cVar20 != 'I'" (assignment_expression "unaff_s3 = (ImageInfo *)0x1fc" identifier = (cast_expression "(ImageInfo *)0x1fc" ( (type_descriptor "ImageInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) , (binary_expression "cVar20 != 'I'" identifier != (char_literal "'I'" ' character '))) ))) )) || (parenthesized_expression "(cVar21 != 'C')" ( (binary_expression "cVar21 != 'C'" identifier != (char_literal "'C'" ' character ')) ))) )) || (parenthesized_expression "(cVar22 != 'T')" ( (binary_expression "cVar22 != 'T'" identifier != (char_literal "'T'" ' character ')) ))) )) (compound_statement "{\n        unaff_s3 = (ImageInfo *)0x1fc;\n        do {\n          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (iVar6 == -1) break;\n          unaff_s3 = (ImageInfo *)((int)&unaff_s3[-1].matte_color.index + 7);\n        } while (unaff_s3 != (ImageInfo *)0x0);\n      }" { (expression_statement "unaff_s3 = (ImageInfo *)0x1fc;" (assignment_expression "unaff_s3 = (ImageInfo *)0x1fc" identifier = (cast_expression "(ImageInfo *)0x1fc" ( (type_descriptor "ImageInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (do_statement "do {\n          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (iVar6 == -1) break;\n          unaff_s3 = (ImageInfo *)((int)&unaff_s3[-1].matte_color.index + 7);\n        } while (unaff_s3 != (ImageInfo *)0x0);" do (compound_statement "{\n          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (iVar6 == -1) break;\n          unaff_s3 = (ImageInfo *)((int)&unaff_s3[-1].matte_color.index + 7);\n        }" { (expression_statement "iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (iVar6 == -1) break;" if (parenthesized_expression "(iVar6 == -1)" ( (binary_expression "iVar6 == -1" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "unaff_s3 = (ImageInfo *)((int)&unaff_s3[-1].matte_color.index + 7);" (assignment_expression "unaff_s3 = (ImageInfo *)((int)&unaff_s3[-1].matte_color.index + 7)" identifier = (cast_expression "(ImageInfo *)((int)&unaff_s3[-1].matte_color.index + 7)" ( (type_descriptor "ImageInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&unaff_s3[-1].matte_color.index + 7)" ( (binary_expression "(int)&unaff_s3[-1].matte_color.index + 7" (cast_expression "(int)&unaff_s3[-1].matte_color.index" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&unaff_s3[-1].matte_color.index" & (field_expression "unaff_s3[-1].matte_color.index" (field_expression "unaff_s3[-1].matte_color" (subscript_expression "unaff_s3[-1]" identifier [ number_literal ]) . field_identifier) . field_identifier))) + number_literal) )))) ;) }) while (parenthesized_expression "(unaff_s3 != (ImageInfo *)0x0)" ( (binary_expression "unaff_s3 != (ImageInfo *)0x0" identifier != (cast_expression "(ImageInfo *)0x0" ( (type_descriptor "ImageInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (expression_statement "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier ))) ;) (expression_statement "MVar7 = ReadRectangle(unaff_s0,&frame);" (assignment_expression "MVar7 = ReadRectangle(unaff_s0,&frame)" identifier = (call_expression "ReadRectangle(unaff_s0,&frame)" identifier (argument_list "(unaff_s0,&frame)" ( identifier , (pointer_expression "&frame" & identifier) )))) ;) (if_statement "if (MVar7 == MagickFalse) {\n        uVar32 = 0x397;\n      }\n      else {\n        do {\n          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n        } while (iVar6 == 0);\n        uVar32 = 0x39a;\n        if (iVar6 == 0x11) {\n          local_10d4 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (local_10d4 == 2) {\n            iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n            if (iVar6 != 0xff) {\n              uVar32 = 0x3a0;\n              goto LAB_002741b8;\n            }\n          }\n          else if (local_10d4 != 1) {\n            uVar32 = 0x3a4;\n            goto LAB_002741b8;\n          }\n          iVar6 = (int)frame.left;\n          iVar16 = (int)frame.right;\n          if ((((-1 < iVar6) && (iVar12 = (int)frame.top, -1 < iVar16)) &&\n              ((iVar33 = (int)frame.bottom, -1 < iVar12 && ((-1 < iVar33 && (iVar6 < iVar16)))))) &&\n             (iVar12 < iVar33)) {\n            MVar7 = image_info->ping;\n            unaff_s0->units = UndefinedResolution;\n            unaff_s0->columns = iVar16 - iVar6;\n            unaff_s0->depth = 8;\n            puVar15 = PTR_LAB_003a88e0;\n            unaff_s0->rows = iVar33 - iVar12;\n            dVar40 = *(double *)(puVar15 + 0x13f0);\n            (unaff_s0->resolution).x = dVar40;\n            (unaff_s0->resolution).y = dVar40;\n            if (((MVar7 != MagickFalse) && (image_info->number_scenes != 0)) &&\n               (pIVar35 = unaff_s3, pIVar9 = unaff_s7,\n               (image_info->number_scenes + image_info->scene) - 1 <= unaff_s0->scene))\n            goto LAB_00274430;\n            iVar6 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar16 - iVar6,iVar33 - iVar12,exception);\n            if (iVar6 == 0) goto LAB_002743d4;\n            iVar6 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,exception);\n            if (iVar6 == 0) goto LAB_002743d4;\n            local_10c8 = PTR_LAB_003a88e0;\n            unaff_s7 = (Image *)0x0;\n            local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n            unaff_s3 = (ImageInfo *)0x0;\n            local_10b8 = 0;\n            in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418);\n            in_f22_23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n            in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58);\n            local_10cc = 0;\n            local_10bc = &frame;\n            local_10d0 = image_info;\n            local_10d8 = exception;\nLAB_002744b8:\n            do {\n              pIVar9 = (Image *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pIVar35 = local_10d0;\n              if ((pIVar9 != (Image *)0x0) ||\n                 (((local_10d0->ping != MagickFalse && (local_10d0->number_scenes != 0)) &&\n                  ((local_10d0->number_scenes + local_10d0->scene) - 1 <= unaff_s0->scene)))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                pIVar8 = (Image *)(*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pIVar35;\n                unaff_s7 = pIVar9;\nLAB_00274228:\n                if (iVar5 == *(int *)puVar4) {\n                  return pIVar8;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), pIVar8 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                pIVar8 = (Image *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                pIVar8 = (Image *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (Image *)((uint)pIVar8 & 0xffff);\n              if (unaff_s7 == (Image *)0x0) {\n                unaff_s7 = (Image *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (Image *)0xa2) {\n                if (unaff_s0->debug != MagickFalse) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)\n                              (PTR_MagickImageList_3__magick_276__003a8948 +\n                              (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_MagickImageList_3__magick_276__003a8948 +\n                                    (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (Image *)0x78) {\n                  if ((Image *)0x6f < unaff_s7) {\n                    uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar6 = 0;\n                    if (0 < (int)(uVar36 - 2)) {\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + 1;\n                      } while (iVar6 != uVar36 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((Image *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (Image *)&DAT_0000001b) {\n                      iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                      (unaff_s0->background_color).red = (double)iVar6;\n                      iVar6 = (*(code *)puVar15)(unaff_s0);\n                      puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                      (unaff_s0->background_color).green = (double)iVar6;\n                      iVar6 = (*(code *)puVar15)(unaff_s0);\n                      (unaff_s0->background_color).blue = (double)iVar6;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if ((Image *)&DAT_00000011 < unaff_s7) {\n                    iVar16 = 8;\n                    iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar12 == -1) break;\n                      iVar16 = iVar16 + -1;\n                    } while (iVar16 != 0);\n                    if (iVar6 == 2) {\n                      iVar6 = 5;\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + -1;\n                      } while (iVar6 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar6 == 1) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44)) {\n                        MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                        if (MVar7 == MagickFalse) {\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x419;\n                        }\n                        else {\n                          MVar7 = ReadPixmap(unaff_s0,&pixmap);\n                          if (MVar7 != MagickFalse) {\n                            unaff_s0->depth = (int)pixmap.component_size;\n                            dVar40 = (double)(int)pixmap.horizontal_resolution;\n                            if ((int)pixmap.horizontal_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).x = dVar40;\n                            puVar15 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar40 = (double)(int)pixmap.vertical_resolution;\n                            if ((int)pixmap.vertical_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).y = dVar40;\n                            unaff_s0->units = PixelsPerInchResolution;\n                            (*(code *)puVar15)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44))\n                            {\n                              iVar6 = 0;\n                              do {\n                                iVar6 = iVar6 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar6 != uVar36 + 1);\n                              uVar37 = (int)frame.bottom - (int)frame.top;\n                              iVar6 = (int)frame.right - (int)frame.left;\n                              if (pixmap.bits_per_pixel < 9) {\n                                uVar36 = uVar36 & 0x7fff;\n                              }\n                              else if (pixmap.bits_per_pixel == 0x10) {\n                                uVar37 = uVar37 * 2;\n                              }\n                              if (uVar36 != 0) {\n                                uVar37 = uVar36;\n                              }\n                              if (uVar37 < 8) {\n                                if (0 < (int)(uVar37 * iVar6)) {\n                                  iVar16 = 0;\n                                  do {\n                                    iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar12 == -1) break;\n                                    iVar16 = iVar16 + 1;\n                                  } while (uVar37 * iVar6 != iVar16);\n                                }\n                              }\n                              else {\n                                iVar16 = 0;\n                                if (0 < iVar6) {\n                                  do {\n                                    iVar12 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar12 != 0) break;\n                                    if (uVar37 < 0xc9) {\n                                      uVar36 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) &&\n                                       ((uint)uVar44 < uVar36)) {\n                                      if (unaff_s3 != (ImageInfo *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar38 = 0;\n                                    if (0 < (int)uVar36) {\n                                      do {\n                                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar12 == -1) break;\n                                        uVar38 = uVar38 + 1;\n                                      } while (uVar36 != uVar38);\n                                    }\n                                    iVar16 = iVar16 + 1;\n                                  } while (iVar6 != iVar16);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x413;\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    pIVar9 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (Image *)0x1) goto LAB_002752a0;\n                  uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar36 != 10) {\n                    if (0 < (int)(uVar36 - 2)) {\n                      iVar6 = 0;\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + 1;\n                      } while (uVar36 - 2 != iVar6);\n                    }\n                    goto LAB_00274594;\n                  }\n                  MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                  puVar15 = PTR_SetImageExtent_003a94ac;\n                  if (MVar7 == MagickFalse) {\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((frame.left < 0) || (frame.top < 0)) goto LAB_00274594;\n                  sVar26 = (int)frame.right - (int)frame.left;\n                  sVar31 = (int)frame.bottom - (int)frame.top;\n                  unaff_s0->columns = sVar26;\n                  unaff_s0->rows = sVar31;\n                  iVar6 = (*(code *)puVar15)(unaff_s0,sVar26,sVar31,local_10d8);\n                  if ((iVar6 != 0) &&\n                     (iVar6 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar6 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  pIVar8 = (Image *)(*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((Image *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (Image *)0xa1) {\n                    iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar36 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = 4;\n                      if (uVar36 < 5) {\n                        uVar37 = uVar36;\n                      }\n                      iVar16 = uVar36 - uVar37;\n                      if ((iVar16 != 0) &&\n                         (iVar12 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar16,1),\n                         iVar12 != 0)) {\n                        iVar33 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar16,iVar12);\n                        if (iVar16 != iVar33) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x570;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar11 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar6 == 0xe0) {\n                          uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);\n                          iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar32,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);\n                          if (iVar6 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar6 == 0x1f2) {\n                          uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);\n                          iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar32,local_10d8);\n                          if (iVar6 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar6 = *(int *)(PTR_MagickImageList_3__magick_276__003a8948 +\n                                  (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar6 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar16 = 0;\n                    if (0 < iVar6) {\n                      do {\n                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar12 == -1) break;\n                        iVar16 = iVar16 + 1;\n                      } while (iVar6 != iVar16);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (Image *)0x98) && ((BlobInfo **)0x1 < &unaff_s7[-1].blob))\n                goto LAB_002752a0;\n                bVar3 = unaff_s7[-1].magick + 0xffe < (char *)0x2;\n                if (bVar3) {\n                  uVar36 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                if (MVar7 != MagickFalse) {\n                  pIVar9 = (Image *)(*(code *)PTR_CloneImage_003a9830)\n                                              (unaff_s0,(int)frame.right - (int)frame.left,\n                                               (int)frame.bottom - (int)frame.top,1);\n                  if (pIVar9 == (Image *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(pIVar9,local_10d8);\n                  if ((bVar3) || ((uVar36 & 0x8000) != 0)) {\n                    MVar7 = ReadPixmap(unaff_s0,&pixmap);\n                    if (MVar7 != MagickFalse) {\n                      pIVar9->depth = (int)pixmap.component_size;\n                      puVar15 = PTR_SetImageAlpha_003a8c78;\n                      dVar40 = (double)(int)pixmap.horizontal_resolution;\n                      if ((int)pixmap.horizontal_resolution < 0) {\n                        dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar39 = (double)(int)pixmap.vertical_resolution;\n                      if ((int)pixmap.vertical_resolution < 0) {\n                        dVar39 = dVar39 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (pixmap.component_count == 4) {\n                        pIVar9->alpha_trait = BlendPixelTrait;\n                        pIVar9->units = PixelsPerInchResolution;\n                        puVar25 = PTR_LAB_003a88e0;\n                        (pIVar9->resolution).x = dVar40;\n                        (pIVar9->resolution).y = dVar39;\n                        (*(code *)puVar15)(pIVar9,*(undefined4 *)(puVar25 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        (pIVar9->resolution).x = dVar40;\n                        pIVar9->alpha_trait = UndefinedPixelTrait;\n                        (pIVar9->resolution).y = dVar39;\n                        pIVar9->units = PixelsPerInchResolution;\n                      }\n                      if (!bVar3) {\n                        pIVar9->colors = 2;\n                        if ((uVar36 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar18 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar15 = PTR_AcquireImageColormap_003a9194;\n                        pIVar9->colors = iVar6 + 1U;\n                        iVar6 = (*(code *)puVar15)(pIVar9,iVar6 + 1U,local_10d8);\n                        if (iVar6 == 0) goto LAB_002756e4;\n                        if (0 < (int)pIVar9->colors) {\n                          uVar37 = 0;\n                          do {\n                            uVar17 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar38 = uVar37;\n                            if (-1 < sVar18) {\n                              if (pIVar9->colors == 0) {\n                                trap(7);\n                              }\n                              uVar38 = uVar17 % pIVar9->colors;\n                            }\n                            uVar37 = uVar37 + 1;\n                            iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                            pIVar9->colormap[uVar38].red = (double)iVar6;\n                            iVar6 = (*(code *)puVar15)(unaff_s0);\n                            puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                            pIVar9->colormap[uVar38].green = (double)iVar6;\n                            iVar6 = (*(code *)puVar15)(unaff_s0);\n                            sVar26 = pIVar9->colors;\n                            unaff_s3 = (ImageInfo *)(pIVar9->colormap + uVar38);\n                            *(double *)&unaff_s3->endian = (double)iVar6;\n                          } while ((int)uVar37 < (int)sVar26);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x49e;\n                    unaff_s7 = pIVar9;\n                    goto LAB_002757bc;\n                  }\n                  pIVar9->colors = 2;\nLAB_0027565c:\n                  iVar6 = (*(code *)PTR_AcquireImageColormap_003a9194)(pIVar9,2,local_10d8);\n                  if (iVar6 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x4b8;\n                    unaff_s7 = pIVar9;\nLAB_00275720:\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar11 = 400;\n                    goto LAB_00275084;\n                  }\n                  sVar26 = pIVar9->colors;\n                  if (0 < (int)sVar26) {\n                    pPVar29 = pIVar9->colormap;\n                    pMVar13 = &pPVar29->red;\n                    do {\n                      pMVar14 = pMVar13 + 0xb;\n                      *pMVar13 = (double)(float)(in_f20_21 - *pMVar13);\n                      pMVar13[1] = (double)(float)(in_f20_21 - pMVar13[1]);\n                      pMVar13[2] = (double)(float)(in_f20_21 - pMVar13[2]);\n                      pMVar13 = pMVar14;\n                    } while (pMVar14 != &pPVar29[sVar26].red);\n                  }\nLAB_00274838:\n                  iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar6 == 0) {\n                    MVar7 = ReadRectangle(unaff_s0,&source);\n                    if (MVar7 == MagickFalse) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x4d9;\n                      unaff_s7 = pIVar9;\n                    }\n                    else {\n                      MVar7 = ReadRectangle(unaff_s0,&destination);\n                      if (MVar7 != MagickFalse) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)pIVar8 & 0xfff7) == 0x91) || (unaff_s7 == (Image *)0x9b)) {\n                          uVar37 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar37)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x4e5;\n                            unaff_s7 = pIVar9;\n                            goto LAB_00275880;\n                          }\n                          iVar6 = 0;\n                          if (0 < (int)(uVar37 - 2)) {\n                            do {\n                              iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar16 == -1) break;\n                              iVar6 = iVar6 + 1;\n                            } while (uVar37 - 2 != iVar6);\n                          }\n                        }\n                        if ((bVar3) || ((uVar36 & 0x8000) != 0)) {\n                          uVar37 = (uint)pixmap.bits_per_pixel;\n                        }\n                        else {\n                          uVar37 = 1;\n                        }\n                        unaff_s3 = (ImageInfo *)DecodeImage(unaff_s0,pIVar9,uVar36,uVar37,&extent);\n                        if (unaff_s3 == (ImageInfo *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x4f2;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if ((int)pIVar9->rows < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar6 == 0)) &&\n                               ((bVar3 || ((uVar36 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,pIVar9,0xd,1);\n                            }\n                            unaff_s3 = (ImageInfo *)(*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <=\n                              (ImageInfo *)\n                              ((int)&unaff_s3->compression + unaff_s0->columns + extent)) {\n                            local_10b0 = 0;\n                            uVar37 = 0;\n                            pIVar35 = unaff_s3;\n                            do {\n                              iVar6 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (pIVar9,0,uVar37,pIVar9->columns);\n                              if (iVar6 == 0) goto LAB_00276500;\n                              sVar26 = pIVar9->columns;\n                              if (0 < (int)sVar26) {\n                                iVar16 = 0;\n                                dVar39 = *(double *)(local_10ac + -0x5af0);\n                                dVar40 = dVar39;\n                                do {\n                                  if (pIVar9->storage_class == PseudoClass) {\n                                    if ((int)(uint)(byte)*(undefined1 *)&pIVar35->compression <\n                                        (int)pIVar9->colors) {\n                                      fVar41 = (float)(byte)*(undefined1 *)&pIVar35->compression;\n                                      iVar12 = (int)fVar41 * 0x58;\n                                    }\n                                    else if (local_10d8->severity == CorruptImageError) {\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23);\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                      sVar26 = pIVar9->columns;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    if (pPVar28[5].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[5].offset * 4) = fVar41;\n                                    }\n                                    pPVar29 = pIVar9->colormap;\n                                    iVar23 = pPVar28[1].offset;\n                                    iVar33 = pPVar28[2].offset;\n                                    dVar43 = *(double *)((int)&pPVar29->green + iVar12);\n                                    dVar42 = *(double *)((int)&pPVar29->blue + iVar12);\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)*(double *)((int)&pPVar29->red + iVar12);\n                                    *(float *)(iVar6 + iVar23 * 4) = (float)dVar43;\n                                    *(float *)(iVar6 + iVar33 * 4) = (float)dVar42;\n                                  }\n                                  else if (pixmap.bits_per_pixel == 0x10) {\n                                    bVar1 = *(byte *)((int)&pIVar35->compression + 1);\n                                    pPVar28 = pIVar9->channel_map;\n                                    uVar2 = *(undefined1 *)&pIVar35->compression;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(((byte)uVar2 & 0x7c) << 1) * dVar40);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | ((byte)uVar2 & 3) << 6\n                                                         ) * dVar40);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar40);\n                                    pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  }\n                                  else if (pIVar9->alpha_trait == UndefinedPixelTrait) {\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 2 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(byte)*(undefined1 *)&pIVar35->compression\n                                                * dVar39);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar27 * dVar39);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar27[sVar26] * dVar39);\n                                  }\n                                  else {\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 3 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if (pPVar28[4].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[4].offset * 4) =\n                                           (float)((double)(byte)*(undefined1 *)\n                                                                  &pIVar35->compression * in_f22_23)\n                                      ;\n                                    }\n                                    pbVar34 = pbVar27 + sVar26;\n                                    dVar42 = *(double *)(local_10ac + -0x5af0);\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)*pbVar27 * dVar42);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar34 * dVar42);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar34[sVar26] * dVar42);\n                                  }\n                                  iVar16 = iVar16 + 1;\n                                  pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  iVar6 = iVar6 + pIVar9->number_channels * 4;\n                                } while (iVar16 < (int)sVar26);\n                              }\n                              iVar6 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar9,local_10d8)\n                              ;\n                              if (((iVar6 == 0) ||\n                                  (((pIVar9->storage_class == DirectClass &&\n                                    (pixmap.bits_per_pixel != 0x10)) &&\n                                   (pIVar35 = (ImageInfo *)\n                                              ((int)&pIVar35->compression +\n                                              (pixmap.component_count + -1) * pIVar9->columns),\n                                   pIVar35 < unaff_s3)))) ||\n                                 ((iVar6 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar37), iVar6 == 0 ||\n                                  (uVar38 = uVar37 + 1, (int)pIVar9->rows <= (int)uVar38))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar38 < uVar37) + local_10b0;\n                              uVar37 = uVar38;\n                            } while (pIVar35 <=\n                                     (ImageInfo *)\n                                     ((int)&unaff_s3->compression + unaff_s0->columns + extent));\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x4fc;\n                          unaff_s7 = pIVar9;\nLAB_0027504c:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          pIVar9 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x4db;\n                      unaff_s7 = pIVar9;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar32 = 0x4d7;\n                  unaff_s7 = pIVar9;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (ImageInfo *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar32 = 0x491;\nLAB_002757bc:\n                puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar15 = PTR_s_courses_003a88ec + -400;\n                pIVar9 = unaff_s7;\nLAB_0027507c:\n                uVar11 = 0x1a9;\n                unaff_s7 = pIVar9;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar25,puVar30,uVar32,uVar11,puVar15,uVar44);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                pIVar8 = (Image *)0x0;\n                goto LAB_00274228;\n              }\n              if (unaff_s0->debug != MagickFalse) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3);\n              }\n              if (unaff_s7 != (Image *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7[-1].magick + 0xfe8) {\nLAB_00274594:\n                  if ((char *)0xff < unaff_s7[-3].magick_filename + 0x848) {\n                    if (unaff_s7 == (Image *)0x8200) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                        if (unaff_s3 != (ImageInfo *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar32 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar6 = 6;\n                      if (0x9a < uVar36) {\n                        do {\n                          iVar6 = iVar6 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar6 != 0);\n                        MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                        if (MVar7 == MagickFalse) {\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x5c8;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\nLAB_00275b88:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_courses_003a88ec + -400;\n                          uVar11 = 0x1a9;\n                        }\n                        else {\n                          iVar6 = 0x7a;\n                          do {\n                            iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar16 == -1) break;\n                            iVar6 = iVar6 + -1;\n                          } while (iVar6 != 0);\n                          iVar6 = uVar36 - 0x9a;\n                          pIVar8 = (Image *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar6,1);\n                          pcVar10 = local_10d0->filename;\n                          if (pIVar8 != (Image *)0x0) {\n                            uVar32 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar6,pIVar8,&destination);\n                            if (destination._0_4_ == iVar6) {\n                              iVar6 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar6 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pcVar10);\n                              unaff_s3 = (ImageInfo *)\n                                         (*(code *)PTR_BlobToImage_003a9330)\n                                                   (iVar6,uVar32,destination._0_4_,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar6);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x5d5;\n                            uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                            unaff_s7 = pIVar8;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x5d0;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar11 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        pcVar10 = unaff_s3->size;\n                        if (pcVar10 < (char *)unaff_s0->columns) {\n                          pcVar10 = (char *)unaff_s0->columns;\n                        }\n                        dVar40 = (double)(int)pcVar10;\n                        if ((int)pcVar10 < 0) {\n                          dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        pcVar24 = (char *)unaff_s0->rows;\n                        pcVar10 = unaff_s3->extract;\n                        if (pcVar10 < pcVar24) {\n                          in_f2_3 = (double)(int)pcVar24;\n                          if ((int)pcVar24 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)pcVar10;\n                          if ((int)pcVar10 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (geometry,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        pcVar10 = (char *)unaff_s0->columns;\n                        if ((char *)unaff_s0->columns <= unaff_s3->size) {\n                          pcVar10 = unaff_s3->size;\n                        }\n                        pcVar24 = unaff_s3->extract;\n                        if (unaff_s3->extract < (char *)unaff_s0->rows) {\n                          pcVar24 = (char *)unaff_s0->rows;\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,pcVar10,pcVar24,local_10d8,dVar40,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,unaff_s3->orientation,local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,unaff_s3,0xd,1);\n                        puVar15 = PTR_DestroyImage_003a8f4c;\n                        unaff_s0->compression = unaff_s3->temporary;\n                        unaff_s3 = (ImageInfo *)(*(code *)puVar15)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pIVar35 = unaff_s3;\n                    pIVar9 = unaff_s7;\n                    if ((unaff_s7 == (Image *)0xff) ||\n                       (pIVar35 = unaff_s3, unaff_s7 == (Image *)0xffff)) goto LAB_00274430;\n                    if ((unaff_s7[-1].magick + 0xfc8 < (char *)0x2f) ||\n                       (unaff_s7[-3].magick_filename + 0x748 < (char *)0x7f00)) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44)) {\n                        if (uVar36 != 0) {\n                          uVar37 = 0;\n                          do {\n                            iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar6 == -1) break;\n                            uVar37 = uVar37 + 1;\n                          } while (uVar36 != uVar37);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x5f8;\n                    }\n                    else {\n                      if ((char *)0x7eff < unaff_s7[-1].magick + 0xf98) goto LAB_002744b8;\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar44)) {\n                        uVar36 = 0;\n                        do {\n                          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar6 == -1) break;\n                          uVar36 = uVar36 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar36);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x606;\n                    }\nLAB_00275880:\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_s_courses_003a88ec + 0x4a0;\n                    pIVar9 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar6 = 0x18;\n              do {\n                iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar16 == -1) break;\n                iVar6 = iVar6 + -1;\n              } while (iVar6 != 0);\n            } while( true );\n          }\n          uVar32 = 0x3a8;\n        }\n      }" if (parenthesized_expression "(MVar7 == MagickFalse)" ( (binary_expression "MVar7 == MagickFalse" identifier == identifier) )) (compound_statement "{\n        uVar32 = 0x397;\n      }" { (expression_statement "uVar32 = 0x397;" (assignment_expression "uVar32 = 0x397" identifier = number_literal) ;) }) (else_clause "else {\n        do {\n          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n        } while (iVar6 == 0);\n        uVar32 = 0x39a;\n        if (iVar6 == 0x11) {\n          local_10d4 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (local_10d4 == 2) {\n            iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n            if (iVar6 != 0xff) {\n              uVar32 = 0x3a0;\n              goto LAB_002741b8;\n            }\n          }\n          else if (local_10d4 != 1) {\n            uVar32 = 0x3a4;\n            goto LAB_002741b8;\n          }\n          iVar6 = (int)frame.left;\n          iVar16 = (int)frame.right;\n          if ((((-1 < iVar6) && (iVar12 = (int)frame.top, -1 < iVar16)) &&\n              ((iVar33 = (int)frame.bottom, -1 < iVar12 && ((-1 < iVar33 && (iVar6 < iVar16)))))) &&\n             (iVar12 < iVar33)) {\n            MVar7 = image_info->ping;\n            unaff_s0->units = UndefinedResolution;\n            unaff_s0->columns = iVar16 - iVar6;\n            unaff_s0->depth = 8;\n            puVar15 = PTR_LAB_003a88e0;\n            unaff_s0->rows = iVar33 - iVar12;\n            dVar40 = *(double *)(puVar15 + 0x13f0);\n            (unaff_s0->resolution).x = dVar40;\n            (unaff_s0->resolution).y = dVar40;\n            if (((MVar7 != MagickFalse) && (image_info->number_scenes != 0)) &&\n               (pIVar35 = unaff_s3, pIVar9 = unaff_s7,\n               (image_info->number_scenes + image_info->scene) - 1 <= unaff_s0->scene))\n            goto LAB_00274430;\n            iVar6 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar16 - iVar6,iVar33 - iVar12,exception);\n            if (iVar6 == 0) goto LAB_002743d4;\n            iVar6 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,exception);\n            if (iVar6 == 0) goto LAB_002743d4;\n            local_10c8 = PTR_LAB_003a88e0;\n            unaff_s7 = (Image *)0x0;\n            local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n            unaff_s3 = (ImageInfo *)0x0;\n            local_10b8 = 0;\n            in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418);\n            in_f22_23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n            in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58);\n            local_10cc = 0;\n            local_10bc = &frame;\n            local_10d0 = image_info;\n            local_10d8 = exception;\nLAB_002744b8:\n            do {\n              pIVar9 = (Image *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pIVar35 = local_10d0;\n              if ((pIVar9 != (Image *)0x0) ||\n                 (((local_10d0->ping != MagickFalse && (local_10d0->number_scenes != 0)) &&\n                  ((local_10d0->number_scenes + local_10d0->scene) - 1 <= unaff_s0->scene)))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                pIVar8 = (Image *)(*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pIVar35;\n                unaff_s7 = pIVar9;\nLAB_00274228:\n                if (iVar5 == *(int *)puVar4) {\n                  return pIVar8;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), pIVar8 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                pIVar8 = (Image *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                pIVar8 = (Image *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (Image *)((uint)pIVar8 & 0xffff);\n              if (unaff_s7 == (Image *)0x0) {\n                unaff_s7 = (Image *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (Image *)0xa2) {\n                if (unaff_s0->debug != MagickFalse) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)\n                              (PTR_MagickImageList_3__magick_276__003a8948 +\n                              (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_MagickImageList_3__magick_276__003a8948 +\n                                    (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (Image *)0x78) {\n                  if ((Image *)0x6f < unaff_s7) {\n                    uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar6 = 0;\n                    if (0 < (int)(uVar36 - 2)) {\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + 1;\n                      } while (iVar6 != uVar36 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((Image *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (Image *)&DAT_0000001b) {\n                      iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                      (unaff_s0->background_color).red = (double)iVar6;\n                      iVar6 = (*(code *)puVar15)(unaff_s0);\n                      puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                      (unaff_s0->background_color).green = (double)iVar6;\n                      iVar6 = (*(code *)puVar15)(unaff_s0);\n                      (unaff_s0->background_color).blue = (double)iVar6;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if ((Image *)&DAT_00000011 < unaff_s7) {\n                    iVar16 = 8;\n                    iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar12 == -1) break;\n                      iVar16 = iVar16 + -1;\n                    } while (iVar16 != 0);\n                    if (iVar6 == 2) {\n                      iVar6 = 5;\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + -1;\n                      } while (iVar6 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar6 == 1) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44)) {\n                        MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                        if (MVar7 == MagickFalse) {\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x419;\n                        }\n                        else {\n                          MVar7 = ReadPixmap(unaff_s0,&pixmap);\n                          if (MVar7 != MagickFalse) {\n                            unaff_s0->depth = (int)pixmap.component_size;\n                            dVar40 = (double)(int)pixmap.horizontal_resolution;\n                            if ((int)pixmap.horizontal_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).x = dVar40;\n                            puVar15 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar40 = (double)(int)pixmap.vertical_resolution;\n                            if ((int)pixmap.vertical_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).y = dVar40;\n                            unaff_s0->units = PixelsPerInchResolution;\n                            (*(code *)puVar15)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44))\n                            {\n                              iVar6 = 0;\n                              do {\n                                iVar6 = iVar6 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar6 != uVar36 + 1);\n                              uVar37 = (int)frame.bottom - (int)frame.top;\n                              iVar6 = (int)frame.right - (int)frame.left;\n                              if (pixmap.bits_per_pixel < 9) {\n                                uVar36 = uVar36 & 0x7fff;\n                              }\n                              else if (pixmap.bits_per_pixel == 0x10) {\n                                uVar37 = uVar37 * 2;\n                              }\n                              if (uVar36 != 0) {\n                                uVar37 = uVar36;\n                              }\n                              if (uVar37 < 8) {\n                                if (0 < (int)(uVar37 * iVar6)) {\n                                  iVar16 = 0;\n                                  do {\n                                    iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar12 == -1) break;\n                                    iVar16 = iVar16 + 1;\n                                  } while (uVar37 * iVar6 != iVar16);\n                                }\n                              }\n                              else {\n                                iVar16 = 0;\n                                if (0 < iVar6) {\n                                  do {\n                                    iVar12 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar12 != 0) break;\n                                    if (uVar37 < 0xc9) {\n                                      uVar36 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) &&\n                                       ((uint)uVar44 < uVar36)) {\n                                      if (unaff_s3 != (ImageInfo *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar38 = 0;\n                                    if (0 < (int)uVar36) {\n                                      do {\n                                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar12 == -1) break;\n                                        uVar38 = uVar38 + 1;\n                                      } while (uVar36 != uVar38);\n                                    }\n                                    iVar16 = iVar16 + 1;\n                                  } while (iVar6 != iVar16);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x413;\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    pIVar9 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (Image *)0x1) goto LAB_002752a0;\n                  uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar36 != 10) {\n                    if (0 < (int)(uVar36 - 2)) {\n                      iVar6 = 0;\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + 1;\n                      } while (uVar36 - 2 != iVar6);\n                    }\n                    goto LAB_00274594;\n                  }\n                  MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                  puVar15 = PTR_SetImageExtent_003a94ac;\n                  if (MVar7 == MagickFalse) {\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((frame.left < 0) || (frame.top < 0)) goto LAB_00274594;\n                  sVar26 = (int)frame.right - (int)frame.left;\n                  sVar31 = (int)frame.bottom - (int)frame.top;\n                  unaff_s0->columns = sVar26;\n                  unaff_s0->rows = sVar31;\n                  iVar6 = (*(code *)puVar15)(unaff_s0,sVar26,sVar31,local_10d8);\n                  if ((iVar6 != 0) &&\n                     (iVar6 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar6 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  pIVar8 = (Image *)(*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((Image *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (Image *)0xa1) {\n                    iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar36 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = 4;\n                      if (uVar36 < 5) {\n                        uVar37 = uVar36;\n                      }\n                      iVar16 = uVar36 - uVar37;\n                      if ((iVar16 != 0) &&\n                         (iVar12 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar16,1),\n                         iVar12 != 0)) {\n                        iVar33 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar16,iVar12);\n                        if (iVar16 != iVar33) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x570;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar11 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar6 == 0xe0) {\n                          uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);\n                          iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar32,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);\n                          if (iVar6 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar6 == 0x1f2) {\n                          uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);\n                          iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar32,local_10d8);\n                          if (iVar6 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar6 = *(int *)(PTR_MagickImageList_3__magick_276__003a8948 +\n                                  (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar6 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar16 = 0;\n                    if (0 < iVar6) {\n                      do {\n                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar12 == -1) break;\n                        iVar16 = iVar16 + 1;\n                      } while (iVar6 != iVar16);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (Image *)0x98) && ((BlobInfo **)0x1 < &unaff_s7[-1].blob))\n                goto LAB_002752a0;\n                bVar3 = unaff_s7[-1].magick + 0xffe < (char *)0x2;\n                if (bVar3) {\n                  uVar36 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                if (MVar7 != MagickFalse) {\n                  pIVar9 = (Image *)(*(code *)PTR_CloneImage_003a9830)\n                                              (unaff_s0,(int)frame.right - (int)frame.left,\n                                               (int)frame.bottom - (int)frame.top,1);\n                  if (pIVar9 == (Image *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(pIVar9,local_10d8);\n                  if ((bVar3) || ((uVar36 & 0x8000) != 0)) {\n                    MVar7 = ReadPixmap(unaff_s0,&pixmap);\n                    if (MVar7 != MagickFalse) {\n                      pIVar9->depth = (int)pixmap.component_size;\n                      puVar15 = PTR_SetImageAlpha_003a8c78;\n                      dVar40 = (double)(int)pixmap.horizontal_resolution;\n                      if ((int)pixmap.horizontal_resolution < 0) {\n                        dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar39 = (double)(int)pixmap.vertical_resolution;\n                      if ((int)pixmap.vertical_resolution < 0) {\n                        dVar39 = dVar39 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (pixmap.component_count == 4) {\n                        pIVar9->alpha_trait = BlendPixelTrait;\n                        pIVar9->units = PixelsPerInchResolution;\n                        puVar25 = PTR_LAB_003a88e0;\n                        (pIVar9->resolution).x = dVar40;\n                        (pIVar9->resolution).y = dVar39;\n                        (*(code *)puVar15)(pIVar9,*(undefined4 *)(puVar25 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        (pIVar9->resolution).x = dVar40;\n                        pIVar9->alpha_trait = UndefinedPixelTrait;\n                        (pIVar9->resolution).y = dVar39;\n                        pIVar9->units = PixelsPerInchResolution;\n                      }\n                      if (!bVar3) {\n                        pIVar9->colors = 2;\n                        if ((uVar36 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar18 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar15 = PTR_AcquireImageColormap_003a9194;\n                        pIVar9->colors = iVar6 + 1U;\n                        iVar6 = (*(code *)puVar15)(pIVar9,iVar6 + 1U,local_10d8);\n                        if (iVar6 == 0) goto LAB_002756e4;\n                        if (0 < (int)pIVar9->colors) {\n                          uVar37 = 0;\n                          do {\n                            uVar17 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar38 = uVar37;\n                            if (-1 < sVar18) {\n                              if (pIVar9->colors == 0) {\n                                trap(7);\n                              }\n                              uVar38 = uVar17 % pIVar9->colors;\n                            }\n                            uVar37 = uVar37 + 1;\n                            iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                            pIVar9->colormap[uVar38].red = (double)iVar6;\n                            iVar6 = (*(code *)puVar15)(unaff_s0);\n                            puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                            pIVar9->colormap[uVar38].green = (double)iVar6;\n                            iVar6 = (*(code *)puVar15)(unaff_s0);\n                            sVar26 = pIVar9->colors;\n                            unaff_s3 = (ImageInfo *)(pIVar9->colormap + uVar38);\n                            *(double *)&unaff_s3->endian = (double)iVar6;\n                          } while ((int)uVar37 < (int)sVar26);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x49e;\n                    unaff_s7 = pIVar9;\n                    goto LAB_002757bc;\n                  }\n                  pIVar9->colors = 2;\nLAB_0027565c:\n                  iVar6 = (*(code *)PTR_AcquireImageColormap_003a9194)(pIVar9,2,local_10d8);\n                  if (iVar6 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x4b8;\n                    unaff_s7 = pIVar9;\nLAB_00275720:\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar11 = 400;\n                    goto LAB_00275084;\n                  }\n                  sVar26 = pIVar9->colors;\n                  if (0 < (int)sVar26) {\n                    pPVar29 = pIVar9->colormap;\n                    pMVar13 = &pPVar29->red;\n                    do {\n                      pMVar14 = pMVar13 + 0xb;\n                      *pMVar13 = (double)(float)(in_f20_21 - *pMVar13);\n                      pMVar13[1] = (double)(float)(in_f20_21 - pMVar13[1]);\n                      pMVar13[2] = (double)(float)(in_f20_21 - pMVar13[2]);\n                      pMVar13 = pMVar14;\n                    } while (pMVar14 != &pPVar29[sVar26].red);\n                  }\nLAB_00274838:\n                  iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar6 == 0) {\n                    MVar7 = ReadRectangle(unaff_s0,&source);\n                    if (MVar7 == MagickFalse) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x4d9;\n                      unaff_s7 = pIVar9;\n                    }\n                    else {\n                      MVar7 = ReadRectangle(unaff_s0,&destination);\n                      if (MVar7 != MagickFalse) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)pIVar8 & 0xfff7) == 0x91) || (unaff_s7 == (Image *)0x9b)) {\n                          uVar37 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar37)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x4e5;\n                            unaff_s7 = pIVar9;\n                            goto LAB_00275880;\n                          }\n                          iVar6 = 0;\n                          if (0 < (int)(uVar37 - 2)) {\n                            do {\n                              iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar16 == -1) break;\n                              iVar6 = iVar6 + 1;\n                            } while (uVar37 - 2 != iVar6);\n                          }\n                        }\n                        if ((bVar3) || ((uVar36 & 0x8000) != 0)) {\n                          uVar37 = (uint)pixmap.bits_per_pixel;\n                        }\n                        else {\n                          uVar37 = 1;\n                        }\n                        unaff_s3 = (ImageInfo *)DecodeImage(unaff_s0,pIVar9,uVar36,uVar37,&extent);\n                        if (unaff_s3 == (ImageInfo *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x4f2;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if ((int)pIVar9->rows < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar6 == 0)) &&\n                               ((bVar3 || ((uVar36 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,pIVar9,0xd,1);\n                            }\n                            unaff_s3 = (ImageInfo *)(*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <=\n                              (ImageInfo *)\n                              ((int)&unaff_s3->compression + unaff_s0->columns + extent)) {\n                            local_10b0 = 0;\n                            uVar37 = 0;\n                            pIVar35 = unaff_s3;\n                            do {\n                              iVar6 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (pIVar9,0,uVar37,pIVar9->columns);\n                              if (iVar6 == 0) goto LAB_00276500;\n                              sVar26 = pIVar9->columns;\n                              if (0 < (int)sVar26) {\n                                iVar16 = 0;\n                                dVar39 = *(double *)(local_10ac + -0x5af0);\n                                dVar40 = dVar39;\n                                do {\n                                  if (pIVar9->storage_class == PseudoClass) {\n                                    if ((int)(uint)(byte)*(undefined1 *)&pIVar35->compression <\n                                        (int)pIVar9->colors) {\n                                      fVar41 = (float)(byte)*(undefined1 *)&pIVar35->compression;\n                                      iVar12 = (int)fVar41 * 0x58;\n                                    }\n                                    else if (local_10d8->severity == CorruptImageError) {\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23);\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                      sVar26 = pIVar9->columns;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    if (pPVar28[5].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[5].offset * 4) = fVar41;\n                                    }\n                                    pPVar29 = pIVar9->colormap;\n                                    iVar23 = pPVar28[1].offset;\n                                    iVar33 = pPVar28[2].offset;\n                                    dVar43 = *(double *)((int)&pPVar29->green + iVar12);\n                                    dVar42 = *(double *)((int)&pPVar29->blue + iVar12);\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)*(double *)((int)&pPVar29->red + iVar12);\n                                    *(float *)(iVar6 + iVar23 * 4) = (float)dVar43;\n                                    *(float *)(iVar6 + iVar33 * 4) = (float)dVar42;\n                                  }\n                                  else if (pixmap.bits_per_pixel == 0x10) {\n                                    bVar1 = *(byte *)((int)&pIVar35->compression + 1);\n                                    pPVar28 = pIVar9->channel_map;\n                                    uVar2 = *(undefined1 *)&pIVar35->compression;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(((byte)uVar2 & 0x7c) << 1) * dVar40);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | ((byte)uVar2 & 3) << 6\n                                                         ) * dVar40);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar40);\n                                    pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  }\n                                  else if (pIVar9->alpha_trait == UndefinedPixelTrait) {\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 2 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(byte)*(undefined1 *)&pIVar35->compression\n                                                * dVar39);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar27 * dVar39);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar27[sVar26] * dVar39);\n                                  }\n                                  else {\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 3 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if (pPVar28[4].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[4].offset * 4) =\n                                           (float)((double)(byte)*(undefined1 *)\n                                                                  &pIVar35->compression * in_f22_23)\n                                      ;\n                                    }\n                                    pbVar34 = pbVar27 + sVar26;\n                                    dVar42 = *(double *)(local_10ac + -0x5af0);\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)*pbVar27 * dVar42);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar34 * dVar42);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar34[sVar26] * dVar42);\n                                  }\n                                  iVar16 = iVar16 + 1;\n                                  pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  iVar6 = iVar6 + pIVar9->number_channels * 4;\n                                } while (iVar16 < (int)sVar26);\n                              }\n                              iVar6 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar9,local_10d8)\n                              ;\n                              if (((iVar6 == 0) ||\n                                  (((pIVar9->storage_class == DirectClass &&\n                                    (pixmap.bits_per_pixel != 0x10)) &&\n                                   (pIVar35 = (ImageInfo *)\n                                              ((int)&pIVar35->compression +\n                                              (pixmap.component_count + -1) * pIVar9->columns),\n                                   pIVar35 < unaff_s3)))) ||\n                                 ((iVar6 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar37), iVar6 == 0 ||\n                                  (uVar38 = uVar37 + 1, (int)pIVar9->rows <= (int)uVar38))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar38 < uVar37) + local_10b0;\n                              uVar37 = uVar38;\n                            } while (pIVar35 <=\n                                     (ImageInfo *)\n                                     ((int)&unaff_s3->compression + unaff_s0->columns + extent));\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x4fc;\n                          unaff_s7 = pIVar9;\nLAB_0027504c:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          pIVar9 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x4db;\n                      unaff_s7 = pIVar9;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar32 = 0x4d7;\n                  unaff_s7 = pIVar9;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (ImageInfo *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar32 = 0x491;\nLAB_002757bc:\n                puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar15 = PTR_s_courses_003a88ec + -400;\n                pIVar9 = unaff_s7;\nLAB_0027507c:\n                uVar11 = 0x1a9;\n                unaff_s7 = pIVar9;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar25,puVar30,uVar32,uVar11,puVar15,uVar44);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                pIVar8 = (Image *)0x0;\n                goto LAB_00274228;\n              }\n              if (unaff_s0->debug != MagickFalse) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3);\n              }\n              if (unaff_s7 != (Image *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7[-1].magick + 0xfe8) {\nLAB_00274594:\n                  if ((char *)0xff < unaff_s7[-3].magick_filename + 0x848) {\n                    if (unaff_s7 == (Image *)0x8200) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                        if (unaff_s3 != (ImageInfo *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar32 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar6 = 6;\n                      if (0x9a < uVar36) {\n                        do {\n                          iVar6 = iVar6 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar6 != 0);\n                        MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                        if (MVar7 == MagickFalse) {\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x5c8;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\nLAB_00275b88:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_courses_003a88ec + -400;\n                          uVar11 = 0x1a9;\n                        }\n                        else {\n                          iVar6 = 0x7a;\n                          do {\n                            iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar16 == -1) break;\n                            iVar6 = iVar6 + -1;\n                          } while (iVar6 != 0);\n                          iVar6 = uVar36 - 0x9a;\n                          pIVar8 = (Image *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar6,1);\n                          pcVar10 = local_10d0->filename;\n                          if (pIVar8 != (Image *)0x0) {\n                            uVar32 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar6,pIVar8,&destination);\n                            if (destination._0_4_ == iVar6) {\n                              iVar6 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar6 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pcVar10);\n                              unaff_s3 = (ImageInfo *)\n                                         (*(code *)PTR_BlobToImage_003a9330)\n                                                   (iVar6,uVar32,destination._0_4_,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar6);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x5d5;\n                            uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                            unaff_s7 = pIVar8;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x5d0;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar11 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        pcVar10 = unaff_s3->size;\n                        if (pcVar10 < (char *)unaff_s0->columns) {\n                          pcVar10 = (char *)unaff_s0->columns;\n                        }\n                        dVar40 = (double)(int)pcVar10;\n                        if ((int)pcVar10 < 0) {\n                          dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        pcVar24 = (char *)unaff_s0->rows;\n                        pcVar10 = unaff_s3->extract;\n                        if (pcVar10 < pcVar24) {\n                          in_f2_3 = (double)(int)pcVar24;\n                          if ((int)pcVar24 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)pcVar10;\n                          if ((int)pcVar10 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (geometry,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        pcVar10 = (char *)unaff_s0->columns;\n                        if ((char *)unaff_s0->columns <= unaff_s3->size) {\n                          pcVar10 = unaff_s3->size;\n                        }\n                        pcVar24 = unaff_s3->extract;\n                        if (unaff_s3->extract < (char *)unaff_s0->rows) {\n                          pcVar24 = (char *)unaff_s0->rows;\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,pcVar10,pcVar24,local_10d8,dVar40,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,unaff_s3->orientation,local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,unaff_s3,0xd,1);\n                        puVar15 = PTR_DestroyImage_003a8f4c;\n                        unaff_s0->compression = unaff_s3->temporary;\n                        unaff_s3 = (ImageInfo *)(*(code *)puVar15)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pIVar35 = unaff_s3;\n                    pIVar9 = unaff_s7;\n                    if ((unaff_s7 == (Image *)0xff) ||\n                       (pIVar35 = unaff_s3, unaff_s7 == (Image *)0xffff)) goto LAB_00274430;\n                    if ((unaff_s7[-1].magick + 0xfc8 < (char *)0x2f) ||\n                       (unaff_s7[-3].magick_filename + 0x748 < (char *)0x7f00)) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44)) {\n                        if (uVar36 != 0) {\n                          uVar37 = 0;\n                          do {\n                            iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar6 == -1) break;\n                            uVar37 = uVar37 + 1;\n                          } while (uVar36 != uVar37);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x5f8;\n                    }\n                    else {\n                      if ((char *)0x7eff < unaff_s7[-1].magick + 0xf98) goto LAB_002744b8;\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar44)) {\n                        uVar36 = 0;\n                        do {\n                          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar6 == -1) break;\n                          uVar36 = uVar36 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar36);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x606;\n                    }\nLAB_00275880:\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_s_courses_003a88ec + 0x4a0;\n                    pIVar9 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar6 = 0x18;\n              do {\n                iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar16 == -1) break;\n                iVar6 = iVar6 + -1;\n              } while (iVar6 != 0);\n            } while( true );\n          }\n          uVar32 = 0x3a8;\n        }\n      }" else (compound_statement "{\n        do {\n          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n        } while (iVar6 == 0);\n        uVar32 = 0x39a;\n        if (iVar6 == 0x11) {\n          local_10d4 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (local_10d4 == 2) {\n            iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n            if (iVar6 != 0xff) {\n              uVar32 = 0x3a0;\n              goto LAB_002741b8;\n            }\n          }\n          else if (local_10d4 != 1) {\n            uVar32 = 0x3a4;\n            goto LAB_002741b8;\n          }\n          iVar6 = (int)frame.left;\n          iVar16 = (int)frame.right;\n          if ((((-1 < iVar6) && (iVar12 = (int)frame.top, -1 < iVar16)) &&\n              ((iVar33 = (int)frame.bottom, -1 < iVar12 && ((-1 < iVar33 && (iVar6 < iVar16)))))) &&\n             (iVar12 < iVar33)) {\n            MVar7 = image_info->ping;\n            unaff_s0->units = UndefinedResolution;\n            unaff_s0->columns = iVar16 - iVar6;\n            unaff_s0->depth = 8;\n            puVar15 = PTR_LAB_003a88e0;\n            unaff_s0->rows = iVar33 - iVar12;\n            dVar40 = *(double *)(puVar15 + 0x13f0);\n            (unaff_s0->resolution).x = dVar40;\n            (unaff_s0->resolution).y = dVar40;\n            if (((MVar7 != MagickFalse) && (image_info->number_scenes != 0)) &&\n               (pIVar35 = unaff_s3, pIVar9 = unaff_s7,\n               (image_info->number_scenes + image_info->scene) - 1 <= unaff_s0->scene))\n            goto LAB_00274430;\n            iVar6 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar16 - iVar6,iVar33 - iVar12,exception);\n            if (iVar6 == 0) goto LAB_002743d4;\n            iVar6 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,exception);\n            if (iVar6 == 0) goto LAB_002743d4;\n            local_10c8 = PTR_LAB_003a88e0;\n            unaff_s7 = (Image *)0x0;\n            local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n            unaff_s3 = (ImageInfo *)0x0;\n            local_10b8 = 0;\n            in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418);\n            in_f22_23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n            in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58);\n            local_10cc = 0;\n            local_10bc = &frame;\n            local_10d0 = image_info;\n            local_10d8 = exception;\nLAB_002744b8:\n            do {\n              pIVar9 = (Image *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pIVar35 = local_10d0;\n              if ((pIVar9 != (Image *)0x0) ||\n                 (((local_10d0->ping != MagickFalse && (local_10d0->number_scenes != 0)) &&\n                  ((local_10d0->number_scenes + local_10d0->scene) - 1 <= unaff_s0->scene)))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                pIVar8 = (Image *)(*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pIVar35;\n                unaff_s7 = pIVar9;\nLAB_00274228:\n                if (iVar5 == *(int *)puVar4) {\n                  return pIVar8;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), pIVar8 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                pIVar8 = (Image *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                pIVar8 = (Image *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (Image *)((uint)pIVar8 & 0xffff);\n              if (unaff_s7 == (Image *)0x0) {\n                unaff_s7 = (Image *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (Image *)0xa2) {\n                if (unaff_s0->debug != MagickFalse) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)\n                              (PTR_MagickImageList_3__magick_276__003a8948 +\n                              (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_MagickImageList_3__magick_276__003a8948 +\n                                    (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (Image *)0x78) {\n                  if ((Image *)0x6f < unaff_s7) {\n                    uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar6 = 0;\n                    if (0 < (int)(uVar36 - 2)) {\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + 1;\n                      } while (iVar6 != uVar36 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((Image *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (Image *)&DAT_0000001b) {\n                      iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                      (unaff_s0->background_color).red = (double)iVar6;\n                      iVar6 = (*(code *)puVar15)(unaff_s0);\n                      puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                      (unaff_s0->background_color).green = (double)iVar6;\n                      iVar6 = (*(code *)puVar15)(unaff_s0);\n                      (unaff_s0->background_color).blue = (double)iVar6;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if ((Image *)&DAT_00000011 < unaff_s7) {\n                    iVar16 = 8;\n                    iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar12 == -1) break;\n                      iVar16 = iVar16 + -1;\n                    } while (iVar16 != 0);\n                    if (iVar6 == 2) {\n                      iVar6 = 5;\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + -1;\n                      } while (iVar6 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar6 == 1) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44)) {\n                        MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                        if (MVar7 == MagickFalse) {\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x419;\n                        }\n                        else {\n                          MVar7 = ReadPixmap(unaff_s0,&pixmap);\n                          if (MVar7 != MagickFalse) {\n                            unaff_s0->depth = (int)pixmap.component_size;\n                            dVar40 = (double)(int)pixmap.horizontal_resolution;\n                            if ((int)pixmap.horizontal_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).x = dVar40;\n                            puVar15 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar40 = (double)(int)pixmap.vertical_resolution;\n                            if ((int)pixmap.vertical_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).y = dVar40;\n                            unaff_s0->units = PixelsPerInchResolution;\n                            (*(code *)puVar15)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44))\n                            {\n                              iVar6 = 0;\n                              do {\n                                iVar6 = iVar6 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar6 != uVar36 + 1);\n                              uVar37 = (int)frame.bottom - (int)frame.top;\n                              iVar6 = (int)frame.right - (int)frame.left;\n                              if (pixmap.bits_per_pixel < 9) {\n                                uVar36 = uVar36 & 0x7fff;\n                              }\n                              else if (pixmap.bits_per_pixel == 0x10) {\n                                uVar37 = uVar37 * 2;\n                              }\n                              if (uVar36 != 0) {\n                                uVar37 = uVar36;\n                              }\n                              if (uVar37 < 8) {\n                                if (0 < (int)(uVar37 * iVar6)) {\n                                  iVar16 = 0;\n                                  do {\n                                    iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar12 == -1) break;\n                                    iVar16 = iVar16 + 1;\n                                  } while (uVar37 * iVar6 != iVar16);\n                                }\n                              }\n                              else {\n                                iVar16 = 0;\n                                if (0 < iVar6) {\n                                  do {\n                                    iVar12 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar12 != 0) break;\n                                    if (uVar37 < 0xc9) {\n                                      uVar36 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) &&\n                                       ((uint)uVar44 < uVar36)) {\n                                      if (unaff_s3 != (ImageInfo *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar38 = 0;\n                                    if (0 < (int)uVar36) {\n                                      do {\n                                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar12 == -1) break;\n                                        uVar38 = uVar38 + 1;\n                                      } while (uVar36 != uVar38);\n                                    }\n                                    iVar16 = iVar16 + 1;\n                                  } while (iVar6 != iVar16);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x413;\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    pIVar9 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (Image *)0x1) goto LAB_002752a0;\n                  uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar36 != 10) {\n                    if (0 < (int)(uVar36 - 2)) {\n                      iVar6 = 0;\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + 1;\n                      } while (uVar36 - 2 != iVar6);\n                    }\n                    goto LAB_00274594;\n                  }\n                  MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                  puVar15 = PTR_SetImageExtent_003a94ac;\n                  if (MVar7 == MagickFalse) {\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((frame.left < 0) || (frame.top < 0)) goto LAB_00274594;\n                  sVar26 = (int)frame.right - (int)frame.left;\n                  sVar31 = (int)frame.bottom - (int)frame.top;\n                  unaff_s0->columns = sVar26;\n                  unaff_s0->rows = sVar31;\n                  iVar6 = (*(code *)puVar15)(unaff_s0,sVar26,sVar31,local_10d8);\n                  if ((iVar6 != 0) &&\n                     (iVar6 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar6 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  pIVar8 = (Image *)(*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((Image *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (Image *)0xa1) {\n                    iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar36 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = 4;\n                      if (uVar36 < 5) {\n                        uVar37 = uVar36;\n                      }\n                      iVar16 = uVar36 - uVar37;\n                      if ((iVar16 != 0) &&\n                         (iVar12 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar16,1),\n                         iVar12 != 0)) {\n                        iVar33 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar16,iVar12);\n                        if (iVar16 != iVar33) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x570;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar11 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar6 == 0xe0) {\n                          uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);\n                          iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar32,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);\n                          if (iVar6 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar6 == 0x1f2) {\n                          uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);\n                          iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar32,local_10d8);\n                          if (iVar6 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar6 = *(int *)(PTR_MagickImageList_3__magick_276__003a8948 +\n                                  (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar6 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar16 = 0;\n                    if (0 < iVar6) {\n                      do {\n                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar12 == -1) break;\n                        iVar16 = iVar16 + 1;\n                      } while (iVar6 != iVar16);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (Image *)0x98) && ((BlobInfo **)0x1 < &unaff_s7[-1].blob))\n                goto LAB_002752a0;\n                bVar3 = unaff_s7[-1].magick + 0xffe < (char *)0x2;\n                if (bVar3) {\n                  uVar36 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                if (MVar7 != MagickFalse) {\n                  pIVar9 = (Image *)(*(code *)PTR_CloneImage_003a9830)\n                                              (unaff_s0,(int)frame.right - (int)frame.left,\n                                               (int)frame.bottom - (int)frame.top,1);\n                  if (pIVar9 == (Image *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(pIVar9,local_10d8);\n                  if ((bVar3) || ((uVar36 & 0x8000) != 0)) {\n                    MVar7 = ReadPixmap(unaff_s0,&pixmap);\n                    if (MVar7 != MagickFalse) {\n                      pIVar9->depth = (int)pixmap.component_size;\n                      puVar15 = PTR_SetImageAlpha_003a8c78;\n                      dVar40 = (double)(int)pixmap.horizontal_resolution;\n                      if ((int)pixmap.horizontal_resolution < 0) {\n                        dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar39 = (double)(int)pixmap.vertical_resolution;\n                      if ((int)pixmap.vertical_resolution < 0) {\n                        dVar39 = dVar39 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (pixmap.component_count == 4) {\n                        pIVar9->alpha_trait = BlendPixelTrait;\n                        pIVar9->units = PixelsPerInchResolution;\n                        puVar25 = PTR_LAB_003a88e0;\n                        (pIVar9->resolution).x = dVar40;\n                        (pIVar9->resolution).y = dVar39;\n                        (*(code *)puVar15)(pIVar9,*(undefined4 *)(puVar25 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        (pIVar9->resolution).x = dVar40;\n                        pIVar9->alpha_trait = UndefinedPixelTrait;\n                        (pIVar9->resolution).y = dVar39;\n                        pIVar9->units = PixelsPerInchResolution;\n                      }\n                      if (!bVar3) {\n                        pIVar9->colors = 2;\n                        if ((uVar36 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar18 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar15 = PTR_AcquireImageColormap_003a9194;\n                        pIVar9->colors = iVar6 + 1U;\n                        iVar6 = (*(code *)puVar15)(pIVar9,iVar6 + 1U,local_10d8);\n                        if (iVar6 == 0) goto LAB_002756e4;\n                        if (0 < (int)pIVar9->colors) {\n                          uVar37 = 0;\n                          do {\n                            uVar17 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar38 = uVar37;\n                            if (-1 < sVar18) {\n                              if (pIVar9->colors == 0) {\n                                trap(7);\n                              }\n                              uVar38 = uVar17 % pIVar9->colors;\n                            }\n                            uVar37 = uVar37 + 1;\n                            iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                            pIVar9->colormap[uVar38].red = (double)iVar6;\n                            iVar6 = (*(code *)puVar15)(unaff_s0);\n                            puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                            pIVar9->colormap[uVar38].green = (double)iVar6;\n                            iVar6 = (*(code *)puVar15)(unaff_s0);\n                            sVar26 = pIVar9->colors;\n                            unaff_s3 = (ImageInfo *)(pIVar9->colormap + uVar38);\n                            *(double *)&unaff_s3->endian = (double)iVar6;\n                          } while ((int)uVar37 < (int)sVar26);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x49e;\n                    unaff_s7 = pIVar9;\n                    goto LAB_002757bc;\n                  }\n                  pIVar9->colors = 2;\nLAB_0027565c:\n                  iVar6 = (*(code *)PTR_AcquireImageColormap_003a9194)(pIVar9,2,local_10d8);\n                  if (iVar6 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x4b8;\n                    unaff_s7 = pIVar9;\nLAB_00275720:\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar11 = 400;\n                    goto LAB_00275084;\n                  }\n                  sVar26 = pIVar9->colors;\n                  if (0 < (int)sVar26) {\n                    pPVar29 = pIVar9->colormap;\n                    pMVar13 = &pPVar29->red;\n                    do {\n                      pMVar14 = pMVar13 + 0xb;\n                      *pMVar13 = (double)(float)(in_f20_21 - *pMVar13);\n                      pMVar13[1] = (double)(float)(in_f20_21 - pMVar13[1]);\n                      pMVar13[2] = (double)(float)(in_f20_21 - pMVar13[2]);\n                      pMVar13 = pMVar14;\n                    } while (pMVar14 != &pPVar29[sVar26].red);\n                  }\nLAB_00274838:\n                  iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar6 == 0) {\n                    MVar7 = ReadRectangle(unaff_s0,&source);\n                    if (MVar7 == MagickFalse) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x4d9;\n                      unaff_s7 = pIVar9;\n                    }\n                    else {\n                      MVar7 = ReadRectangle(unaff_s0,&destination);\n                      if (MVar7 != MagickFalse) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)pIVar8 & 0xfff7) == 0x91) || (unaff_s7 == (Image *)0x9b)) {\n                          uVar37 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar37)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x4e5;\n                            unaff_s7 = pIVar9;\n                            goto LAB_00275880;\n                          }\n                          iVar6 = 0;\n                          if (0 < (int)(uVar37 - 2)) {\n                            do {\n                              iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar16 == -1) break;\n                              iVar6 = iVar6 + 1;\n                            } while (uVar37 - 2 != iVar6);\n                          }\n                        }\n                        if ((bVar3) || ((uVar36 & 0x8000) != 0)) {\n                          uVar37 = (uint)pixmap.bits_per_pixel;\n                        }\n                        else {\n                          uVar37 = 1;\n                        }\n                        unaff_s3 = (ImageInfo *)DecodeImage(unaff_s0,pIVar9,uVar36,uVar37,&extent);\n                        if (unaff_s3 == (ImageInfo *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x4f2;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if ((int)pIVar9->rows < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar6 == 0)) &&\n                               ((bVar3 || ((uVar36 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,pIVar9,0xd,1);\n                            }\n                            unaff_s3 = (ImageInfo *)(*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <=\n                              (ImageInfo *)\n                              ((int)&unaff_s3->compression + unaff_s0->columns + extent)) {\n                            local_10b0 = 0;\n                            uVar37 = 0;\n                            pIVar35 = unaff_s3;\n                            do {\n                              iVar6 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (pIVar9,0,uVar37,pIVar9->columns);\n                              if (iVar6 == 0) goto LAB_00276500;\n                              sVar26 = pIVar9->columns;\n                              if (0 < (int)sVar26) {\n                                iVar16 = 0;\n                                dVar39 = *(double *)(local_10ac + -0x5af0);\n                                dVar40 = dVar39;\n                                do {\n                                  if (pIVar9->storage_class == PseudoClass) {\n                                    if ((int)(uint)(byte)*(undefined1 *)&pIVar35->compression <\n                                        (int)pIVar9->colors) {\n                                      fVar41 = (float)(byte)*(undefined1 *)&pIVar35->compression;\n                                      iVar12 = (int)fVar41 * 0x58;\n                                    }\n                                    else if (local_10d8->severity == CorruptImageError) {\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23);\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                      sVar26 = pIVar9->columns;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    if (pPVar28[5].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[5].offset * 4) = fVar41;\n                                    }\n                                    pPVar29 = pIVar9->colormap;\n                                    iVar23 = pPVar28[1].offset;\n                                    iVar33 = pPVar28[2].offset;\n                                    dVar43 = *(double *)((int)&pPVar29->green + iVar12);\n                                    dVar42 = *(double *)((int)&pPVar29->blue + iVar12);\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)*(double *)((int)&pPVar29->red + iVar12);\n                                    *(float *)(iVar6 + iVar23 * 4) = (float)dVar43;\n                                    *(float *)(iVar6 + iVar33 * 4) = (float)dVar42;\n                                  }\n                                  else if (pixmap.bits_per_pixel == 0x10) {\n                                    bVar1 = *(byte *)((int)&pIVar35->compression + 1);\n                                    pPVar28 = pIVar9->channel_map;\n                                    uVar2 = *(undefined1 *)&pIVar35->compression;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(((byte)uVar2 & 0x7c) << 1) * dVar40);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | ((byte)uVar2 & 3) << 6\n                                                         ) * dVar40);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar40);\n                                    pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  }\n                                  else if (pIVar9->alpha_trait == UndefinedPixelTrait) {\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 2 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(byte)*(undefined1 *)&pIVar35->compression\n                                                * dVar39);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar27 * dVar39);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar27[sVar26] * dVar39);\n                                  }\n                                  else {\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 3 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if (pPVar28[4].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[4].offset * 4) =\n                                           (float)((double)(byte)*(undefined1 *)\n                                                                  &pIVar35->compression * in_f22_23)\n                                      ;\n                                    }\n                                    pbVar34 = pbVar27 + sVar26;\n                                    dVar42 = *(double *)(local_10ac + -0x5af0);\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)*pbVar27 * dVar42);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar34 * dVar42);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar34[sVar26] * dVar42);\n                                  }\n                                  iVar16 = iVar16 + 1;\n                                  pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  iVar6 = iVar6 + pIVar9->number_channels * 4;\n                                } while (iVar16 < (int)sVar26);\n                              }\n                              iVar6 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar9,local_10d8)\n                              ;\n                              if (((iVar6 == 0) ||\n                                  (((pIVar9->storage_class == DirectClass &&\n                                    (pixmap.bits_per_pixel != 0x10)) &&\n                                   (pIVar35 = (ImageInfo *)\n                                              ((int)&pIVar35->compression +\n                                              (pixmap.component_count + -1) * pIVar9->columns),\n                                   pIVar35 < unaff_s3)))) ||\n                                 ((iVar6 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar37), iVar6 == 0 ||\n                                  (uVar38 = uVar37 + 1, (int)pIVar9->rows <= (int)uVar38))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar38 < uVar37) + local_10b0;\n                              uVar37 = uVar38;\n                            } while (pIVar35 <=\n                                     (ImageInfo *)\n                                     ((int)&unaff_s3->compression + unaff_s0->columns + extent));\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x4fc;\n                          unaff_s7 = pIVar9;\nLAB_0027504c:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          pIVar9 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x4db;\n                      unaff_s7 = pIVar9;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar32 = 0x4d7;\n                  unaff_s7 = pIVar9;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (ImageInfo *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar32 = 0x491;\nLAB_002757bc:\n                puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar15 = PTR_s_courses_003a88ec + -400;\n                pIVar9 = unaff_s7;\nLAB_0027507c:\n                uVar11 = 0x1a9;\n                unaff_s7 = pIVar9;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar25,puVar30,uVar32,uVar11,puVar15,uVar44);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                pIVar8 = (Image *)0x0;\n                goto LAB_00274228;\n              }\n              if (unaff_s0->debug != MagickFalse) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3);\n              }\n              if (unaff_s7 != (Image *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7[-1].magick + 0xfe8) {\nLAB_00274594:\n                  if ((char *)0xff < unaff_s7[-3].magick_filename + 0x848) {\n                    if (unaff_s7 == (Image *)0x8200) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                        if (unaff_s3 != (ImageInfo *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar32 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar6 = 6;\n                      if (0x9a < uVar36) {\n                        do {\n                          iVar6 = iVar6 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar6 != 0);\n                        MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                        if (MVar7 == MagickFalse) {\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x5c8;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\nLAB_00275b88:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_courses_003a88ec + -400;\n                          uVar11 = 0x1a9;\n                        }\n                        else {\n                          iVar6 = 0x7a;\n                          do {\n                            iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar16 == -1) break;\n                            iVar6 = iVar6 + -1;\n                          } while (iVar6 != 0);\n                          iVar6 = uVar36 - 0x9a;\n                          pIVar8 = (Image *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar6,1);\n                          pcVar10 = local_10d0->filename;\n                          if (pIVar8 != (Image *)0x0) {\n                            uVar32 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar6,pIVar8,&destination);\n                            if (destination._0_4_ == iVar6) {\n                              iVar6 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar6 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pcVar10);\n                              unaff_s3 = (ImageInfo *)\n                                         (*(code *)PTR_BlobToImage_003a9330)\n                                                   (iVar6,uVar32,destination._0_4_,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar6);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x5d5;\n                            uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                            unaff_s7 = pIVar8;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x5d0;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar11 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        pcVar10 = unaff_s3->size;\n                        if (pcVar10 < (char *)unaff_s0->columns) {\n                          pcVar10 = (char *)unaff_s0->columns;\n                        }\n                        dVar40 = (double)(int)pcVar10;\n                        if ((int)pcVar10 < 0) {\n                          dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        pcVar24 = (char *)unaff_s0->rows;\n                        pcVar10 = unaff_s3->extract;\n                        if (pcVar10 < pcVar24) {\n                          in_f2_3 = (double)(int)pcVar24;\n                          if ((int)pcVar24 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)pcVar10;\n                          if ((int)pcVar10 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (geometry,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        pcVar10 = (char *)unaff_s0->columns;\n                        if ((char *)unaff_s0->columns <= unaff_s3->size) {\n                          pcVar10 = unaff_s3->size;\n                        }\n                        pcVar24 = unaff_s3->extract;\n                        if (unaff_s3->extract < (char *)unaff_s0->rows) {\n                          pcVar24 = (char *)unaff_s0->rows;\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,pcVar10,pcVar24,local_10d8,dVar40,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,unaff_s3->orientation,local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,unaff_s3,0xd,1);\n                        puVar15 = PTR_DestroyImage_003a8f4c;\n                        unaff_s0->compression = unaff_s3->temporary;\n                        unaff_s3 = (ImageInfo *)(*(code *)puVar15)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pIVar35 = unaff_s3;\n                    pIVar9 = unaff_s7;\n                    if ((unaff_s7 == (Image *)0xff) ||\n                       (pIVar35 = unaff_s3, unaff_s7 == (Image *)0xffff)) goto LAB_00274430;\n                    if ((unaff_s7[-1].magick + 0xfc8 < (char *)0x2f) ||\n                       (unaff_s7[-3].magick_filename + 0x748 < (char *)0x7f00)) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44)) {\n                        if (uVar36 != 0) {\n                          uVar37 = 0;\n                          do {\n                            iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar6 == -1) break;\n                            uVar37 = uVar37 + 1;\n                          } while (uVar36 != uVar37);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x5f8;\n                    }\n                    else {\n                      if ((char *)0x7eff < unaff_s7[-1].magick + 0xf98) goto LAB_002744b8;\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar44)) {\n                        uVar36 = 0;\n                        do {\n                          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar6 == -1) break;\n                          uVar36 = uVar36 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar36);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x606;\n                    }\nLAB_00275880:\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_s_courses_003a88ec + 0x4a0;\n                    pIVar9 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar6 = 0x18;\n              do {\n                iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar16 == -1) break;\n                iVar6 = iVar6 + -1;\n              } while (iVar6 != 0);\n            } while( true );\n          }\n          uVar32 = 0x3a8;\n        }\n      }" { (do_statement "do {\n          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n        } while (iVar6 == 0);" do (compound_statement "{\n          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n        }" { (expression_statement "iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) }) while (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) ;) (expression_statement "uVar32 = 0x39a;" (assignment_expression "uVar32 = 0x39a" identifier = number_literal) ;) (if_statement "if (iVar6 == 0x11) {\n          local_10d4 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (local_10d4 == 2) {\n            iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n            if (iVar6 != 0xff) {\n              uVar32 = 0x3a0;\n              goto LAB_002741b8;\n            }\n          }\n          else if (local_10d4 != 1) {\n            uVar32 = 0x3a4;\n            goto LAB_002741b8;\n          }\n          iVar6 = (int)frame.left;\n          iVar16 = (int)frame.right;\n          if ((((-1 < iVar6) && (iVar12 = (int)frame.top, -1 < iVar16)) &&\n              ((iVar33 = (int)frame.bottom, -1 < iVar12 && ((-1 < iVar33 && (iVar6 < iVar16)))))) &&\n             (iVar12 < iVar33)) {\n            MVar7 = image_info->ping;\n            unaff_s0->units = UndefinedResolution;\n            unaff_s0->columns = iVar16 - iVar6;\n            unaff_s0->depth = 8;\n            puVar15 = PTR_LAB_003a88e0;\n            unaff_s0->rows = iVar33 - iVar12;\n            dVar40 = *(double *)(puVar15 + 0x13f0);\n            (unaff_s0->resolution).x = dVar40;\n            (unaff_s0->resolution).y = dVar40;\n            if (((MVar7 != MagickFalse) && (image_info->number_scenes != 0)) &&\n               (pIVar35 = unaff_s3, pIVar9 = unaff_s7,\n               (image_info->number_scenes + image_info->scene) - 1 <= unaff_s0->scene))\n            goto LAB_00274430;\n            iVar6 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar16 - iVar6,iVar33 - iVar12,exception);\n            if (iVar6 == 0) goto LAB_002743d4;\n            iVar6 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,exception);\n            if (iVar6 == 0) goto LAB_002743d4;\n            local_10c8 = PTR_LAB_003a88e0;\n            unaff_s7 = (Image *)0x0;\n            local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n            unaff_s3 = (ImageInfo *)0x0;\n            local_10b8 = 0;\n            in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418);\n            in_f22_23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n            in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58);\n            local_10cc = 0;\n            local_10bc = &frame;\n            local_10d0 = image_info;\n            local_10d8 = exception;\nLAB_002744b8:\n            do {\n              pIVar9 = (Image *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pIVar35 = local_10d0;\n              if ((pIVar9 != (Image *)0x0) ||\n                 (((local_10d0->ping != MagickFalse && (local_10d0->number_scenes != 0)) &&\n                  ((local_10d0->number_scenes + local_10d0->scene) - 1 <= unaff_s0->scene)))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                pIVar8 = (Image *)(*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pIVar35;\n                unaff_s7 = pIVar9;\nLAB_00274228:\n                if (iVar5 == *(int *)puVar4) {\n                  return pIVar8;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), pIVar8 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                pIVar8 = (Image *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                pIVar8 = (Image *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (Image *)((uint)pIVar8 & 0xffff);\n              if (unaff_s7 == (Image *)0x0) {\n                unaff_s7 = (Image *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (Image *)0xa2) {\n                if (unaff_s0->debug != MagickFalse) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)\n                              (PTR_MagickImageList_3__magick_276__003a8948 +\n                              (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_MagickImageList_3__magick_276__003a8948 +\n                                    (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (Image *)0x78) {\n                  if ((Image *)0x6f < unaff_s7) {\n                    uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar6 = 0;\n                    if (0 < (int)(uVar36 - 2)) {\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + 1;\n                      } while (iVar6 != uVar36 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((Image *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (Image *)&DAT_0000001b) {\n                      iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                      (unaff_s0->background_color).red = (double)iVar6;\n                      iVar6 = (*(code *)puVar15)(unaff_s0);\n                      puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                      (unaff_s0->background_color).green = (double)iVar6;\n                      iVar6 = (*(code *)puVar15)(unaff_s0);\n                      (unaff_s0->background_color).blue = (double)iVar6;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if ((Image *)&DAT_00000011 < unaff_s7) {\n                    iVar16 = 8;\n                    iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar12 == -1) break;\n                      iVar16 = iVar16 + -1;\n                    } while (iVar16 != 0);\n                    if (iVar6 == 2) {\n                      iVar6 = 5;\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + -1;\n                      } while (iVar6 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar6 == 1) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44)) {\n                        MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                        if (MVar7 == MagickFalse) {\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x419;\n                        }\n                        else {\n                          MVar7 = ReadPixmap(unaff_s0,&pixmap);\n                          if (MVar7 != MagickFalse) {\n                            unaff_s0->depth = (int)pixmap.component_size;\n                            dVar40 = (double)(int)pixmap.horizontal_resolution;\n                            if ((int)pixmap.horizontal_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).x = dVar40;\n                            puVar15 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar40 = (double)(int)pixmap.vertical_resolution;\n                            if ((int)pixmap.vertical_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).y = dVar40;\n                            unaff_s0->units = PixelsPerInchResolution;\n                            (*(code *)puVar15)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44))\n                            {\n                              iVar6 = 0;\n                              do {\n                                iVar6 = iVar6 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar6 != uVar36 + 1);\n                              uVar37 = (int)frame.bottom - (int)frame.top;\n                              iVar6 = (int)frame.right - (int)frame.left;\n                              if (pixmap.bits_per_pixel < 9) {\n                                uVar36 = uVar36 & 0x7fff;\n                              }\n                              else if (pixmap.bits_per_pixel == 0x10) {\n                                uVar37 = uVar37 * 2;\n                              }\n                              if (uVar36 != 0) {\n                                uVar37 = uVar36;\n                              }\n                              if (uVar37 < 8) {\n                                if (0 < (int)(uVar37 * iVar6)) {\n                                  iVar16 = 0;\n                                  do {\n                                    iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar12 == -1) break;\n                                    iVar16 = iVar16 + 1;\n                                  } while (uVar37 * iVar6 != iVar16);\n                                }\n                              }\n                              else {\n                                iVar16 = 0;\n                                if (0 < iVar6) {\n                                  do {\n                                    iVar12 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar12 != 0) break;\n                                    if (uVar37 < 0xc9) {\n                                      uVar36 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) &&\n                                       ((uint)uVar44 < uVar36)) {\n                                      if (unaff_s3 != (ImageInfo *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar38 = 0;\n                                    if (0 < (int)uVar36) {\n                                      do {\n                                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar12 == -1) break;\n                                        uVar38 = uVar38 + 1;\n                                      } while (uVar36 != uVar38);\n                                    }\n                                    iVar16 = iVar16 + 1;\n                                  } while (iVar6 != iVar16);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x413;\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    pIVar9 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (Image *)0x1) goto LAB_002752a0;\n                  uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar36 != 10) {\n                    if (0 < (int)(uVar36 - 2)) {\n                      iVar6 = 0;\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + 1;\n                      } while (uVar36 - 2 != iVar6);\n                    }\n                    goto LAB_00274594;\n                  }\n                  MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                  puVar15 = PTR_SetImageExtent_003a94ac;\n                  if (MVar7 == MagickFalse) {\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((frame.left < 0) || (frame.top < 0)) goto LAB_00274594;\n                  sVar26 = (int)frame.right - (int)frame.left;\n                  sVar31 = (int)frame.bottom - (int)frame.top;\n                  unaff_s0->columns = sVar26;\n                  unaff_s0->rows = sVar31;\n                  iVar6 = (*(code *)puVar15)(unaff_s0,sVar26,sVar31,local_10d8);\n                  if ((iVar6 != 0) &&\n                     (iVar6 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar6 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  pIVar8 = (Image *)(*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((Image *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (Image *)0xa1) {\n                    iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar36 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = 4;\n                      if (uVar36 < 5) {\n                        uVar37 = uVar36;\n                      }\n                      iVar16 = uVar36 - uVar37;\n                      if ((iVar16 != 0) &&\n                         (iVar12 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar16,1),\n                         iVar12 != 0)) {\n                        iVar33 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar16,iVar12);\n                        if (iVar16 != iVar33) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x570;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar11 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar6 == 0xe0) {\n                          uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);\n                          iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar32,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);\n                          if (iVar6 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar6 == 0x1f2) {\n                          uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);\n                          iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar32,local_10d8);\n                          if (iVar6 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar6 = *(int *)(PTR_MagickImageList_3__magick_276__003a8948 +\n                                  (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar6 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar16 = 0;\n                    if (0 < iVar6) {\n                      do {\n                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar12 == -1) break;\n                        iVar16 = iVar16 + 1;\n                      } while (iVar6 != iVar16);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (Image *)0x98) && ((BlobInfo **)0x1 < &unaff_s7[-1].blob))\n                goto LAB_002752a0;\n                bVar3 = unaff_s7[-1].magick + 0xffe < (char *)0x2;\n                if (bVar3) {\n                  uVar36 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                if (MVar7 != MagickFalse) {\n                  pIVar9 = (Image *)(*(code *)PTR_CloneImage_003a9830)\n                                              (unaff_s0,(int)frame.right - (int)frame.left,\n                                               (int)frame.bottom - (int)frame.top,1);\n                  if (pIVar9 == (Image *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(pIVar9,local_10d8);\n                  if ((bVar3) || ((uVar36 & 0x8000) != 0)) {\n                    MVar7 = ReadPixmap(unaff_s0,&pixmap);\n                    if (MVar7 != MagickFalse) {\n                      pIVar9->depth = (int)pixmap.component_size;\n                      puVar15 = PTR_SetImageAlpha_003a8c78;\n                      dVar40 = (double)(int)pixmap.horizontal_resolution;\n                      if ((int)pixmap.horizontal_resolution < 0) {\n                        dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar39 = (double)(int)pixmap.vertical_resolution;\n                      if ((int)pixmap.vertical_resolution < 0) {\n                        dVar39 = dVar39 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (pixmap.component_count == 4) {\n                        pIVar9->alpha_trait = BlendPixelTrait;\n                        pIVar9->units = PixelsPerInchResolution;\n                        puVar25 = PTR_LAB_003a88e0;\n                        (pIVar9->resolution).x = dVar40;\n                        (pIVar9->resolution).y = dVar39;\n                        (*(code *)puVar15)(pIVar9,*(undefined4 *)(puVar25 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        (pIVar9->resolution).x = dVar40;\n                        pIVar9->alpha_trait = UndefinedPixelTrait;\n                        (pIVar9->resolution).y = dVar39;\n                        pIVar9->units = PixelsPerInchResolution;\n                      }\n                      if (!bVar3) {\n                        pIVar9->colors = 2;\n                        if ((uVar36 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar18 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar15 = PTR_AcquireImageColormap_003a9194;\n                        pIVar9->colors = iVar6 + 1U;\n                        iVar6 = (*(code *)puVar15)(pIVar9,iVar6 + 1U,local_10d8);\n                        if (iVar6 == 0) goto LAB_002756e4;\n                        if (0 < (int)pIVar9->colors) {\n                          uVar37 = 0;\n                          do {\n                            uVar17 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar38 = uVar37;\n                            if (-1 < sVar18) {\n                              if (pIVar9->colors == 0) {\n                                trap(7);\n                              }\n                              uVar38 = uVar17 % pIVar9->colors;\n                            }\n                            uVar37 = uVar37 + 1;\n                            iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                            pIVar9->colormap[uVar38].red = (double)iVar6;\n                            iVar6 = (*(code *)puVar15)(unaff_s0);\n                            puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                            pIVar9->colormap[uVar38].green = (double)iVar6;\n                            iVar6 = (*(code *)puVar15)(unaff_s0);\n                            sVar26 = pIVar9->colors;\n                            unaff_s3 = (ImageInfo *)(pIVar9->colormap + uVar38);\n                            *(double *)&unaff_s3->endian = (double)iVar6;\n                          } while ((int)uVar37 < (int)sVar26);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x49e;\n                    unaff_s7 = pIVar9;\n                    goto LAB_002757bc;\n                  }\n                  pIVar9->colors = 2;\nLAB_0027565c:\n                  iVar6 = (*(code *)PTR_AcquireImageColormap_003a9194)(pIVar9,2,local_10d8);\n                  if (iVar6 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x4b8;\n                    unaff_s7 = pIVar9;\nLAB_00275720:\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar11 = 400;\n                    goto LAB_00275084;\n                  }\n                  sVar26 = pIVar9->colors;\n                  if (0 < (int)sVar26) {\n                    pPVar29 = pIVar9->colormap;\n                    pMVar13 = &pPVar29->red;\n                    do {\n                      pMVar14 = pMVar13 + 0xb;\n                      *pMVar13 = (double)(float)(in_f20_21 - *pMVar13);\n                      pMVar13[1] = (double)(float)(in_f20_21 - pMVar13[1]);\n                      pMVar13[2] = (double)(float)(in_f20_21 - pMVar13[2]);\n                      pMVar13 = pMVar14;\n                    } while (pMVar14 != &pPVar29[sVar26].red);\n                  }\nLAB_00274838:\n                  iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar6 == 0) {\n                    MVar7 = ReadRectangle(unaff_s0,&source);\n                    if (MVar7 == MagickFalse) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x4d9;\n                      unaff_s7 = pIVar9;\n                    }\n                    else {\n                      MVar7 = ReadRectangle(unaff_s0,&destination);\n                      if (MVar7 != MagickFalse) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)pIVar8 & 0xfff7) == 0x91) || (unaff_s7 == (Image *)0x9b)) {\n                          uVar37 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar37)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x4e5;\n                            unaff_s7 = pIVar9;\n                            goto LAB_00275880;\n                          }\n                          iVar6 = 0;\n                          if (0 < (int)(uVar37 - 2)) {\n                            do {\n                              iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar16 == -1) break;\n                              iVar6 = iVar6 + 1;\n                            } while (uVar37 - 2 != iVar6);\n                          }\n                        }\n                        if ((bVar3) || ((uVar36 & 0x8000) != 0)) {\n                          uVar37 = (uint)pixmap.bits_per_pixel;\n                        }\n                        else {\n                          uVar37 = 1;\n                        }\n                        unaff_s3 = (ImageInfo *)DecodeImage(unaff_s0,pIVar9,uVar36,uVar37,&extent);\n                        if (unaff_s3 == (ImageInfo *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x4f2;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if ((int)pIVar9->rows < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar6 == 0)) &&\n                               ((bVar3 || ((uVar36 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,pIVar9,0xd,1);\n                            }\n                            unaff_s3 = (ImageInfo *)(*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <=\n                              (ImageInfo *)\n                              ((int)&unaff_s3->compression + unaff_s0->columns + extent)) {\n                            local_10b0 = 0;\n                            uVar37 = 0;\n                            pIVar35 = unaff_s3;\n                            do {\n                              iVar6 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (pIVar9,0,uVar37,pIVar9->columns);\n                              if (iVar6 == 0) goto LAB_00276500;\n                              sVar26 = pIVar9->columns;\n                              if (0 < (int)sVar26) {\n                                iVar16 = 0;\n                                dVar39 = *(double *)(local_10ac + -0x5af0);\n                                dVar40 = dVar39;\n                                do {\n                                  if (pIVar9->storage_class == PseudoClass) {\n                                    if ((int)(uint)(byte)*(undefined1 *)&pIVar35->compression <\n                                        (int)pIVar9->colors) {\n                                      fVar41 = (float)(byte)*(undefined1 *)&pIVar35->compression;\n                                      iVar12 = (int)fVar41 * 0x58;\n                                    }\n                                    else if (local_10d8->severity == CorruptImageError) {\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23);\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                      sVar26 = pIVar9->columns;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    if (pPVar28[5].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[5].offset * 4) = fVar41;\n                                    }\n                                    pPVar29 = pIVar9->colormap;\n                                    iVar23 = pPVar28[1].offset;\n                                    iVar33 = pPVar28[2].offset;\n                                    dVar43 = *(double *)((int)&pPVar29->green + iVar12);\n                                    dVar42 = *(double *)((int)&pPVar29->blue + iVar12);\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)*(double *)((int)&pPVar29->red + iVar12);\n                                    *(float *)(iVar6 + iVar23 * 4) = (float)dVar43;\n                                    *(float *)(iVar6 + iVar33 * 4) = (float)dVar42;\n                                  }\n                                  else if (pixmap.bits_per_pixel == 0x10) {\n                                    bVar1 = *(byte *)((int)&pIVar35->compression + 1);\n                                    pPVar28 = pIVar9->channel_map;\n                                    uVar2 = *(undefined1 *)&pIVar35->compression;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(((byte)uVar2 & 0x7c) << 1) * dVar40);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | ((byte)uVar2 & 3) << 6\n                                                         ) * dVar40);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar40);\n                                    pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  }\n                                  else if (pIVar9->alpha_trait == UndefinedPixelTrait) {\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 2 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(byte)*(undefined1 *)&pIVar35->compression\n                                                * dVar39);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar27 * dVar39);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar27[sVar26] * dVar39);\n                                  }\n                                  else {\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 3 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if (pPVar28[4].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[4].offset * 4) =\n                                           (float)((double)(byte)*(undefined1 *)\n                                                                  &pIVar35->compression * in_f22_23)\n                                      ;\n                                    }\n                                    pbVar34 = pbVar27 + sVar26;\n                                    dVar42 = *(double *)(local_10ac + -0x5af0);\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)*pbVar27 * dVar42);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar34 * dVar42);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar34[sVar26] * dVar42);\n                                  }\n                                  iVar16 = iVar16 + 1;\n                                  pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  iVar6 = iVar6 + pIVar9->number_channels * 4;\n                                } while (iVar16 < (int)sVar26);\n                              }\n                              iVar6 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar9,local_10d8)\n                              ;\n                              if (((iVar6 == 0) ||\n                                  (((pIVar9->storage_class == DirectClass &&\n                                    (pixmap.bits_per_pixel != 0x10)) &&\n                                   (pIVar35 = (ImageInfo *)\n                                              ((int)&pIVar35->compression +\n                                              (pixmap.component_count + -1) * pIVar9->columns),\n                                   pIVar35 < unaff_s3)))) ||\n                                 ((iVar6 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar37), iVar6 == 0 ||\n                                  (uVar38 = uVar37 + 1, (int)pIVar9->rows <= (int)uVar38))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar38 < uVar37) + local_10b0;\n                              uVar37 = uVar38;\n                            } while (pIVar35 <=\n                                     (ImageInfo *)\n                                     ((int)&unaff_s3->compression + unaff_s0->columns + extent));\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x4fc;\n                          unaff_s7 = pIVar9;\nLAB_0027504c:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          pIVar9 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x4db;\n                      unaff_s7 = pIVar9;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar32 = 0x4d7;\n                  unaff_s7 = pIVar9;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (ImageInfo *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar32 = 0x491;\nLAB_002757bc:\n                puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar15 = PTR_s_courses_003a88ec + -400;\n                pIVar9 = unaff_s7;\nLAB_0027507c:\n                uVar11 = 0x1a9;\n                unaff_s7 = pIVar9;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar25,puVar30,uVar32,uVar11,puVar15,uVar44);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                pIVar8 = (Image *)0x0;\n                goto LAB_00274228;\n              }\n              if (unaff_s0->debug != MagickFalse) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3);\n              }\n              if (unaff_s7 != (Image *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7[-1].magick + 0xfe8) {\nLAB_00274594:\n                  if ((char *)0xff < unaff_s7[-3].magick_filename + 0x848) {\n                    if (unaff_s7 == (Image *)0x8200) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                        if (unaff_s3 != (ImageInfo *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar32 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar6 = 6;\n                      if (0x9a < uVar36) {\n                        do {\n                          iVar6 = iVar6 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar6 != 0);\n                        MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                        if (MVar7 == MagickFalse) {\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x5c8;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\nLAB_00275b88:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_courses_003a88ec + -400;\n                          uVar11 = 0x1a9;\n                        }\n                        else {\n                          iVar6 = 0x7a;\n                          do {\n                            iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar16 == -1) break;\n                            iVar6 = iVar6 + -1;\n                          } while (iVar6 != 0);\n                          iVar6 = uVar36 - 0x9a;\n                          pIVar8 = (Image *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar6,1);\n                          pcVar10 = local_10d0->filename;\n                          if (pIVar8 != (Image *)0x0) {\n                            uVar32 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar6,pIVar8,&destination);\n                            if (destination._0_4_ == iVar6) {\n                              iVar6 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar6 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pcVar10);\n                              unaff_s3 = (ImageInfo *)\n                                         (*(code *)PTR_BlobToImage_003a9330)\n                                                   (iVar6,uVar32,destination._0_4_,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar6);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x5d5;\n                            uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                            unaff_s7 = pIVar8;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x5d0;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar11 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        pcVar10 = unaff_s3->size;\n                        if (pcVar10 < (char *)unaff_s0->columns) {\n                          pcVar10 = (char *)unaff_s0->columns;\n                        }\n                        dVar40 = (double)(int)pcVar10;\n                        if ((int)pcVar10 < 0) {\n                          dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        pcVar24 = (char *)unaff_s0->rows;\n                        pcVar10 = unaff_s3->extract;\n                        if (pcVar10 < pcVar24) {\n                          in_f2_3 = (double)(int)pcVar24;\n                          if ((int)pcVar24 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)pcVar10;\n                          if ((int)pcVar10 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (geometry,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        pcVar10 = (char *)unaff_s0->columns;\n                        if ((char *)unaff_s0->columns <= unaff_s3->size) {\n                          pcVar10 = unaff_s3->size;\n                        }\n                        pcVar24 = unaff_s3->extract;\n                        if (unaff_s3->extract < (char *)unaff_s0->rows) {\n                          pcVar24 = (char *)unaff_s0->rows;\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,pcVar10,pcVar24,local_10d8,dVar40,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,unaff_s3->orientation,local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,unaff_s3,0xd,1);\n                        puVar15 = PTR_DestroyImage_003a8f4c;\n                        unaff_s0->compression = unaff_s3->temporary;\n                        unaff_s3 = (ImageInfo *)(*(code *)puVar15)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pIVar35 = unaff_s3;\n                    pIVar9 = unaff_s7;\n                    if ((unaff_s7 == (Image *)0xff) ||\n                       (pIVar35 = unaff_s3, unaff_s7 == (Image *)0xffff)) goto LAB_00274430;\n                    if ((unaff_s7[-1].magick + 0xfc8 < (char *)0x2f) ||\n                       (unaff_s7[-3].magick_filename + 0x748 < (char *)0x7f00)) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44)) {\n                        if (uVar36 != 0) {\n                          uVar37 = 0;\n                          do {\n                            iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar6 == -1) break;\n                            uVar37 = uVar37 + 1;\n                          } while (uVar36 != uVar37);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x5f8;\n                    }\n                    else {\n                      if ((char *)0x7eff < unaff_s7[-1].magick + 0xf98) goto LAB_002744b8;\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar44)) {\n                        uVar36 = 0;\n                        do {\n                          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar6 == -1) break;\n                          uVar36 = uVar36 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar36);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x606;\n                    }\nLAB_00275880:\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_s_courses_003a88ec + 0x4a0;\n                    pIVar9 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar6 = 0x18;\n              do {\n                iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar16 == -1) break;\n                iVar6 = iVar6 + -1;\n              } while (iVar6 != 0);\n            } while( true );\n          }\n          uVar32 = 0x3a8;\n        }" if (parenthesized_expression "(iVar6 == 0x11)" ( (binary_expression "iVar6 == 0x11" identifier == number_literal) )) (compound_statement "{\n          local_10d4 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (local_10d4 == 2) {\n            iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n            if (iVar6 != 0xff) {\n              uVar32 = 0x3a0;\n              goto LAB_002741b8;\n            }\n          }\n          else if (local_10d4 != 1) {\n            uVar32 = 0x3a4;\n            goto LAB_002741b8;\n          }\n          iVar6 = (int)frame.left;\n          iVar16 = (int)frame.right;\n          if ((((-1 < iVar6) && (iVar12 = (int)frame.top, -1 < iVar16)) &&\n              ((iVar33 = (int)frame.bottom, -1 < iVar12 && ((-1 < iVar33 && (iVar6 < iVar16)))))) &&\n             (iVar12 < iVar33)) {\n            MVar7 = image_info->ping;\n            unaff_s0->units = UndefinedResolution;\n            unaff_s0->columns = iVar16 - iVar6;\n            unaff_s0->depth = 8;\n            puVar15 = PTR_LAB_003a88e0;\n            unaff_s0->rows = iVar33 - iVar12;\n            dVar40 = *(double *)(puVar15 + 0x13f0);\n            (unaff_s0->resolution).x = dVar40;\n            (unaff_s0->resolution).y = dVar40;\n            if (((MVar7 != MagickFalse) && (image_info->number_scenes != 0)) &&\n               (pIVar35 = unaff_s3, pIVar9 = unaff_s7,\n               (image_info->number_scenes + image_info->scene) - 1 <= unaff_s0->scene))\n            goto LAB_00274430;\n            iVar6 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar16 - iVar6,iVar33 - iVar12,exception);\n            if (iVar6 == 0) goto LAB_002743d4;\n            iVar6 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,exception);\n            if (iVar6 == 0) goto LAB_002743d4;\n            local_10c8 = PTR_LAB_003a88e0;\n            unaff_s7 = (Image *)0x0;\n            local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n            unaff_s3 = (ImageInfo *)0x0;\n            local_10b8 = 0;\n            in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418);\n            in_f22_23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n            in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58);\n            local_10cc = 0;\n            local_10bc = &frame;\n            local_10d0 = image_info;\n            local_10d8 = exception;\nLAB_002744b8:\n            do {\n              pIVar9 = (Image *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pIVar35 = local_10d0;\n              if ((pIVar9 != (Image *)0x0) ||\n                 (((local_10d0->ping != MagickFalse && (local_10d0->number_scenes != 0)) &&\n                  ((local_10d0->number_scenes + local_10d0->scene) - 1 <= unaff_s0->scene)))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                pIVar8 = (Image *)(*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pIVar35;\n                unaff_s7 = pIVar9;\nLAB_00274228:\n                if (iVar5 == *(int *)puVar4) {\n                  return pIVar8;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), pIVar8 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                pIVar8 = (Image *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                pIVar8 = (Image *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (Image *)((uint)pIVar8 & 0xffff);\n              if (unaff_s7 == (Image *)0x0) {\n                unaff_s7 = (Image *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (Image *)0xa2) {\n                if (unaff_s0->debug != MagickFalse) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)\n                              (PTR_MagickImageList_3__magick_276__003a8948 +\n                              (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_MagickImageList_3__magick_276__003a8948 +\n                                    (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (Image *)0x78) {\n                  if ((Image *)0x6f < unaff_s7) {\n                    uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar6 = 0;\n                    if (0 < (int)(uVar36 - 2)) {\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + 1;\n                      } while (iVar6 != uVar36 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((Image *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (Image *)&DAT_0000001b) {\n                      iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                      (unaff_s0->background_color).red = (double)iVar6;\n                      iVar6 = (*(code *)puVar15)(unaff_s0);\n                      puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                      (unaff_s0->background_color).green = (double)iVar6;\n                      iVar6 = (*(code *)puVar15)(unaff_s0);\n                      (unaff_s0->background_color).blue = (double)iVar6;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if ((Image *)&DAT_00000011 < unaff_s7) {\n                    iVar16 = 8;\n                    iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar12 == -1) break;\n                      iVar16 = iVar16 + -1;\n                    } while (iVar16 != 0);\n                    if (iVar6 == 2) {\n                      iVar6 = 5;\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + -1;\n                      } while (iVar6 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar6 == 1) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44)) {\n                        MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                        if (MVar7 == MagickFalse) {\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x419;\n                        }\n                        else {\n                          MVar7 = ReadPixmap(unaff_s0,&pixmap);\n                          if (MVar7 != MagickFalse) {\n                            unaff_s0->depth = (int)pixmap.component_size;\n                            dVar40 = (double)(int)pixmap.horizontal_resolution;\n                            if ((int)pixmap.horizontal_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).x = dVar40;\n                            puVar15 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar40 = (double)(int)pixmap.vertical_resolution;\n                            if ((int)pixmap.vertical_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).y = dVar40;\n                            unaff_s0->units = PixelsPerInchResolution;\n                            (*(code *)puVar15)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44))\n                            {\n                              iVar6 = 0;\n                              do {\n                                iVar6 = iVar6 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar6 != uVar36 + 1);\n                              uVar37 = (int)frame.bottom - (int)frame.top;\n                              iVar6 = (int)frame.right - (int)frame.left;\n                              if (pixmap.bits_per_pixel < 9) {\n                                uVar36 = uVar36 & 0x7fff;\n                              }\n                              else if (pixmap.bits_per_pixel == 0x10) {\n                                uVar37 = uVar37 * 2;\n                              }\n                              if (uVar36 != 0) {\n                                uVar37 = uVar36;\n                              }\n                              if (uVar37 < 8) {\n                                if (0 < (int)(uVar37 * iVar6)) {\n                                  iVar16 = 0;\n                                  do {\n                                    iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar12 == -1) break;\n                                    iVar16 = iVar16 + 1;\n                                  } while (uVar37 * iVar6 != iVar16);\n                                }\n                              }\n                              else {\n                                iVar16 = 0;\n                                if (0 < iVar6) {\n                                  do {\n                                    iVar12 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar12 != 0) break;\n                                    if (uVar37 < 0xc9) {\n                                      uVar36 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) &&\n                                       ((uint)uVar44 < uVar36)) {\n                                      if (unaff_s3 != (ImageInfo *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar38 = 0;\n                                    if (0 < (int)uVar36) {\n                                      do {\n                                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar12 == -1) break;\n                                        uVar38 = uVar38 + 1;\n                                      } while (uVar36 != uVar38);\n                                    }\n                                    iVar16 = iVar16 + 1;\n                                  } while (iVar6 != iVar16);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x413;\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    pIVar9 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (Image *)0x1) goto LAB_002752a0;\n                  uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar36 != 10) {\n                    if (0 < (int)(uVar36 - 2)) {\n                      iVar6 = 0;\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + 1;\n                      } while (uVar36 - 2 != iVar6);\n                    }\n                    goto LAB_00274594;\n                  }\n                  MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                  puVar15 = PTR_SetImageExtent_003a94ac;\n                  if (MVar7 == MagickFalse) {\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((frame.left < 0) || (frame.top < 0)) goto LAB_00274594;\n                  sVar26 = (int)frame.right - (int)frame.left;\n                  sVar31 = (int)frame.bottom - (int)frame.top;\n                  unaff_s0->columns = sVar26;\n                  unaff_s0->rows = sVar31;\n                  iVar6 = (*(code *)puVar15)(unaff_s0,sVar26,sVar31,local_10d8);\n                  if ((iVar6 != 0) &&\n                     (iVar6 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar6 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  pIVar8 = (Image *)(*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((Image *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (Image *)0xa1) {\n                    iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar36 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = 4;\n                      if (uVar36 < 5) {\n                        uVar37 = uVar36;\n                      }\n                      iVar16 = uVar36 - uVar37;\n                      if ((iVar16 != 0) &&\n                         (iVar12 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar16,1),\n                         iVar12 != 0)) {\n                        iVar33 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar16,iVar12);\n                        if (iVar16 != iVar33) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x570;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar11 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar6 == 0xe0) {\n                          uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);\n                          iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar32,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);\n                          if (iVar6 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar6 == 0x1f2) {\n                          uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);\n                          iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar32,local_10d8);\n                          if (iVar6 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar6 = *(int *)(PTR_MagickImageList_3__magick_276__003a8948 +\n                                  (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar6 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar16 = 0;\n                    if (0 < iVar6) {\n                      do {\n                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar12 == -1) break;\n                        iVar16 = iVar16 + 1;\n                      } while (iVar6 != iVar16);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (Image *)0x98) && ((BlobInfo **)0x1 < &unaff_s7[-1].blob))\n                goto LAB_002752a0;\n                bVar3 = unaff_s7[-1].magick + 0xffe < (char *)0x2;\n                if (bVar3) {\n                  uVar36 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                if (MVar7 != MagickFalse) {\n                  pIVar9 = (Image *)(*(code *)PTR_CloneImage_003a9830)\n                                              (unaff_s0,(int)frame.right - (int)frame.left,\n                                               (int)frame.bottom - (int)frame.top,1);\n                  if (pIVar9 == (Image *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(pIVar9,local_10d8);\n                  if ((bVar3) || ((uVar36 & 0x8000) != 0)) {\n                    MVar7 = ReadPixmap(unaff_s0,&pixmap);\n                    if (MVar7 != MagickFalse) {\n                      pIVar9->depth = (int)pixmap.component_size;\n                      puVar15 = PTR_SetImageAlpha_003a8c78;\n                      dVar40 = (double)(int)pixmap.horizontal_resolution;\n                      if ((int)pixmap.horizontal_resolution < 0) {\n                        dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar39 = (double)(int)pixmap.vertical_resolution;\n                      if ((int)pixmap.vertical_resolution < 0) {\n                        dVar39 = dVar39 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (pixmap.component_count == 4) {\n                        pIVar9->alpha_trait = BlendPixelTrait;\n                        pIVar9->units = PixelsPerInchResolution;\n                        puVar25 = PTR_LAB_003a88e0;\n                        (pIVar9->resolution).x = dVar40;\n                        (pIVar9->resolution).y = dVar39;\n                        (*(code *)puVar15)(pIVar9,*(undefined4 *)(puVar25 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        (pIVar9->resolution).x = dVar40;\n                        pIVar9->alpha_trait = UndefinedPixelTrait;\n                        (pIVar9->resolution).y = dVar39;\n                        pIVar9->units = PixelsPerInchResolution;\n                      }\n                      if (!bVar3) {\n                        pIVar9->colors = 2;\n                        if ((uVar36 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar18 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar15 = PTR_AcquireImageColormap_003a9194;\n                        pIVar9->colors = iVar6 + 1U;\n                        iVar6 = (*(code *)puVar15)(pIVar9,iVar6 + 1U,local_10d8);\n                        if (iVar6 == 0) goto LAB_002756e4;\n                        if (0 < (int)pIVar9->colors) {\n                          uVar37 = 0;\n                          do {\n                            uVar17 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar38 = uVar37;\n                            if (-1 < sVar18) {\n                              if (pIVar9->colors == 0) {\n                                trap(7);\n                              }\n                              uVar38 = uVar17 % pIVar9->colors;\n                            }\n                            uVar37 = uVar37 + 1;\n                            iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                            pIVar9->colormap[uVar38].red = (double)iVar6;\n                            iVar6 = (*(code *)puVar15)(unaff_s0);\n                            puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                            pIVar9->colormap[uVar38].green = (double)iVar6;\n                            iVar6 = (*(code *)puVar15)(unaff_s0);\n                            sVar26 = pIVar9->colors;\n                            unaff_s3 = (ImageInfo *)(pIVar9->colormap + uVar38);\n                            *(double *)&unaff_s3->endian = (double)iVar6;\n                          } while ((int)uVar37 < (int)sVar26);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x49e;\n                    unaff_s7 = pIVar9;\n                    goto LAB_002757bc;\n                  }\n                  pIVar9->colors = 2;\nLAB_0027565c:\n                  iVar6 = (*(code *)PTR_AcquireImageColormap_003a9194)(pIVar9,2,local_10d8);\n                  if (iVar6 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x4b8;\n                    unaff_s7 = pIVar9;\nLAB_00275720:\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar11 = 400;\n                    goto LAB_00275084;\n                  }\n                  sVar26 = pIVar9->colors;\n                  if (0 < (int)sVar26) {\n                    pPVar29 = pIVar9->colormap;\n                    pMVar13 = &pPVar29->red;\n                    do {\n                      pMVar14 = pMVar13 + 0xb;\n                      *pMVar13 = (double)(float)(in_f20_21 - *pMVar13);\n                      pMVar13[1] = (double)(float)(in_f20_21 - pMVar13[1]);\n                      pMVar13[2] = (double)(float)(in_f20_21 - pMVar13[2]);\n                      pMVar13 = pMVar14;\n                    } while (pMVar14 != &pPVar29[sVar26].red);\n                  }\nLAB_00274838:\n                  iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar6 == 0) {\n                    MVar7 = ReadRectangle(unaff_s0,&source);\n                    if (MVar7 == MagickFalse) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x4d9;\n                      unaff_s7 = pIVar9;\n                    }\n                    else {\n                      MVar7 = ReadRectangle(unaff_s0,&destination);\n                      if (MVar7 != MagickFalse) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)pIVar8 & 0xfff7) == 0x91) || (unaff_s7 == (Image *)0x9b)) {\n                          uVar37 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar37)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x4e5;\n                            unaff_s7 = pIVar9;\n                            goto LAB_00275880;\n                          }\n                          iVar6 = 0;\n                          if (0 < (int)(uVar37 - 2)) {\n                            do {\n                              iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar16 == -1) break;\n                              iVar6 = iVar6 + 1;\n                            } while (uVar37 - 2 != iVar6);\n                          }\n                        }\n                        if ((bVar3) || ((uVar36 & 0x8000) != 0)) {\n                          uVar37 = (uint)pixmap.bits_per_pixel;\n                        }\n                        else {\n                          uVar37 = 1;\n                        }\n                        unaff_s3 = (ImageInfo *)DecodeImage(unaff_s0,pIVar9,uVar36,uVar37,&extent);\n                        if (unaff_s3 == (ImageInfo *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x4f2;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if ((int)pIVar9->rows < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar6 == 0)) &&\n                               ((bVar3 || ((uVar36 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,pIVar9,0xd,1);\n                            }\n                            unaff_s3 = (ImageInfo *)(*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <=\n                              (ImageInfo *)\n                              ((int)&unaff_s3->compression + unaff_s0->columns + extent)) {\n                            local_10b0 = 0;\n                            uVar37 = 0;\n                            pIVar35 = unaff_s3;\n                            do {\n                              iVar6 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (pIVar9,0,uVar37,pIVar9->columns);\n                              if (iVar6 == 0) goto LAB_00276500;\n                              sVar26 = pIVar9->columns;\n                              if (0 < (int)sVar26) {\n                                iVar16 = 0;\n                                dVar39 = *(double *)(local_10ac + -0x5af0);\n                                dVar40 = dVar39;\n                                do {\n                                  if (pIVar9->storage_class == PseudoClass) {\n                                    if ((int)(uint)(byte)*(undefined1 *)&pIVar35->compression <\n                                        (int)pIVar9->colors) {\n                                      fVar41 = (float)(byte)*(undefined1 *)&pIVar35->compression;\n                                      iVar12 = (int)fVar41 * 0x58;\n                                    }\n                                    else if (local_10d8->severity == CorruptImageError) {\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23);\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                      sVar26 = pIVar9->columns;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    if (pPVar28[5].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[5].offset * 4) = fVar41;\n                                    }\n                                    pPVar29 = pIVar9->colormap;\n                                    iVar23 = pPVar28[1].offset;\n                                    iVar33 = pPVar28[2].offset;\n                                    dVar43 = *(double *)((int)&pPVar29->green + iVar12);\n                                    dVar42 = *(double *)((int)&pPVar29->blue + iVar12);\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)*(double *)((int)&pPVar29->red + iVar12);\n                                    *(float *)(iVar6 + iVar23 * 4) = (float)dVar43;\n                                    *(float *)(iVar6 + iVar33 * 4) = (float)dVar42;\n                                  }\n                                  else if (pixmap.bits_per_pixel == 0x10) {\n                                    bVar1 = *(byte *)((int)&pIVar35->compression + 1);\n                                    pPVar28 = pIVar9->channel_map;\n                                    uVar2 = *(undefined1 *)&pIVar35->compression;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(((byte)uVar2 & 0x7c) << 1) * dVar40);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | ((byte)uVar2 & 3) << 6\n                                                         ) * dVar40);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar40);\n                                    pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  }\n                                  else if (pIVar9->alpha_trait == UndefinedPixelTrait) {\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 2 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(byte)*(undefined1 *)&pIVar35->compression\n                                                * dVar39);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar27 * dVar39);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar27[sVar26] * dVar39);\n                                  }\n                                  else {\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 3 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if (pPVar28[4].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[4].offset * 4) =\n                                           (float)((double)(byte)*(undefined1 *)\n                                                                  &pIVar35->compression * in_f22_23)\n                                      ;\n                                    }\n                                    pbVar34 = pbVar27 + sVar26;\n                                    dVar42 = *(double *)(local_10ac + -0x5af0);\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)*pbVar27 * dVar42);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar34 * dVar42);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar34[sVar26] * dVar42);\n                                  }\n                                  iVar16 = iVar16 + 1;\n                                  pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  iVar6 = iVar6 + pIVar9->number_channels * 4;\n                                } while (iVar16 < (int)sVar26);\n                              }\n                              iVar6 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar9,local_10d8)\n                              ;\n                              if (((iVar6 == 0) ||\n                                  (((pIVar9->storage_class == DirectClass &&\n                                    (pixmap.bits_per_pixel != 0x10)) &&\n                                   (pIVar35 = (ImageInfo *)\n                                              ((int)&pIVar35->compression +\n                                              (pixmap.component_count + -1) * pIVar9->columns),\n                                   pIVar35 < unaff_s3)))) ||\n                                 ((iVar6 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar37), iVar6 == 0 ||\n                                  (uVar38 = uVar37 + 1, (int)pIVar9->rows <= (int)uVar38))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar38 < uVar37) + local_10b0;\n                              uVar37 = uVar38;\n                            } while (pIVar35 <=\n                                     (ImageInfo *)\n                                     ((int)&unaff_s3->compression + unaff_s0->columns + extent));\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x4fc;\n                          unaff_s7 = pIVar9;\nLAB_0027504c:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          pIVar9 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x4db;\n                      unaff_s7 = pIVar9;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar32 = 0x4d7;\n                  unaff_s7 = pIVar9;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (ImageInfo *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar32 = 0x491;\nLAB_002757bc:\n                puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar15 = PTR_s_courses_003a88ec + -400;\n                pIVar9 = unaff_s7;\nLAB_0027507c:\n                uVar11 = 0x1a9;\n                unaff_s7 = pIVar9;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar25,puVar30,uVar32,uVar11,puVar15,uVar44);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                pIVar8 = (Image *)0x0;\n                goto LAB_00274228;\n              }\n              if (unaff_s0->debug != MagickFalse) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3);\n              }\n              if (unaff_s7 != (Image *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7[-1].magick + 0xfe8) {\nLAB_00274594:\n                  if ((char *)0xff < unaff_s7[-3].magick_filename + 0x848) {\n                    if (unaff_s7 == (Image *)0x8200) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                        if (unaff_s3 != (ImageInfo *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar32 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar6 = 6;\n                      if (0x9a < uVar36) {\n                        do {\n                          iVar6 = iVar6 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar6 != 0);\n                        MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                        if (MVar7 == MagickFalse) {\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x5c8;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\nLAB_00275b88:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_courses_003a88ec + -400;\n                          uVar11 = 0x1a9;\n                        }\n                        else {\n                          iVar6 = 0x7a;\n                          do {\n                            iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar16 == -1) break;\n                            iVar6 = iVar6 + -1;\n                          } while (iVar6 != 0);\n                          iVar6 = uVar36 - 0x9a;\n                          pIVar8 = (Image *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar6,1);\n                          pcVar10 = local_10d0->filename;\n                          if (pIVar8 != (Image *)0x0) {\n                            uVar32 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar6,pIVar8,&destination);\n                            if (destination._0_4_ == iVar6) {\n                              iVar6 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar6 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pcVar10);\n                              unaff_s3 = (ImageInfo *)\n                                         (*(code *)PTR_BlobToImage_003a9330)\n                                                   (iVar6,uVar32,destination._0_4_,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar6);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x5d5;\n                            uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                            unaff_s7 = pIVar8;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x5d0;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar11 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        pcVar10 = unaff_s3->size;\n                        if (pcVar10 < (char *)unaff_s0->columns) {\n                          pcVar10 = (char *)unaff_s0->columns;\n                        }\n                        dVar40 = (double)(int)pcVar10;\n                        if ((int)pcVar10 < 0) {\n                          dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        pcVar24 = (char *)unaff_s0->rows;\n                        pcVar10 = unaff_s3->extract;\n                        if (pcVar10 < pcVar24) {\n                          in_f2_3 = (double)(int)pcVar24;\n                          if ((int)pcVar24 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)pcVar10;\n                          if ((int)pcVar10 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (geometry,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        pcVar10 = (char *)unaff_s0->columns;\n                        if ((char *)unaff_s0->columns <= unaff_s3->size) {\n                          pcVar10 = unaff_s3->size;\n                        }\n                        pcVar24 = unaff_s3->extract;\n                        if (unaff_s3->extract < (char *)unaff_s0->rows) {\n                          pcVar24 = (char *)unaff_s0->rows;\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,pcVar10,pcVar24,local_10d8,dVar40,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,unaff_s3->orientation,local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,unaff_s3,0xd,1);\n                        puVar15 = PTR_DestroyImage_003a8f4c;\n                        unaff_s0->compression = unaff_s3->temporary;\n                        unaff_s3 = (ImageInfo *)(*(code *)puVar15)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pIVar35 = unaff_s3;\n                    pIVar9 = unaff_s7;\n                    if ((unaff_s7 == (Image *)0xff) ||\n                       (pIVar35 = unaff_s3, unaff_s7 == (Image *)0xffff)) goto LAB_00274430;\n                    if ((unaff_s7[-1].magick + 0xfc8 < (char *)0x2f) ||\n                       (unaff_s7[-3].magick_filename + 0x748 < (char *)0x7f00)) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44)) {\n                        if (uVar36 != 0) {\n                          uVar37 = 0;\n                          do {\n                            iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar6 == -1) break;\n                            uVar37 = uVar37 + 1;\n                          } while (uVar36 != uVar37);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x5f8;\n                    }\n                    else {\n                      if ((char *)0x7eff < unaff_s7[-1].magick + 0xf98) goto LAB_002744b8;\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar44)) {\n                        uVar36 = 0;\n                        do {\n                          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar6 == -1) break;\n                          uVar36 = uVar36 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar36);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x606;\n                    }\nLAB_00275880:\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_s_courses_003a88ec + 0x4a0;\n                    pIVar9 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar6 = 0x18;\n              do {\n                iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar16 == -1) break;\n                iVar6 = iVar6 + -1;\n              } while (iVar6 != 0);\n            } while( true );\n          }\n          uVar32 = 0x3a8;\n        }" { (expression_statement "local_10d4 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "local_10d4 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (local_10d4 == 2) {\n            iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n            if (iVar6 != 0xff) {\n              uVar32 = 0x3a0;\n              goto LAB_002741b8;\n            }\n          }\n          else if (local_10d4 != 1) {\n            uVar32 = 0x3a4;\n            goto LAB_002741b8;\n          }" if (parenthesized_expression "(local_10d4 == 2)" ( (binary_expression "local_10d4 == 2" identifier == number_literal) )) (compound_statement "{\n            iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n            if (iVar6 != 0xff) {\n              uVar32 = 0x3a0;\n              goto LAB_002741b8;\n            }\n          }" { (expression_statement "iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (iVar6 != 0xff) {\n              uVar32 = 0x3a0;\n              goto LAB_002741b8;\n            }" if (parenthesized_expression "(iVar6 != 0xff)" ( (binary_expression "iVar6 != 0xff" identifier != number_literal) )) (compound_statement "{\n              uVar32 = 0x3a0;\n              goto LAB_002741b8;\n            }" { (expression_statement "uVar32 = 0x3a0;" (assignment_expression "uVar32 = 0x3a0" identifier = number_literal) ;) (goto_statement "goto LAB_002741b8;" goto statement_identifier ;) })) }) (else_clause "else if (local_10d4 != 1) {\n            uVar32 = 0x3a4;\n            goto LAB_002741b8;\n          }" else (if_statement "if (local_10d4 != 1) {\n            uVar32 = 0x3a4;\n            goto LAB_002741b8;\n          }" if (parenthesized_expression "(local_10d4 != 1)" ( (binary_expression "local_10d4 != 1" identifier != number_literal) )) (compound_statement "{\n            uVar32 = 0x3a4;\n            goto LAB_002741b8;\n          }" { (expression_statement "uVar32 = 0x3a4;" (assignment_expression "uVar32 = 0x3a4" identifier = number_literal) ;) (goto_statement "goto LAB_002741b8;" goto statement_identifier ;) })))) (expression_statement "iVar6 = (int)frame.left;" (assignment_expression "iVar6 = (int)frame.left" identifier = (cast_expression "(int)frame.left" ( (type_descriptor "int" primitive_type) ) (field_expression "frame.left" identifier . field_identifier))) ;) (expression_statement "iVar16 = (int)frame.right;" (assignment_expression "iVar16 = (int)frame.right" identifier = (cast_expression "(int)frame.right" ( (type_descriptor "int" primitive_type) ) (field_expression "frame.right" identifier . field_identifier))) ;) (if_statement "if ((((-1 < iVar6) && (iVar12 = (int)frame.top, -1 < iVar16)) &&\n              ((iVar33 = (int)frame.bottom, -1 < iVar12 && ((-1 < iVar33 && (iVar6 < iVar16)))))) &&\n             (iVar12 < iVar33)) {\n            MVar7 = image_info->ping;\n            unaff_s0->units = UndefinedResolution;\n            unaff_s0->columns = iVar16 - iVar6;\n            unaff_s0->depth = 8;\n            puVar15 = PTR_LAB_003a88e0;\n            unaff_s0->rows = iVar33 - iVar12;\n            dVar40 = *(double *)(puVar15 + 0x13f0);\n            (unaff_s0->resolution).x = dVar40;\n            (unaff_s0->resolution).y = dVar40;\n            if (((MVar7 != MagickFalse) && (image_info->number_scenes != 0)) &&\n               (pIVar35 = unaff_s3, pIVar9 = unaff_s7,\n               (image_info->number_scenes + image_info->scene) - 1 <= unaff_s0->scene))\n            goto LAB_00274430;\n            iVar6 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar16 - iVar6,iVar33 - iVar12,exception);\n            if (iVar6 == 0) goto LAB_002743d4;\n            iVar6 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,exception);\n            if (iVar6 == 0) goto LAB_002743d4;\n            local_10c8 = PTR_LAB_003a88e0;\n            unaff_s7 = (Image *)0x0;\n            local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n            unaff_s3 = (ImageInfo *)0x0;\n            local_10b8 = 0;\n            in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418);\n            in_f22_23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n            in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58);\n            local_10cc = 0;\n            local_10bc = &frame;\n            local_10d0 = image_info;\n            local_10d8 = exception;\nLAB_002744b8:\n            do {\n              pIVar9 = (Image *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pIVar35 = local_10d0;\n              if ((pIVar9 != (Image *)0x0) ||\n                 (((local_10d0->ping != MagickFalse && (local_10d0->number_scenes != 0)) &&\n                  ((local_10d0->number_scenes + local_10d0->scene) - 1 <= unaff_s0->scene)))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                pIVar8 = (Image *)(*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pIVar35;\n                unaff_s7 = pIVar9;\nLAB_00274228:\n                if (iVar5 == *(int *)puVar4) {\n                  return pIVar8;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), pIVar8 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                pIVar8 = (Image *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                pIVar8 = (Image *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (Image *)((uint)pIVar8 & 0xffff);\n              if (unaff_s7 == (Image *)0x0) {\n                unaff_s7 = (Image *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (Image *)0xa2) {\n                if (unaff_s0->debug != MagickFalse) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)\n                              (PTR_MagickImageList_3__magick_276__003a8948 +\n                              (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_MagickImageList_3__magick_276__003a8948 +\n                                    (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (Image *)0x78) {\n                  if ((Image *)0x6f < unaff_s7) {\n                    uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar6 = 0;\n                    if (0 < (int)(uVar36 - 2)) {\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + 1;\n                      } while (iVar6 != uVar36 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((Image *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (Image *)&DAT_0000001b) {\n                      iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                      (unaff_s0->background_color).red = (double)iVar6;\n                      iVar6 = (*(code *)puVar15)(unaff_s0);\n                      puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                      (unaff_s0->background_color).green = (double)iVar6;\n                      iVar6 = (*(code *)puVar15)(unaff_s0);\n                      (unaff_s0->background_color).blue = (double)iVar6;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if ((Image *)&DAT_00000011 < unaff_s7) {\n                    iVar16 = 8;\n                    iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar12 == -1) break;\n                      iVar16 = iVar16 + -1;\n                    } while (iVar16 != 0);\n                    if (iVar6 == 2) {\n                      iVar6 = 5;\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + -1;\n                      } while (iVar6 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar6 == 1) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44)) {\n                        MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                        if (MVar7 == MagickFalse) {\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x419;\n                        }\n                        else {\n                          MVar7 = ReadPixmap(unaff_s0,&pixmap);\n                          if (MVar7 != MagickFalse) {\n                            unaff_s0->depth = (int)pixmap.component_size;\n                            dVar40 = (double)(int)pixmap.horizontal_resolution;\n                            if ((int)pixmap.horizontal_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).x = dVar40;\n                            puVar15 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar40 = (double)(int)pixmap.vertical_resolution;\n                            if ((int)pixmap.vertical_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).y = dVar40;\n                            unaff_s0->units = PixelsPerInchResolution;\n                            (*(code *)puVar15)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44))\n                            {\n                              iVar6 = 0;\n                              do {\n                                iVar6 = iVar6 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar6 != uVar36 + 1);\n                              uVar37 = (int)frame.bottom - (int)frame.top;\n                              iVar6 = (int)frame.right - (int)frame.left;\n                              if (pixmap.bits_per_pixel < 9) {\n                                uVar36 = uVar36 & 0x7fff;\n                              }\n                              else if (pixmap.bits_per_pixel == 0x10) {\n                                uVar37 = uVar37 * 2;\n                              }\n                              if (uVar36 != 0) {\n                                uVar37 = uVar36;\n                              }\n                              if (uVar37 < 8) {\n                                if (0 < (int)(uVar37 * iVar6)) {\n                                  iVar16 = 0;\n                                  do {\n                                    iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar12 == -1) break;\n                                    iVar16 = iVar16 + 1;\n                                  } while (uVar37 * iVar6 != iVar16);\n                                }\n                              }\n                              else {\n                                iVar16 = 0;\n                                if (0 < iVar6) {\n                                  do {\n                                    iVar12 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar12 != 0) break;\n                                    if (uVar37 < 0xc9) {\n                                      uVar36 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) &&\n                                       ((uint)uVar44 < uVar36)) {\n                                      if (unaff_s3 != (ImageInfo *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar38 = 0;\n                                    if (0 < (int)uVar36) {\n                                      do {\n                                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar12 == -1) break;\n                                        uVar38 = uVar38 + 1;\n                                      } while (uVar36 != uVar38);\n                                    }\n                                    iVar16 = iVar16 + 1;\n                                  } while (iVar6 != iVar16);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x413;\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    pIVar9 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (Image *)0x1) goto LAB_002752a0;\n                  uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar36 != 10) {\n                    if (0 < (int)(uVar36 - 2)) {\n                      iVar6 = 0;\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + 1;\n                      } while (uVar36 - 2 != iVar6);\n                    }\n                    goto LAB_00274594;\n                  }\n                  MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                  puVar15 = PTR_SetImageExtent_003a94ac;\n                  if (MVar7 == MagickFalse) {\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((frame.left < 0) || (frame.top < 0)) goto LAB_00274594;\n                  sVar26 = (int)frame.right - (int)frame.left;\n                  sVar31 = (int)frame.bottom - (int)frame.top;\n                  unaff_s0->columns = sVar26;\n                  unaff_s0->rows = sVar31;\n                  iVar6 = (*(code *)puVar15)(unaff_s0,sVar26,sVar31,local_10d8);\n                  if ((iVar6 != 0) &&\n                     (iVar6 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar6 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  pIVar8 = (Image *)(*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((Image *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (Image *)0xa1) {\n                    iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar36 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = 4;\n                      if (uVar36 < 5) {\n                        uVar37 = uVar36;\n                      }\n                      iVar16 = uVar36 - uVar37;\n                      if ((iVar16 != 0) &&\n                         (iVar12 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar16,1),\n                         iVar12 != 0)) {\n                        iVar33 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar16,iVar12);\n                        if (iVar16 != iVar33) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x570;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar11 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar6 == 0xe0) {\n                          uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);\n                          iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar32,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);\n                          if (iVar6 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar6 == 0x1f2) {\n                          uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);\n                          iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar32,local_10d8);\n                          if (iVar6 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar6 = *(int *)(PTR_MagickImageList_3__magick_276__003a8948 +\n                                  (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar6 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar16 = 0;\n                    if (0 < iVar6) {\n                      do {\n                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar12 == -1) break;\n                        iVar16 = iVar16 + 1;\n                      } while (iVar6 != iVar16);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (Image *)0x98) && ((BlobInfo **)0x1 < &unaff_s7[-1].blob))\n                goto LAB_002752a0;\n                bVar3 = unaff_s7[-1].magick + 0xffe < (char *)0x2;\n                if (bVar3) {\n                  uVar36 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                if (MVar7 != MagickFalse) {\n                  pIVar9 = (Image *)(*(code *)PTR_CloneImage_003a9830)\n                                              (unaff_s0,(int)frame.right - (int)frame.left,\n                                               (int)frame.bottom - (int)frame.top,1);\n                  if (pIVar9 == (Image *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(pIVar9,local_10d8);\n                  if ((bVar3) || ((uVar36 & 0x8000) != 0)) {\n                    MVar7 = ReadPixmap(unaff_s0,&pixmap);\n                    if (MVar7 != MagickFalse) {\n                      pIVar9->depth = (int)pixmap.component_size;\n                      puVar15 = PTR_SetImageAlpha_003a8c78;\n                      dVar40 = (double)(int)pixmap.horizontal_resolution;\n                      if ((int)pixmap.horizontal_resolution < 0) {\n                        dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar39 = (double)(int)pixmap.vertical_resolution;\n                      if ((int)pixmap.vertical_resolution < 0) {\n                        dVar39 = dVar39 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (pixmap.component_count == 4) {\n                        pIVar9->alpha_trait = BlendPixelTrait;\n                        pIVar9->units = PixelsPerInchResolution;\n                        puVar25 = PTR_LAB_003a88e0;\n                        (pIVar9->resolution).x = dVar40;\n                        (pIVar9->resolution).y = dVar39;\n                        (*(code *)puVar15)(pIVar9,*(undefined4 *)(puVar25 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        (pIVar9->resolution).x = dVar40;\n                        pIVar9->alpha_trait = UndefinedPixelTrait;\n                        (pIVar9->resolution).y = dVar39;\n                        pIVar9->units = PixelsPerInchResolution;\n                      }\n                      if (!bVar3) {\n                        pIVar9->colors = 2;\n                        if ((uVar36 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar18 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar15 = PTR_AcquireImageColormap_003a9194;\n                        pIVar9->colors = iVar6 + 1U;\n                        iVar6 = (*(code *)puVar15)(pIVar9,iVar6 + 1U,local_10d8);\n                        if (iVar6 == 0) goto LAB_002756e4;\n                        if (0 < (int)pIVar9->colors) {\n                          uVar37 = 0;\n                          do {\n                            uVar17 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar38 = uVar37;\n                            if (-1 < sVar18) {\n                              if (pIVar9->colors == 0) {\n                                trap(7);\n                              }\n                              uVar38 = uVar17 % pIVar9->colors;\n                            }\n                            uVar37 = uVar37 + 1;\n                            iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                            pIVar9->colormap[uVar38].red = (double)iVar6;\n                            iVar6 = (*(code *)puVar15)(unaff_s0);\n                            puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                            pIVar9->colormap[uVar38].green = (double)iVar6;\n                            iVar6 = (*(code *)puVar15)(unaff_s0);\n                            sVar26 = pIVar9->colors;\n                            unaff_s3 = (ImageInfo *)(pIVar9->colormap + uVar38);\n                            *(double *)&unaff_s3->endian = (double)iVar6;\n                          } while ((int)uVar37 < (int)sVar26);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x49e;\n                    unaff_s7 = pIVar9;\n                    goto LAB_002757bc;\n                  }\n                  pIVar9->colors = 2;\nLAB_0027565c:\n                  iVar6 = (*(code *)PTR_AcquireImageColormap_003a9194)(pIVar9,2,local_10d8);\n                  if (iVar6 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x4b8;\n                    unaff_s7 = pIVar9;\nLAB_00275720:\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar11 = 400;\n                    goto LAB_00275084;\n                  }\n                  sVar26 = pIVar9->colors;\n                  if (0 < (int)sVar26) {\n                    pPVar29 = pIVar9->colormap;\n                    pMVar13 = &pPVar29->red;\n                    do {\n                      pMVar14 = pMVar13 + 0xb;\n                      *pMVar13 = (double)(float)(in_f20_21 - *pMVar13);\n                      pMVar13[1] = (double)(float)(in_f20_21 - pMVar13[1]);\n                      pMVar13[2] = (double)(float)(in_f20_21 - pMVar13[2]);\n                      pMVar13 = pMVar14;\n                    } while (pMVar14 != &pPVar29[sVar26].red);\n                  }\nLAB_00274838:\n                  iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar6 == 0) {\n                    MVar7 = ReadRectangle(unaff_s0,&source);\n                    if (MVar7 == MagickFalse) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x4d9;\n                      unaff_s7 = pIVar9;\n                    }\n                    else {\n                      MVar7 = ReadRectangle(unaff_s0,&destination);\n                      if (MVar7 != MagickFalse) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)pIVar8 & 0xfff7) == 0x91) || (unaff_s7 == (Image *)0x9b)) {\n                          uVar37 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar37)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x4e5;\n                            unaff_s7 = pIVar9;\n                            goto LAB_00275880;\n                          }\n                          iVar6 = 0;\n                          if (0 < (int)(uVar37 - 2)) {\n                            do {\n                              iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar16 == -1) break;\n                              iVar6 = iVar6 + 1;\n                            } while (uVar37 - 2 != iVar6);\n                          }\n                        }\n                        if ((bVar3) || ((uVar36 & 0x8000) != 0)) {\n                          uVar37 = (uint)pixmap.bits_per_pixel;\n                        }\n                        else {\n                          uVar37 = 1;\n                        }\n                        unaff_s3 = (ImageInfo *)DecodeImage(unaff_s0,pIVar9,uVar36,uVar37,&extent);\n                        if (unaff_s3 == (ImageInfo *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x4f2;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if ((int)pIVar9->rows < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar6 == 0)) &&\n                               ((bVar3 || ((uVar36 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,pIVar9,0xd,1);\n                            }\n                            unaff_s3 = (ImageInfo *)(*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <=\n                              (ImageInfo *)\n                              ((int)&unaff_s3->compression + unaff_s0->columns + extent)) {\n                            local_10b0 = 0;\n                            uVar37 = 0;\n                            pIVar35 = unaff_s3;\n                            do {\n                              iVar6 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (pIVar9,0,uVar37,pIVar9->columns);\n                              if (iVar6 == 0) goto LAB_00276500;\n                              sVar26 = pIVar9->columns;\n                              if (0 < (int)sVar26) {\n                                iVar16 = 0;\n                                dVar39 = *(double *)(local_10ac + -0x5af0);\n                                dVar40 = dVar39;\n                                do {\n                                  if (pIVar9->storage_class == PseudoClass) {\n                                    if ((int)(uint)(byte)*(undefined1 *)&pIVar35->compression <\n                                        (int)pIVar9->colors) {\n                                      fVar41 = (float)(byte)*(undefined1 *)&pIVar35->compression;\n                                      iVar12 = (int)fVar41 * 0x58;\n                                    }\n                                    else if (local_10d8->severity == CorruptImageError) {\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23);\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                      sVar26 = pIVar9->columns;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    if (pPVar28[5].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[5].offset * 4) = fVar41;\n                                    }\n                                    pPVar29 = pIVar9->colormap;\n                                    iVar23 = pPVar28[1].offset;\n                                    iVar33 = pPVar28[2].offset;\n                                    dVar43 = *(double *)((int)&pPVar29->green + iVar12);\n                                    dVar42 = *(double *)((int)&pPVar29->blue + iVar12);\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)*(double *)((int)&pPVar29->red + iVar12);\n                                    *(float *)(iVar6 + iVar23 * 4) = (float)dVar43;\n                                    *(float *)(iVar6 + iVar33 * 4) = (float)dVar42;\n                                  }\n                                  else if (pixmap.bits_per_pixel == 0x10) {\n                                    bVar1 = *(byte *)((int)&pIVar35->compression + 1);\n                                    pPVar28 = pIVar9->channel_map;\n                                    uVar2 = *(undefined1 *)&pIVar35->compression;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(((byte)uVar2 & 0x7c) << 1) * dVar40);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | ((byte)uVar2 & 3) << 6\n                                                         ) * dVar40);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar40);\n                                    pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  }\n                                  else if (pIVar9->alpha_trait == UndefinedPixelTrait) {\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 2 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(byte)*(undefined1 *)&pIVar35->compression\n                                                * dVar39);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar27 * dVar39);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar27[sVar26] * dVar39);\n                                  }\n                                  else {\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 3 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if (pPVar28[4].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[4].offset * 4) =\n                                           (float)((double)(byte)*(undefined1 *)\n                                                                  &pIVar35->compression * in_f22_23)\n                                      ;\n                                    }\n                                    pbVar34 = pbVar27 + sVar26;\n                                    dVar42 = *(double *)(local_10ac + -0x5af0);\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)*pbVar27 * dVar42);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar34 * dVar42);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar34[sVar26] * dVar42);\n                                  }\n                                  iVar16 = iVar16 + 1;\n                                  pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  iVar6 = iVar6 + pIVar9->number_channels * 4;\n                                } while (iVar16 < (int)sVar26);\n                              }\n                              iVar6 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar9,local_10d8)\n                              ;\n                              if (((iVar6 == 0) ||\n                                  (((pIVar9->storage_class == DirectClass &&\n                                    (pixmap.bits_per_pixel != 0x10)) &&\n                                   (pIVar35 = (ImageInfo *)\n                                              ((int)&pIVar35->compression +\n                                              (pixmap.component_count + -1) * pIVar9->columns),\n                                   pIVar35 < unaff_s3)))) ||\n                                 ((iVar6 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar37), iVar6 == 0 ||\n                                  (uVar38 = uVar37 + 1, (int)pIVar9->rows <= (int)uVar38))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar38 < uVar37) + local_10b0;\n                              uVar37 = uVar38;\n                            } while (pIVar35 <=\n                                     (ImageInfo *)\n                                     ((int)&unaff_s3->compression + unaff_s0->columns + extent));\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x4fc;\n                          unaff_s7 = pIVar9;\nLAB_0027504c:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          pIVar9 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x4db;\n                      unaff_s7 = pIVar9;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar32 = 0x4d7;\n                  unaff_s7 = pIVar9;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (ImageInfo *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar32 = 0x491;\nLAB_002757bc:\n                puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar15 = PTR_s_courses_003a88ec + -400;\n                pIVar9 = unaff_s7;\nLAB_0027507c:\n                uVar11 = 0x1a9;\n                unaff_s7 = pIVar9;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar25,puVar30,uVar32,uVar11,puVar15,uVar44);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                pIVar8 = (Image *)0x0;\n                goto LAB_00274228;\n              }\n              if (unaff_s0->debug != MagickFalse) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3);\n              }\n              if (unaff_s7 != (Image *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7[-1].magick + 0xfe8) {\nLAB_00274594:\n                  if ((char *)0xff < unaff_s7[-3].magick_filename + 0x848) {\n                    if (unaff_s7 == (Image *)0x8200) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                        if (unaff_s3 != (ImageInfo *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar32 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar6 = 6;\n                      if (0x9a < uVar36) {\n                        do {\n                          iVar6 = iVar6 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar6 != 0);\n                        MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                        if (MVar7 == MagickFalse) {\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x5c8;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\nLAB_00275b88:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_courses_003a88ec + -400;\n                          uVar11 = 0x1a9;\n                        }\n                        else {\n                          iVar6 = 0x7a;\n                          do {\n                            iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar16 == -1) break;\n                            iVar6 = iVar6 + -1;\n                          } while (iVar6 != 0);\n                          iVar6 = uVar36 - 0x9a;\n                          pIVar8 = (Image *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar6,1);\n                          pcVar10 = local_10d0->filename;\n                          if (pIVar8 != (Image *)0x0) {\n                            uVar32 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar6,pIVar8,&destination);\n                            if (destination._0_4_ == iVar6) {\n                              iVar6 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar6 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pcVar10);\n                              unaff_s3 = (ImageInfo *)\n                                         (*(code *)PTR_BlobToImage_003a9330)\n                                                   (iVar6,uVar32,destination._0_4_,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar6);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x5d5;\n                            uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                            unaff_s7 = pIVar8;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x5d0;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar11 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        pcVar10 = unaff_s3->size;\n                        if (pcVar10 < (char *)unaff_s0->columns) {\n                          pcVar10 = (char *)unaff_s0->columns;\n                        }\n                        dVar40 = (double)(int)pcVar10;\n                        if ((int)pcVar10 < 0) {\n                          dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        pcVar24 = (char *)unaff_s0->rows;\n                        pcVar10 = unaff_s3->extract;\n                        if (pcVar10 < pcVar24) {\n                          in_f2_3 = (double)(int)pcVar24;\n                          if ((int)pcVar24 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)pcVar10;\n                          if ((int)pcVar10 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (geometry,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        pcVar10 = (char *)unaff_s0->columns;\n                        if ((char *)unaff_s0->columns <= unaff_s3->size) {\n                          pcVar10 = unaff_s3->size;\n                        }\n                        pcVar24 = unaff_s3->extract;\n                        if (unaff_s3->extract < (char *)unaff_s0->rows) {\n                          pcVar24 = (char *)unaff_s0->rows;\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,pcVar10,pcVar24,local_10d8,dVar40,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,unaff_s3->orientation,local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,unaff_s3,0xd,1);\n                        puVar15 = PTR_DestroyImage_003a8f4c;\n                        unaff_s0->compression = unaff_s3->temporary;\n                        unaff_s3 = (ImageInfo *)(*(code *)puVar15)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pIVar35 = unaff_s3;\n                    pIVar9 = unaff_s7;\n                    if ((unaff_s7 == (Image *)0xff) ||\n                       (pIVar35 = unaff_s3, unaff_s7 == (Image *)0xffff)) goto LAB_00274430;\n                    if ((unaff_s7[-1].magick + 0xfc8 < (char *)0x2f) ||\n                       (unaff_s7[-3].magick_filename + 0x748 < (char *)0x7f00)) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44)) {\n                        if (uVar36 != 0) {\n                          uVar37 = 0;\n                          do {\n                            iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar6 == -1) break;\n                            uVar37 = uVar37 + 1;\n                          } while (uVar36 != uVar37);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x5f8;\n                    }\n                    else {\n                      if ((char *)0x7eff < unaff_s7[-1].magick + 0xf98) goto LAB_002744b8;\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar44)) {\n                        uVar36 = 0;\n                        do {\n                          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar6 == -1) break;\n                          uVar36 = uVar36 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar36);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x606;\n                    }\nLAB_00275880:\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_s_courses_003a88ec + 0x4a0;\n                    pIVar9 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar6 = 0x18;\n              do {\n                iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar16 == -1) break;\n                iVar6 = iVar6 + -1;\n              } while (iVar6 != 0);\n            } while( true );\n          }" if (parenthesized_expression "((((-1 < iVar6) && (iVar12 = (int)frame.top, -1 < iVar16)) &&\n              ((iVar33 = (int)frame.bottom, -1 < iVar12 && ((-1 < iVar33 && (iVar6 < iVar16)))))) &&\n             (iVar12 < iVar33))" ( (binary_expression "(((-1 < iVar6) && (iVar12 = (int)frame.top, -1 < iVar16)) &&\n              ((iVar33 = (int)frame.bottom, -1 < iVar12 && ((-1 < iVar33 && (iVar6 < iVar16)))))) &&\n             (iVar12 < iVar33)" (parenthesized_expression "(((-1 < iVar6) && (iVar12 = (int)frame.top, -1 < iVar16)) &&\n              ((iVar33 = (int)frame.bottom, -1 < iVar12 && ((-1 < iVar33 && (iVar6 < iVar16))))))" ( (binary_expression "((-1 < iVar6) && (iVar12 = (int)frame.top, -1 < iVar16)) &&\n              ((iVar33 = (int)frame.bottom, -1 < iVar12 && ((-1 < iVar33 && (iVar6 < iVar16)))))" (parenthesized_expression "((-1 < iVar6) && (iVar12 = (int)frame.top, -1 < iVar16))" ( (binary_expression "(-1 < iVar6) && (iVar12 = (int)frame.top, -1 < iVar16)" (parenthesized_expression "(-1 < iVar6)" ( (binary_expression "-1 < iVar6" number_literal < identifier) )) && (parenthesized_expression "(iVar12 = (int)frame.top, -1 < iVar16)" ( (comma_expression "iVar12 = (int)frame.top, -1 < iVar16" (assignment_expression "iVar12 = (int)frame.top" identifier = (cast_expression "(int)frame.top" ( (type_descriptor "int" primitive_type) ) (field_expression "frame.top" identifier . field_identifier))) , (binary_expression "-1 < iVar16" number_literal < identifier)) ))) )) && (parenthesized_expression "((iVar33 = (int)frame.bottom, -1 < iVar12 && ((-1 < iVar33 && (iVar6 < iVar16)))))" ( (parenthesized_expression "(iVar33 = (int)frame.bottom, -1 < iVar12 && ((-1 < iVar33 && (iVar6 < iVar16))))" ( (comma_expression "iVar33 = (int)frame.bottom, -1 < iVar12 && ((-1 < iVar33 && (iVar6 < iVar16)))" (assignment_expression "iVar33 = (int)frame.bottom" identifier = (cast_expression "(int)frame.bottom" ( (type_descriptor "int" primitive_type) ) (field_expression "frame.bottom" identifier . field_identifier))) , (binary_expression "-1 < iVar12 && ((-1 < iVar33 && (iVar6 < iVar16)))" (binary_expression "-1 < iVar12" number_literal < identifier) && (parenthesized_expression "((-1 < iVar33 && (iVar6 < iVar16)))" ( (parenthesized_expression "(-1 < iVar33 && (iVar6 < iVar16))" ( (binary_expression "-1 < iVar33 && (iVar6 < iVar16)" (binary_expression "-1 < iVar33" number_literal < identifier) && (parenthesized_expression "(iVar6 < iVar16)" ( (binary_expression "iVar6 < iVar16" identifier < identifier) ))) )) )))) )) ))) )) && (parenthesized_expression "(iVar12 < iVar33)" ( (binary_expression "iVar12 < iVar33" identifier < identifier) ))) )) (compound_statement "{\n            MVar7 = image_info->ping;\n            unaff_s0->units = UndefinedResolution;\n            unaff_s0->columns = iVar16 - iVar6;\n            unaff_s0->depth = 8;\n            puVar15 = PTR_LAB_003a88e0;\n            unaff_s0->rows = iVar33 - iVar12;\n            dVar40 = *(double *)(puVar15 + 0x13f0);\n            (unaff_s0->resolution).x = dVar40;\n            (unaff_s0->resolution).y = dVar40;\n            if (((MVar7 != MagickFalse) && (image_info->number_scenes != 0)) &&\n               (pIVar35 = unaff_s3, pIVar9 = unaff_s7,\n               (image_info->number_scenes + image_info->scene) - 1 <= unaff_s0->scene))\n            goto LAB_00274430;\n            iVar6 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar16 - iVar6,iVar33 - iVar12,exception);\n            if (iVar6 == 0) goto LAB_002743d4;\n            iVar6 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,exception);\n            if (iVar6 == 0) goto LAB_002743d4;\n            local_10c8 = PTR_LAB_003a88e0;\n            unaff_s7 = (Image *)0x0;\n            local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n            unaff_s3 = (ImageInfo *)0x0;\n            local_10b8 = 0;\n            in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418);\n            in_f22_23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n            in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58);\n            local_10cc = 0;\n            local_10bc = &frame;\n            local_10d0 = image_info;\n            local_10d8 = exception;\nLAB_002744b8:\n            do {\n              pIVar9 = (Image *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pIVar35 = local_10d0;\n              if ((pIVar9 != (Image *)0x0) ||\n                 (((local_10d0->ping != MagickFalse && (local_10d0->number_scenes != 0)) &&\n                  ((local_10d0->number_scenes + local_10d0->scene) - 1 <= unaff_s0->scene)))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                pIVar8 = (Image *)(*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pIVar35;\n                unaff_s7 = pIVar9;\nLAB_00274228:\n                if (iVar5 == *(int *)puVar4) {\n                  return pIVar8;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), pIVar8 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                pIVar8 = (Image *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                pIVar8 = (Image *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (Image *)((uint)pIVar8 & 0xffff);\n              if (unaff_s7 == (Image *)0x0) {\n                unaff_s7 = (Image *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (Image *)0xa2) {\n                if (unaff_s0->debug != MagickFalse) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)\n                              (PTR_MagickImageList_3__magick_276__003a8948 +\n                              (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_MagickImageList_3__magick_276__003a8948 +\n                                    (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (Image *)0x78) {\n                  if ((Image *)0x6f < unaff_s7) {\n                    uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar6 = 0;\n                    if (0 < (int)(uVar36 - 2)) {\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + 1;\n                      } while (iVar6 != uVar36 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((Image *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (Image *)&DAT_0000001b) {\n                      iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                      (unaff_s0->background_color).red = (double)iVar6;\n                      iVar6 = (*(code *)puVar15)(unaff_s0);\n                      puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                      (unaff_s0->background_color).green = (double)iVar6;\n                      iVar6 = (*(code *)puVar15)(unaff_s0);\n                      (unaff_s0->background_color).blue = (double)iVar6;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if ((Image *)&DAT_00000011 < unaff_s7) {\n                    iVar16 = 8;\n                    iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar12 == -1) break;\n                      iVar16 = iVar16 + -1;\n                    } while (iVar16 != 0);\n                    if (iVar6 == 2) {\n                      iVar6 = 5;\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + -1;\n                      } while (iVar6 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar6 == 1) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44)) {\n                        MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                        if (MVar7 == MagickFalse) {\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x419;\n                        }\n                        else {\n                          MVar7 = ReadPixmap(unaff_s0,&pixmap);\n                          if (MVar7 != MagickFalse) {\n                            unaff_s0->depth = (int)pixmap.component_size;\n                            dVar40 = (double)(int)pixmap.horizontal_resolution;\n                            if ((int)pixmap.horizontal_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).x = dVar40;\n                            puVar15 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar40 = (double)(int)pixmap.vertical_resolution;\n                            if ((int)pixmap.vertical_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).y = dVar40;\n                            unaff_s0->units = PixelsPerInchResolution;\n                            (*(code *)puVar15)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44))\n                            {\n                              iVar6 = 0;\n                              do {\n                                iVar6 = iVar6 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar6 != uVar36 + 1);\n                              uVar37 = (int)frame.bottom - (int)frame.top;\n                              iVar6 = (int)frame.right - (int)frame.left;\n                              if (pixmap.bits_per_pixel < 9) {\n                                uVar36 = uVar36 & 0x7fff;\n                              }\n                              else if (pixmap.bits_per_pixel == 0x10) {\n                                uVar37 = uVar37 * 2;\n                              }\n                              if (uVar36 != 0) {\n                                uVar37 = uVar36;\n                              }\n                              if (uVar37 < 8) {\n                                if (0 < (int)(uVar37 * iVar6)) {\n                                  iVar16 = 0;\n                                  do {\n                                    iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar12 == -1) break;\n                                    iVar16 = iVar16 + 1;\n                                  } while (uVar37 * iVar6 != iVar16);\n                                }\n                              }\n                              else {\n                                iVar16 = 0;\n                                if (0 < iVar6) {\n                                  do {\n                                    iVar12 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar12 != 0) break;\n                                    if (uVar37 < 0xc9) {\n                                      uVar36 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) &&\n                                       ((uint)uVar44 < uVar36)) {\n                                      if (unaff_s3 != (ImageInfo *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar38 = 0;\n                                    if (0 < (int)uVar36) {\n                                      do {\n                                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar12 == -1) break;\n                                        uVar38 = uVar38 + 1;\n                                      } while (uVar36 != uVar38);\n                                    }\n                                    iVar16 = iVar16 + 1;\n                                  } while (iVar6 != iVar16);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x413;\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    pIVar9 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (Image *)0x1) goto LAB_002752a0;\n                  uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar36 != 10) {\n                    if (0 < (int)(uVar36 - 2)) {\n                      iVar6 = 0;\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + 1;\n                      } while (uVar36 - 2 != iVar6);\n                    }\n                    goto LAB_00274594;\n                  }\n                  MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                  puVar15 = PTR_SetImageExtent_003a94ac;\n                  if (MVar7 == MagickFalse) {\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((frame.left < 0) || (frame.top < 0)) goto LAB_00274594;\n                  sVar26 = (int)frame.right - (int)frame.left;\n                  sVar31 = (int)frame.bottom - (int)frame.top;\n                  unaff_s0->columns = sVar26;\n                  unaff_s0->rows = sVar31;\n                  iVar6 = (*(code *)puVar15)(unaff_s0,sVar26,sVar31,local_10d8);\n                  if ((iVar6 != 0) &&\n                     (iVar6 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar6 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  pIVar8 = (Image *)(*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((Image *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (Image *)0xa1) {\n                    iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar36 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = 4;\n                      if (uVar36 < 5) {\n                        uVar37 = uVar36;\n                      }\n                      iVar16 = uVar36 - uVar37;\n                      if ((iVar16 != 0) &&\n                         (iVar12 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar16,1),\n                         iVar12 != 0)) {\n                        iVar33 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar16,iVar12);\n                        if (iVar16 != iVar33) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x570;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar11 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar6 == 0xe0) {\n                          uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);\n                          iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar32,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);\n                          if (iVar6 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar6 == 0x1f2) {\n                          uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);\n                          iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar32,local_10d8);\n                          if (iVar6 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar6 = *(int *)(PTR_MagickImageList_3__magick_276__003a8948 +\n                                  (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar6 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar16 = 0;\n                    if (0 < iVar6) {\n                      do {\n                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar12 == -1) break;\n                        iVar16 = iVar16 + 1;\n                      } while (iVar6 != iVar16);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (Image *)0x98) && ((BlobInfo **)0x1 < &unaff_s7[-1].blob))\n                goto LAB_002752a0;\n                bVar3 = unaff_s7[-1].magick + 0xffe < (char *)0x2;\n                if (bVar3) {\n                  uVar36 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                if (MVar7 != MagickFalse) {\n                  pIVar9 = (Image *)(*(code *)PTR_CloneImage_003a9830)\n                                              (unaff_s0,(int)frame.right - (int)frame.left,\n                                               (int)frame.bottom - (int)frame.top,1);\n                  if (pIVar9 == (Image *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(pIVar9,local_10d8);\n                  if ((bVar3) || ((uVar36 & 0x8000) != 0)) {\n                    MVar7 = ReadPixmap(unaff_s0,&pixmap);\n                    if (MVar7 != MagickFalse) {\n                      pIVar9->depth = (int)pixmap.component_size;\n                      puVar15 = PTR_SetImageAlpha_003a8c78;\n                      dVar40 = (double)(int)pixmap.horizontal_resolution;\n                      if ((int)pixmap.horizontal_resolution < 0) {\n                        dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar39 = (double)(int)pixmap.vertical_resolution;\n                      if ((int)pixmap.vertical_resolution < 0) {\n                        dVar39 = dVar39 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (pixmap.component_count == 4) {\n                        pIVar9->alpha_trait = BlendPixelTrait;\n                        pIVar9->units = PixelsPerInchResolution;\n                        puVar25 = PTR_LAB_003a88e0;\n                        (pIVar9->resolution).x = dVar40;\n                        (pIVar9->resolution).y = dVar39;\n                        (*(code *)puVar15)(pIVar9,*(undefined4 *)(puVar25 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        (pIVar9->resolution).x = dVar40;\n                        pIVar9->alpha_trait = UndefinedPixelTrait;\n                        (pIVar9->resolution).y = dVar39;\n                        pIVar9->units = PixelsPerInchResolution;\n                      }\n                      if (!bVar3) {\n                        pIVar9->colors = 2;\n                        if ((uVar36 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar18 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar15 = PTR_AcquireImageColormap_003a9194;\n                        pIVar9->colors = iVar6 + 1U;\n                        iVar6 = (*(code *)puVar15)(pIVar9,iVar6 + 1U,local_10d8);\n                        if (iVar6 == 0) goto LAB_002756e4;\n                        if (0 < (int)pIVar9->colors) {\n                          uVar37 = 0;\n                          do {\n                            uVar17 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar38 = uVar37;\n                            if (-1 < sVar18) {\n                              if (pIVar9->colors == 0) {\n                                trap(7);\n                              }\n                              uVar38 = uVar17 % pIVar9->colors;\n                            }\n                            uVar37 = uVar37 + 1;\n                            iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                            pIVar9->colormap[uVar38].red = (double)iVar6;\n                            iVar6 = (*(code *)puVar15)(unaff_s0);\n                            puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                            pIVar9->colormap[uVar38].green = (double)iVar6;\n                            iVar6 = (*(code *)puVar15)(unaff_s0);\n                            sVar26 = pIVar9->colors;\n                            unaff_s3 = (ImageInfo *)(pIVar9->colormap + uVar38);\n                            *(double *)&unaff_s3->endian = (double)iVar6;\n                          } while ((int)uVar37 < (int)sVar26);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x49e;\n                    unaff_s7 = pIVar9;\n                    goto LAB_002757bc;\n                  }\n                  pIVar9->colors = 2;\nLAB_0027565c:\n                  iVar6 = (*(code *)PTR_AcquireImageColormap_003a9194)(pIVar9,2,local_10d8);\n                  if (iVar6 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x4b8;\n                    unaff_s7 = pIVar9;\nLAB_00275720:\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar11 = 400;\n                    goto LAB_00275084;\n                  }\n                  sVar26 = pIVar9->colors;\n                  if (0 < (int)sVar26) {\n                    pPVar29 = pIVar9->colormap;\n                    pMVar13 = &pPVar29->red;\n                    do {\n                      pMVar14 = pMVar13 + 0xb;\n                      *pMVar13 = (double)(float)(in_f20_21 - *pMVar13);\n                      pMVar13[1] = (double)(float)(in_f20_21 - pMVar13[1]);\n                      pMVar13[2] = (double)(float)(in_f20_21 - pMVar13[2]);\n                      pMVar13 = pMVar14;\n                    } while (pMVar14 != &pPVar29[sVar26].red);\n                  }\nLAB_00274838:\n                  iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar6 == 0) {\n                    MVar7 = ReadRectangle(unaff_s0,&source);\n                    if (MVar7 == MagickFalse) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x4d9;\n                      unaff_s7 = pIVar9;\n                    }\n                    else {\n                      MVar7 = ReadRectangle(unaff_s0,&destination);\n                      if (MVar7 != MagickFalse) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)pIVar8 & 0xfff7) == 0x91) || (unaff_s7 == (Image *)0x9b)) {\n                          uVar37 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar37)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x4e5;\n                            unaff_s7 = pIVar9;\n                            goto LAB_00275880;\n                          }\n                          iVar6 = 0;\n                          if (0 < (int)(uVar37 - 2)) {\n                            do {\n                              iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar16 == -1) break;\n                              iVar6 = iVar6 + 1;\n                            } while (uVar37 - 2 != iVar6);\n                          }\n                        }\n                        if ((bVar3) || ((uVar36 & 0x8000) != 0)) {\n                          uVar37 = (uint)pixmap.bits_per_pixel;\n                        }\n                        else {\n                          uVar37 = 1;\n                        }\n                        unaff_s3 = (ImageInfo *)DecodeImage(unaff_s0,pIVar9,uVar36,uVar37,&extent);\n                        if (unaff_s3 == (ImageInfo *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x4f2;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if ((int)pIVar9->rows < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar6 == 0)) &&\n                               ((bVar3 || ((uVar36 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,pIVar9,0xd,1);\n                            }\n                            unaff_s3 = (ImageInfo *)(*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <=\n                              (ImageInfo *)\n                              ((int)&unaff_s3->compression + unaff_s0->columns + extent)) {\n                            local_10b0 = 0;\n                            uVar37 = 0;\n                            pIVar35 = unaff_s3;\n                            do {\n                              iVar6 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (pIVar9,0,uVar37,pIVar9->columns);\n                              if (iVar6 == 0) goto LAB_00276500;\n                              sVar26 = pIVar9->columns;\n                              if (0 < (int)sVar26) {\n                                iVar16 = 0;\n                                dVar39 = *(double *)(local_10ac + -0x5af0);\n                                dVar40 = dVar39;\n                                do {\n                                  if (pIVar9->storage_class == PseudoClass) {\n                                    if ((int)(uint)(byte)*(undefined1 *)&pIVar35->compression <\n                                        (int)pIVar9->colors) {\n                                      fVar41 = (float)(byte)*(undefined1 *)&pIVar35->compression;\n                                      iVar12 = (int)fVar41 * 0x58;\n                                    }\n                                    else if (local_10d8->severity == CorruptImageError) {\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23);\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                      sVar26 = pIVar9->columns;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    if (pPVar28[5].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[5].offset * 4) = fVar41;\n                                    }\n                                    pPVar29 = pIVar9->colormap;\n                                    iVar23 = pPVar28[1].offset;\n                                    iVar33 = pPVar28[2].offset;\n                                    dVar43 = *(double *)((int)&pPVar29->green + iVar12);\n                                    dVar42 = *(double *)((int)&pPVar29->blue + iVar12);\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)*(double *)((int)&pPVar29->red + iVar12);\n                                    *(float *)(iVar6 + iVar23 * 4) = (float)dVar43;\n                                    *(float *)(iVar6 + iVar33 * 4) = (float)dVar42;\n                                  }\n                                  else if (pixmap.bits_per_pixel == 0x10) {\n                                    bVar1 = *(byte *)((int)&pIVar35->compression + 1);\n                                    pPVar28 = pIVar9->channel_map;\n                                    uVar2 = *(undefined1 *)&pIVar35->compression;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(((byte)uVar2 & 0x7c) << 1) * dVar40);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | ((byte)uVar2 & 3) << 6\n                                                         ) * dVar40);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar40);\n                                    pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  }\n                                  else if (pIVar9->alpha_trait == UndefinedPixelTrait) {\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 2 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(byte)*(undefined1 *)&pIVar35->compression\n                                                * dVar39);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar27 * dVar39);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar27[sVar26] * dVar39);\n                                  }\n                                  else {\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 3 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if (pPVar28[4].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[4].offset * 4) =\n                                           (float)((double)(byte)*(undefined1 *)\n                                                                  &pIVar35->compression * in_f22_23)\n                                      ;\n                                    }\n                                    pbVar34 = pbVar27 + sVar26;\n                                    dVar42 = *(double *)(local_10ac + -0x5af0);\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)*pbVar27 * dVar42);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar34 * dVar42);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar34[sVar26] * dVar42);\n                                  }\n                                  iVar16 = iVar16 + 1;\n                                  pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  iVar6 = iVar6 + pIVar9->number_channels * 4;\n                                } while (iVar16 < (int)sVar26);\n                              }\n                              iVar6 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar9,local_10d8)\n                              ;\n                              if (((iVar6 == 0) ||\n                                  (((pIVar9->storage_class == DirectClass &&\n                                    (pixmap.bits_per_pixel != 0x10)) &&\n                                   (pIVar35 = (ImageInfo *)\n                                              ((int)&pIVar35->compression +\n                                              (pixmap.component_count + -1) * pIVar9->columns),\n                                   pIVar35 < unaff_s3)))) ||\n                                 ((iVar6 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar37), iVar6 == 0 ||\n                                  (uVar38 = uVar37 + 1, (int)pIVar9->rows <= (int)uVar38))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar38 < uVar37) + local_10b0;\n                              uVar37 = uVar38;\n                            } while (pIVar35 <=\n                                     (ImageInfo *)\n                                     ((int)&unaff_s3->compression + unaff_s0->columns + extent));\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x4fc;\n                          unaff_s7 = pIVar9;\nLAB_0027504c:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          pIVar9 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x4db;\n                      unaff_s7 = pIVar9;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar32 = 0x4d7;\n                  unaff_s7 = pIVar9;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (ImageInfo *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar32 = 0x491;\nLAB_002757bc:\n                puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar15 = PTR_s_courses_003a88ec + -400;\n                pIVar9 = unaff_s7;\nLAB_0027507c:\n                uVar11 = 0x1a9;\n                unaff_s7 = pIVar9;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar25,puVar30,uVar32,uVar11,puVar15,uVar44);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                pIVar8 = (Image *)0x0;\n                goto LAB_00274228;\n              }\n              if (unaff_s0->debug != MagickFalse) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3);\n              }\n              if (unaff_s7 != (Image *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7[-1].magick + 0xfe8) {\nLAB_00274594:\n                  if ((char *)0xff < unaff_s7[-3].magick_filename + 0x848) {\n                    if (unaff_s7 == (Image *)0x8200) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                        if (unaff_s3 != (ImageInfo *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar32 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar6 = 6;\n                      if (0x9a < uVar36) {\n                        do {\n                          iVar6 = iVar6 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar6 != 0);\n                        MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                        if (MVar7 == MagickFalse) {\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x5c8;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\nLAB_00275b88:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_courses_003a88ec + -400;\n                          uVar11 = 0x1a9;\n                        }\n                        else {\n                          iVar6 = 0x7a;\n                          do {\n                            iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar16 == -1) break;\n                            iVar6 = iVar6 + -1;\n                          } while (iVar6 != 0);\n                          iVar6 = uVar36 - 0x9a;\n                          pIVar8 = (Image *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar6,1);\n                          pcVar10 = local_10d0->filename;\n                          if (pIVar8 != (Image *)0x0) {\n                            uVar32 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar6,pIVar8,&destination);\n                            if (destination._0_4_ == iVar6) {\n                              iVar6 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar6 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pcVar10);\n                              unaff_s3 = (ImageInfo *)\n                                         (*(code *)PTR_BlobToImage_003a9330)\n                                                   (iVar6,uVar32,destination._0_4_,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar6);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x5d5;\n                            uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                            unaff_s7 = pIVar8;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x5d0;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar11 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        pcVar10 = unaff_s3->size;\n                        if (pcVar10 < (char *)unaff_s0->columns) {\n                          pcVar10 = (char *)unaff_s0->columns;\n                        }\n                        dVar40 = (double)(int)pcVar10;\n                        if ((int)pcVar10 < 0) {\n                          dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        pcVar24 = (char *)unaff_s0->rows;\n                        pcVar10 = unaff_s3->extract;\n                        if (pcVar10 < pcVar24) {\n                          in_f2_3 = (double)(int)pcVar24;\n                          if ((int)pcVar24 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)pcVar10;\n                          if ((int)pcVar10 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (geometry,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        pcVar10 = (char *)unaff_s0->columns;\n                        if ((char *)unaff_s0->columns <= unaff_s3->size) {\n                          pcVar10 = unaff_s3->size;\n                        }\n                        pcVar24 = unaff_s3->extract;\n                        if (unaff_s3->extract < (char *)unaff_s0->rows) {\n                          pcVar24 = (char *)unaff_s0->rows;\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,pcVar10,pcVar24,local_10d8,dVar40,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,unaff_s3->orientation,local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,unaff_s3,0xd,1);\n                        puVar15 = PTR_DestroyImage_003a8f4c;\n                        unaff_s0->compression = unaff_s3->temporary;\n                        unaff_s3 = (ImageInfo *)(*(code *)puVar15)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pIVar35 = unaff_s3;\n                    pIVar9 = unaff_s7;\n                    if ((unaff_s7 == (Image *)0xff) ||\n                       (pIVar35 = unaff_s3, unaff_s7 == (Image *)0xffff)) goto LAB_00274430;\n                    if ((unaff_s7[-1].magick + 0xfc8 < (char *)0x2f) ||\n                       (unaff_s7[-3].magick_filename + 0x748 < (char *)0x7f00)) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44)) {\n                        if (uVar36 != 0) {\n                          uVar37 = 0;\n                          do {\n                            iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar6 == -1) break;\n                            uVar37 = uVar37 + 1;\n                          } while (uVar36 != uVar37);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x5f8;\n                    }\n                    else {\n                      if ((char *)0x7eff < unaff_s7[-1].magick + 0xf98) goto LAB_002744b8;\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar44)) {\n                        uVar36 = 0;\n                        do {\n                          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar6 == -1) break;\n                          uVar36 = uVar36 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar36);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x606;\n                    }\nLAB_00275880:\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_s_courses_003a88ec + 0x4a0;\n                    pIVar9 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar6 = 0x18;\n              do {\n                iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar16 == -1) break;\n                iVar6 = iVar6 + -1;\n              } while (iVar6 != 0);\n            } while( true );\n          }" { (expression_statement "MVar7 = image_info->ping;" (assignment_expression "MVar7 = image_info->ping" identifier = (field_expression "image_info->ping" identifier -> field_identifier)) ;) (expression_statement "unaff_s0->units = UndefinedResolution;" (assignment_expression "unaff_s0->units = UndefinedResolution" (field_expression "unaff_s0->units" identifier -> field_identifier) = identifier) ;) (expression_statement "unaff_s0->columns = iVar16 - iVar6;" (assignment_expression "unaff_s0->columns = iVar16 - iVar6" (field_expression "unaff_s0->columns" identifier -> field_identifier) = (binary_expression "iVar16 - iVar6" identifier - identifier)) ;) (expression_statement "unaff_s0->depth = 8;" (assignment_expression "unaff_s0->depth = 8" (field_expression "unaff_s0->depth" identifier -> field_identifier) = number_literal) ;) (expression_statement "puVar15 = PTR_LAB_003a88e0;" (assignment_expression "puVar15 = PTR_LAB_003a88e0" identifier = identifier) ;) (expression_statement "unaff_s0->rows = iVar33 - iVar12;" (assignment_expression "unaff_s0->rows = iVar33 - iVar12" (field_expression "unaff_s0->rows" identifier -> field_identifier) = (binary_expression "iVar33 - iVar12" identifier - identifier)) ;) (expression_statement "dVar40 = *(double *)(puVar15 + 0x13f0);" (assignment_expression "dVar40 = *(double *)(puVar15 + 0x13f0)" identifier = (pointer_expression "*(double *)(puVar15 + 0x13f0)" * (cast_expression "(double *)(puVar15 + 0x13f0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar15 + 0x13f0)" ( (binary_expression "puVar15 + 0x13f0" identifier + number_literal) ))))) ;) (expression_statement "(unaff_s0->resolution).x = dVar40;" (assignment_expression "(unaff_s0->resolution).x = dVar40" (field_expression "(unaff_s0->resolution).x" (parenthesized_expression "(unaff_s0->resolution)" ( (field_expression "unaff_s0->resolution" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "(unaff_s0->resolution).y = dVar40;" (assignment_expression "(unaff_s0->resolution).y = dVar40" (field_expression "(unaff_s0->resolution).y" (parenthesized_expression "(unaff_s0->resolution)" ( (field_expression "unaff_s0->resolution" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (if_statement "if (((MVar7 != MagickFalse) && (image_info->number_scenes != 0)) &&\n               (pIVar35 = unaff_s3, pIVar9 = unaff_s7,\n               (image_info->number_scenes + image_info->scene) - 1 <= unaff_s0->scene))\n            goto LAB_00274430;" if (parenthesized_expression "(((MVar7 != MagickFalse) && (image_info->number_scenes != 0)) &&\n               (pIVar35 = unaff_s3, pIVar9 = unaff_s7,\n               (image_info->number_scenes + image_info->scene) - 1 <= unaff_s0->scene))" ( (binary_expression "((MVar7 != MagickFalse) && (image_info->number_scenes != 0)) &&\n               (pIVar35 = unaff_s3, pIVar9 = unaff_s7,\n               (image_info->number_scenes + image_info->scene) - 1 <= unaff_s0->scene)" (parenthesized_expression "((MVar7 != MagickFalse) && (image_info->number_scenes != 0))" ( (binary_expression "(MVar7 != MagickFalse) && (image_info->number_scenes != 0)" (parenthesized_expression "(MVar7 != MagickFalse)" ( (binary_expression "MVar7 != MagickFalse" 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 "(pIVar35 = unaff_s3, pIVar9 = unaff_s7,\n               (image_info->number_scenes + image_info->scene) - 1 <= unaff_s0->scene)" ( (comma_expression "pIVar35 = unaff_s3, pIVar9 = unaff_s7,\n               (image_info->number_scenes + image_info->scene) - 1 <= unaff_s0->scene" (assignment_expression "pIVar35 = unaff_s3" identifier = identifier) , (comma_expression "pIVar9 = unaff_s7,\n               (image_info->number_scenes + image_info->scene) - 1 <= unaff_s0->scene" (assignment_expression "pIVar9 = unaff_s7" identifier = identifier) , (binary_expression "(image_info->number_scenes + image_info->scene) - 1 <= unaff_s0->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 "unaff_s0->scene" identifier -> field_identifier)))) ))) )) (goto_statement "goto LAB_00274430;" goto statement_identifier ;)) (expression_statement "iVar6 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar16 - iVar6,iVar33 - iVar12,exception);" (assignment_expression "iVar6 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar16 - iVar6,iVar33 - iVar12,exception)" identifier = (call_expression "(*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar16 - iVar6,iVar33 - iVar12,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 "(unaff_s0,iVar16 - iVar6,iVar33 - iVar12,exception)" ( identifier , (binary_expression "iVar16 - iVar6" identifier - identifier) , (binary_expression "iVar33 - iVar12" identifier - identifier) , identifier )))) ;) (if_statement "if (iVar6 == 0) goto LAB_002743d4;" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (goto_statement "goto LAB_002743d4;" goto statement_identifier ;)) (expression_statement "iVar6 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,exception);" (assignment_expression "iVar6 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,exception)" identifier = (call_expression "(*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,exception)" (parenthesized_expression "(*(code *)PTR_ResetImagePixels_003a9334)" ( (pointer_expression "*(code *)PTR_ResetImagePixels_003a9334" * (cast_expression "(code *)PTR_ResetImagePixels_003a9334" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0,exception)" ( identifier , identifier )))) ;) (if_statement "if (iVar6 == 0) goto LAB_002743d4;" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (goto_statement "goto LAB_002743d4;" goto statement_identifier ;)) (expression_statement "local_10c8 = PTR_LAB_003a88e0;" (assignment_expression "local_10c8 = PTR_LAB_003a88e0" identifier = identifier) ;) (expression_statement "unaff_s7 = (Image *)0x0;" (assignment_expression "unaff_s7 = (Image *)0x0" identifier = (cast_expression "(Image *)0x0" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;" (assignment_expression "local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8" identifier = identifier) ;) (expression_statement "unaff_s3 = (ImageInfo *)0x0;" (assignment_expression "unaff_s3 = (ImageInfo *)0x0" identifier = (cast_expression "(ImageInfo *)0x0" ( (type_descriptor "ImageInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_10b8 = 0;" (assignment_expression "local_10b8 = 0" identifier = number_literal) ;) (expression_statement "in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418);" (assignment_expression "in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418)" identifier = (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1418)" * (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1418)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1418)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1418" identifier + number_literal) ))))) ;) (expression_statement "in_f22_23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);" (assignment_expression "in_f22_23 = *(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 "in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58);" (assignment_expression "in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58)" identifier = (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1a58)" * (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1a58)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1a58)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1a58" identifier + number_literal) ))))) ;) (expression_statement "local_10cc = 0;" (assignment_expression "local_10cc = 0" identifier = number_literal) ;) (expression_statement "local_10bc = &frame;" (assignment_expression "local_10bc = &frame" identifier = (pointer_expression "&frame" & identifier)) ;) (expression_statement "local_10d0 = image_info;" (assignment_expression "local_10d0 = image_info" identifier = identifier) ;) (expression_statement "local_10d8 = exception;" (assignment_expression "local_10d8 = exception" identifier = identifier) ;) (labeled_statement "LAB_002744b8:\n            do {\n              pIVar9 = (Image *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pIVar35 = local_10d0;\n              if ((pIVar9 != (Image *)0x0) ||\n                 (((local_10d0->ping != MagickFalse && (local_10d0->number_scenes != 0)) &&\n                  ((local_10d0->number_scenes + local_10d0->scene) - 1 <= unaff_s0->scene)))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                pIVar8 = (Image *)(*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pIVar35;\n                unaff_s7 = pIVar9;\nLAB_00274228:\n                if (iVar5 == *(int *)puVar4) {\n                  return pIVar8;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), pIVar8 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                pIVar8 = (Image *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                pIVar8 = (Image *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (Image *)((uint)pIVar8 & 0xffff);\n              if (unaff_s7 == (Image *)0x0) {\n                unaff_s7 = (Image *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (Image *)0xa2) {\n                if (unaff_s0->debug != MagickFalse) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)\n                              (PTR_MagickImageList_3__magick_276__003a8948 +\n                              (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_MagickImageList_3__magick_276__003a8948 +\n                                    (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (Image *)0x78) {\n                  if ((Image *)0x6f < unaff_s7) {\n                    uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar6 = 0;\n                    if (0 < (int)(uVar36 - 2)) {\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + 1;\n                      } while (iVar6 != uVar36 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((Image *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (Image *)&DAT_0000001b) {\n                      iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                      (unaff_s0->background_color).red = (double)iVar6;\n                      iVar6 = (*(code *)puVar15)(unaff_s0);\n                      puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                      (unaff_s0->background_color).green = (double)iVar6;\n                      iVar6 = (*(code *)puVar15)(unaff_s0);\n                      (unaff_s0->background_color).blue = (double)iVar6;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if ((Image *)&DAT_00000011 < unaff_s7) {\n                    iVar16 = 8;\n                    iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar12 == -1) break;\n                      iVar16 = iVar16 + -1;\n                    } while (iVar16 != 0);\n                    if (iVar6 == 2) {\n                      iVar6 = 5;\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + -1;\n                      } while (iVar6 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar6 == 1) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44)) {\n                        MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                        if (MVar7 == MagickFalse) {\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x419;\n                        }\n                        else {\n                          MVar7 = ReadPixmap(unaff_s0,&pixmap);\n                          if (MVar7 != MagickFalse) {\n                            unaff_s0->depth = (int)pixmap.component_size;\n                            dVar40 = (double)(int)pixmap.horizontal_resolution;\n                            if ((int)pixmap.horizontal_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).x = dVar40;\n                            puVar15 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar40 = (double)(int)pixmap.vertical_resolution;\n                            if ((int)pixmap.vertical_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).y = dVar40;\n                            unaff_s0->units = PixelsPerInchResolution;\n                            (*(code *)puVar15)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44))\n                            {\n                              iVar6 = 0;\n                              do {\n                                iVar6 = iVar6 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar6 != uVar36 + 1);\n                              uVar37 = (int)frame.bottom - (int)frame.top;\n                              iVar6 = (int)frame.right - (int)frame.left;\n                              if (pixmap.bits_per_pixel < 9) {\n                                uVar36 = uVar36 & 0x7fff;\n                              }\n                              else if (pixmap.bits_per_pixel == 0x10) {\n                                uVar37 = uVar37 * 2;\n                              }\n                              if (uVar36 != 0) {\n                                uVar37 = uVar36;\n                              }\n                              if (uVar37 < 8) {\n                                if (0 < (int)(uVar37 * iVar6)) {\n                                  iVar16 = 0;\n                                  do {\n                                    iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar12 == -1) break;\n                                    iVar16 = iVar16 + 1;\n                                  } while (uVar37 * iVar6 != iVar16);\n                                }\n                              }\n                              else {\n                                iVar16 = 0;\n                                if (0 < iVar6) {\n                                  do {\n                                    iVar12 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar12 != 0) break;\n                                    if (uVar37 < 0xc9) {\n                                      uVar36 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) &&\n                                       ((uint)uVar44 < uVar36)) {\n                                      if (unaff_s3 != (ImageInfo *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar38 = 0;\n                                    if (0 < (int)uVar36) {\n                                      do {\n                                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar12 == -1) break;\n                                        uVar38 = uVar38 + 1;\n                                      } while (uVar36 != uVar38);\n                                    }\n                                    iVar16 = iVar16 + 1;\n                                  } while (iVar6 != iVar16);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x413;\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    pIVar9 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (Image *)0x1) goto LAB_002752a0;\n                  uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar36 != 10) {\n                    if (0 < (int)(uVar36 - 2)) {\n                      iVar6 = 0;\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + 1;\n                      } while (uVar36 - 2 != iVar6);\n                    }\n                    goto LAB_00274594;\n                  }\n                  MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                  puVar15 = PTR_SetImageExtent_003a94ac;\n                  if (MVar7 == MagickFalse) {\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((frame.left < 0) || (frame.top < 0)) goto LAB_00274594;\n                  sVar26 = (int)frame.right - (int)frame.left;\n                  sVar31 = (int)frame.bottom - (int)frame.top;\n                  unaff_s0->columns = sVar26;\n                  unaff_s0->rows = sVar31;\n                  iVar6 = (*(code *)puVar15)(unaff_s0,sVar26,sVar31,local_10d8);\n                  if ((iVar6 != 0) &&\n                     (iVar6 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar6 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  pIVar8 = (Image *)(*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((Image *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (Image *)0xa1) {\n                    iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar36 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = 4;\n                      if (uVar36 < 5) {\n                        uVar37 = uVar36;\n                      }\n                      iVar16 = uVar36 - uVar37;\n                      if ((iVar16 != 0) &&\n                         (iVar12 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar16,1),\n                         iVar12 != 0)) {\n                        iVar33 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar16,iVar12);\n                        if (iVar16 != iVar33) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x570;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar11 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar6 == 0xe0) {\n                          uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);\n                          iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar32,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);\n                          if (iVar6 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar6 == 0x1f2) {\n                          uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);\n                          iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar32,local_10d8);\n                          if (iVar6 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar6 = *(int *)(PTR_MagickImageList_3__magick_276__003a8948 +\n                                  (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar6 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar16 = 0;\n                    if (0 < iVar6) {\n                      do {\n                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar12 == -1) break;\n                        iVar16 = iVar16 + 1;\n                      } while (iVar6 != iVar16);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (Image *)0x98) && ((BlobInfo **)0x1 < &unaff_s7[-1].blob))\n                goto LAB_002752a0;\n                bVar3 = unaff_s7[-1].magick + 0xffe < (char *)0x2;\n                if (bVar3) {\n                  uVar36 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                if (MVar7 != MagickFalse) {\n                  pIVar9 = (Image *)(*(code *)PTR_CloneImage_003a9830)\n                                              (unaff_s0,(int)frame.right - (int)frame.left,\n                                               (int)frame.bottom - (int)frame.top,1);\n                  if (pIVar9 == (Image *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(pIVar9,local_10d8);\n                  if ((bVar3) || ((uVar36 & 0x8000) != 0)) {\n                    MVar7 = ReadPixmap(unaff_s0,&pixmap);\n                    if (MVar7 != MagickFalse) {\n                      pIVar9->depth = (int)pixmap.component_size;\n                      puVar15 = PTR_SetImageAlpha_003a8c78;\n                      dVar40 = (double)(int)pixmap.horizontal_resolution;\n                      if ((int)pixmap.horizontal_resolution < 0) {\n                        dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar39 = (double)(int)pixmap.vertical_resolution;\n                      if ((int)pixmap.vertical_resolution < 0) {\n                        dVar39 = dVar39 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (pixmap.component_count == 4) {\n                        pIVar9->alpha_trait = BlendPixelTrait;\n                        pIVar9->units = PixelsPerInchResolution;\n                        puVar25 = PTR_LAB_003a88e0;\n                        (pIVar9->resolution).x = dVar40;\n                        (pIVar9->resolution).y = dVar39;\n                        (*(code *)puVar15)(pIVar9,*(undefined4 *)(puVar25 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        (pIVar9->resolution).x = dVar40;\n                        pIVar9->alpha_trait = UndefinedPixelTrait;\n                        (pIVar9->resolution).y = dVar39;\n                        pIVar9->units = PixelsPerInchResolution;\n                      }\n                      if (!bVar3) {\n                        pIVar9->colors = 2;\n                        if ((uVar36 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar18 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar15 = PTR_AcquireImageColormap_003a9194;\n                        pIVar9->colors = iVar6 + 1U;\n                        iVar6 = (*(code *)puVar15)(pIVar9,iVar6 + 1U,local_10d8);\n                        if (iVar6 == 0) goto LAB_002756e4;\n                        if (0 < (int)pIVar9->colors) {\n                          uVar37 = 0;\n                          do {\n                            uVar17 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar38 = uVar37;\n                            if (-1 < sVar18) {\n                              if (pIVar9->colors == 0) {\n                                trap(7);\n                              }\n                              uVar38 = uVar17 % pIVar9->colors;\n                            }\n                            uVar37 = uVar37 + 1;\n                            iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                            pIVar9->colormap[uVar38].red = (double)iVar6;\n                            iVar6 = (*(code *)puVar15)(unaff_s0);\n                            puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                            pIVar9->colormap[uVar38].green = (double)iVar6;\n                            iVar6 = (*(code *)puVar15)(unaff_s0);\n                            sVar26 = pIVar9->colors;\n                            unaff_s3 = (ImageInfo *)(pIVar9->colormap + uVar38);\n                            *(double *)&unaff_s3->endian = (double)iVar6;\n                          } while ((int)uVar37 < (int)sVar26);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x49e;\n                    unaff_s7 = pIVar9;\n                    goto LAB_002757bc;\n                  }\n                  pIVar9->colors = 2;\nLAB_0027565c:\n                  iVar6 = (*(code *)PTR_AcquireImageColormap_003a9194)(pIVar9,2,local_10d8);\n                  if (iVar6 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x4b8;\n                    unaff_s7 = pIVar9;\nLAB_00275720:\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar11 = 400;\n                    goto LAB_00275084;\n                  }\n                  sVar26 = pIVar9->colors;\n                  if (0 < (int)sVar26) {\n                    pPVar29 = pIVar9->colormap;\n                    pMVar13 = &pPVar29->red;\n                    do {\n                      pMVar14 = pMVar13 + 0xb;\n                      *pMVar13 = (double)(float)(in_f20_21 - *pMVar13);\n                      pMVar13[1] = (double)(float)(in_f20_21 - pMVar13[1]);\n                      pMVar13[2] = (double)(float)(in_f20_21 - pMVar13[2]);\n                      pMVar13 = pMVar14;\n                    } while (pMVar14 != &pPVar29[sVar26].red);\n                  }\nLAB_00274838:\n                  iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar6 == 0) {\n                    MVar7 = ReadRectangle(unaff_s0,&source);\n                    if (MVar7 == MagickFalse) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x4d9;\n                      unaff_s7 = pIVar9;\n                    }\n                    else {\n                      MVar7 = ReadRectangle(unaff_s0,&destination);\n                      if (MVar7 != MagickFalse) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)pIVar8 & 0xfff7) == 0x91) || (unaff_s7 == (Image *)0x9b)) {\n                          uVar37 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar37)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x4e5;\n                            unaff_s7 = pIVar9;\n                            goto LAB_00275880;\n                          }\n                          iVar6 = 0;\n                          if (0 < (int)(uVar37 - 2)) {\n                            do {\n                              iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar16 == -1) break;\n                              iVar6 = iVar6 + 1;\n                            } while (uVar37 - 2 != iVar6);\n                          }\n                        }\n                        if ((bVar3) || ((uVar36 & 0x8000) != 0)) {\n                          uVar37 = (uint)pixmap.bits_per_pixel;\n                        }\n                        else {\n                          uVar37 = 1;\n                        }\n                        unaff_s3 = (ImageInfo *)DecodeImage(unaff_s0,pIVar9,uVar36,uVar37,&extent);\n                        if (unaff_s3 == (ImageInfo *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x4f2;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if ((int)pIVar9->rows < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar6 == 0)) &&\n                               ((bVar3 || ((uVar36 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,pIVar9,0xd,1);\n                            }\n                            unaff_s3 = (ImageInfo *)(*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <=\n                              (ImageInfo *)\n                              ((int)&unaff_s3->compression + unaff_s0->columns + extent)) {\n                            local_10b0 = 0;\n                            uVar37 = 0;\n                            pIVar35 = unaff_s3;\n                            do {\n                              iVar6 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (pIVar9,0,uVar37,pIVar9->columns);\n                              if (iVar6 == 0) goto LAB_00276500;\n                              sVar26 = pIVar9->columns;\n                              if (0 < (int)sVar26) {\n                                iVar16 = 0;\n                                dVar39 = *(double *)(local_10ac + -0x5af0);\n                                dVar40 = dVar39;\n                                do {\n                                  if (pIVar9->storage_class == PseudoClass) {\n                                    if ((int)(uint)(byte)*(undefined1 *)&pIVar35->compression <\n                                        (int)pIVar9->colors) {\n                                      fVar41 = (float)(byte)*(undefined1 *)&pIVar35->compression;\n                                      iVar12 = (int)fVar41 * 0x58;\n                                    }\n                                    else if (local_10d8->severity == CorruptImageError) {\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23);\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                      sVar26 = pIVar9->columns;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    if (pPVar28[5].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[5].offset * 4) = fVar41;\n                                    }\n                                    pPVar29 = pIVar9->colormap;\n                                    iVar23 = pPVar28[1].offset;\n                                    iVar33 = pPVar28[2].offset;\n                                    dVar43 = *(double *)((int)&pPVar29->green + iVar12);\n                                    dVar42 = *(double *)((int)&pPVar29->blue + iVar12);\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)*(double *)((int)&pPVar29->red + iVar12);\n                                    *(float *)(iVar6 + iVar23 * 4) = (float)dVar43;\n                                    *(float *)(iVar6 + iVar33 * 4) = (float)dVar42;\n                                  }\n                                  else if (pixmap.bits_per_pixel == 0x10) {\n                                    bVar1 = *(byte *)((int)&pIVar35->compression + 1);\n                                    pPVar28 = pIVar9->channel_map;\n                                    uVar2 = *(undefined1 *)&pIVar35->compression;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(((byte)uVar2 & 0x7c) << 1) * dVar40);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | ((byte)uVar2 & 3) << 6\n                                                         ) * dVar40);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar40);\n                                    pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  }\n                                  else if (pIVar9->alpha_trait == UndefinedPixelTrait) {\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 2 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(byte)*(undefined1 *)&pIVar35->compression\n                                                * dVar39);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar27 * dVar39);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar27[sVar26] * dVar39);\n                                  }\n                                  else {\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 3 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if (pPVar28[4].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[4].offset * 4) =\n                                           (float)((double)(byte)*(undefined1 *)\n                                                                  &pIVar35->compression * in_f22_23)\n                                      ;\n                                    }\n                                    pbVar34 = pbVar27 + sVar26;\n                                    dVar42 = *(double *)(local_10ac + -0x5af0);\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)*pbVar27 * dVar42);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar34 * dVar42);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar34[sVar26] * dVar42);\n                                  }\n                                  iVar16 = iVar16 + 1;\n                                  pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  iVar6 = iVar6 + pIVar9->number_channels * 4;\n                                } while (iVar16 < (int)sVar26);\n                              }\n                              iVar6 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar9,local_10d8)\n                              ;\n                              if (((iVar6 == 0) ||\n                                  (((pIVar9->storage_class == DirectClass &&\n                                    (pixmap.bits_per_pixel != 0x10)) &&\n                                   (pIVar35 = (ImageInfo *)\n                                              ((int)&pIVar35->compression +\n                                              (pixmap.component_count + -1) * pIVar9->columns),\n                                   pIVar35 < unaff_s3)))) ||\n                                 ((iVar6 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar37), iVar6 == 0 ||\n                                  (uVar38 = uVar37 + 1, (int)pIVar9->rows <= (int)uVar38))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar38 < uVar37) + local_10b0;\n                              uVar37 = uVar38;\n                            } while (pIVar35 <=\n                                     (ImageInfo *)\n                                     ((int)&unaff_s3->compression + unaff_s0->columns + extent));\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x4fc;\n                          unaff_s7 = pIVar9;\nLAB_0027504c:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          pIVar9 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x4db;\n                      unaff_s7 = pIVar9;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar32 = 0x4d7;\n                  unaff_s7 = pIVar9;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (ImageInfo *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar32 = 0x491;\nLAB_002757bc:\n                puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar15 = PTR_s_courses_003a88ec + -400;\n                pIVar9 = unaff_s7;\nLAB_0027507c:\n                uVar11 = 0x1a9;\n                unaff_s7 = pIVar9;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar25,puVar30,uVar32,uVar11,puVar15,uVar44);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                pIVar8 = (Image *)0x0;\n                goto LAB_00274228;\n              }\n              if (unaff_s0->debug != MagickFalse) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3);\n              }\n              if (unaff_s7 != (Image *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7[-1].magick + 0xfe8) {\nLAB_00274594:\n                  if ((char *)0xff < unaff_s7[-3].magick_filename + 0x848) {\n                    if (unaff_s7 == (Image *)0x8200) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                        if (unaff_s3 != (ImageInfo *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar32 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar6 = 6;\n                      if (0x9a < uVar36) {\n                        do {\n                          iVar6 = iVar6 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar6 != 0);\n                        MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                        if (MVar7 == MagickFalse) {\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x5c8;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\nLAB_00275b88:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_courses_003a88ec + -400;\n                          uVar11 = 0x1a9;\n                        }\n                        else {\n                          iVar6 = 0x7a;\n                          do {\n                            iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar16 == -1) break;\n                            iVar6 = iVar6 + -1;\n                          } while (iVar6 != 0);\n                          iVar6 = uVar36 - 0x9a;\n                          pIVar8 = (Image *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar6,1);\n                          pcVar10 = local_10d0->filename;\n                          if (pIVar8 != (Image *)0x0) {\n                            uVar32 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar6,pIVar8,&destination);\n                            if (destination._0_4_ == iVar6) {\n                              iVar6 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar6 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pcVar10);\n                              unaff_s3 = (ImageInfo *)\n                                         (*(code *)PTR_BlobToImage_003a9330)\n                                                   (iVar6,uVar32,destination._0_4_,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar6);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x5d5;\n                            uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                            unaff_s7 = pIVar8;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x5d0;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar11 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        pcVar10 = unaff_s3->size;\n                        if (pcVar10 < (char *)unaff_s0->columns) {\n                          pcVar10 = (char *)unaff_s0->columns;\n                        }\n                        dVar40 = (double)(int)pcVar10;\n                        if ((int)pcVar10 < 0) {\n                          dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        pcVar24 = (char *)unaff_s0->rows;\n                        pcVar10 = unaff_s3->extract;\n                        if (pcVar10 < pcVar24) {\n                          in_f2_3 = (double)(int)pcVar24;\n                          if ((int)pcVar24 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)pcVar10;\n                          if ((int)pcVar10 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (geometry,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        pcVar10 = (char *)unaff_s0->columns;\n                        if ((char *)unaff_s0->columns <= unaff_s3->size) {\n                          pcVar10 = unaff_s3->size;\n                        }\n                        pcVar24 = unaff_s3->extract;\n                        if (unaff_s3->extract < (char *)unaff_s0->rows) {\n                          pcVar24 = (char *)unaff_s0->rows;\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,pcVar10,pcVar24,local_10d8,dVar40,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,unaff_s3->orientation,local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,unaff_s3,0xd,1);\n                        puVar15 = PTR_DestroyImage_003a8f4c;\n                        unaff_s0->compression = unaff_s3->temporary;\n                        unaff_s3 = (ImageInfo *)(*(code *)puVar15)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pIVar35 = unaff_s3;\n                    pIVar9 = unaff_s7;\n                    if ((unaff_s7 == (Image *)0xff) ||\n                       (pIVar35 = unaff_s3, unaff_s7 == (Image *)0xffff)) goto LAB_00274430;\n                    if ((unaff_s7[-1].magick + 0xfc8 < (char *)0x2f) ||\n                       (unaff_s7[-3].magick_filename + 0x748 < (char *)0x7f00)) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44)) {\n                        if (uVar36 != 0) {\n                          uVar37 = 0;\n                          do {\n                            iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar6 == -1) break;\n                            uVar37 = uVar37 + 1;\n                          } while (uVar36 != uVar37);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x5f8;\n                    }\n                    else {\n                      if ((char *)0x7eff < unaff_s7[-1].magick + 0xf98) goto LAB_002744b8;\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar44)) {\n                        uVar36 = 0;\n                        do {\n                          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar6 == -1) break;\n                          uVar36 = uVar36 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar36);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x606;\n                    }\nLAB_00275880:\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_s_courses_003a88ec + 0x4a0;\n                    pIVar9 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar6 = 0x18;\n              do {\n                iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar16 == -1) break;\n                iVar6 = iVar6 + -1;\n              } while (iVar6 != 0);\n            } while( true );" statement_identifier : (do_statement "do {\n              pIVar9 = (Image *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pIVar35 = local_10d0;\n              if ((pIVar9 != (Image *)0x0) ||\n                 (((local_10d0->ping != MagickFalse && (local_10d0->number_scenes != 0)) &&\n                  ((local_10d0->number_scenes + local_10d0->scene) - 1 <= unaff_s0->scene)))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                pIVar8 = (Image *)(*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pIVar35;\n                unaff_s7 = pIVar9;\nLAB_00274228:\n                if (iVar5 == *(int *)puVar4) {\n                  return pIVar8;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), pIVar8 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                pIVar8 = (Image *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                pIVar8 = (Image *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (Image *)((uint)pIVar8 & 0xffff);\n              if (unaff_s7 == (Image *)0x0) {\n                unaff_s7 = (Image *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (Image *)0xa2) {\n                if (unaff_s0->debug != MagickFalse) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)\n                              (PTR_MagickImageList_3__magick_276__003a8948 +\n                              (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_MagickImageList_3__magick_276__003a8948 +\n                                    (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (Image *)0x78) {\n                  if ((Image *)0x6f < unaff_s7) {\n                    uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar6 = 0;\n                    if (0 < (int)(uVar36 - 2)) {\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + 1;\n                      } while (iVar6 != uVar36 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((Image *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (Image *)&DAT_0000001b) {\n                      iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                      (unaff_s0->background_color).red = (double)iVar6;\n                      iVar6 = (*(code *)puVar15)(unaff_s0);\n                      puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                      (unaff_s0->background_color).green = (double)iVar6;\n                      iVar6 = (*(code *)puVar15)(unaff_s0);\n                      (unaff_s0->background_color).blue = (double)iVar6;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if ((Image *)&DAT_00000011 < unaff_s7) {\n                    iVar16 = 8;\n                    iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar12 == -1) break;\n                      iVar16 = iVar16 + -1;\n                    } while (iVar16 != 0);\n                    if (iVar6 == 2) {\n                      iVar6 = 5;\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + -1;\n                      } while (iVar6 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar6 == 1) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44)) {\n                        MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                        if (MVar7 == MagickFalse) {\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x419;\n                        }\n                        else {\n                          MVar7 = ReadPixmap(unaff_s0,&pixmap);\n                          if (MVar7 != MagickFalse) {\n                            unaff_s0->depth = (int)pixmap.component_size;\n                            dVar40 = (double)(int)pixmap.horizontal_resolution;\n                            if ((int)pixmap.horizontal_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).x = dVar40;\n                            puVar15 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar40 = (double)(int)pixmap.vertical_resolution;\n                            if ((int)pixmap.vertical_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).y = dVar40;\n                            unaff_s0->units = PixelsPerInchResolution;\n                            (*(code *)puVar15)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44))\n                            {\n                              iVar6 = 0;\n                              do {\n                                iVar6 = iVar6 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar6 != uVar36 + 1);\n                              uVar37 = (int)frame.bottom - (int)frame.top;\n                              iVar6 = (int)frame.right - (int)frame.left;\n                              if (pixmap.bits_per_pixel < 9) {\n                                uVar36 = uVar36 & 0x7fff;\n                              }\n                              else if (pixmap.bits_per_pixel == 0x10) {\n                                uVar37 = uVar37 * 2;\n                              }\n                              if (uVar36 != 0) {\n                                uVar37 = uVar36;\n                              }\n                              if (uVar37 < 8) {\n                                if (0 < (int)(uVar37 * iVar6)) {\n                                  iVar16 = 0;\n                                  do {\n                                    iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar12 == -1) break;\n                                    iVar16 = iVar16 + 1;\n                                  } while (uVar37 * iVar6 != iVar16);\n                                }\n                              }\n                              else {\n                                iVar16 = 0;\n                                if (0 < iVar6) {\n                                  do {\n                                    iVar12 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar12 != 0) break;\n                                    if (uVar37 < 0xc9) {\n                                      uVar36 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) &&\n                                       ((uint)uVar44 < uVar36)) {\n                                      if (unaff_s3 != (ImageInfo *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar38 = 0;\n                                    if (0 < (int)uVar36) {\n                                      do {\n                                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar12 == -1) break;\n                                        uVar38 = uVar38 + 1;\n                                      } while (uVar36 != uVar38);\n                                    }\n                                    iVar16 = iVar16 + 1;\n                                  } while (iVar6 != iVar16);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x413;\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    pIVar9 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (Image *)0x1) goto LAB_002752a0;\n                  uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar36 != 10) {\n                    if (0 < (int)(uVar36 - 2)) {\n                      iVar6 = 0;\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + 1;\n                      } while (uVar36 - 2 != iVar6);\n                    }\n                    goto LAB_00274594;\n                  }\n                  MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                  puVar15 = PTR_SetImageExtent_003a94ac;\n                  if (MVar7 == MagickFalse) {\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((frame.left < 0) || (frame.top < 0)) goto LAB_00274594;\n                  sVar26 = (int)frame.right - (int)frame.left;\n                  sVar31 = (int)frame.bottom - (int)frame.top;\n                  unaff_s0->columns = sVar26;\n                  unaff_s0->rows = sVar31;\n                  iVar6 = (*(code *)puVar15)(unaff_s0,sVar26,sVar31,local_10d8);\n                  if ((iVar6 != 0) &&\n                     (iVar6 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar6 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  pIVar8 = (Image *)(*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((Image *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (Image *)0xa1) {\n                    iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar36 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = 4;\n                      if (uVar36 < 5) {\n                        uVar37 = uVar36;\n                      }\n                      iVar16 = uVar36 - uVar37;\n                      if ((iVar16 != 0) &&\n                         (iVar12 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar16,1),\n                         iVar12 != 0)) {\n                        iVar33 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar16,iVar12);\n                        if (iVar16 != iVar33) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x570;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar11 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar6 == 0xe0) {\n                          uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);\n                          iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar32,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);\n                          if (iVar6 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar6 == 0x1f2) {\n                          uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);\n                          iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar32,local_10d8);\n                          if (iVar6 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar6 = *(int *)(PTR_MagickImageList_3__magick_276__003a8948 +\n                                  (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar6 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar16 = 0;\n                    if (0 < iVar6) {\n                      do {\n                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar12 == -1) break;\n                        iVar16 = iVar16 + 1;\n                      } while (iVar6 != iVar16);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (Image *)0x98) && ((BlobInfo **)0x1 < &unaff_s7[-1].blob))\n                goto LAB_002752a0;\n                bVar3 = unaff_s7[-1].magick + 0xffe < (char *)0x2;\n                if (bVar3) {\n                  uVar36 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                if (MVar7 != MagickFalse) {\n                  pIVar9 = (Image *)(*(code *)PTR_CloneImage_003a9830)\n                                              (unaff_s0,(int)frame.right - (int)frame.left,\n                                               (int)frame.bottom - (int)frame.top,1);\n                  if (pIVar9 == (Image *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(pIVar9,local_10d8);\n                  if ((bVar3) || ((uVar36 & 0x8000) != 0)) {\n                    MVar7 = ReadPixmap(unaff_s0,&pixmap);\n                    if (MVar7 != MagickFalse) {\n                      pIVar9->depth = (int)pixmap.component_size;\n                      puVar15 = PTR_SetImageAlpha_003a8c78;\n                      dVar40 = (double)(int)pixmap.horizontal_resolution;\n                      if ((int)pixmap.horizontal_resolution < 0) {\n                        dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar39 = (double)(int)pixmap.vertical_resolution;\n                      if ((int)pixmap.vertical_resolution < 0) {\n                        dVar39 = dVar39 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (pixmap.component_count == 4) {\n                        pIVar9->alpha_trait = BlendPixelTrait;\n                        pIVar9->units = PixelsPerInchResolution;\n                        puVar25 = PTR_LAB_003a88e0;\n                        (pIVar9->resolution).x = dVar40;\n                        (pIVar9->resolution).y = dVar39;\n                        (*(code *)puVar15)(pIVar9,*(undefined4 *)(puVar25 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        (pIVar9->resolution).x = dVar40;\n                        pIVar9->alpha_trait = UndefinedPixelTrait;\n                        (pIVar9->resolution).y = dVar39;\n                        pIVar9->units = PixelsPerInchResolution;\n                      }\n                      if (!bVar3) {\n                        pIVar9->colors = 2;\n                        if ((uVar36 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar18 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar15 = PTR_AcquireImageColormap_003a9194;\n                        pIVar9->colors = iVar6 + 1U;\n                        iVar6 = (*(code *)puVar15)(pIVar9,iVar6 + 1U,local_10d8);\n                        if (iVar6 == 0) goto LAB_002756e4;\n                        if (0 < (int)pIVar9->colors) {\n                          uVar37 = 0;\n                          do {\n                            uVar17 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar38 = uVar37;\n                            if (-1 < sVar18) {\n                              if (pIVar9->colors == 0) {\n                                trap(7);\n                              }\n                              uVar38 = uVar17 % pIVar9->colors;\n                            }\n                            uVar37 = uVar37 + 1;\n                            iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                            pIVar9->colormap[uVar38].red = (double)iVar6;\n                            iVar6 = (*(code *)puVar15)(unaff_s0);\n                            puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                            pIVar9->colormap[uVar38].green = (double)iVar6;\n                            iVar6 = (*(code *)puVar15)(unaff_s0);\n                            sVar26 = pIVar9->colors;\n                            unaff_s3 = (ImageInfo *)(pIVar9->colormap + uVar38);\n                            *(double *)&unaff_s3->endian = (double)iVar6;\n                          } while ((int)uVar37 < (int)sVar26);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x49e;\n                    unaff_s7 = pIVar9;\n                    goto LAB_002757bc;\n                  }\n                  pIVar9->colors = 2;\nLAB_0027565c:\n                  iVar6 = (*(code *)PTR_AcquireImageColormap_003a9194)(pIVar9,2,local_10d8);\n                  if (iVar6 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x4b8;\n                    unaff_s7 = pIVar9;\nLAB_00275720:\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar11 = 400;\n                    goto LAB_00275084;\n                  }\n                  sVar26 = pIVar9->colors;\n                  if (0 < (int)sVar26) {\n                    pPVar29 = pIVar9->colormap;\n                    pMVar13 = &pPVar29->red;\n                    do {\n                      pMVar14 = pMVar13 + 0xb;\n                      *pMVar13 = (double)(float)(in_f20_21 - *pMVar13);\n                      pMVar13[1] = (double)(float)(in_f20_21 - pMVar13[1]);\n                      pMVar13[2] = (double)(float)(in_f20_21 - pMVar13[2]);\n                      pMVar13 = pMVar14;\n                    } while (pMVar14 != &pPVar29[sVar26].red);\n                  }\nLAB_00274838:\n                  iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar6 == 0) {\n                    MVar7 = ReadRectangle(unaff_s0,&source);\n                    if (MVar7 == MagickFalse) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x4d9;\n                      unaff_s7 = pIVar9;\n                    }\n                    else {\n                      MVar7 = ReadRectangle(unaff_s0,&destination);\n                      if (MVar7 != MagickFalse) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)pIVar8 & 0xfff7) == 0x91) || (unaff_s7 == (Image *)0x9b)) {\n                          uVar37 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar37)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x4e5;\n                            unaff_s7 = pIVar9;\n                            goto LAB_00275880;\n                          }\n                          iVar6 = 0;\n                          if (0 < (int)(uVar37 - 2)) {\n                            do {\n                              iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar16 == -1) break;\n                              iVar6 = iVar6 + 1;\n                            } while (uVar37 - 2 != iVar6);\n                          }\n                        }\n                        if ((bVar3) || ((uVar36 & 0x8000) != 0)) {\n                          uVar37 = (uint)pixmap.bits_per_pixel;\n                        }\n                        else {\n                          uVar37 = 1;\n                        }\n                        unaff_s3 = (ImageInfo *)DecodeImage(unaff_s0,pIVar9,uVar36,uVar37,&extent);\n                        if (unaff_s3 == (ImageInfo *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x4f2;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if ((int)pIVar9->rows < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar6 == 0)) &&\n                               ((bVar3 || ((uVar36 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,pIVar9,0xd,1);\n                            }\n                            unaff_s3 = (ImageInfo *)(*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <=\n                              (ImageInfo *)\n                              ((int)&unaff_s3->compression + unaff_s0->columns + extent)) {\n                            local_10b0 = 0;\n                            uVar37 = 0;\n                            pIVar35 = unaff_s3;\n                            do {\n                              iVar6 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (pIVar9,0,uVar37,pIVar9->columns);\n                              if (iVar6 == 0) goto LAB_00276500;\n                              sVar26 = pIVar9->columns;\n                              if (0 < (int)sVar26) {\n                                iVar16 = 0;\n                                dVar39 = *(double *)(local_10ac + -0x5af0);\n                                dVar40 = dVar39;\n                                do {\n                                  if (pIVar9->storage_class == PseudoClass) {\n                                    if ((int)(uint)(byte)*(undefined1 *)&pIVar35->compression <\n                                        (int)pIVar9->colors) {\n                                      fVar41 = (float)(byte)*(undefined1 *)&pIVar35->compression;\n                                      iVar12 = (int)fVar41 * 0x58;\n                                    }\n                                    else if (local_10d8->severity == CorruptImageError) {\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23);\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                      sVar26 = pIVar9->columns;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    if (pPVar28[5].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[5].offset * 4) = fVar41;\n                                    }\n                                    pPVar29 = pIVar9->colormap;\n                                    iVar23 = pPVar28[1].offset;\n                                    iVar33 = pPVar28[2].offset;\n                                    dVar43 = *(double *)((int)&pPVar29->green + iVar12);\n                                    dVar42 = *(double *)((int)&pPVar29->blue + iVar12);\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)*(double *)((int)&pPVar29->red + iVar12);\n                                    *(float *)(iVar6 + iVar23 * 4) = (float)dVar43;\n                                    *(float *)(iVar6 + iVar33 * 4) = (float)dVar42;\n                                  }\n                                  else if (pixmap.bits_per_pixel == 0x10) {\n                                    bVar1 = *(byte *)((int)&pIVar35->compression + 1);\n                                    pPVar28 = pIVar9->channel_map;\n                                    uVar2 = *(undefined1 *)&pIVar35->compression;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(((byte)uVar2 & 0x7c) << 1) * dVar40);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | ((byte)uVar2 & 3) << 6\n                                                         ) * dVar40);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar40);\n                                    pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  }\n                                  else if (pIVar9->alpha_trait == UndefinedPixelTrait) {\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 2 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(byte)*(undefined1 *)&pIVar35->compression\n                                                * dVar39);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar27 * dVar39);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar27[sVar26] * dVar39);\n                                  }\n                                  else {\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 3 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if (pPVar28[4].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[4].offset * 4) =\n                                           (float)((double)(byte)*(undefined1 *)\n                                                                  &pIVar35->compression * in_f22_23)\n                                      ;\n                                    }\n                                    pbVar34 = pbVar27 + sVar26;\n                                    dVar42 = *(double *)(local_10ac + -0x5af0);\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)*pbVar27 * dVar42);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar34 * dVar42);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar34[sVar26] * dVar42);\n                                  }\n                                  iVar16 = iVar16 + 1;\n                                  pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  iVar6 = iVar6 + pIVar9->number_channels * 4;\n                                } while (iVar16 < (int)sVar26);\n                              }\n                              iVar6 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar9,local_10d8)\n                              ;\n                              if (((iVar6 == 0) ||\n                                  (((pIVar9->storage_class == DirectClass &&\n                                    (pixmap.bits_per_pixel != 0x10)) &&\n                                   (pIVar35 = (ImageInfo *)\n                                              ((int)&pIVar35->compression +\n                                              (pixmap.component_count + -1) * pIVar9->columns),\n                                   pIVar35 < unaff_s3)))) ||\n                                 ((iVar6 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar37), iVar6 == 0 ||\n                                  (uVar38 = uVar37 + 1, (int)pIVar9->rows <= (int)uVar38))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar38 < uVar37) + local_10b0;\n                              uVar37 = uVar38;\n                            } while (pIVar35 <=\n                                     (ImageInfo *)\n                                     ((int)&unaff_s3->compression + unaff_s0->columns + extent));\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x4fc;\n                          unaff_s7 = pIVar9;\nLAB_0027504c:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          pIVar9 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x4db;\n                      unaff_s7 = pIVar9;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar32 = 0x4d7;\n                  unaff_s7 = pIVar9;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (ImageInfo *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar32 = 0x491;\nLAB_002757bc:\n                puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar15 = PTR_s_courses_003a88ec + -400;\n                pIVar9 = unaff_s7;\nLAB_0027507c:\n                uVar11 = 0x1a9;\n                unaff_s7 = pIVar9;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar25,puVar30,uVar32,uVar11,puVar15,uVar44);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                pIVar8 = (Image *)0x0;\n                goto LAB_00274228;\n              }\n              if (unaff_s0->debug != MagickFalse) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3);\n              }\n              if (unaff_s7 != (Image *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7[-1].magick + 0xfe8) {\nLAB_00274594:\n                  if ((char *)0xff < unaff_s7[-3].magick_filename + 0x848) {\n                    if (unaff_s7 == (Image *)0x8200) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                        if (unaff_s3 != (ImageInfo *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar32 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar6 = 6;\n                      if (0x9a < uVar36) {\n                        do {\n                          iVar6 = iVar6 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar6 != 0);\n                        MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                        if (MVar7 == MagickFalse) {\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x5c8;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\nLAB_00275b88:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_courses_003a88ec + -400;\n                          uVar11 = 0x1a9;\n                        }\n                        else {\n                          iVar6 = 0x7a;\n                          do {\n                            iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar16 == -1) break;\n                            iVar6 = iVar6 + -1;\n                          } while (iVar6 != 0);\n                          iVar6 = uVar36 - 0x9a;\n                          pIVar8 = (Image *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar6,1);\n                          pcVar10 = local_10d0->filename;\n                          if (pIVar8 != (Image *)0x0) {\n                            uVar32 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar6,pIVar8,&destination);\n                            if (destination._0_4_ == iVar6) {\n                              iVar6 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar6 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pcVar10);\n                              unaff_s3 = (ImageInfo *)\n                                         (*(code *)PTR_BlobToImage_003a9330)\n                                                   (iVar6,uVar32,destination._0_4_,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar6);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x5d5;\n                            uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                            unaff_s7 = pIVar8;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x5d0;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar11 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        pcVar10 = unaff_s3->size;\n                        if (pcVar10 < (char *)unaff_s0->columns) {\n                          pcVar10 = (char *)unaff_s0->columns;\n                        }\n                        dVar40 = (double)(int)pcVar10;\n                        if ((int)pcVar10 < 0) {\n                          dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        pcVar24 = (char *)unaff_s0->rows;\n                        pcVar10 = unaff_s3->extract;\n                        if (pcVar10 < pcVar24) {\n                          in_f2_3 = (double)(int)pcVar24;\n                          if ((int)pcVar24 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)pcVar10;\n                          if ((int)pcVar10 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (geometry,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        pcVar10 = (char *)unaff_s0->columns;\n                        if ((char *)unaff_s0->columns <= unaff_s3->size) {\n                          pcVar10 = unaff_s3->size;\n                        }\n                        pcVar24 = unaff_s3->extract;\n                        if (unaff_s3->extract < (char *)unaff_s0->rows) {\n                          pcVar24 = (char *)unaff_s0->rows;\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,pcVar10,pcVar24,local_10d8,dVar40,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,unaff_s3->orientation,local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,unaff_s3,0xd,1);\n                        puVar15 = PTR_DestroyImage_003a8f4c;\n                        unaff_s0->compression = unaff_s3->temporary;\n                        unaff_s3 = (ImageInfo *)(*(code *)puVar15)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pIVar35 = unaff_s3;\n                    pIVar9 = unaff_s7;\n                    if ((unaff_s7 == (Image *)0xff) ||\n                       (pIVar35 = unaff_s3, unaff_s7 == (Image *)0xffff)) goto LAB_00274430;\n                    if ((unaff_s7[-1].magick + 0xfc8 < (char *)0x2f) ||\n                       (unaff_s7[-3].magick_filename + 0x748 < (char *)0x7f00)) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44)) {\n                        if (uVar36 != 0) {\n                          uVar37 = 0;\n                          do {\n                            iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar6 == -1) break;\n                            uVar37 = uVar37 + 1;\n                          } while (uVar36 != uVar37);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x5f8;\n                    }\n                    else {\n                      if ((char *)0x7eff < unaff_s7[-1].magick + 0xf98) goto LAB_002744b8;\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar44)) {\n                        uVar36 = 0;\n                        do {\n                          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar6 == -1) break;\n                          uVar36 = uVar36 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar36);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x606;\n                    }\nLAB_00275880:\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_s_courses_003a88ec + 0x4a0;\n                    pIVar9 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar6 = 0x18;\n              do {\n                iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar16 == -1) break;\n                iVar6 = iVar6 + -1;\n              } while (iVar6 != 0);\n            } while( true );" do (compound_statement "{\n              pIVar9 = (Image *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pIVar35 = local_10d0;\n              if ((pIVar9 != (Image *)0x0) ||\n                 (((local_10d0->ping != MagickFalse && (local_10d0->number_scenes != 0)) &&\n                  ((local_10d0->number_scenes + local_10d0->scene) - 1 <= unaff_s0->scene)))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                pIVar8 = (Image *)(*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pIVar35;\n                unaff_s7 = pIVar9;\nLAB_00274228:\n                if (iVar5 == *(int *)puVar4) {\n                  return pIVar8;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), pIVar8 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                pIVar8 = (Image *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                pIVar8 = (Image *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (Image *)((uint)pIVar8 & 0xffff);\n              if (unaff_s7 == (Image *)0x0) {\n                unaff_s7 = (Image *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (Image *)0xa2) {\n                if (unaff_s0->debug != MagickFalse) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)\n                              (PTR_MagickImageList_3__magick_276__003a8948 +\n                              (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_MagickImageList_3__magick_276__003a8948 +\n                                    (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (Image *)0x78) {\n                  if ((Image *)0x6f < unaff_s7) {\n                    uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar6 = 0;\n                    if (0 < (int)(uVar36 - 2)) {\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + 1;\n                      } while (iVar6 != uVar36 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((Image *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (Image *)&DAT_0000001b) {\n                      iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                      (unaff_s0->background_color).red = (double)iVar6;\n                      iVar6 = (*(code *)puVar15)(unaff_s0);\n                      puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                      (unaff_s0->background_color).green = (double)iVar6;\n                      iVar6 = (*(code *)puVar15)(unaff_s0);\n                      (unaff_s0->background_color).blue = (double)iVar6;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if ((Image *)&DAT_00000011 < unaff_s7) {\n                    iVar16 = 8;\n                    iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar12 == -1) break;\n                      iVar16 = iVar16 + -1;\n                    } while (iVar16 != 0);\n                    if (iVar6 == 2) {\n                      iVar6 = 5;\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + -1;\n                      } while (iVar6 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar6 == 1) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44)) {\n                        MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                        if (MVar7 == MagickFalse) {\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x419;\n                        }\n                        else {\n                          MVar7 = ReadPixmap(unaff_s0,&pixmap);\n                          if (MVar7 != MagickFalse) {\n                            unaff_s0->depth = (int)pixmap.component_size;\n                            dVar40 = (double)(int)pixmap.horizontal_resolution;\n                            if ((int)pixmap.horizontal_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).x = dVar40;\n                            puVar15 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar40 = (double)(int)pixmap.vertical_resolution;\n                            if ((int)pixmap.vertical_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).y = dVar40;\n                            unaff_s0->units = PixelsPerInchResolution;\n                            (*(code *)puVar15)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44))\n                            {\n                              iVar6 = 0;\n                              do {\n                                iVar6 = iVar6 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar6 != uVar36 + 1);\n                              uVar37 = (int)frame.bottom - (int)frame.top;\n                              iVar6 = (int)frame.right - (int)frame.left;\n                              if (pixmap.bits_per_pixel < 9) {\n                                uVar36 = uVar36 & 0x7fff;\n                              }\n                              else if (pixmap.bits_per_pixel == 0x10) {\n                                uVar37 = uVar37 * 2;\n                              }\n                              if (uVar36 != 0) {\n                                uVar37 = uVar36;\n                              }\n                              if (uVar37 < 8) {\n                                if (0 < (int)(uVar37 * iVar6)) {\n                                  iVar16 = 0;\n                                  do {\n                                    iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar12 == -1) break;\n                                    iVar16 = iVar16 + 1;\n                                  } while (uVar37 * iVar6 != iVar16);\n                                }\n                              }\n                              else {\n                                iVar16 = 0;\n                                if (0 < iVar6) {\n                                  do {\n                                    iVar12 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar12 != 0) break;\n                                    if (uVar37 < 0xc9) {\n                                      uVar36 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) &&\n                                       ((uint)uVar44 < uVar36)) {\n                                      if (unaff_s3 != (ImageInfo *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar38 = 0;\n                                    if (0 < (int)uVar36) {\n                                      do {\n                                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar12 == -1) break;\n                                        uVar38 = uVar38 + 1;\n                                      } while (uVar36 != uVar38);\n                                    }\n                                    iVar16 = iVar16 + 1;\n                                  } while (iVar6 != iVar16);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x413;\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    pIVar9 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (Image *)0x1) goto LAB_002752a0;\n                  uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar36 != 10) {\n                    if (0 < (int)(uVar36 - 2)) {\n                      iVar6 = 0;\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + 1;\n                      } while (uVar36 - 2 != iVar6);\n                    }\n                    goto LAB_00274594;\n                  }\n                  MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                  puVar15 = PTR_SetImageExtent_003a94ac;\n                  if (MVar7 == MagickFalse) {\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((frame.left < 0) || (frame.top < 0)) goto LAB_00274594;\n                  sVar26 = (int)frame.right - (int)frame.left;\n                  sVar31 = (int)frame.bottom - (int)frame.top;\n                  unaff_s0->columns = sVar26;\n                  unaff_s0->rows = sVar31;\n                  iVar6 = (*(code *)puVar15)(unaff_s0,sVar26,sVar31,local_10d8);\n                  if ((iVar6 != 0) &&\n                     (iVar6 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar6 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  pIVar8 = (Image *)(*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((Image *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (Image *)0xa1) {\n                    iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar36 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = 4;\n                      if (uVar36 < 5) {\n                        uVar37 = uVar36;\n                      }\n                      iVar16 = uVar36 - uVar37;\n                      if ((iVar16 != 0) &&\n                         (iVar12 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar16,1),\n                         iVar12 != 0)) {\n                        iVar33 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar16,iVar12);\n                        if (iVar16 != iVar33) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x570;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar11 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar6 == 0xe0) {\n                          uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);\n                          iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar32,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);\n                          if (iVar6 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar6 == 0x1f2) {\n                          uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);\n                          iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar32,local_10d8);\n                          if (iVar6 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar6 = *(int *)(PTR_MagickImageList_3__magick_276__003a8948 +\n                                  (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar6 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar16 = 0;\n                    if (0 < iVar6) {\n                      do {\n                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar12 == -1) break;\n                        iVar16 = iVar16 + 1;\n                      } while (iVar6 != iVar16);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (Image *)0x98) && ((BlobInfo **)0x1 < &unaff_s7[-1].blob))\n                goto LAB_002752a0;\n                bVar3 = unaff_s7[-1].magick + 0xffe < (char *)0x2;\n                if (bVar3) {\n                  uVar36 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                if (MVar7 != MagickFalse) {\n                  pIVar9 = (Image *)(*(code *)PTR_CloneImage_003a9830)\n                                              (unaff_s0,(int)frame.right - (int)frame.left,\n                                               (int)frame.bottom - (int)frame.top,1);\n                  if (pIVar9 == (Image *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(pIVar9,local_10d8);\n                  if ((bVar3) || ((uVar36 & 0x8000) != 0)) {\n                    MVar7 = ReadPixmap(unaff_s0,&pixmap);\n                    if (MVar7 != MagickFalse) {\n                      pIVar9->depth = (int)pixmap.component_size;\n                      puVar15 = PTR_SetImageAlpha_003a8c78;\n                      dVar40 = (double)(int)pixmap.horizontal_resolution;\n                      if ((int)pixmap.horizontal_resolution < 0) {\n                        dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar39 = (double)(int)pixmap.vertical_resolution;\n                      if ((int)pixmap.vertical_resolution < 0) {\n                        dVar39 = dVar39 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (pixmap.component_count == 4) {\n                        pIVar9->alpha_trait = BlendPixelTrait;\n                        pIVar9->units = PixelsPerInchResolution;\n                        puVar25 = PTR_LAB_003a88e0;\n                        (pIVar9->resolution).x = dVar40;\n                        (pIVar9->resolution).y = dVar39;\n                        (*(code *)puVar15)(pIVar9,*(undefined4 *)(puVar25 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        (pIVar9->resolution).x = dVar40;\n                        pIVar9->alpha_trait = UndefinedPixelTrait;\n                        (pIVar9->resolution).y = dVar39;\n                        pIVar9->units = PixelsPerInchResolution;\n                      }\n                      if (!bVar3) {\n                        pIVar9->colors = 2;\n                        if ((uVar36 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar18 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar15 = PTR_AcquireImageColormap_003a9194;\n                        pIVar9->colors = iVar6 + 1U;\n                        iVar6 = (*(code *)puVar15)(pIVar9,iVar6 + 1U,local_10d8);\n                        if (iVar6 == 0) goto LAB_002756e4;\n                        if (0 < (int)pIVar9->colors) {\n                          uVar37 = 0;\n                          do {\n                            uVar17 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar38 = uVar37;\n                            if (-1 < sVar18) {\n                              if (pIVar9->colors == 0) {\n                                trap(7);\n                              }\n                              uVar38 = uVar17 % pIVar9->colors;\n                            }\n                            uVar37 = uVar37 + 1;\n                            iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                            pIVar9->colormap[uVar38].red = (double)iVar6;\n                            iVar6 = (*(code *)puVar15)(unaff_s0);\n                            puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                            pIVar9->colormap[uVar38].green = (double)iVar6;\n                            iVar6 = (*(code *)puVar15)(unaff_s0);\n                            sVar26 = pIVar9->colors;\n                            unaff_s3 = (ImageInfo *)(pIVar9->colormap + uVar38);\n                            *(double *)&unaff_s3->endian = (double)iVar6;\n                          } while ((int)uVar37 < (int)sVar26);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x49e;\n                    unaff_s7 = pIVar9;\n                    goto LAB_002757bc;\n                  }\n                  pIVar9->colors = 2;\nLAB_0027565c:\n                  iVar6 = (*(code *)PTR_AcquireImageColormap_003a9194)(pIVar9,2,local_10d8);\n                  if (iVar6 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x4b8;\n                    unaff_s7 = pIVar9;\nLAB_00275720:\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar11 = 400;\n                    goto LAB_00275084;\n                  }\n                  sVar26 = pIVar9->colors;\n                  if (0 < (int)sVar26) {\n                    pPVar29 = pIVar9->colormap;\n                    pMVar13 = &pPVar29->red;\n                    do {\n                      pMVar14 = pMVar13 + 0xb;\n                      *pMVar13 = (double)(float)(in_f20_21 - *pMVar13);\n                      pMVar13[1] = (double)(float)(in_f20_21 - pMVar13[1]);\n                      pMVar13[2] = (double)(float)(in_f20_21 - pMVar13[2]);\n                      pMVar13 = pMVar14;\n                    } while (pMVar14 != &pPVar29[sVar26].red);\n                  }\nLAB_00274838:\n                  iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar6 == 0) {\n                    MVar7 = ReadRectangle(unaff_s0,&source);\n                    if (MVar7 == MagickFalse) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x4d9;\n                      unaff_s7 = pIVar9;\n                    }\n                    else {\n                      MVar7 = ReadRectangle(unaff_s0,&destination);\n                      if (MVar7 != MagickFalse) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)pIVar8 & 0xfff7) == 0x91) || (unaff_s7 == (Image *)0x9b)) {\n                          uVar37 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar37)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x4e5;\n                            unaff_s7 = pIVar9;\n                            goto LAB_00275880;\n                          }\n                          iVar6 = 0;\n                          if (0 < (int)(uVar37 - 2)) {\n                            do {\n                              iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar16 == -1) break;\n                              iVar6 = iVar6 + 1;\n                            } while (uVar37 - 2 != iVar6);\n                          }\n                        }\n                        if ((bVar3) || ((uVar36 & 0x8000) != 0)) {\n                          uVar37 = (uint)pixmap.bits_per_pixel;\n                        }\n                        else {\n                          uVar37 = 1;\n                        }\n                        unaff_s3 = (ImageInfo *)DecodeImage(unaff_s0,pIVar9,uVar36,uVar37,&extent);\n                        if (unaff_s3 == (ImageInfo *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x4f2;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if ((int)pIVar9->rows < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar6 == 0)) &&\n                               ((bVar3 || ((uVar36 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,pIVar9,0xd,1);\n                            }\n                            unaff_s3 = (ImageInfo *)(*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <=\n                              (ImageInfo *)\n                              ((int)&unaff_s3->compression + unaff_s0->columns + extent)) {\n                            local_10b0 = 0;\n                            uVar37 = 0;\n                            pIVar35 = unaff_s3;\n                            do {\n                              iVar6 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (pIVar9,0,uVar37,pIVar9->columns);\n                              if (iVar6 == 0) goto LAB_00276500;\n                              sVar26 = pIVar9->columns;\n                              if (0 < (int)sVar26) {\n                                iVar16 = 0;\n                                dVar39 = *(double *)(local_10ac + -0x5af0);\n                                dVar40 = dVar39;\n                                do {\n                                  if (pIVar9->storage_class == PseudoClass) {\n                                    if ((int)(uint)(byte)*(undefined1 *)&pIVar35->compression <\n                                        (int)pIVar9->colors) {\n                                      fVar41 = (float)(byte)*(undefined1 *)&pIVar35->compression;\n                                      iVar12 = (int)fVar41 * 0x58;\n                                    }\n                                    else if (local_10d8->severity == CorruptImageError) {\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23);\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                      sVar26 = pIVar9->columns;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    if (pPVar28[5].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[5].offset * 4) = fVar41;\n                                    }\n                                    pPVar29 = pIVar9->colormap;\n                                    iVar23 = pPVar28[1].offset;\n                                    iVar33 = pPVar28[2].offset;\n                                    dVar43 = *(double *)((int)&pPVar29->green + iVar12);\n                                    dVar42 = *(double *)((int)&pPVar29->blue + iVar12);\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)*(double *)((int)&pPVar29->red + iVar12);\n                                    *(float *)(iVar6 + iVar23 * 4) = (float)dVar43;\n                                    *(float *)(iVar6 + iVar33 * 4) = (float)dVar42;\n                                  }\n                                  else if (pixmap.bits_per_pixel == 0x10) {\n                                    bVar1 = *(byte *)((int)&pIVar35->compression + 1);\n                                    pPVar28 = pIVar9->channel_map;\n                                    uVar2 = *(undefined1 *)&pIVar35->compression;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(((byte)uVar2 & 0x7c) << 1) * dVar40);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | ((byte)uVar2 & 3) << 6\n                                                         ) * dVar40);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar40);\n                                    pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  }\n                                  else if (pIVar9->alpha_trait == UndefinedPixelTrait) {\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 2 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(byte)*(undefined1 *)&pIVar35->compression\n                                                * dVar39);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar27 * dVar39);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar27[sVar26] * dVar39);\n                                  }\n                                  else {\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 3 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if (pPVar28[4].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[4].offset * 4) =\n                                           (float)((double)(byte)*(undefined1 *)\n                                                                  &pIVar35->compression * in_f22_23)\n                                      ;\n                                    }\n                                    pbVar34 = pbVar27 + sVar26;\n                                    dVar42 = *(double *)(local_10ac + -0x5af0);\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)*pbVar27 * dVar42);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar34 * dVar42);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar34[sVar26] * dVar42);\n                                  }\n                                  iVar16 = iVar16 + 1;\n                                  pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  iVar6 = iVar6 + pIVar9->number_channels * 4;\n                                } while (iVar16 < (int)sVar26);\n                              }\n                              iVar6 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar9,local_10d8)\n                              ;\n                              if (((iVar6 == 0) ||\n                                  (((pIVar9->storage_class == DirectClass &&\n                                    (pixmap.bits_per_pixel != 0x10)) &&\n                                   (pIVar35 = (ImageInfo *)\n                                              ((int)&pIVar35->compression +\n                                              (pixmap.component_count + -1) * pIVar9->columns),\n                                   pIVar35 < unaff_s3)))) ||\n                                 ((iVar6 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar37), iVar6 == 0 ||\n                                  (uVar38 = uVar37 + 1, (int)pIVar9->rows <= (int)uVar38))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar38 < uVar37) + local_10b0;\n                              uVar37 = uVar38;\n                            } while (pIVar35 <=\n                                     (ImageInfo *)\n                                     ((int)&unaff_s3->compression + unaff_s0->columns + extent));\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x4fc;\n                          unaff_s7 = pIVar9;\nLAB_0027504c:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          pIVar9 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x4db;\n                      unaff_s7 = pIVar9;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar32 = 0x4d7;\n                  unaff_s7 = pIVar9;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (ImageInfo *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar32 = 0x491;\nLAB_002757bc:\n                puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar15 = PTR_s_courses_003a88ec + -400;\n                pIVar9 = unaff_s7;\nLAB_0027507c:\n                uVar11 = 0x1a9;\n                unaff_s7 = pIVar9;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar25,puVar30,uVar32,uVar11,puVar15,uVar44);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                pIVar8 = (Image *)0x0;\n                goto LAB_00274228;\n              }\n              if (unaff_s0->debug != MagickFalse) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3);\n              }\n              if (unaff_s7 != (Image *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7[-1].magick + 0xfe8) {\nLAB_00274594:\n                  if ((char *)0xff < unaff_s7[-3].magick_filename + 0x848) {\n                    if (unaff_s7 == (Image *)0x8200) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                        if (unaff_s3 != (ImageInfo *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar32 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar6 = 6;\n                      if (0x9a < uVar36) {\n                        do {\n                          iVar6 = iVar6 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar6 != 0);\n                        MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                        if (MVar7 == MagickFalse) {\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x5c8;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\nLAB_00275b88:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_courses_003a88ec + -400;\n                          uVar11 = 0x1a9;\n                        }\n                        else {\n                          iVar6 = 0x7a;\n                          do {\n                            iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar16 == -1) break;\n                            iVar6 = iVar6 + -1;\n                          } while (iVar6 != 0);\n                          iVar6 = uVar36 - 0x9a;\n                          pIVar8 = (Image *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar6,1);\n                          pcVar10 = local_10d0->filename;\n                          if (pIVar8 != (Image *)0x0) {\n                            uVar32 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar6,pIVar8,&destination);\n                            if (destination._0_4_ == iVar6) {\n                              iVar6 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar6 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pcVar10);\n                              unaff_s3 = (ImageInfo *)\n                                         (*(code *)PTR_BlobToImage_003a9330)\n                                                   (iVar6,uVar32,destination._0_4_,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar6);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x5d5;\n                            uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                            unaff_s7 = pIVar8;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x5d0;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar11 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        pcVar10 = unaff_s3->size;\n                        if (pcVar10 < (char *)unaff_s0->columns) {\n                          pcVar10 = (char *)unaff_s0->columns;\n                        }\n                        dVar40 = (double)(int)pcVar10;\n                        if ((int)pcVar10 < 0) {\n                          dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        pcVar24 = (char *)unaff_s0->rows;\n                        pcVar10 = unaff_s3->extract;\n                        if (pcVar10 < pcVar24) {\n                          in_f2_3 = (double)(int)pcVar24;\n                          if ((int)pcVar24 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)pcVar10;\n                          if ((int)pcVar10 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (geometry,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        pcVar10 = (char *)unaff_s0->columns;\n                        if ((char *)unaff_s0->columns <= unaff_s3->size) {\n                          pcVar10 = unaff_s3->size;\n                        }\n                        pcVar24 = unaff_s3->extract;\n                        if (unaff_s3->extract < (char *)unaff_s0->rows) {\n                          pcVar24 = (char *)unaff_s0->rows;\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,pcVar10,pcVar24,local_10d8,dVar40,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,unaff_s3->orientation,local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,unaff_s3,0xd,1);\n                        puVar15 = PTR_DestroyImage_003a8f4c;\n                        unaff_s0->compression = unaff_s3->temporary;\n                        unaff_s3 = (ImageInfo *)(*(code *)puVar15)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pIVar35 = unaff_s3;\n                    pIVar9 = unaff_s7;\n                    if ((unaff_s7 == (Image *)0xff) ||\n                       (pIVar35 = unaff_s3, unaff_s7 == (Image *)0xffff)) goto LAB_00274430;\n                    if ((unaff_s7[-1].magick + 0xfc8 < (char *)0x2f) ||\n                       (unaff_s7[-3].magick_filename + 0x748 < (char *)0x7f00)) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44)) {\n                        if (uVar36 != 0) {\n                          uVar37 = 0;\n                          do {\n                            iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar6 == -1) break;\n                            uVar37 = uVar37 + 1;\n                          } while (uVar36 != uVar37);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x5f8;\n                    }\n                    else {\n                      if ((char *)0x7eff < unaff_s7[-1].magick + 0xf98) goto LAB_002744b8;\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar44)) {\n                        uVar36 = 0;\n                        do {\n                          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar6 == -1) break;\n                          uVar36 = uVar36 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar36);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x606;\n                    }\nLAB_00275880:\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_s_courses_003a88ec + 0x4a0;\n                    pIVar9 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar6 = 0x18;\n              do {\n                iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar16 == -1) break;\n                iVar6 = iVar6 + -1;\n              } while (iVar6 != 0);\n            }" { (expression_statement "pIVar9 = (Image *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);" (assignment_expression "pIVar9 = (Image *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0)" identifier = (cast_expression "(Image *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0)" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_EOFBlob_003a9748)(unaff_s0)" (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 "(unaff_s0)" ( identifier ))))) ;) (expression_statement "pIVar35 = local_10d0;" (assignment_expression "pIVar35 = local_10d0" identifier = identifier) ;) (if_statement "if ((pIVar9 != (Image *)0x0) ||\n                 (((local_10d0->ping != MagickFalse && (local_10d0->number_scenes != 0)) &&\n                  ((local_10d0->number_scenes + local_10d0->scene) - 1 <= unaff_s0->scene)))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                pIVar8 = (Image *)(*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pIVar35;\n                unaff_s7 = pIVar9;\nLAB_00274228:\n                if (iVar5 == *(int *)puVar4) {\n                  return pIVar8;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }" if (parenthesized_expression "((pIVar9 != (Image *)0x0) ||\n                 (((local_10d0->ping != MagickFalse && (local_10d0->number_scenes != 0)) &&\n                  ((local_10d0->number_scenes + local_10d0->scene) - 1 <= unaff_s0->scene))))" ( (binary_expression "(pIVar9 != (Image *)0x0) ||\n                 (((local_10d0->ping != MagickFalse && (local_10d0->number_scenes != 0)) &&\n                  ((local_10d0->number_scenes + local_10d0->scene) - 1 <= unaff_s0->scene)))" (parenthesized_expression "(pIVar9 != (Image *)0x0)" ( (binary_expression "pIVar9 != (Image *)0x0" identifier != (cast_expression "(Image *)0x0" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(((local_10d0->ping != MagickFalse && (local_10d0->number_scenes != 0)) &&\n                  ((local_10d0->number_scenes + local_10d0->scene) - 1 <= unaff_s0->scene)))" ( (parenthesized_expression "((local_10d0->ping != MagickFalse && (local_10d0->number_scenes != 0)) &&\n                  ((local_10d0->number_scenes + local_10d0->scene) - 1 <= unaff_s0->scene))" ( (binary_expression "(local_10d0->ping != MagickFalse && (local_10d0->number_scenes != 0)) &&\n                  ((local_10d0->number_scenes + local_10d0->scene) - 1 <= unaff_s0->scene)" (parenthesized_expression "(local_10d0->ping != MagickFalse && (local_10d0->number_scenes != 0))" ( (binary_expression "local_10d0->ping != MagickFalse && (local_10d0->number_scenes != 0)" (binary_expression "local_10d0->ping != MagickFalse" (field_expression "local_10d0->ping" identifier -> field_identifier) != identifier) && (parenthesized_expression "(local_10d0->number_scenes != 0)" ( (binary_expression "local_10d0->number_scenes != 0" (field_expression "local_10d0->number_scenes" identifier -> field_identifier) != number_literal) ))) )) && (parenthesized_expression "((local_10d0->number_scenes + local_10d0->scene) - 1 <= unaff_s0->scene)" ( (binary_expression "(local_10d0->number_scenes + local_10d0->scene) - 1 <= unaff_s0->scene" (binary_expression "(local_10d0->number_scenes + local_10d0->scene) - 1" (parenthesized_expression "(local_10d0->number_scenes + local_10d0->scene)" ( (binary_expression "local_10d0->number_scenes + local_10d0->scene" (field_expression "local_10d0->number_scenes" identifier -> field_identifier) + (field_expression "local_10d0->scene" identifier -> field_identifier)) )) - number_literal) <= (field_expression "unaff_s0->scene" identifier -> field_identifier)) ))) )) ))) )) (compound_statement "{\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                pIVar8 = (Image *)(*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pIVar35;\n                unaff_s7 = pIVar9;\nLAB_00274228:\n                if (iVar5 == *(int *)puVar4) {\n                  return pIVar8;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }" { (labeled_statement "LAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);" statement_identifier : (expression_statement "(*(code *)PTR_CloseBlob_003a9688)(unaff_s0);" (call_expression "(*(code *)PTR_CloseBlob_003a9688)(unaff_s0)" (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 "(unaff_s0)" ( identifier ))) ;)) (expression_statement "pIVar8 = (Image *)(*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);" (assignment_expression "pIVar8 = (Image *)(*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0)" identifier = (cast_expression "(Image *)(*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0)" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0)" (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 "(unaff_s0)" ( identifier ))))) ;) (expression_statement "unaff_s3 = pIVar35;" (assignment_expression "unaff_s3 = pIVar35" identifier = identifier) ;) (expression_statement "unaff_s7 = pIVar9;" (assignment_expression "unaff_s7 = pIVar9" identifier = identifier) ;) (labeled_statement "LAB_00274228:\n                if (iVar5 == *(int *)puVar4) {\n                  return pIVar8;\n                }" statement_identifier : (if_statement "if (iVar5 == *(int *)puVar4) {\n                  return pIVar8;\n                }" if (parenthesized_expression "(iVar5 == *(int *)puVar4)" ( (binary_expression "iVar5 == *(int *)puVar4" identifier == (pointer_expression "*(int *)puVar4" * (cast_expression "(int *)puVar4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n                  return pIVar8;\n                }" { (return_statement "return pIVar8;" return identifier ;) }))) (labeled_statement "LAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();" statement_identifier : (expression_statement "local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();" (assignment_expression "local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)()" identifier = (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 "()" ( )))) ;)) (goto_statement "goto LAB_002744b8;" goto statement_identifier ;) })) (if_statement "if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), pIVar8 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                pIVar8 = (Image *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }" if (parenthesized_expression "((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), pIVar8 = unaff_s7,\n                 (extraout_v1 & 1) != 0))" ( (binary_expression "(local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), pIVar8 = unaff_s7,\n                 (extraout_v1 & 1) != 0)" (parenthesized_expression "(local_10d4 == 1)" ( (binary_expression "local_10d4 == 1" identifier == number_literal) )) || (parenthesized_expression "((*(code *)PTR_TellBlob_003a931c)(unaff_s0), pIVar8 = unaff_s7,\n                 (extraout_v1 & 1) != 0)" ( (comma_expression "(*(code *)PTR_TellBlob_003a931c)(unaff_s0), pIVar8 = unaff_s7,\n                 (extraout_v1 & 1) != 0" (call_expression "(*(code *)PTR_TellBlob_003a931c)(unaff_s0)" (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 "(unaff_s0)" ( identifier ))) , (comma_expression "pIVar8 = unaff_s7,\n                 (extraout_v1 & 1) != 0" (assignment_expression "pIVar8 = unaff_s7" identifier = identifier) , (binary_expression "(extraout_v1 & 1) != 0" (parenthesized_expression "(extraout_v1 & 1)" ( (binary_expression "extraout_v1 & 1" identifier & number_literal) )) != number_literal))) ))) )) (compound_statement "{\n                pIVar8 = (Image *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }" { (expression_statement "pIVar8 = (Image *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "pIVar8 = (Image *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (cast_expression "(Image *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier ))))) ;) })) (if_statement "if (local_10d4 == 2) {\n                pIVar8 = (Image *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }" if (parenthesized_expression "(local_10d4 == 2)" ( (binary_expression "local_10d4 == 2" identifier == number_literal) )) (compound_statement "{\n                pIVar8 = (Image *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }" { (expression_statement "pIVar8 = (Image *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);" (assignment_expression "pIVar8 = (Image *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0)" identifier = (cast_expression "(Image *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0)" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBSignedShort_003a9600" * (cast_expression "(code *)PTR_ReadBlobMSBSignedShort_003a9600" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier ))))) ;) })) (expression_statement "unaff_s7 = (Image *)((uint)pIVar8 & 0xffff);" (assignment_expression "unaff_s7 = (Image *)((uint)pIVar8 & 0xffff)" identifier = (cast_expression "(Image *)((uint)pIVar8 & 0xffff)" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)pIVar8 & 0xffff)" ( (binary_expression "(uint)pIVar8 & 0xffff" (cast_expression "(uint)pIVar8" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) )))) ;) (if_statement "if (unaff_s7 == (Image *)0x0) {\n                unaff_s7 = (Image *)0x0;\n                goto LAB_002744b8;\n              }" if (parenthesized_expression "(unaff_s7 == (Image *)0x0)" ( (binary_expression "unaff_s7 == (Image *)0x0" identifier == (cast_expression "(Image *)0x0" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                unaff_s7 = (Image *)0x0;\n                goto LAB_002744b8;\n              }" { (expression_statement "unaff_s7 = (Image *)0x0;" (assignment_expression "unaff_s7 = (Image *)0x0" identifier = (cast_expression "(Image *)0x0" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto LAB_002744b8;" goto statement_identifier ;) })) (if_statement "if (unaff_s7 < (Image *)0xa2) {\n                if (unaff_s0->debug != MagickFalse) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)\n                              (PTR_MagickImageList_3__magick_276__003a8948 +\n                              (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_MagickImageList_3__magick_276__003a8948 +\n                                    (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (Image *)0x78) {\n                  if ((Image *)0x6f < unaff_s7) {\n                    uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar6 = 0;\n                    if (0 < (int)(uVar36 - 2)) {\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + 1;\n                      } while (iVar6 != uVar36 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((Image *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (Image *)&DAT_0000001b) {\n                      iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                      (unaff_s0->background_color).red = (double)iVar6;\n                      iVar6 = (*(code *)puVar15)(unaff_s0);\n                      puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                      (unaff_s0->background_color).green = (double)iVar6;\n                      iVar6 = (*(code *)puVar15)(unaff_s0);\n                      (unaff_s0->background_color).blue = (double)iVar6;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if ((Image *)&DAT_00000011 < unaff_s7) {\n                    iVar16 = 8;\n                    iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar12 == -1) break;\n                      iVar16 = iVar16 + -1;\n                    } while (iVar16 != 0);\n                    if (iVar6 == 2) {\n                      iVar6 = 5;\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + -1;\n                      } while (iVar6 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar6 == 1) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44)) {\n                        MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                        if (MVar7 == MagickFalse) {\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x419;\n                        }\n                        else {\n                          MVar7 = ReadPixmap(unaff_s0,&pixmap);\n                          if (MVar7 != MagickFalse) {\n                            unaff_s0->depth = (int)pixmap.component_size;\n                            dVar40 = (double)(int)pixmap.horizontal_resolution;\n                            if ((int)pixmap.horizontal_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).x = dVar40;\n                            puVar15 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar40 = (double)(int)pixmap.vertical_resolution;\n                            if ((int)pixmap.vertical_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).y = dVar40;\n                            unaff_s0->units = PixelsPerInchResolution;\n                            (*(code *)puVar15)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44))\n                            {\n                              iVar6 = 0;\n                              do {\n                                iVar6 = iVar6 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar6 != uVar36 + 1);\n                              uVar37 = (int)frame.bottom - (int)frame.top;\n                              iVar6 = (int)frame.right - (int)frame.left;\n                              if (pixmap.bits_per_pixel < 9) {\n                                uVar36 = uVar36 & 0x7fff;\n                              }\n                              else if (pixmap.bits_per_pixel == 0x10) {\n                                uVar37 = uVar37 * 2;\n                              }\n                              if (uVar36 != 0) {\n                                uVar37 = uVar36;\n                              }\n                              if (uVar37 < 8) {\n                                if (0 < (int)(uVar37 * iVar6)) {\n                                  iVar16 = 0;\n                                  do {\n                                    iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar12 == -1) break;\n                                    iVar16 = iVar16 + 1;\n                                  } while (uVar37 * iVar6 != iVar16);\n                                }\n                              }\n                              else {\n                                iVar16 = 0;\n                                if (0 < iVar6) {\n                                  do {\n                                    iVar12 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar12 != 0) break;\n                                    if (uVar37 < 0xc9) {\n                                      uVar36 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) &&\n                                       ((uint)uVar44 < uVar36)) {\n                                      if (unaff_s3 != (ImageInfo *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar38 = 0;\n                                    if (0 < (int)uVar36) {\n                                      do {\n                                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar12 == -1) break;\n                                        uVar38 = uVar38 + 1;\n                                      } while (uVar36 != uVar38);\n                                    }\n                                    iVar16 = iVar16 + 1;\n                                  } while (iVar6 != iVar16);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x413;\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    pIVar9 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (Image *)0x1) goto LAB_002752a0;\n                  uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar36 != 10) {\n                    if (0 < (int)(uVar36 - 2)) {\n                      iVar6 = 0;\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + 1;\n                      } while (uVar36 - 2 != iVar6);\n                    }\n                    goto LAB_00274594;\n                  }\n                  MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                  puVar15 = PTR_SetImageExtent_003a94ac;\n                  if (MVar7 == MagickFalse) {\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((frame.left < 0) || (frame.top < 0)) goto LAB_00274594;\n                  sVar26 = (int)frame.right - (int)frame.left;\n                  sVar31 = (int)frame.bottom - (int)frame.top;\n                  unaff_s0->columns = sVar26;\n                  unaff_s0->rows = sVar31;\n                  iVar6 = (*(code *)puVar15)(unaff_s0,sVar26,sVar31,local_10d8);\n                  if ((iVar6 != 0) &&\n                     (iVar6 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar6 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  pIVar8 = (Image *)(*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((Image *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (Image *)0xa1) {\n                    iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar36 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = 4;\n                      if (uVar36 < 5) {\n                        uVar37 = uVar36;\n                      }\n                      iVar16 = uVar36 - uVar37;\n                      if ((iVar16 != 0) &&\n                         (iVar12 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar16,1),\n                         iVar12 != 0)) {\n                        iVar33 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar16,iVar12);\n                        if (iVar16 != iVar33) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x570;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar11 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar6 == 0xe0) {\n                          uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);\n                          iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar32,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);\n                          if (iVar6 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar6 == 0x1f2) {\n                          uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);\n                          iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar32,local_10d8);\n                          if (iVar6 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar6 = *(int *)(PTR_MagickImageList_3__magick_276__003a8948 +\n                                  (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar6 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar16 = 0;\n                    if (0 < iVar6) {\n                      do {\n                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar12 == -1) break;\n                        iVar16 = iVar16 + 1;\n                      } while (iVar6 != iVar16);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (Image *)0x98) && ((BlobInfo **)0x1 < &unaff_s7[-1].blob))\n                goto LAB_002752a0;\n                bVar3 = unaff_s7[-1].magick + 0xffe < (char *)0x2;\n                if (bVar3) {\n                  uVar36 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                if (MVar7 != MagickFalse) {\n                  pIVar9 = (Image *)(*(code *)PTR_CloneImage_003a9830)\n                                              (unaff_s0,(int)frame.right - (int)frame.left,\n                                               (int)frame.bottom - (int)frame.top,1);\n                  if (pIVar9 == (Image *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(pIVar9,local_10d8);\n                  if ((bVar3) || ((uVar36 & 0x8000) != 0)) {\n                    MVar7 = ReadPixmap(unaff_s0,&pixmap);\n                    if (MVar7 != MagickFalse) {\n                      pIVar9->depth = (int)pixmap.component_size;\n                      puVar15 = PTR_SetImageAlpha_003a8c78;\n                      dVar40 = (double)(int)pixmap.horizontal_resolution;\n                      if ((int)pixmap.horizontal_resolution < 0) {\n                        dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar39 = (double)(int)pixmap.vertical_resolution;\n                      if ((int)pixmap.vertical_resolution < 0) {\n                        dVar39 = dVar39 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (pixmap.component_count == 4) {\n                        pIVar9->alpha_trait = BlendPixelTrait;\n                        pIVar9->units = PixelsPerInchResolution;\n                        puVar25 = PTR_LAB_003a88e0;\n                        (pIVar9->resolution).x = dVar40;\n                        (pIVar9->resolution).y = dVar39;\n                        (*(code *)puVar15)(pIVar9,*(undefined4 *)(puVar25 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        (pIVar9->resolution).x = dVar40;\n                        pIVar9->alpha_trait = UndefinedPixelTrait;\n                        (pIVar9->resolution).y = dVar39;\n                        pIVar9->units = PixelsPerInchResolution;\n                      }\n                      if (!bVar3) {\n                        pIVar9->colors = 2;\n                        if ((uVar36 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar18 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar15 = PTR_AcquireImageColormap_003a9194;\n                        pIVar9->colors = iVar6 + 1U;\n                        iVar6 = (*(code *)puVar15)(pIVar9,iVar6 + 1U,local_10d8);\n                        if (iVar6 == 0) goto LAB_002756e4;\n                        if (0 < (int)pIVar9->colors) {\n                          uVar37 = 0;\n                          do {\n                            uVar17 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar38 = uVar37;\n                            if (-1 < sVar18) {\n                              if (pIVar9->colors == 0) {\n                                trap(7);\n                              }\n                              uVar38 = uVar17 % pIVar9->colors;\n                            }\n                            uVar37 = uVar37 + 1;\n                            iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                            pIVar9->colormap[uVar38].red = (double)iVar6;\n                            iVar6 = (*(code *)puVar15)(unaff_s0);\n                            puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                            pIVar9->colormap[uVar38].green = (double)iVar6;\n                            iVar6 = (*(code *)puVar15)(unaff_s0);\n                            sVar26 = pIVar9->colors;\n                            unaff_s3 = (ImageInfo *)(pIVar9->colormap + uVar38);\n                            *(double *)&unaff_s3->endian = (double)iVar6;\n                          } while ((int)uVar37 < (int)sVar26);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x49e;\n                    unaff_s7 = pIVar9;\n                    goto LAB_002757bc;\n                  }\n                  pIVar9->colors = 2;\nLAB_0027565c:\n                  iVar6 = (*(code *)PTR_AcquireImageColormap_003a9194)(pIVar9,2,local_10d8);\n                  if (iVar6 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x4b8;\n                    unaff_s7 = pIVar9;\nLAB_00275720:\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar11 = 400;\n                    goto LAB_00275084;\n                  }\n                  sVar26 = pIVar9->colors;\n                  if (0 < (int)sVar26) {\n                    pPVar29 = pIVar9->colormap;\n                    pMVar13 = &pPVar29->red;\n                    do {\n                      pMVar14 = pMVar13 + 0xb;\n                      *pMVar13 = (double)(float)(in_f20_21 - *pMVar13);\n                      pMVar13[1] = (double)(float)(in_f20_21 - pMVar13[1]);\n                      pMVar13[2] = (double)(float)(in_f20_21 - pMVar13[2]);\n                      pMVar13 = pMVar14;\n                    } while (pMVar14 != &pPVar29[sVar26].red);\n                  }\nLAB_00274838:\n                  iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar6 == 0) {\n                    MVar7 = ReadRectangle(unaff_s0,&source);\n                    if (MVar7 == MagickFalse) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x4d9;\n                      unaff_s7 = pIVar9;\n                    }\n                    else {\n                      MVar7 = ReadRectangle(unaff_s0,&destination);\n                      if (MVar7 != MagickFalse) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)pIVar8 & 0xfff7) == 0x91) || (unaff_s7 == (Image *)0x9b)) {\n                          uVar37 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar37)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x4e5;\n                            unaff_s7 = pIVar9;\n                            goto LAB_00275880;\n                          }\n                          iVar6 = 0;\n                          if (0 < (int)(uVar37 - 2)) {\n                            do {\n                              iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar16 == -1) break;\n                              iVar6 = iVar6 + 1;\n                            } while (uVar37 - 2 != iVar6);\n                          }\n                        }\n                        if ((bVar3) || ((uVar36 & 0x8000) != 0)) {\n                          uVar37 = (uint)pixmap.bits_per_pixel;\n                        }\n                        else {\n                          uVar37 = 1;\n                        }\n                        unaff_s3 = (ImageInfo *)DecodeImage(unaff_s0,pIVar9,uVar36,uVar37,&extent);\n                        if (unaff_s3 == (ImageInfo *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x4f2;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if ((int)pIVar9->rows < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar6 == 0)) &&\n                               ((bVar3 || ((uVar36 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,pIVar9,0xd,1);\n                            }\n                            unaff_s3 = (ImageInfo *)(*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <=\n                              (ImageInfo *)\n                              ((int)&unaff_s3->compression + unaff_s0->columns + extent)) {\n                            local_10b0 = 0;\n                            uVar37 = 0;\n                            pIVar35 = unaff_s3;\n                            do {\n                              iVar6 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (pIVar9,0,uVar37,pIVar9->columns);\n                              if (iVar6 == 0) goto LAB_00276500;\n                              sVar26 = pIVar9->columns;\n                              if (0 < (int)sVar26) {\n                                iVar16 = 0;\n                                dVar39 = *(double *)(local_10ac + -0x5af0);\n                                dVar40 = dVar39;\n                                do {\n                                  if (pIVar9->storage_class == PseudoClass) {\n                                    if ((int)(uint)(byte)*(undefined1 *)&pIVar35->compression <\n                                        (int)pIVar9->colors) {\n                                      fVar41 = (float)(byte)*(undefined1 *)&pIVar35->compression;\n                                      iVar12 = (int)fVar41 * 0x58;\n                                    }\n                                    else if (local_10d8->severity == CorruptImageError) {\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23);\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                      sVar26 = pIVar9->columns;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    if (pPVar28[5].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[5].offset * 4) = fVar41;\n                                    }\n                                    pPVar29 = pIVar9->colormap;\n                                    iVar23 = pPVar28[1].offset;\n                                    iVar33 = pPVar28[2].offset;\n                                    dVar43 = *(double *)((int)&pPVar29->green + iVar12);\n                                    dVar42 = *(double *)((int)&pPVar29->blue + iVar12);\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)*(double *)((int)&pPVar29->red + iVar12);\n                                    *(float *)(iVar6 + iVar23 * 4) = (float)dVar43;\n                                    *(float *)(iVar6 + iVar33 * 4) = (float)dVar42;\n                                  }\n                                  else if (pixmap.bits_per_pixel == 0x10) {\n                                    bVar1 = *(byte *)((int)&pIVar35->compression + 1);\n                                    pPVar28 = pIVar9->channel_map;\n                                    uVar2 = *(undefined1 *)&pIVar35->compression;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(((byte)uVar2 & 0x7c) << 1) * dVar40);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | ((byte)uVar2 & 3) << 6\n                                                         ) * dVar40);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar40);\n                                    pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  }\n                                  else if (pIVar9->alpha_trait == UndefinedPixelTrait) {\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 2 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(byte)*(undefined1 *)&pIVar35->compression\n                                                * dVar39);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar27 * dVar39);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar27[sVar26] * dVar39);\n                                  }\n                                  else {\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 3 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if (pPVar28[4].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[4].offset * 4) =\n                                           (float)((double)(byte)*(undefined1 *)\n                                                                  &pIVar35->compression * in_f22_23)\n                                      ;\n                                    }\n                                    pbVar34 = pbVar27 + sVar26;\n                                    dVar42 = *(double *)(local_10ac + -0x5af0);\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)*pbVar27 * dVar42);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar34 * dVar42);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar34[sVar26] * dVar42);\n                                  }\n                                  iVar16 = iVar16 + 1;\n                                  pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  iVar6 = iVar6 + pIVar9->number_channels * 4;\n                                } while (iVar16 < (int)sVar26);\n                              }\n                              iVar6 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar9,local_10d8)\n                              ;\n                              if (((iVar6 == 0) ||\n                                  (((pIVar9->storage_class == DirectClass &&\n                                    (pixmap.bits_per_pixel != 0x10)) &&\n                                   (pIVar35 = (ImageInfo *)\n                                              ((int)&pIVar35->compression +\n                                              (pixmap.component_count + -1) * pIVar9->columns),\n                                   pIVar35 < unaff_s3)))) ||\n                                 ((iVar6 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar37), iVar6 == 0 ||\n                                  (uVar38 = uVar37 + 1, (int)pIVar9->rows <= (int)uVar38))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar38 < uVar37) + local_10b0;\n                              uVar37 = uVar38;\n                            } while (pIVar35 <=\n                                     (ImageInfo *)\n                                     ((int)&unaff_s3->compression + unaff_s0->columns + extent));\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x4fc;\n                          unaff_s7 = pIVar9;\nLAB_0027504c:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          pIVar9 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x4db;\n                      unaff_s7 = pIVar9;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar32 = 0x4d7;\n                  unaff_s7 = pIVar9;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (ImageInfo *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar32 = 0x491;\nLAB_002757bc:\n                puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar15 = PTR_s_courses_003a88ec + -400;\n                pIVar9 = unaff_s7;\nLAB_0027507c:\n                uVar11 = 0x1a9;\n                unaff_s7 = pIVar9;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar25,puVar30,uVar32,uVar11,puVar15,uVar44);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                pIVar8 = (Image *)0x0;\n                goto LAB_00274228;\n              }" if (parenthesized_expression "(unaff_s7 < (Image *)0xa2)" ( (binary_expression "unaff_s7 < (Image *)0xa2" identifier < (cast_expression "(Image *)0xa2" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                if (unaff_s0->debug != MagickFalse) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)\n                              (PTR_MagickImageList_3__magick_276__003a8948 +\n                              (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_MagickImageList_3__magick_276__003a8948 +\n                                    (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (Image *)0x78) {\n                  if ((Image *)0x6f < unaff_s7) {\n                    uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar6 = 0;\n                    if (0 < (int)(uVar36 - 2)) {\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + 1;\n                      } while (iVar6 != uVar36 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((Image *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (Image *)&DAT_0000001b) {\n                      iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                      (unaff_s0->background_color).red = (double)iVar6;\n                      iVar6 = (*(code *)puVar15)(unaff_s0);\n                      puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                      (unaff_s0->background_color).green = (double)iVar6;\n                      iVar6 = (*(code *)puVar15)(unaff_s0);\n                      (unaff_s0->background_color).blue = (double)iVar6;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if ((Image *)&DAT_00000011 < unaff_s7) {\n                    iVar16 = 8;\n                    iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar12 == -1) break;\n                      iVar16 = iVar16 + -1;\n                    } while (iVar16 != 0);\n                    if (iVar6 == 2) {\n                      iVar6 = 5;\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + -1;\n                      } while (iVar6 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar6 == 1) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44)) {\n                        MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                        if (MVar7 == MagickFalse) {\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x419;\n                        }\n                        else {\n                          MVar7 = ReadPixmap(unaff_s0,&pixmap);\n                          if (MVar7 != MagickFalse) {\n                            unaff_s0->depth = (int)pixmap.component_size;\n                            dVar40 = (double)(int)pixmap.horizontal_resolution;\n                            if ((int)pixmap.horizontal_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).x = dVar40;\n                            puVar15 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar40 = (double)(int)pixmap.vertical_resolution;\n                            if ((int)pixmap.vertical_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).y = dVar40;\n                            unaff_s0->units = PixelsPerInchResolution;\n                            (*(code *)puVar15)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44))\n                            {\n                              iVar6 = 0;\n                              do {\n                                iVar6 = iVar6 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar6 != uVar36 + 1);\n                              uVar37 = (int)frame.bottom - (int)frame.top;\n                              iVar6 = (int)frame.right - (int)frame.left;\n                              if (pixmap.bits_per_pixel < 9) {\n                                uVar36 = uVar36 & 0x7fff;\n                              }\n                              else if (pixmap.bits_per_pixel == 0x10) {\n                                uVar37 = uVar37 * 2;\n                              }\n                              if (uVar36 != 0) {\n                                uVar37 = uVar36;\n                              }\n                              if (uVar37 < 8) {\n                                if (0 < (int)(uVar37 * iVar6)) {\n                                  iVar16 = 0;\n                                  do {\n                                    iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar12 == -1) break;\n                                    iVar16 = iVar16 + 1;\n                                  } while (uVar37 * iVar6 != iVar16);\n                                }\n                              }\n                              else {\n                                iVar16 = 0;\n                                if (0 < iVar6) {\n                                  do {\n                                    iVar12 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar12 != 0) break;\n                                    if (uVar37 < 0xc9) {\n                                      uVar36 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) &&\n                                       ((uint)uVar44 < uVar36)) {\n                                      if (unaff_s3 != (ImageInfo *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar38 = 0;\n                                    if (0 < (int)uVar36) {\n                                      do {\n                                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar12 == -1) break;\n                                        uVar38 = uVar38 + 1;\n                                      } while (uVar36 != uVar38);\n                                    }\n                                    iVar16 = iVar16 + 1;\n                                  } while (iVar6 != iVar16);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x413;\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    pIVar9 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (Image *)0x1) goto LAB_002752a0;\n                  uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar36 != 10) {\n                    if (0 < (int)(uVar36 - 2)) {\n                      iVar6 = 0;\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + 1;\n                      } while (uVar36 - 2 != iVar6);\n                    }\n                    goto LAB_00274594;\n                  }\n                  MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                  puVar15 = PTR_SetImageExtent_003a94ac;\n                  if (MVar7 == MagickFalse) {\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((frame.left < 0) || (frame.top < 0)) goto LAB_00274594;\n                  sVar26 = (int)frame.right - (int)frame.left;\n                  sVar31 = (int)frame.bottom - (int)frame.top;\n                  unaff_s0->columns = sVar26;\n                  unaff_s0->rows = sVar31;\n                  iVar6 = (*(code *)puVar15)(unaff_s0,sVar26,sVar31,local_10d8);\n                  if ((iVar6 != 0) &&\n                     (iVar6 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar6 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  pIVar8 = (Image *)(*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((Image *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (Image *)0xa1) {\n                    iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar36 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = 4;\n                      if (uVar36 < 5) {\n                        uVar37 = uVar36;\n                      }\n                      iVar16 = uVar36 - uVar37;\n                      if ((iVar16 != 0) &&\n                         (iVar12 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar16,1),\n                         iVar12 != 0)) {\n                        iVar33 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar16,iVar12);\n                        if (iVar16 != iVar33) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x570;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar11 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar6 == 0xe0) {\n                          uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);\n                          iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar32,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);\n                          if (iVar6 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar6 == 0x1f2) {\n                          uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);\n                          iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar32,local_10d8);\n                          if (iVar6 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar6 = *(int *)(PTR_MagickImageList_3__magick_276__003a8948 +\n                                  (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar6 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar16 = 0;\n                    if (0 < iVar6) {\n                      do {\n                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar12 == -1) break;\n                        iVar16 = iVar16 + 1;\n                      } while (iVar6 != iVar16);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (Image *)0x98) && ((BlobInfo **)0x1 < &unaff_s7[-1].blob))\n                goto LAB_002752a0;\n                bVar3 = unaff_s7[-1].magick + 0xffe < (char *)0x2;\n                if (bVar3) {\n                  uVar36 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                if (MVar7 != MagickFalse) {\n                  pIVar9 = (Image *)(*(code *)PTR_CloneImage_003a9830)\n                                              (unaff_s0,(int)frame.right - (int)frame.left,\n                                               (int)frame.bottom - (int)frame.top,1);\n                  if (pIVar9 == (Image *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(pIVar9,local_10d8);\n                  if ((bVar3) || ((uVar36 & 0x8000) != 0)) {\n                    MVar7 = ReadPixmap(unaff_s0,&pixmap);\n                    if (MVar7 != MagickFalse) {\n                      pIVar9->depth = (int)pixmap.component_size;\n                      puVar15 = PTR_SetImageAlpha_003a8c78;\n                      dVar40 = (double)(int)pixmap.horizontal_resolution;\n                      if ((int)pixmap.horizontal_resolution < 0) {\n                        dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar39 = (double)(int)pixmap.vertical_resolution;\n                      if ((int)pixmap.vertical_resolution < 0) {\n                        dVar39 = dVar39 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (pixmap.component_count == 4) {\n                        pIVar9->alpha_trait = BlendPixelTrait;\n                        pIVar9->units = PixelsPerInchResolution;\n                        puVar25 = PTR_LAB_003a88e0;\n                        (pIVar9->resolution).x = dVar40;\n                        (pIVar9->resolution).y = dVar39;\n                        (*(code *)puVar15)(pIVar9,*(undefined4 *)(puVar25 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        (pIVar9->resolution).x = dVar40;\n                        pIVar9->alpha_trait = UndefinedPixelTrait;\n                        (pIVar9->resolution).y = dVar39;\n                        pIVar9->units = PixelsPerInchResolution;\n                      }\n                      if (!bVar3) {\n                        pIVar9->colors = 2;\n                        if ((uVar36 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar18 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar15 = PTR_AcquireImageColormap_003a9194;\n                        pIVar9->colors = iVar6 + 1U;\n                        iVar6 = (*(code *)puVar15)(pIVar9,iVar6 + 1U,local_10d8);\n                        if (iVar6 == 0) goto LAB_002756e4;\n                        if (0 < (int)pIVar9->colors) {\n                          uVar37 = 0;\n                          do {\n                            uVar17 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar38 = uVar37;\n                            if (-1 < sVar18) {\n                              if (pIVar9->colors == 0) {\n                                trap(7);\n                              }\n                              uVar38 = uVar17 % pIVar9->colors;\n                            }\n                            uVar37 = uVar37 + 1;\n                            iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                            pIVar9->colormap[uVar38].red = (double)iVar6;\n                            iVar6 = (*(code *)puVar15)(unaff_s0);\n                            puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                            pIVar9->colormap[uVar38].green = (double)iVar6;\n                            iVar6 = (*(code *)puVar15)(unaff_s0);\n                            sVar26 = pIVar9->colors;\n                            unaff_s3 = (ImageInfo *)(pIVar9->colormap + uVar38);\n                            *(double *)&unaff_s3->endian = (double)iVar6;\n                          } while ((int)uVar37 < (int)sVar26);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x49e;\n                    unaff_s7 = pIVar9;\n                    goto LAB_002757bc;\n                  }\n                  pIVar9->colors = 2;\nLAB_0027565c:\n                  iVar6 = (*(code *)PTR_AcquireImageColormap_003a9194)(pIVar9,2,local_10d8);\n                  if (iVar6 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x4b8;\n                    unaff_s7 = pIVar9;\nLAB_00275720:\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar11 = 400;\n                    goto LAB_00275084;\n                  }\n                  sVar26 = pIVar9->colors;\n                  if (0 < (int)sVar26) {\n                    pPVar29 = pIVar9->colormap;\n                    pMVar13 = &pPVar29->red;\n                    do {\n                      pMVar14 = pMVar13 + 0xb;\n                      *pMVar13 = (double)(float)(in_f20_21 - *pMVar13);\n                      pMVar13[1] = (double)(float)(in_f20_21 - pMVar13[1]);\n                      pMVar13[2] = (double)(float)(in_f20_21 - pMVar13[2]);\n                      pMVar13 = pMVar14;\n                    } while (pMVar14 != &pPVar29[sVar26].red);\n                  }\nLAB_00274838:\n                  iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar6 == 0) {\n                    MVar7 = ReadRectangle(unaff_s0,&source);\n                    if (MVar7 == MagickFalse) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x4d9;\n                      unaff_s7 = pIVar9;\n                    }\n                    else {\n                      MVar7 = ReadRectangle(unaff_s0,&destination);\n                      if (MVar7 != MagickFalse) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)pIVar8 & 0xfff7) == 0x91) || (unaff_s7 == (Image *)0x9b)) {\n                          uVar37 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar37)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x4e5;\n                            unaff_s7 = pIVar9;\n                            goto LAB_00275880;\n                          }\n                          iVar6 = 0;\n                          if (0 < (int)(uVar37 - 2)) {\n                            do {\n                              iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar16 == -1) break;\n                              iVar6 = iVar6 + 1;\n                            } while (uVar37 - 2 != iVar6);\n                          }\n                        }\n                        if ((bVar3) || ((uVar36 & 0x8000) != 0)) {\n                          uVar37 = (uint)pixmap.bits_per_pixel;\n                        }\n                        else {\n                          uVar37 = 1;\n                        }\n                        unaff_s3 = (ImageInfo *)DecodeImage(unaff_s0,pIVar9,uVar36,uVar37,&extent);\n                        if (unaff_s3 == (ImageInfo *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x4f2;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if ((int)pIVar9->rows < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar6 == 0)) &&\n                               ((bVar3 || ((uVar36 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,pIVar9,0xd,1);\n                            }\n                            unaff_s3 = (ImageInfo *)(*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <=\n                              (ImageInfo *)\n                              ((int)&unaff_s3->compression + unaff_s0->columns + extent)) {\n                            local_10b0 = 0;\n                            uVar37 = 0;\n                            pIVar35 = unaff_s3;\n                            do {\n                              iVar6 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (pIVar9,0,uVar37,pIVar9->columns);\n                              if (iVar6 == 0) goto LAB_00276500;\n                              sVar26 = pIVar9->columns;\n                              if (0 < (int)sVar26) {\n                                iVar16 = 0;\n                                dVar39 = *(double *)(local_10ac + -0x5af0);\n                                dVar40 = dVar39;\n                                do {\n                                  if (pIVar9->storage_class == PseudoClass) {\n                                    if ((int)(uint)(byte)*(undefined1 *)&pIVar35->compression <\n                                        (int)pIVar9->colors) {\n                                      fVar41 = (float)(byte)*(undefined1 *)&pIVar35->compression;\n                                      iVar12 = (int)fVar41 * 0x58;\n                                    }\n                                    else if (local_10d8->severity == CorruptImageError) {\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23);\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                      sVar26 = pIVar9->columns;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    if (pPVar28[5].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[5].offset * 4) = fVar41;\n                                    }\n                                    pPVar29 = pIVar9->colormap;\n                                    iVar23 = pPVar28[1].offset;\n                                    iVar33 = pPVar28[2].offset;\n                                    dVar43 = *(double *)((int)&pPVar29->green + iVar12);\n                                    dVar42 = *(double *)((int)&pPVar29->blue + iVar12);\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)*(double *)((int)&pPVar29->red + iVar12);\n                                    *(float *)(iVar6 + iVar23 * 4) = (float)dVar43;\n                                    *(float *)(iVar6 + iVar33 * 4) = (float)dVar42;\n                                  }\n                                  else if (pixmap.bits_per_pixel == 0x10) {\n                                    bVar1 = *(byte *)((int)&pIVar35->compression + 1);\n                                    pPVar28 = pIVar9->channel_map;\n                                    uVar2 = *(undefined1 *)&pIVar35->compression;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(((byte)uVar2 & 0x7c) << 1) * dVar40);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | ((byte)uVar2 & 3) << 6\n                                                         ) * dVar40);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar40);\n                                    pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  }\n                                  else if (pIVar9->alpha_trait == UndefinedPixelTrait) {\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 2 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(byte)*(undefined1 *)&pIVar35->compression\n                                                * dVar39);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar27 * dVar39);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar27[sVar26] * dVar39);\n                                  }\n                                  else {\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 3 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if (pPVar28[4].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[4].offset * 4) =\n                                           (float)((double)(byte)*(undefined1 *)\n                                                                  &pIVar35->compression * in_f22_23)\n                                      ;\n                                    }\n                                    pbVar34 = pbVar27 + sVar26;\n                                    dVar42 = *(double *)(local_10ac + -0x5af0);\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)*pbVar27 * dVar42);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar34 * dVar42);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar34[sVar26] * dVar42);\n                                  }\n                                  iVar16 = iVar16 + 1;\n                                  pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  iVar6 = iVar6 + pIVar9->number_channels * 4;\n                                } while (iVar16 < (int)sVar26);\n                              }\n                              iVar6 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar9,local_10d8)\n                              ;\n                              if (((iVar6 == 0) ||\n                                  (((pIVar9->storage_class == DirectClass &&\n                                    (pixmap.bits_per_pixel != 0x10)) &&\n                                   (pIVar35 = (ImageInfo *)\n                                              ((int)&pIVar35->compression +\n                                              (pixmap.component_count + -1) * pIVar9->columns),\n                                   pIVar35 < unaff_s3)))) ||\n                                 ((iVar6 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar37), iVar6 == 0 ||\n                                  (uVar38 = uVar37 + 1, (int)pIVar9->rows <= (int)uVar38))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar38 < uVar37) + local_10b0;\n                              uVar37 = uVar38;\n                            } while (pIVar35 <=\n                                     (ImageInfo *)\n                                     ((int)&unaff_s3->compression + unaff_s0->columns + extent));\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x4fc;\n                          unaff_s7 = pIVar9;\nLAB_0027504c:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          pIVar9 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x4db;\n                      unaff_s7 = pIVar9;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar32 = 0x4d7;\n                  unaff_s7 = pIVar9;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (ImageInfo *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar32 = 0x491;\nLAB_002757bc:\n                puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar15 = PTR_s_courses_003a88ec + -400;\n                pIVar9 = unaff_s7;\nLAB_0027507c:\n                uVar11 = 0x1a9;\n                unaff_s7 = pIVar9;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar25,puVar30,uVar32,uVar11,puVar15,uVar44);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                pIVar8 = (Image *)0x0;\n                goto LAB_00274228;\n              }" { (if_statement "if (unaff_s0->debug != MagickFalse) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)\n                              (PTR_MagickImageList_3__magick_276__003a8948 +\n                              (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_MagickImageList_3__magick_276__003a8948 +\n                                    (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }" if (parenthesized_expression "(unaff_s0->debug != MagickFalse)" ( (binary_expression "unaff_s0->debug != MagickFalse" (field_expression "unaff_s0->debug" identifier -> field_identifier) != identifier) )) (compound_statement "{\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)\n                              (PTR_MagickImageList_3__magick_276__003a8948 +\n                              (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_MagickImageList_3__magick_276__003a8948 +\n                                    (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }" { (expression_statement "(*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)\n                              (PTR_MagickImageList_3__magick_276__003a8948 +\n                              (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_MagickImageList_3__magick_276__003a8948 +\n                                    (int)unaff_s7 * 0xc + 0x584c) + 8));" (call_expression "(*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)\n                              (PTR_MagickImageList_3__magick_276__003a8948 +\n                              (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_MagickImageList_3__magick_276__003a8948 +\n                                    (int)unaff_s7 * 0xc + 0x584c) + 8))" (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 "(0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)\n                              (PTR_MagickImageList_3__magick_276__003a8948 +\n                              (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_MagickImageList_3__magick_276__003a8948 +\n                                    (int)unaff_s7 * 0xc + 0x584c) + 8))" ( number_literal , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier + number_literal) , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier + number_literal) , number_literal , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24" identifier + number_literal) , identifier , (pointer_expression "*(undefined4 *)\n                              (PTR_MagickImageList_3__magick_276__003a8948 +\n                              (int)unaff_s7 * 0xc + 0x584c)" * (cast_expression "(undefined4 *)\n                              (PTR_MagickImageList_3__magick_276__003a8948 +\n                              (int)unaff_s7 * 0xc + 0x584c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_MagickImageList_3__magick_276__003a8948 +\n                              (int)unaff_s7 * 0xc + 0x584c)" ( (binary_expression "PTR_MagickImageList_3__magick_276__003a8948 +\n                              (int)unaff_s7 * 0xc + 0x584c" (binary_expression "PTR_MagickImageList_3__magick_276__003a8948 +\n                              (int)unaff_s7 * 0xc" identifier + (binary_expression "(int)unaff_s7 * 0xc" (cast_expression "(int)unaff_s7" ( (type_descriptor "int" primitive_type) ) identifier) * number_literal)) + number_literal) )))) , (pointer_expression "*(undefined4 *)\n                              ((int)(PTR_MagickImageList_3__magick_276__003a8948 +\n                                    (int)unaff_s7 * 0xc + 0x584c) + 8)" * (cast_expression "(undefined4 *)\n                              ((int)(PTR_MagickImageList_3__magick_276__003a8948 +\n                                    (int)unaff_s7 * 0xc + 0x584c) + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)(PTR_MagickImageList_3__magick_276__003a8948 +\n                                    (int)unaff_s7 * 0xc + 0x584c) + 8)" ( (binary_expression "(int)(PTR_MagickImageList_3__magick_276__003a8948 +\n                                    (int)unaff_s7 * 0xc + 0x584c) + 8" (cast_expression "(int)(PTR_MagickImageList_3__magick_276__003a8948 +\n                                    (int)unaff_s7 * 0xc + 0x584c)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(PTR_MagickImageList_3__magick_276__003a8948 +\n                                    (int)unaff_s7 * 0xc + 0x584c)" ( (binary_expression "PTR_MagickImageList_3__magick_276__003a8948 +\n                                    (int)unaff_s7 * 0xc + 0x584c" (binary_expression "PTR_MagickImageList_3__magick_276__003a8948 +\n                                    (int)unaff_s7 * 0xc" identifier + (binary_expression "(int)unaff_s7 * 0xc" (cast_expression "(int)unaff_s7" ( (type_descriptor "int" primitive_type) ) identifier) * number_literal)) + number_literal) ))) + number_literal) )))) ))) ;) })) (if_statement "if (unaff_s7 < (Image *)0x78) {\n                  if ((Image *)0x6f < unaff_s7) {\n                    uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar6 = 0;\n                    if (0 < (int)(uVar36 - 2)) {\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + 1;\n                      } while (iVar6 != uVar36 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((Image *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (Image *)&DAT_0000001b) {\n                      iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                      (unaff_s0->background_color).red = (double)iVar6;\n                      iVar6 = (*(code *)puVar15)(unaff_s0);\n                      puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                      (unaff_s0->background_color).green = (double)iVar6;\n                      iVar6 = (*(code *)puVar15)(unaff_s0);\n                      (unaff_s0->background_color).blue = (double)iVar6;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if ((Image *)&DAT_00000011 < unaff_s7) {\n                    iVar16 = 8;\n                    iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar12 == -1) break;\n                      iVar16 = iVar16 + -1;\n                    } while (iVar16 != 0);\n                    if (iVar6 == 2) {\n                      iVar6 = 5;\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + -1;\n                      } while (iVar6 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar6 == 1) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44)) {\n                        MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                        if (MVar7 == MagickFalse) {\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x419;\n                        }\n                        else {\n                          MVar7 = ReadPixmap(unaff_s0,&pixmap);\n                          if (MVar7 != MagickFalse) {\n                            unaff_s0->depth = (int)pixmap.component_size;\n                            dVar40 = (double)(int)pixmap.horizontal_resolution;\n                            if ((int)pixmap.horizontal_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).x = dVar40;\n                            puVar15 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar40 = (double)(int)pixmap.vertical_resolution;\n                            if ((int)pixmap.vertical_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).y = dVar40;\n                            unaff_s0->units = PixelsPerInchResolution;\n                            (*(code *)puVar15)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44))\n                            {\n                              iVar6 = 0;\n                              do {\n                                iVar6 = iVar6 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar6 != uVar36 + 1);\n                              uVar37 = (int)frame.bottom - (int)frame.top;\n                              iVar6 = (int)frame.right - (int)frame.left;\n                              if (pixmap.bits_per_pixel < 9) {\n                                uVar36 = uVar36 & 0x7fff;\n                              }\n                              else if (pixmap.bits_per_pixel == 0x10) {\n                                uVar37 = uVar37 * 2;\n                              }\n                              if (uVar36 != 0) {\n                                uVar37 = uVar36;\n                              }\n                              if (uVar37 < 8) {\n                                if (0 < (int)(uVar37 * iVar6)) {\n                                  iVar16 = 0;\n                                  do {\n                                    iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar12 == -1) break;\n                                    iVar16 = iVar16 + 1;\n                                  } while (uVar37 * iVar6 != iVar16);\n                                }\n                              }\n                              else {\n                                iVar16 = 0;\n                                if (0 < iVar6) {\n                                  do {\n                                    iVar12 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar12 != 0) break;\n                                    if (uVar37 < 0xc9) {\n                                      uVar36 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) &&\n                                       ((uint)uVar44 < uVar36)) {\n                                      if (unaff_s3 != (ImageInfo *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar38 = 0;\n                                    if (0 < (int)uVar36) {\n                                      do {\n                                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar12 == -1) break;\n                                        uVar38 = uVar38 + 1;\n                                      } while (uVar36 != uVar38);\n                                    }\n                                    iVar16 = iVar16 + 1;\n                                  } while (iVar6 != iVar16);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x413;\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    pIVar9 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (Image *)0x1) goto LAB_002752a0;\n                  uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar36 != 10) {\n                    if (0 < (int)(uVar36 - 2)) {\n                      iVar6 = 0;\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + 1;\n                      } while (uVar36 - 2 != iVar6);\n                    }\n                    goto LAB_00274594;\n                  }\n                  MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                  puVar15 = PTR_SetImageExtent_003a94ac;\n                  if (MVar7 == MagickFalse) {\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((frame.left < 0) || (frame.top < 0)) goto LAB_00274594;\n                  sVar26 = (int)frame.right - (int)frame.left;\n                  sVar31 = (int)frame.bottom - (int)frame.top;\n                  unaff_s0->columns = sVar26;\n                  unaff_s0->rows = sVar31;\n                  iVar6 = (*(code *)puVar15)(unaff_s0,sVar26,sVar31,local_10d8);\n                  if ((iVar6 != 0) &&\n                     (iVar6 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar6 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  pIVar8 = (Image *)(*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }" if (parenthesized_expression "(unaff_s7 < (Image *)0x78)" ( (binary_expression "unaff_s7 < (Image *)0x78" identifier < (cast_expression "(Image *)0x78" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                  if ((Image *)0x6f < unaff_s7) {\n                    uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar6 = 0;\n                    if (0 < (int)(uVar36 - 2)) {\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + 1;\n                      } while (iVar6 != uVar36 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((Image *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (Image *)&DAT_0000001b) {\n                      iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                      (unaff_s0->background_color).red = (double)iVar6;\n                      iVar6 = (*(code *)puVar15)(unaff_s0);\n                      puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                      (unaff_s0->background_color).green = (double)iVar6;\n                      iVar6 = (*(code *)puVar15)(unaff_s0);\n                      (unaff_s0->background_color).blue = (double)iVar6;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if ((Image *)&DAT_00000011 < unaff_s7) {\n                    iVar16 = 8;\n                    iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar12 == -1) break;\n                      iVar16 = iVar16 + -1;\n                    } while (iVar16 != 0);\n                    if (iVar6 == 2) {\n                      iVar6 = 5;\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + -1;\n                      } while (iVar6 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar6 == 1) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44)) {\n                        MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                        if (MVar7 == MagickFalse) {\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x419;\n                        }\n                        else {\n                          MVar7 = ReadPixmap(unaff_s0,&pixmap);\n                          if (MVar7 != MagickFalse) {\n                            unaff_s0->depth = (int)pixmap.component_size;\n                            dVar40 = (double)(int)pixmap.horizontal_resolution;\n                            if ((int)pixmap.horizontal_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).x = dVar40;\n                            puVar15 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar40 = (double)(int)pixmap.vertical_resolution;\n                            if ((int)pixmap.vertical_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).y = dVar40;\n                            unaff_s0->units = PixelsPerInchResolution;\n                            (*(code *)puVar15)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44))\n                            {\n                              iVar6 = 0;\n                              do {\n                                iVar6 = iVar6 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar6 != uVar36 + 1);\n                              uVar37 = (int)frame.bottom - (int)frame.top;\n                              iVar6 = (int)frame.right - (int)frame.left;\n                              if (pixmap.bits_per_pixel < 9) {\n                                uVar36 = uVar36 & 0x7fff;\n                              }\n                              else if (pixmap.bits_per_pixel == 0x10) {\n                                uVar37 = uVar37 * 2;\n                              }\n                              if (uVar36 != 0) {\n                                uVar37 = uVar36;\n                              }\n                              if (uVar37 < 8) {\n                                if (0 < (int)(uVar37 * iVar6)) {\n                                  iVar16 = 0;\n                                  do {\n                                    iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar12 == -1) break;\n                                    iVar16 = iVar16 + 1;\n                                  } while (uVar37 * iVar6 != iVar16);\n                                }\n                              }\n                              else {\n                                iVar16 = 0;\n                                if (0 < iVar6) {\n                                  do {\n                                    iVar12 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar12 != 0) break;\n                                    if (uVar37 < 0xc9) {\n                                      uVar36 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) &&\n                                       ((uint)uVar44 < uVar36)) {\n                                      if (unaff_s3 != (ImageInfo *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar38 = 0;\n                                    if (0 < (int)uVar36) {\n                                      do {\n                                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar12 == -1) break;\n                                        uVar38 = uVar38 + 1;\n                                      } while (uVar36 != uVar38);\n                                    }\n                                    iVar16 = iVar16 + 1;\n                                  } while (iVar6 != iVar16);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x413;\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    pIVar9 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (Image *)0x1) goto LAB_002752a0;\n                  uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar36 != 10) {\n                    if (0 < (int)(uVar36 - 2)) {\n                      iVar6 = 0;\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + 1;\n                      } while (uVar36 - 2 != iVar6);\n                    }\n                    goto LAB_00274594;\n                  }\n                  MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                  puVar15 = PTR_SetImageExtent_003a94ac;\n                  if (MVar7 == MagickFalse) {\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((frame.left < 0) || (frame.top < 0)) goto LAB_00274594;\n                  sVar26 = (int)frame.right - (int)frame.left;\n                  sVar31 = (int)frame.bottom - (int)frame.top;\n                  unaff_s0->columns = sVar26;\n                  unaff_s0->rows = sVar31;\n                  iVar6 = (*(code *)puVar15)(unaff_s0,sVar26,sVar31,local_10d8);\n                  if ((iVar6 != 0) &&\n                     (iVar6 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar6 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  pIVar8 = (Image *)(*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }" { (if_statement "if ((Image *)0x6f < unaff_s7) {\n                    uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar6 = 0;\n                    if (0 < (int)(uVar36 - 2)) {\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + 1;\n                      } while (iVar6 != uVar36 - 2);\n                    }\n                    goto LAB_00274584;\n                  }" if (parenthesized_expression "((Image *)0x6f < unaff_s7)" ( (binary_expression "(Image *)0x6f < unaff_s7" (cast_expression "(Image *)0x6f" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) < identifier) )) (compound_statement "{\n                    uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar6 = 0;\n                    if (0 < (int)(uVar36 - 2)) {\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + 1;\n                      } while (iVar6 != uVar36 - 2);\n                    }\n                    goto LAB_00274584;\n                  }" { (expression_statement "uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (assignment_expression "uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier )))) ;) (expression_statement "uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);" (assignment_expression "uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x467;\n                      goto LAB_00275880;\n                    }" if (parenthesized_expression "(((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36))" ( (binary_expression "((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)" (parenthesized_expression "((int)((ulonglong)uVar44 >> 0x20) == 0)" ( (binary_expression "(int)((ulonglong)uVar44 >> 0x20) == 0" (cast_expression "(int)((ulonglong)uVar44 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar44 >> 0x20)" ( (binary_expression "(ulonglong)uVar44 >> 0x20" (cast_expression "(ulonglong)uVar44" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) == number_literal) )) && (parenthesized_expression "((uint)uVar44 < uVar36)" ( (binary_expression "(uint)uVar44 < uVar36" (cast_expression "(uint)uVar44" ( (type_descriptor "uint" type_identifier) ) identifier) < identifier) ))) )) (compound_statement "{\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x467;\n                      goto LAB_00275880;\n                    }" { (if_statement "if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }" if (parenthesized_expression "(unaff_s3 != (ImageInfo *)0x0)" ( (binary_expression "unaff_s3 != (ImageInfo *)0x0" identifier != (cast_expression "(ImageInfo *)0x0" ( (type_descriptor "ImageInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3)" ( identifier ))) ;) })) (if_statement "if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar32 = 0x467;" (assignment_expression "uVar32 = 0x467" identifier = number_literal) ;) (goto_statement "goto LAB_00275880;" goto statement_identifier ;) })) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (if_statement "if (0 < (int)(uVar36 - 2)) {\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + 1;\n                      } while (iVar6 != uVar36 - 2);\n                    }" if (parenthesized_expression "(0 < (int)(uVar36 - 2))" ( (binary_expression "0 < (int)(uVar36 - 2)" number_literal < (cast_expression "(int)(uVar36 - 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar36 - 2)" ( (binary_expression "uVar36 - 2" identifier - number_literal) )))) )) (compound_statement "{\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + 1;\n                      } while (iVar6 != uVar36 - 2);\n                    }" { (do_statement "do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + 1;\n                      } while (iVar6 != uVar36 - 2);" do (compound_statement "{\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + 1;\n                      }" { (expression_statement "iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (iVar16 == -1) break;" if (parenthesized_expression "(iVar16 == -1)" ( (binary_expression "iVar16 == -1" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar6 != uVar36 - 2)" ( (binary_expression "iVar6 != uVar36 - 2" identifier != (binary_expression "uVar36 - 2" identifier - number_literal)) )) ;) })) (goto_statement "goto LAB_00274584;" goto statement_identifier ;) })) (if_statement "if ((Image *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (Image *)&DAT_0000001b) {\n                      iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                      (unaff_s0->background_color).red = (double)iVar6;\n                      iVar6 = (*(code *)puVar15)(unaff_s0);\n                      puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                      (unaff_s0->background_color).green = (double)iVar6;\n                      iVar6 = (*(code *)puVar15)(unaff_s0);\n                      (unaff_s0->background_color).blue = (double)iVar6;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }" if (parenthesized_expression "((Image *)0x14 < unaff_s7)" ( (binary_expression "(Image *)0x14 < unaff_s7" (cast_expression "(Image *)0x14" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) < identifier) )) (compound_statement "{\n                    if (unaff_s7 == (Image *)&DAT_0000001b) {\n                      iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                      (unaff_s0->background_color).red = (double)iVar6;\n                      iVar6 = (*(code *)puVar15)(unaff_s0);\n                      puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                      (unaff_s0->background_color).green = (double)iVar6;\n                      iVar6 = (*(code *)puVar15)(unaff_s0);\n                      (unaff_s0->background_color).blue = (double)iVar6;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }" { (if_statement "if (unaff_s7 == (Image *)&DAT_0000001b) {\n                      iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                      (unaff_s0->background_color).red = (double)iVar6;\n                      iVar6 = (*(code *)puVar15)(unaff_s0);\n                      puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                      (unaff_s0->background_color).green = (double)iVar6;\n                      iVar6 = (*(code *)puVar15)(unaff_s0);\n                      (unaff_s0->background_color).blue = (double)iVar6;\n                      goto LAB_00274594;\n                    }" if (parenthesized_expression "(unaff_s7 == (Image *)&DAT_0000001b)" ( (binary_expression "unaff_s7 == (Image *)&DAT_0000001b" identifier == (cast_expression "(Image *)&DAT_0000001b" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_0000001b" & identifier))) )) (compound_statement "{\n                      iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                      (unaff_s0->background_color).red = (double)iVar6;\n                      iVar6 = (*(code *)puVar15)(unaff_s0);\n                      puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                      (unaff_s0->background_color).green = (double)iVar6;\n                      iVar6 = (*(code *)puVar15)(unaff_s0);\n                      (unaff_s0->background_color).blue = (double)iVar6;\n                      goto LAB_00274594;\n                    }" { (expression_statement "iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (assignment_expression "iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier )))) ;) (expression_statement "puVar15 = PTR_ReadBlobMSBShort_003a9160;" (assignment_expression "puVar15 = PTR_ReadBlobMSBShort_003a9160" identifier = identifier) ;) (expression_statement "(unaff_s0->background_color).red = (double)iVar6;" (assignment_expression "(unaff_s0->background_color).red = (double)iVar6" (field_expression "(unaff_s0->background_color).red" (parenthesized_expression "(unaff_s0->background_color)" ( (field_expression "unaff_s0->background_color" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(double)iVar6" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (expression_statement "iVar6 = (*(code *)puVar15)(unaff_s0);" (assignment_expression "iVar6 = (*(code *)puVar15)(unaff_s0)" identifier = (call_expression "(*(code *)puVar15)(unaff_s0)" (parenthesized_expression "(*(code *)puVar15)" ( (pointer_expression "*(code *)puVar15" * (cast_expression "(code *)puVar15" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier )))) ;) (expression_statement "puVar15 = PTR_ReadBlobMSBShort_003a9160;" (assignment_expression "puVar15 = PTR_ReadBlobMSBShort_003a9160" identifier = identifier) ;) (expression_statement "(unaff_s0->background_color).green = (double)iVar6;" (assignment_expression "(unaff_s0->background_color).green = (double)iVar6" (field_expression "(unaff_s0->background_color).green" (parenthesized_expression "(unaff_s0->background_color)" ( (field_expression "unaff_s0->background_color" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(double)iVar6" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (expression_statement "iVar6 = (*(code *)puVar15)(unaff_s0);" (assignment_expression "iVar6 = (*(code *)puVar15)(unaff_s0)" identifier = (call_expression "(*(code *)puVar15)(unaff_s0)" (parenthesized_expression "(*(code *)puVar15)" ( (pointer_expression "*(code *)puVar15" * (cast_expression "(code *)puVar15" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier )))) ;) (expression_statement "(unaff_s0->background_color).blue = (double)iVar6;" (assignment_expression "(unaff_s0->background_color).blue = (double)iVar6" (field_expression "(unaff_s0->background_color).blue" (parenthesized_expression "(unaff_s0->background_color)" ( (field_expression "unaff_s0->background_color" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(double)iVar6" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (goto_statement "goto LAB_00274594;" goto statement_identifier ;) })) (goto_statement "goto LAB_002752a0;" goto statement_identifier ;) })) (if_statement "if ((Image *)&DAT_00000011 < unaff_s7) {\n                    iVar16 = 8;\n                    iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar12 == -1) break;\n                      iVar16 = iVar16 + -1;\n                    } while (iVar16 != 0);\n                    if (iVar6 == 2) {\n                      iVar6 = 5;\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + -1;\n                      } while (iVar6 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar6 == 1) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44)) {\n                        MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                        if (MVar7 == MagickFalse) {\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x419;\n                        }\n                        else {\n                          MVar7 = ReadPixmap(unaff_s0,&pixmap);\n                          if (MVar7 != MagickFalse) {\n                            unaff_s0->depth = (int)pixmap.component_size;\n                            dVar40 = (double)(int)pixmap.horizontal_resolution;\n                            if ((int)pixmap.horizontal_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).x = dVar40;\n                            puVar15 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar40 = (double)(int)pixmap.vertical_resolution;\n                            if ((int)pixmap.vertical_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).y = dVar40;\n                            unaff_s0->units = PixelsPerInchResolution;\n                            (*(code *)puVar15)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44))\n                            {\n                              iVar6 = 0;\n                              do {\n                                iVar6 = iVar6 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar6 != uVar36 + 1);\n                              uVar37 = (int)frame.bottom - (int)frame.top;\n                              iVar6 = (int)frame.right - (int)frame.left;\n                              if (pixmap.bits_per_pixel < 9) {\n                                uVar36 = uVar36 & 0x7fff;\n                              }\n                              else if (pixmap.bits_per_pixel == 0x10) {\n                                uVar37 = uVar37 * 2;\n                              }\n                              if (uVar36 != 0) {\n                                uVar37 = uVar36;\n                              }\n                              if (uVar37 < 8) {\n                                if (0 < (int)(uVar37 * iVar6)) {\n                                  iVar16 = 0;\n                                  do {\n                                    iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar12 == -1) break;\n                                    iVar16 = iVar16 + 1;\n                                  } while (uVar37 * iVar6 != iVar16);\n                                }\n                              }\n                              else {\n                                iVar16 = 0;\n                                if (0 < iVar6) {\n                                  do {\n                                    iVar12 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar12 != 0) break;\n                                    if (uVar37 < 0xc9) {\n                                      uVar36 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) &&\n                                       ((uint)uVar44 < uVar36)) {\n                                      if (unaff_s3 != (ImageInfo *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar38 = 0;\n                                    if (0 < (int)uVar36) {\n                                      do {\n                                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar12 == -1) break;\n                                        uVar38 = uVar38 + 1;\n                                      } while (uVar36 != uVar38);\n                                    }\n                                    iVar16 = iVar16 + 1;\n                                  } while (iVar6 != iVar16);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x413;\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    pIVar9 = unaff_s7;\n                    goto LAB_0027507c;\n                  }" if (parenthesized_expression "((Image *)&DAT_00000011 < unaff_s7)" ( (binary_expression "(Image *)&DAT_00000011 < unaff_s7" (cast_expression "(Image *)&DAT_00000011" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_00000011" & identifier)) < identifier) )) (compound_statement "{\n                    iVar16 = 8;\n                    iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar12 == -1) break;\n                      iVar16 = iVar16 + -1;\n                    } while (iVar16 != 0);\n                    if (iVar6 == 2) {\n                      iVar6 = 5;\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + -1;\n                      } while (iVar6 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar6 == 1) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44)) {\n                        MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                        if (MVar7 == MagickFalse) {\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x419;\n                        }\n                        else {\n                          MVar7 = ReadPixmap(unaff_s0,&pixmap);\n                          if (MVar7 != MagickFalse) {\n                            unaff_s0->depth = (int)pixmap.component_size;\n                            dVar40 = (double)(int)pixmap.horizontal_resolution;\n                            if ((int)pixmap.horizontal_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).x = dVar40;\n                            puVar15 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar40 = (double)(int)pixmap.vertical_resolution;\n                            if ((int)pixmap.vertical_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).y = dVar40;\n                            unaff_s0->units = PixelsPerInchResolution;\n                            (*(code *)puVar15)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44))\n                            {\n                              iVar6 = 0;\n                              do {\n                                iVar6 = iVar6 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar6 != uVar36 + 1);\n                              uVar37 = (int)frame.bottom - (int)frame.top;\n                              iVar6 = (int)frame.right - (int)frame.left;\n                              if (pixmap.bits_per_pixel < 9) {\n                                uVar36 = uVar36 & 0x7fff;\n                              }\n                              else if (pixmap.bits_per_pixel == 0x10) {\n                                uVar37 = uVar37 * 2;\n                              }\n                              if (uVar36 != 0) {\n                                uVar37 = uVar36;\n                              }\n                              if (uVar37 < 8) {\n                                if (0 < (int)(uVar37 * iVar6)) {\n                                  iVar16 = 0;\n                                  do {\n                                    iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar12 == -1) break;\n                                    iVar16 = iVar16 + 1;\n                                  } while (uVar37 * iVar6 != iVar16);\n                                }\n                              }\n                              else {\n                                iVar16 = 0;\n                                if (0 < iVar6) {\n                                  do {\n                                    iVar12 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar12 != 0) break;\n                                    if (uVar37 < 0xc9) {\n                                      uVar36 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) &&\n                                       ((uint)uVar44 < uVar36)) {\n                                      if (unaff_s3 != (ImageInfo *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar38 = 0;\n                                    if (0 < (int)uVar36) {\n                                      do {\n                                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar12 == -1) break;\n                                        uVar38 = uVar38 + 1;\n                                      } while (uVar36 != uVar38);\n                                    }\n                                    iVar16 = iVar16 + 1;\n                                  } while (iVar6 != iVar16);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x413;\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    pIVar9 = unaff_s7;\n                    goto LAB_0027507c;\n                  }" { (expression_statement "iVar16 = 8;" (assignment_expression "iVar16 = 8" identifier = number_literal) ;) (expression_statement "iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (assignment_expression "iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier )))) ;) (do_statement "do {\n                      iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar12 == -1) break;\n                      iVar16 = iVar16 + -1;\n                    } while (iVar16 != 0);" do (compound_statement "{\n                      iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar12 == -1) break;\n                      iVar16 = iVar16 + -1;\n                    }" { (expression_statement "iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (iVar12 == -1) break;" if (parenthesized_expression "(iVar12 == -1)" ( (binary_expression "iVar12 == -1" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar16 = iVar16 + -1;" (assignment_expression "iVar16 = iVar16 + -1" identifier = (binary_expression "iVar16 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar16 != 0)" ( (binary_expression "iVar16 != 0" identifier != number_literal) )) ;) (if_statement "if (iVar6 == 2) {\n                      iVar6 = 5;\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + -1;\n                      } while (iVar6 != 0);\n                      goto LAB_00274584;\n                    }" if (parenthesized_expression "(iVar6 == 2)" ( (binary_expression "iVar6 == 2" identifier == number_literal) )) (compound_statement "{\n                      iVar6 = 5;\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + -1;\n                      } while (iVar6 != 0);\n                      goto LAB_00274584;\n                    }" { (expression_statement "iVar6 = 5;" (assignment_expression "iVar6 = 5" identifier = number_literal) ;) (do_statement "do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + -1;\n                      } while (iVar6 != 0);" do (compound_statement "{\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + -1;\n                      }" { (expression_statement "iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (iVar16 == -1) break;" if (parenthesized_expression "(iVar16 == -1)" ( (binary_expression "iVar16 == -1" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) ;) (goto_statement "goto LAB_00274584;" goto statement_identifier ;) })) (if_statement "if (iVar6 == 1) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44)) {\n                        MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                        if (MVar7 == MagickFalse) {\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x419;\n                        }\n                        else {\n                          MVar7 = ReadPixmap(unaff_s0,&pixmap);\n                          if (MVar7 != MagickFalse) {\n                            unaff_s0->depth = (int)pixmap.component_size;\n                            dVar40 = (double)(int)pixmap.horizontal_resolution;\n                            if ((int)pixmap.horizontal_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).x = dVar40;\n                            puVar15 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar40 = (double)(int)pixmap.vertical_resolution;\n                            if ((int)pixmap.vertical_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).y = dVar40;\n                            unaff_s0->units = PixelsPerInchResolution;\n                            (*(code *)puVar15)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44))\n                            {\n                              iVar6 = 0;\n                              do {\n                                iVar6 = iVar6 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar6 != uVar36 + 1);\n                              uVar37 = (int)frame.bottom - (int)frame.top;\n                              iVar6 = (int)frame.right - (int)frame.left;\n                              if (pixmap.bits_per_pixel < 9) {\n                                uVar36 = uVar36 & 0x7fff;\n                              }\n                              else if (pixmap.bits_per_pixel == 0x10) {\n                                uVar37 = uVar37 * 2;\n                              }\n                              if (uVar36 != 0) {\n                                uVar37 = uVar36;\n                              }\n                              if (uVar37 < 8) {\n                                if (0 < (int)(uVar37 * iVar6)) {\n                                  iVar16 = 0;\n                                  do {\n                                    iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar12 == -1) break;\n                                    iVar16 = iVar16 + 1;\n                                  } while (uVar37 * iVar6 != iVar16);\n                                }\n                              }\n                              else {\n                                iVar16 = 0;\n                                if (0 < iVar6) {\n                                  do {\n                                    iVar12 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar12 != 0) break;\n                                    if (uVar37 < 0xc9) {\n                                      uVar36 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) &&\n                                       ((uint)uVar44 < uVar36)) {\n                                      if (unaff_s3 != (ImageInfo *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar38 = 0;\n                                    if (0 < (int)uVar36) {\n                                      do {\n                                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar12 == -1) break;\n                                        uVar38 = uVar38 + 1;\n                                      } while (uVar36 != uVar38);\n                                    }\n                                    iVar16 = iVar16 + 1;\n                                  } while (iVar6 != iVar16);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x417;\n                      goto LAB_00275880;\n                    }" if (parenthesized_expression "(iVar6 == 1)" ( (binary_expression "iVar6 == 1" identifier == number_literal) )) (compound_statement "{\n                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44)) {\n                        MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                        if (MVar7 == MagickFalse) {\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x419;\n                        }\n                        else {\n                          MVar7 = ReadPixmap(unaff_s0,&pixmap);\n                          if (MVar7 != MagickFalse) {\n                            unaff_s0->depth = (int)pixmap.component_size;\n                            dVar40 = (double)(int)pixmap.horizontal_resolution;\n                            if ((int)pixmap.horizontal_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).x = dVar40;\n                            puVar15 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar40 = (double)(int)pixmap.vertical_resolution;\n                            if ((int)pixmap.vertical_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).y = dVar40;\n                            unaff_s0->units = PixelsPerInchResolution;\n                            (*(code *)puVar15)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44))\n                            {\n                              iVar6 = 0;\n                              do {\n                                iVar6 = iVar6 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar6 != uVar36 + 1);\n                              uVar37 = (int)frame.bottom - (int)frame.top;\n                              iVar6 = (int)frame.right - (int)frame.left;\n                              if (pixmap.bits_per_pixel < 9) {\n                                uVar36 = uVar36 & 0x7fff;\n                              }\n                              else if (pixmap.bits_per_pixel == 0x10) {\n                                uVar37 = uVar37 * 2;\n                              }\n                              if (uVar36 != 0) {\n                                uVar37 = uVar36;\n                              }\n                              if (uVar37 < 8) {\n                                if (0 < (int)(uVar37 * iVar6)) {\n                                  iVar16 = 0;\n                                  do {\n                                    iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar12 == -1) break;\n                                    iVar16 = iVar16 + 1;\n                                  } while (uVar37 * iVar6 != iVar16);\n                                }\n                              }\n                              else {\n                                iVar16 = 0;\n                                if (0 < iVar6) {\n                                  do {\n                                    iVar12 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar12 != 0) break;\n                                    if (uVar37 < 0xc9) {\n                                      uVar36 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) &&\n                                       ((uint)uVar44 < uVar36)) {\n                                      if (unaff_s3 != (ImageInfo *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar38 = 0;\n                                    if (0 < (int)uVar36) {\n                                      do {\n                                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar12 == -1) break;\n                                        uVar38 = uVar38 + 1;\n                                      } while (uVar36 != uVar38);\n                                    }\n                                    iVar16 = iVar16 + 1;\n                                  } while (iVar6 != iVar16);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x417;\n                      goto LAB_00275880;\n                    }" { (expression_statement "uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (assignment_expression "uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier )))) ;) (expression_statement "uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);" (assignment_expression "uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44)) {\n                        MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                        if (MVar7 == MagickFalse) {\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x419;\n                        }\n                        else {\n                          MVar7 = ReadPixmap(unaff_s0,&pixmap);\n                          if (MVar7 != MagickFalse) {\n                            unaff_s0->depth = (int)pixmap.component_size;\n                            dVar40 = (double)(int)pixmap.horizontal_resolution;\n                            if ((int)pixmap.horizontal_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).x = dVar40;\n                            puVar15 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar40 = (double)(int)pixmap.vertical_resolution;\n                            if ((int)pixmap.vertical_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).y = dVar40;\n                            unaff_s0->units = PixelsPerInchResolution;\n                            (*(code *)puVar15)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44))\n                            {\n                              iVar6 = 0;\n                              do {\n                                iVar6 = iVar6 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar6 != uVar36 + 1);\n                              uVar37 = (int)frame.bottom - (int)frame.top;\n                              iVar6 = (int)frame.right - (int)frame.left;\n                              if (pixmap.bits_per_pixel < 9) {\n                                uVar36 = uVar36 & 0x7fff;\n                              }\n                              else if (pixmap.bits_per_pixel == 0x10) {\n                                uVar37 = uVar37 * 2;\n                              }\n                              if (uVar36 != 0) {\n                                uVar37 = uVar36;\n                              }\n                              if (uVar37 < 8) {\n                                if (0 < (int)(uVar37 * iVar6)) {\n                                  iVar16 = 0;\n                                  do {\n                                    iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar12 == -1) break;\n                                    iVar16 = iVar16 + 1;\n                                  } while (uVar37 * iVar6 != iVar16);\n                                }\n                              }\n                              else {\n                                iVar16 = 0;\n                                if (0 < iVar6) {\n                                  do {\n                                    iVar12 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar12 != 0) break;\n                                    if (uVar37 < 0xc9) {\n                                      uVar36 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) &&\n                                       ((uint)uVar44 < uVar36)) {\n                                      if (unaff_s3 != (ImageInfo *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar38 = 0;\n                                    if (0 < (int)uVar36) {\n                                      do {\n                                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar12 == -1) break;\n                                        uVar38 = uVar38 + 1;\n                                      } while (uVar36 != uVar38);\n                                    }\n                                    iVar16 = iVar16 + 1;\n                                  } while (iVar6 != iVar16);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }" if (parenthesized_expression "(((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44))" ( (binary_expression "((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44)" (parenthesized_expression "((int)((ulonglong)uVar44 >> 0x20) != 0)" ( (binary_expression "(int)((ulonglong)uVar44 >> 0x20) != 0" (cast_expression "(int)((ulonglong)uVar44 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar44 >> 0x20)" ( (binary_expression "(ulonglong)uVar44 >> 0x20" (cast_expression "(ulonglong)uVar44" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) != number_literal) )) || (parenthesized_expression "(uVar36 <= (uint)uVar44)" ( (binary_expression "uVar36 <= (uint)uVar44" identifier <= (cast_expression "(uint)uVar44" ( (type_descriptor "uint" type_identifier) ) identifier)) ))) )) (compound_statement "{\n                        MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                        if (MVar7 == MagickFalse) {\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x419;\n                        }\n                        else {\n                          MVar7 = ReadPixmap(unaff_s0,&pixmap);\n                          if (MVar7 != MagickFalse) {\n                            unaff_s0->depth = (int)pixmap.component_size;\n                            dVar40 = (double)(int)pixmap.horizontal_resolution;\n                            if ((int)pixmap.horizontal_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).x = dVar40;\n                            puVar15 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar40 = (double)(int)pixmap.vertical_resolution;\n                            if ((int)pixmap.vertical_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).y = dVar40;\n                            unaff_s0->units = PixelsPerInchResolution;\n                            (*(code *)puVar15)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44))\n                            {\n                              iVar6 = 0;\n                              do {\n                                iVar6 = iVar6 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar6 != uVar36 + 1);\n                              uVar37 = (int)frame.bottom - (int)frame.top;\n                              iVar6 = (int)frame.right - (int)frame.left;\n                              if (pixmap.bits_per_pixel < 9) {\n                                uVar36 = uVar36 & 0x7fff;\n                              }\n                              else if (pixmap.bits_per_pixel == 0x10) {\n                                uVar37 = uVar37 * 2;\n                              }\n                              if (uVar36 != 0) {\n                                uVar37 = uVar36;\n                              }\n                              if (uVar37 < 8) {\n                                if (0 < (int)(uVar37 * iVar6)) {\n                                  iVar16 = 0;\n                                  do {\n                                    iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar12 == -1) break;\n                                    iVar16 = iVar16 + 1;\n                                  } while (uVar37 * iVar6 != iVar16);\n                                }\n                              }\n                              else {\n                                iVar16 = 0;\n                                if (0 < iVar6) {\n                                  do {\n                                    iVar12 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar12 != 0) break;\n                                    if (uVar37 < 0xc9) {\n                                      uVar36 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) &&\n                                       ((uint)uVar44 < uVar36)) {\n                                      if (unaff_s3 != (ImageInfo *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar38 = 0;\n                                    if (0 < (int)uVar36) {\n                                      do {\n                                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar12 == -1) break;\n                                        uVar38 = uVar38 + 1;\n                                      } while (uVar36 != uVar38);\n                                    }\n                                    iVar16 = iVar16 + 1;\n                                  } while (iVar6 != iVar16);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }" { (expression_statement "MVar7 = ReadRectangle(unaff_s0,local_10bc);" (assignment_expression "MVar7 = ReadRectangle(unaff_s0,local_10bc)" identifier = (call_expression "ReadRectangle(unaff_s0,local_10bc)" identifier (argument_list "(unaff_s0,local_10bc)" ( identifier , identifier )))) ;) (if_statement "if (MVar7 == MagickFalse) {\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x419;\n                        }\n                        else {\n                          MVar7 = ReadPixmap(unaff_s0,&pixmap);\n                          if (MVar7 != MagickFalse) {\n                            unaff_s0->depth = (int)pixmap.component_size;\n                            dVar40 = (double)(int)pixmap.horizontal_resolution;\n                            if ((int)pixmap.horizontal_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).x = dVar40;\n                            puVar15 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar40 = (double)(int)pixmap.vertical_resolution;\n                            if ((int)pixmap.vertical_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).y = dVar40;\n                            unaff_s0->units = PixelsPerInchResolution;\n                            (*(code *)puVar15)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44))\n                            {\n                              iVar6 = 0;\n                              do {\n                                iVar6 = iVar6 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar6 != uVar36 + 1);\n                              uVar37 = (int)frame.bottom - (int)frame.top;\n                              iVar6 = (int)frame.right - (int)frame.left;\n                              if (pixmap.bits_per_pixel < 9) {\n                                uVar36 = uVar36 & 0x7fff;\n                              }\n                              else if (pixmap.bits_per_pixel == 0x10) {\n                                uVar37 = uVar37 * 2;\n                              }\n                              if (uVar36 != 0) {\n                                uVar37 = uVar36;\n                              }\n                              if (uVar37 < 8) {\n                                if (0 < (int)(uVar37 * iVar6)) {\n                                  iVar16 = 0;\n                                  do {\n                                    iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar12 == -1) break;\n                                    iVar16 = iVar16 + 1;\n                                  } while (uVar37 * iVar6 != iVar16);\n                                }\n                              }\n                              else {\n                                iVar16 = 0;\n                                if (0 < iVar6) {\n                                  do {\n                                    iVar12 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar12 != 0) break;\n                                    if (uVar37 < 0xc9) {\n                                      uVar36 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) &&\n                                       ((uint)uVar44 < uVar36)) {\n                                      if (unaff_s3 != (ImageInfo *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar38 = 0;\n                                    if (0 < (int)uVar36) {\n                                      do {\n                                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar12 == -1) break;\n                                        uVar38 = uVar38 + 1;\n                                      } while (uVar36 != uVar38);\n                                    }\n                                    iVar16 = iVar16 + 1;\n                                  } while (iVar6 != iVar16);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x41b;\n                        }" if (parenthesized_expression "(MVar7 == MagickFalse)" ( (binary_expression "MVar7 == MagickFalse" identifier == identifier) )) (compound_statement "{\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x419;\n                        }" { (if_statement "if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }" if (parenthesized_expression "(unaff_s3 != (ImageInfo *)0x0)" ( (binary_expression "unaff_s3 != (ImageInfo *)0x0" identifier != (cast_expression "(ImageInfo *)0x0" ( (type_descriptor "ImageInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3)" ( identifier ))) ;) })) (if_statement "if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar32 = 0x419;" (assignment_expression "uVar32 = 0x419" identifier = number_literal) ;) }) (else_clause "else {\n                          MVar7 = ReadPixmap(unaff_s0,&pixmap);\n                          if (MVar7 != MagickFalse) {\n                            unaff_s0->depth = (int)pixmap.component_size;\n                            dVar40 = (double)(int)pixmap.horizontal_resolution;\n                            if ((int)pixmap.horizontal_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).x = dVar40;\n                            puVar15 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar40 = (double)(int)pixmap.vertical_resolution;\n                            if ((int)pixmap.vertical_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).y = dVar40;\n                            unaff_s0->units = PixelsPerInchResolution;\n                            (*(code *)puVar15)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44))\n                            {\n                              iVar6 = 0;\n                              do {\n                                iVar6 = iVar6 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar6 != uVar36 + 1);\n                              uVar37 = (int)frame.bottom - (int)frame.top;\n                              iVar6 = (int)frame.right - (int)frame.left;\n                              if (pixmap.bits_per_pixel < 9) {\n                                uVar36 = uVar36 & 0x7fff;\n                              }\n                              else if (pixmap.bits_per_pixel == 0x10) {\n                                uVar37 = uVar37 * 2;\n                              }\n                              if (uVar36 != 0) {\n                                uVar37 = uVar36;\n                              }\n                              if (uVar37 < 8) {\n                                if (0 < (int)(uVar37 * iVar6)) {\n                                  iVar16 = 0;\n                                  do {\n                                    iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar12 == -1) break;\n                                    iVar16 = iVar16 + 1;\n                                  } while (uVar37 * iVar6 != iVar16);\n                                }\n                              }\n                              else {\n                                iVar16 = 0;\n                                if (0 < iVar6) {\n                                  do {\n                                    iVar12 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar12 != 0) break;\n                                    if (uVar37 < 0xc9) {\n                                      uVar36 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) &&\n                                       ((uint)uVar44 < uVar36)) {\n                                      if (unaff_s3 != (ImageInfo *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar38 = 0;\n                                    if (0 < (int)uVar36) {\n                                      do {\n                                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar12 == -1) break;\n                                        uVar38 = uVar38 + 1;\n                                      } while (uVar36 != uVar38);\n                                    }\n                                    iVar16 = iVar16 + 1;\n                                  } while (iVar6 != iVar16);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x41b;\n                        }" else (compound_statement "{\n                          MVar7 = ReadPixmap(unaff_s0,&pixmap);\n                          if (MVar7 != MagickFalse) {\n                            unaff_s0->depth = (int)pixmap.component_size;\n                            dVar40 = (double)(int)pixmap.horizontal_resolution;\n                            if ((int)pixmap.horizontal_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).x = dVar40;\n                            puVar15 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar40 = (double)(int)pixmap.vertical_resolution;\n                            if ((int)pixmap.vertical_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).y = dVar40;\n                            unaff_s0->units = PixelsPerInchResolution;\n                            (*(code *)puVar15)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44))\n                            {\n                              iVar6 = 0;\n                              do {\n                                iVar6 = iVar6 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar6 != uVar36 + 1);\n                              uVar37 = (int)frame.bottom - (int)frame.top;\n                              iVar6 = (int)frame.right - (int)frame.left;\n                              if (pixmap.bits_per_pixel < 9) {\n                                uVar36 = uVar36 & 0x7fff;\n                              }\n                              else if (pixmap.bits_per_pixel == 0x10) {\n                                uVar37 = uVar37 * 2;\n                              }\n                              if (uVar36 != 0) {\n                                uVar37 = uVar36;\n                              }\n                              if (uVar37 < 8) {\n                                if (0 < (int)(uVar37 * iVar6)) {\n                                  iVar16 = 0;\n                                  do {\n                                    iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar12 == -1) break;\n                                    iVar16 = iVar16 + 1;\n                                  } while (uVar37 * iVar6 != iVar16);\n                                }\n                              }\n                              else {\n                                iVar16 = 0;\n                                if (0 < iVar6) {\n                                  do {\n                                    iVar12 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar12 != 0) break;\n                                    if (uVar37 < 0xc9) {\n                                      uVar36 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) &&\n                                       ((uint)uVar44 < uVar36)) {\n                                      if (unaff_s3 != (ImageInfo *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar38 = 0;\n                                    if (0 < (int)uVar36) {\n                                      do {\n                                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar12 == -1) break;\n                                        uVar38 = uVar38 + 1;\n                                      } while (uVar36 != uVar38);\n                                    }\n                                    iVar16 = iVar16 + 1;\n                                  } while (iVar6 != iVar16);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x41b;\n                        }" { (expression_statement "MVar7 = ReadPixmap(unaff_s0,&pixmap);" (assignment_expression "MVar7 = ReadPixmap(unaff_s0,&pixmap)" identifier = (call_expression "ReadPixmap(unaff_s0,&pixmap)" identifier (argument_list "(unaff_s0,&pixmap)" ( identifier , (pointer_expression "&pixmap" & identifier) )))) ;) (if_statement "if (MVar7 != MagickFalse) {\n                            unaff_s0->depth = (int)pixmap.component_size;\n                            dVar40 = (double)(int)pixmap.horizontal_resolution;\n                            if ((int)pixmap.horizontal_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).x = dVar40;\n                            puVar15 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar40 = (double)(int)pixmap.vertical_resolution;\n                            if ((int)pixmap.vertical_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).y = dVar40;\n                            unaff_s0->units = PixelsPerInchResolution;\n                            (*(code *)puVar15)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44))\n                            {\n                              iVar6 = 0;\n                              do {\n                                iVar6 = iVar6 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar6 != uVar36 + 1);\n                              uVar37 = (int)frame.bottom - (int)frame.top;\n                              iVar6 = (int)frame.right - (int)frame.left;\n                              if (pixmap.bits_per_pixel < 9) {\n                                uVar36 = uVar36 & 0x7fff;\n                              }\n                              else if (pixmap.bits_per_pixel == 0x10) {\n                                uVar37 = uVar37 * 2;\n                              }\n                              if (uVar36 != 0) {\n                                uVar37 = uVar36;\n                              }\n                              if (uVar37 < 8) {\n                                if (0 < (int)(uVar37 * iVar6)) {\n                                  iVar16 = 0;\n                                  do {\n                                    iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar12 == -1) break;\n                                    iVar16 = iVar16 + 1;\n                                  } while (uVar37 * iVar6 != iVar16);\n                                }\n                              }\n                              else {\n                                iVar16 = 0;\n                                if (0 < iVar6) {\n                                  do {\n                                    iVar12 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar12 != 0) break;\n                                    if (uVar37 < 0xc9) {\n                                      uVar36 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) &&\n                                       ((uint)uVar44 < uVar36)) {\n                                      if (unaff_s3 != (ImageInfo *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar38 = 0;\n                                    if (0 < (int)uVar36) {\n                                      do {\n                                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar12 == -1) break;\n                                        uVar38 = uVar38 + 1;\n                                      } while (uVar36 != uVar38);\n                                    }\n                                    iVar16 = iVar16 + 1;\n                                  } while (iVar6 != iVar16);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x425;\n                            goto LAB_00275880;\n                          }" if (parenthesized_expression "(MVar7 != MagickFalse)" ( (binary_expression "MVar7 != MagickFalse" identifier != identifier) )) (compound_statement "{\n                            unaff_s0->depth = (int)pixmap.component_size;\n                            dVar40 = (double)(int)pixmap.horizontal_resolution;\n                            if ((int)pixmap.horizontal_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).x = dVar40;\n                            puVar15 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar40 = (double)(int)pixmap.vertical_resolution;\n                            if ((int)pixmap.vertical_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            (unaff_s0->resolution).y = dVar40;\n                            unaff_s0->units = PixelsPerInchResolution;\n                            (*(code *)puVar15)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44))\n                            {\n                              iVar6 = 0;\n                              do {\n                                iVar6 = iVar6 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar6 != uVar36 + 1);\n                              uVar37 = (int)frame.bottom - (int)frame.top;\n                              iVar6 = (int)frame.right - (int)frame.left;\n                              if (pixmap.bits_per_pixel < 9) {\n                                uVar36 = uVar36 & 0x7fff;\n                              }\n                              else if (pixmap.bits_per_pixel == 0x10) {\n                                uVar37 = uVar37 * 2;\n                              }\n                              if (uVar36 != 0) {\n                                uVar37 = uVar36;\n                              }\n                              if (uVar37 < 8) {\n                                if (0 < (int)(uVar37 * iVar6)) {\n                                  iVar16 = 0;\n                                  do {\n                                    iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar12 == -1) break;\n                                    iVar16 = iVar16 + 1;\n                                  } while (uVar37 * iVar6 != iVar16);\n                                }\n                              }\n                              else {\n                                iVar16 = 0;\n                                if (0 < iVar6) {\n                                  do {\n                                    iVar12 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar12 != 0) break;\n                                    if (uVar37 < 0xc9) {\n                                      uVar36 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) &&\n                                       ((uint)uVar44 < uVar36)) {\n                                      if (unaff_s3 != (ImageInfo *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar38 = 0;\n                                    if (0 < (int)uVar36) {\n                                      do {\n                                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar12 == -1) break;\n                                        uVar38 = uVar38 + 1;\n                                      } while (uVar36 != uVar38);\n                                    }\n                                    iVar16 = iVar16 + 1;\n                                  } while (iVar6 != iVar16);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x425;\n                            goto LAB_00275880;\n                          }" { (expression_statement "unaff_s0->depth = (int)pixmap.component_size;" (assignment_expression "unaff_s0->depth = (int)pixmap.component_size" (field_expression "unaff_s0->depth" identifier -> field_identifier) = (cast_expression "(int)pixmap.component_size" ( (type_descriptor "int" primitive_type) ) (field_expression "pixmap.component_size" identifier . field_identifier))) ;) (expression_statement "dVar40 = (double)(int)pixmap.horizontal_resolution;" (assignment_expression "dVar40 = (double)(int)pixmap.horizontal_resolution" identifier = (cast_expression "(double)(int)pixmap.horizontal_resolution" ( (type_descriptor "double" primitive_type) ) (cast_expression "(int)pixmap.horizontal_resolution" ( (type_descriptor "int" primitive_type) ) (field_expression "pixmap.horizontal_resolution" identifier . field_identifier)))) ;) (if_statement "if ((int)pixmap.horizontal_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }" if (parenthesized_expression "((int)pixmap.horizontal_resolution < 0)" ( (binary_expression "(int)pixmap.horizontal_resolution < 0" (cast_expression "(int)pixmap.horizontal_resolution" ( (type_descriptor "int" primitive_type) ) (field_expression "pixmap.horizontal_resolution" identifier . field_identifier)) < number_literal) )) (compound_statement "{\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }" { (expression_statement "dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);" (assignment_expression "dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418)" identifier = (binary_expression "dVar40 + *(double *)(local_10c8 + 0x1418)" identifier + (pointer_expression "*(double *)(local_10c8 + 0x1418)" * (cast_expression "(double *)(local_10c8 + 0x1418)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_10c8 + 0x1418)" ( (binary_expression "local_10c8 + 0x1418" identifier + number_literal) )))))) ;) })) (expression_statement "(unaff_s0->resolution).x = dVar40;" (assignment_expression "(unaff_s0->resolution).x = dVar40" (field_expression "(unaff_s0->resolution).x" (parenthesized_expression "(unaff_s0->resolution)" ( (field_expression "unaff_s0->resolution" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "puVar15 = PTR_ReadBlobMSBLong_003a8d98;" (assignment_expression "puVar15 = PTR_ReadBlobMSBLong_003a8d98" identifier = identifier) ;) (expression_statement "dVar40 = (double)(int)pixmap.vertical_resolution;" (assignment_expression "dVar40 = (double)(int)pixmap.vertical_resolution" identifier = (cast_expression "(double)(int)pixmap.vertical_resolution" ( (type_descriptor "double" primitive_type) ) (cast_expression "(int)pixmap.vertical_resolution" ( (type_descriptor "int" primitive_type) ) (field_expression "pixmap.vertical_resolution" identifier . field_identifier)))) ;) (if_statement "if ((int)pixmap.vertical_resolution < 0) {\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }" if (parenthesized_expression "((int)pixmap.vertical_resolution < 0)" ( (binary_expression "(int)pixmap.vertical_resolution < 0" (cast_expression "(int)pixmap.vertical_resolution" ( (type_descriptor "int" primitive_type) ) (field_expression "pixmap.vertical_resolution" identifier . field_identifier)) < number_literal) )) (compound_statement "{\n                              dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                            }" { (expression_statement "dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);" (assignment_expression "dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418)" identifier = (binary_expression "dVar40 + *(double *)(local_10c8 + 0x1418)" identifier + (pointer_expression "*(double *)(local_10c8 + 0x1418)" * (cast_expression "(double *)(local_10c8 + 0x1418)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_10c8 + 0x1418)" ( (binary_expression "local_10c8 + 0x1418" identifier + number_literal) )))))) ;) })) (expression_statement "(unaff_s0->resolution).y = dVar40;" (assignment_expression "(unaff_s0->resolution).y = dVar40" (field_expression "(unaff_s0->resolution).y" (parenthesized_expression "(unaff_s0->resolution)" ( (field_expression "unaff_s0->resolution" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "unaff_s0->units = PixelsPerInchResolution;" (assignment_expression "unaff_s0->units = PixelsPerInchResolution" (field_expression "unaff_s0->units" identifier -> field_identifier) = identifier) ;) (expression_statement "(*(code *)puVar15)(unaff_s0);" (call_expression "(*(code *)puVar15)(unaff_s0)" (parenthesized_expression "(*(code *)puVar15)" ( (pointer_expression "*(code *)puVar15" * (cast_expression "(code *)puVar15" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier ))) ;) (expression_statement "uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (assignment_expression "uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier )))) ;) (expression_statement "uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);" (assignment_expression "uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44))\n                            {\n                              iVar6 = 0;\n                              do {\n                                iVar6 = iVar6 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar6 != uVar36 + 1);\n                              uVar37 = (int)frame.bottom - (int)frame.top;\n                              iVar6 = (int)frame.right - (int)frame.left;\n                              if (pixmap.bits_per_pixel < 9) {\n                                uVar36 = uVar36 & 0x7fff;\n                              }\n                              else if (pixmap.bits_per_pixel == 0x10) {\n                                uVar37 = uVar37 * 2;\n                              }\n                              if (uVar36 != 0) {\n                                uVar37 = uVar36;\n                              }\n                              if (uVar37 < 8) {\n                                if (0 < (int)(uVar37 * iVar6)) {\n                                  iVar16 = 0;\n                                  do {\n                                    iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar12 == -1) break;\n                                    iVar16 = iVar16 + 1;\n                                  } while (uVar37 * iVar6 != iVar16);\n                                }\n                              }\n                              else {\n                                iVar16 = 0;\n                                if (0 < iVar6) {\n                                  do {\n                                    iVar12 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar12 != 0) break;\n                                    if (uVar37 < 0xc9) {\n                                      uVar36 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) &&\n                                       ((uint)uVar44 < uVar36)) {\n                                      if (unaff_s3 != (ImageInfo *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar38 = 0;\n                                    if (0 < (int)uVar36) {\n                                      do {\n                                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar12 == -1) break;\n                                        uVar38 = uVar38 + 1;\n                                      } while (uVar36 != uVar38);\n                                    }\n                                    iVar16 = iVar16 + 1;\n                                  } while (iVar6 != iVar16);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }" if (parenthesized_expression "(((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44))" ( (binary_expression "((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44)" (parenthesized_expression "((int)((ulonglong)uVar44 >> 0x20) != 0)" ( (binary_expression "(int)((ulonglong)uVar44 >> 0x20) != 0" (cast_expression "(int)((ulonglong)uVar44 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar44 >> 0x20)" ( (binary_expression "(ulonglong)uVar44 >> 0x20" (cast_expression "(ulonglong)uVar44" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) != number_literal) )) || (parenthesized_expression "(uVar36 <= (uint)uVar44)" ( (binary_expression "uVar36 <= (uint)uVar44" identifier <= (cast_expression "(uint)uVar44" ( (type_descriptor "uint" type_identifier) ) identifier)) ))) )) (compound_statement "{\n                              iVar6 = 0;\n                              do {\n                                iVar6 = iVar6 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar6 != uVar36 + 1);\n                              uVar37 = (int)frame.bottom - (int)frame.top;\n                              iVar6 = (int)frame.right - (int)frame.left;\n                              if (pixmap.bits_per_pixel < 9) {\n                                uVar36 = uVar36 & 0x7fff;\n                              }\n                              else if (pixmap.bits_per_pixel == 0x10) {\n                                uVar37 = uVar37 * 2;\n                              }\n                              if (uVar36 != 0) {\n                                uVar37 = uVar36;\n                              }\n                              if (uVar37 < 8) {\n                                if (0 < (int)(uVar37 * iVar6)) {\n                                  iVar16 = 0;\n                                  do {\n                                    iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar12 == -1) break;\n                                    iVar16 = iVar16 + 1;\n                                  } while (uVar37 * iVar6 != iVar16);\n                                }\n                              }\n                              else {\n                                iVar16 = 0;\n                                if (0 < iVar6) {\n                                  do {\n                                    iVar12 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar12 != 0) break;\n                                    if (uVar37 < 0xc9) {\n                                      uVar36 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) &&\n                                       ((uint)uVar44 < uVar36)) {\n                                      if (unaff_s3 != (ImageInfo *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar38 = 0;\n                                    if (0 < (int)uVar36) {\n                                      do {\n                                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar12 == -1) break;\n                                        uVar38 = uVar38 + 1;\n                                      } while (uVar36 != uVar38);\n                                    }\n                                    iVar16 = iVar16 + 1;\n                                  } while (iVar6 != iVar16);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }" { (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (do_statement "do {\n                                iVar6 = iVar6 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar6 != uVar36 + 1);" do (compound_statement "{\n                                iVar6 = iVar6 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              }" { (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) (expression_statement "(*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);" (call_expression "(*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBLong_003a8d98)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBLong_003a8d98" * (cast_expression "(code *)PTR_ReadBlobMSBLong_003a8d98" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier ))) ;) }) while (parenthesized_expression "(iVar6 != uVar36 + 1)" ( (binary_expression "iVar6 != uVar36 + 1" identifier != (binary_expression "uVar36 + 1" identifier + number_literal)) )) ;) (expression_statement "uVar37 = (int)frame.bottom - (int)frame.top;" (assignment_expression "uVar37 = (int)frame.bottom - (int)frame.top" identifier = (binary_expression "(int)frame.bottom - (int)frame.top" (cast_expression "(int)frame.bottom" ( (type_descriptor "int" primitive_type) ) (field_expression "frame.bottom" identifier . field_identifier)) - (cast_expression "(int)frame.top" ( (type_descriptor "int" primitive_type) ) (field_expression "frame.top" identifier . field_identifier)))) ;) (expression_statement "iVar6 = (int)frame.right - (int)frame.left;" (assignment_expression "iVar6 = (int)frame.right - (int)frame.left" identifier = (binary_expression "(int)frame.right - (int)frame.left" (cast_expression "(int)frame.right" ( (type_descriptor "int" primitive_type) ) (field_expression "frame.right" identifier . field_identifier)) - (cast_expression "(int)frame.left" ( (type_descriptor "int" primitive_type) ) (field_expression "frame.left" identifier . field_identifier)))) ;) (if_statement "if (pixmap.bits_per_pixel < 9) {\n                                uVar36 = uVar36 & 0x7fff;\n                              }\n                              else if (pixmap.bits_per_pixel == 0x10) {\n                                uVar37 = uVar37 * 2;\n                              }" if (parenthesized_expression "(pixmap.bits_per_pixel < 9)" ( (binary_expression "pixmap.bits_per_pixel < 9" (field_expression "pixmap.bits_per_pixel" identifier . field_identifier) < number_literal) )) (compound_statement "{\n                                uVar36 = uVar36 & 0x7fff;\n                              }" { (expression_statement "uVar36 = uVar36 & 0x7fff;" (assignment_expression "uVar36 = uVar36 & 0x7fff" identifier = (binary_expression "uVar36 & 0x7fff" identifier & number_literal)) ;) }) (else_clause "else if (pixmap.bits_per_pixel == 0x10) {\n                                uVar37 = uVar37 * 2;\n                              }" else (if_statement "if (pixmap.bits_per_pixel == 0x10) {\n                                uVar37 = uVar37 * 2;\n                              }" if (parenthesized_expression "(pixmap.bits_per_pixel == 0x10)" ( (binary_expression "pixmap.bits_per_pixel == 0x10" (field_expression "pixmap.bits_per_pixel" identifier . field_identifier) == number_literal) )) (compound_statement "{\n                                uVar37 = uVar37 * 2;\n                              }" { (expression_statement "uVar37 = uVar37 * 2;" (assignment_expression "uVar37 = uVar37 * 2" identifier = (binary_expression "uVar37 * 2" identifier * number_literal)) ;) })))) (if_statement "if (uVar36 != 0) {\n                                uVar37 = uVar36;\n                              }" if (parenthesized_expression "(uVar36 != 0)" ( (binary_expression "uVar36 != 0" identifier != number_literal) )) (compound_statement "{\n                                uVar37 = uVar36;\n                              }" { (expression_statement "uVar37 = uVar36;" (assignment_expression "uVar37 = uVar36" identifier = identifier) ;) })) (if_statement "if (uVar37 < 8) {\n                                if (0 < (int)(uVar37 * iVar6)) {\n                                  iVar16 = 0;\n                                  do {\n                                    iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar12 == -1) break;\n                                    iVar16 = iVar16 + 1;\n                                  } while (uVar37 * iVar6 != iVar16);\n                                }\n                              }\n                              else {\n                                iVar16 = 0;\n                                if (0 < iVar6) {\n                                  do {\n                                    iVar12 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar12 != 0) break;\n                                    if (uVar37 < 0xc9) {\n                                      uVar36 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) &&\n                                       ((uint)uVar44 < uVar36)) {\n                                      if (unaff_s3 != (ImageInfo *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar38 = 0;\n                                    if (0 < (int)uVar36) {\n                                      do {\n                                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar12 == -1) break;\n                                        uVar38 = uVar38 + 1;\n                                      } while (uVar36 != uVar38);\n                                    }\n                                    iVar16 = iVar16 + 1;\n                                  } while (iVar6 != iVar16);\n                                }\n                              }" if (parenthesized_expression "(uVar37 < 8)" ( (binary_expression "uVar37 < 8" identifier < number_literal) )) (compound_statement "{\n                                if (0 < (int)(uVar37 * iVar6)) {\n                                  iVar16 = 0;\n                                  do {\n                                    iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar12 == -1) break;\n                                    iVar16 = iVar16 + 1;\n                                  } while (uVar37 * iVar6 != iVar16);\n                                }\n                              }" { (if_statement "if (0 < (int)(uVar37 * iVar6)) {\n                                  iVar16 = 0;\n                                  do {\n                                    iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar12 == -1) break;\n                                    iVar16 = iVar16 + 1;\n                                  } while (uVar37 * iVar6 != iVar16);\n                                }" if (parenthesized_expression "(0 < (int)(uVar37 * iVar6))" ( (binary_expression "0 < (int)(uVar37 * iVar6)" number_literal < (cast_expression "(int)(uVar37 * iVar6)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar37 * iVar6)" ( (binary_expression "uVar37 * iVar6" identifier * identifier) )))) )) (compound_statement "{\n                                  iVar16 = 0;\n                                  do {\n                                    iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar12 == -1) break;\n                                    iVar16 = iVar16 + 1;\n                                  } while (uVar37 * iVar6 != iVar16);\n                                }" { (expression_statement "iVar16 = 0;" (assignment_expression "iVar16 = 0" identifier = number_literal) ;) (do_statement "do {\n                                    iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar12 == -1) break;\n                                    iVar16 = iVar16 + 1;\n                                  } while (uVar37 * iVar6 != iVar16);" do (compound_statement "{\n                                    iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar12 == -1) break;\n                                    iVar16 = iVar16 + 1;\n                                  }" { (expression_statement "iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (iVar12 == -1) break;" if (parenthesized_expression "(iVar12 == -1)" ( (binary_expression "iVar12 == -1" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar16 = iVar16 + 1;" (assignment_expression "iVar16 = iVar16 + 1" identifier = (binary_expression "iVar16 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar37 * iVar6 != iVar16)" ( (binary_expression "uVar37 * iVar6 != iVar16" (binary_expression "uVar37 * iVar6" identifier * identifier) != identifier) )) ;) })) }) (else_clause "else {\n                                iVar16 = 0;\n                                if (0 < iVar6) {\n                                  do {\n                                    iVar12 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar12 != 0) break;\n                                    if (uVar37 < 0xc9) {\n                                      uVar36 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) &&\n                                       ((uint)uVar44 < uVar36)) {\n                                      if (unaff_s3 != (ImageInfo *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar38 = 0;\n                                    if (0 < (int)uVar36) {\n                                      do {\n                                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar12 == -1) break;\n                                        uVar38 = uVar38 + 1;\n                                      } while (uVar36 != uVar38);\n                                    }\n                                    iVar16 = iVar16 + 1;\n                                  } while (iVar6 != iVar16);\n                                }\n                              }" else (compound_statement "{\n                                iVar16 = 0;\n                                if (0 < iVar6) {\n                                  do {\n                                    iVar12 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar12 != 0) break;\n                                    if (uVar37 < 0xc9) {\n                                      uVar36 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) &&\n                                       ((uint)uVar44 < uVar36)) {\n                                      if (unaff_s3 != (ImageInfo *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar38 = 0;\n                                    if (0 < (int)uVar36) {\n                                      do {\n                                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar12 == -1) break;\n                                        uVar38 = uVar38 + 1;\n                                      } while (uVar36 != uVar38);\n                                    }\n                                    iVar16 = iVar16 + 1;\n                                  } while (iVar6 != iVar16);\n                                }\n                              }" { (expression_statement "iVar16 = 0;" (assignment_expression "iVar16 = 0" identifier = number_literal) ;) (if_statement "if (0 < iVar6) {\n                                  do {\n                                    iVar12 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar12 != 0) break;\n                                    if (uVar37 < 0xc9) {\n                                      uVar36 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) &&\n                                       ((uint)uVar44 < uVar36)) {\n                                      if (unaff_s3 != (ImageInfo *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar38 = 0;\n                                    if (0 < (int)uVar36) {\n                                      do {\n                                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar12 == -1) break;\n                                        uVar38 = uVar38 + 1;\n                                      } while (uVar36 != uVar38);\n                                    }\n                                    iVar16 = iVar16 + 1;\n                                  } while (iVar6 != iVar16);\n                                }" if (parenthesized_expression "(0 < iVar6)" ( (binary_expression "0 < iVar6" number_literal < identifier) )) (compound_statement "{\n                                  do {\n                                    iVar12 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar12 != 0) break;\n                                    if (uVar37 < 0xc9) {\n                                      uVar36 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) &&\n                                       ((uint)uVar44 < uVar36)) {\n                                      if (unaff_s3 != (ImageInfo *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar38 = 0;\n                                    if (0 < (int)uVar36) {\n                                      do {\n                                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar12 == -1) break;\n                                        uVar38 = uVar38 + 1;\n                                      } while (uVar36 != uVar38);\n                                    }\n                                    iVar16 = iVar16 + 1;\n                                  } while (iVar6 != iVar16);\n                                }" { (do_statement "do {\n                                    iVar12 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar12 != 0) break;\n                                    if (uVar37 < 0xc9) {\n                                      uVar36 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) &&\n                                       ((uint)uVar44 < uVar36)) {\n                                      if (unaff_s3 != (ImageInfo *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar38 = 0;\n                                    if (0 < (int)uVar36) {\n                                      do {\n                                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar12 == -1) break;\n                                        uVar38 = uVar38 + 1;\n                                      } while (uVar36 != uVar38);\n                                    }\n                                    iVar16 = iVar16 + 1;\n                                  } while (iVar6 != iVar16);" do (compound_statement "{\n                                    iVar12 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar12 != 0) break;\n                                    if (uVar37 < 0xc9) {\n                                      uVar36 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) &&\n                                       ((uint)uVar44 < uVar36)) {\n                                      if (unaff_s3 != (ImageInfo *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar38 = 0;\n                                    if (0 < (int)uVar36) {\n                                      do {\n                                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar12 == -1) break;\n                                        uVar38 = uVar38 + 1;\n                                      } while (uVar36 != uVar38);\n                                    }\n                                    iVar16 = iVar16 + 1;\n                                  }" { (expression_statement "iVar12 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);" (assignment_expression "iVar12 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_EOFBlob_003a9748)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (iVar12 != 0) break;" if (parenthesized_expression "(iVar12 != 0)" ( (binary_expression "iVar12 != 0" identifier != number_literal) )) (break_statement "break;" break ;)) (if_statement "if (uVar37 < 0xc9) {\n                                      uVar36 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }" if (parenthesized_expression "(uVar37 < 0xc9)" ( (binary_expression "uVar37 < 0xc9" identifier < number_literal) )) (compound_statement "{\n                                      uVar36 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }" { (expression_statement "uVar36 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "uVar36 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) }) (else_clause "else {\n                                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }" else (compound_statement "{\n                                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }" { (expression_statement "uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (assignment_expression "uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier )))) ;) }))) (expression_statement "uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);" (assignment_expression "uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (((int)((ulonglong)uVar44 >> 0x20) == 0) &&\n                                       ((uint)uVar44 < uVar36)) {\n                                      if (unaff_s3 != (ImageInfo *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x444;\n                                      goto LAB_00275880;\n                                    }" if (parenthesized_expression "(((int)((ulonglong)uVar44 >> 0x20) == 0) &&\n                                       ((uint)uVar44 < uVar36))" ( (binary_expression "((int)((ulonglong)uVar44 >> 0x20) == 0) &&\n                                       ((uint)uVar44 < uVar36)" (parenthesized_expression "((int)((ulonglong)uVar44 >> 0x20) == 0)" ( (binary_expression "(int)((ulonglong)uVar44 >> 0x20) == 0" (cast_expression "(int)((ulonglong)uVar44 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar44 >> 0x20)" ( (binary_expression "(ulonglong)uVar44 >> 0x20" (cast_expression "(ulonglong)uVar44" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) == number_literal) )) && (parenthesized_expression "((uint)uVar44 < uVar36)" ( (binary_expression "(uint)uVar44 < uVar36" (cast_expression "(uint)uVar44" ( (type_descriptor "uint" type_identifier) ) identifier) < identifier) ))) )) (compound_statement "{\n                                      if (unaff_s3 != (ImageInfo *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x444;\n                                      goto LAB_00275880;\n                                    }" { (if_statement "if (unaff_s3 != (ImageInfo *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }" if (parenthesized_expression "(unaff_s3 != (ImageInfo *)0x0)" ( (binary_expression "unaff_s3 != (ImageInfo *)0x0" identifier != (cast_expression "(ImageInfo *)0x0" ( (type_descriptor "ImageInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3)" ( identifier ))) ;) })) (if_statement "if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar32 = 0x444;" (assignment_expression "uVar32 = 0x444" identifier = number_literal) ;) (goto_statement "goto LAB_00275880;" goto statement_identifier ;) })) (expression_statement "uVar38 = 0;" (assignment_expression "uVar38 = 0" identifier = number_literal) ;) (if_statement "if (0 < (int)uVar36) {\n                                      do {\n                                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar12 == -1) break;\n                                        uVar38 = uVar38 + 1;\n                                      } while (uVar36 != uVar38);\n                                    }" if (parenthesized_expression "(0 < (int)uVar36)" ( (binary_expression "0 < (int)uVar36" number_literal < (cast_expression "(int)uVar36" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n                                      do {\n                                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar12 == -1) break;\n                                        uVar38 = uVar38 + 1;\n                                      } while (uVar36 != uVar38);\n                                    }" { (do_statement "do {\n                                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar12 == -1) break;\n                                        uVar38 = uVar38 + 1;\n                                      } while (uVar36 != uVar38);" do (compound_statement "{\n                                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar12 == -1) break;\n                                        uVar38 = uVar38 + 1;\n                                      }" { (expression_statement "iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (iVar12 == -1) break;" if (parenthesized_expression "(iVar12 == -1)" ( (binary_expression "iVar12 == -1" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "uVar38 = uVar38 + 1;" (assignment_expression "uVar38 = uVar38 + 1" identifier = (binary_expression "uVar38 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar36 != uVar38)" ( (binary_expression "uVar36 != uVar38" identifier != identifier) )) ;) })) (expression_statement "iVar16 = iVar16 + 1;" (assignment_expression "iVar16 = iVar16 + 1" identifier = (binary_expression "iVar16 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar6 != iVar16)" ( (binary_expression "iVar6 != iVar16" identifier != identifier) )) ;) })) }))) (goto_statement "goto LAB_00274584;" goto statement_identifier ;) })) (if_statement "if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }" if (parenthesized_expression "(unaff_s3 != (ImageInfo *)0x0)" ( (binary_expression "unaff_s3 != (ImageInfo *)0x0" identifier != (cast_expression "(ImageInfo *)0x0" ( (type_descriptor "ImageInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3)" ( identifier ))) ;) })) (if_statement "if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar32 = 0x425;" (assignment_expression "uVar32 = 0x425" identifier = number_literal) ;) (goto_statement "goto LAB_00275880;" goto statement_identifier ;) })) (if_statement "if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }" if (parenthesized_expression "(unaff_s3 != (ImageInfo *)0x0)" ( (binary_expression "unaff_s3 != (ImageInfo *)0x0" identifier != (cast_expression "(ImageInfo *)0x0" ( (type_descriptor "ImageInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3)" ( identifier ))) ;) })) (if_statement "if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar32 = 0x41b;" (assignment_expression "uVar32 = 0x41b" identifier = number_literal) ;) }))) (goto_statement "goto LAB_002757bc;" goto statement_identifier ;) })) (if_statement "if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }" if (parenthesized_expression "(unaff_s3 != (ImageInfo *)0x0)" ( (binary_expression "unaff_s3 != (ImageInfo *)0x0" identifier != (cast_expression "(ImageInfo *)0x0" ( (type_descriptor "ImageInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3)" ( identifier ))) ;) })) (if_statement "if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar32 = 0x417;" (assignment_expression "uVar32 = 0x417" identifier = number_literal) ;) (goto_statement "goto LAB_00275880;" goto statement_identifier ;) })) (if_statement "if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }" if (parenthesized_expression "(unaff_s3 != (ImageInfo *)0x0)" ( (binary_expression "unaff_s3 != (ImageInfo *)0x0" identifier != (cast_expression "(ImageInfo *)0x0" ( (type_descriptor "ImageInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3)" ( identifier ))) ;) })) (if_statement "if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar32 = 0x413;" (assignment_expression "uVar32 = 0x413" identifier = number_literal) ;) (expression_statement "puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;" (assignment_expression "puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier + number_literal)) ;) (expression_statement "uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);" (assignment_expression "uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename)" identifier = (call_expression "CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename)" identifier (argument_list "(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename)" ( (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal) , (field_expression "local_10d0->filename" identifier -> field_identifier) )))) ;) (expression_statement "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;" (assignment_expression "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier + number_literal)) ;) (expression_statement "puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;" (assignment_expression "puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14" identifier + number_literal)) ;) (expression_statement "pIVar9 = unaff_s7;" (assignment_expression "pIVar9 = unaff_s7" identifier = identifier) ;) (goto_statement "goto LAB_0027507c;" goto statement_identifier ;) })) (if_statement "if (unaff_s7 != (Image *)0x1) goto LAB_002752a0;" if (parenthesized_expression "(unaff_s7 != (Image *)0x1)" ( (binary_expression "unaff_s7 != (Image *)0x1" identifier != (cast_expression "(Image *)0x1" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_002752a0;" goto statement_identifier ;)) (expression_statement "uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (assignment_expression "uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier )))) ;) (expression_statement "uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);" (assignment_expression "uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x3e4;\n                    goto LAB_00275880;\n                  }" if (parenthesized_expression "(((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36))" ( (binary_expression "((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)" (parenthesized_expression "((int)((ulonglong)uVar44 >> 0x20) == 0)" ( (binary_expression "(int)((ulonglong)uVar44 >> 0x20) == 0" (cast_expression "(int)((ulonglong)uVar44 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar44 >> 0x20)" ( (binary_expression "(ulonglong)uVar44 >> 0x20" (cast_expression "(ulonglong)uVar44" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) == number_literal) )) && (parenthesized_expression "((uint)uVar44 < uVar36)" ( (binary_expression "(uint)uVar44 < uVar36" (cast_expression "(uint)uVar44" ( (type_descriptor "uint" type_identifier) ) identifier) < identifier) ))) )) (compound_statement "{\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x3e4;\n                    goto LAB_00275880;\n                  }" { (if_statement "if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }" if (parenthesized_expression "(unaff_s3 != (ImageInfo *)0x0)" ( (binary_expression "unaff_s3 != (ImageInfo *)0x0" identifier != (cast_expression "(ImageInfo *)0x0" ( (type_descriptor "ImageInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3)" ( identifier ))) ;) })) (if_statement "if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar32 = 0x3e4;" (assignment_expression "uVar32 = 0x3e4" identifier = number_literal) ;) (goto_statement "goto LAB_00275880;" goto statement_identifier ;) })) (if_statement "if (uVar36 != 10) {\n                    if (0 < (int)(uVar36 - 2)) {\n                      iVar6 = 0;\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + 1;\n                      } while (uVar36 - 2 != iVar6);\n                    }\n                    goto LAB_00274594;\n                  }" if (parenthesized_expression "(uVar36 != 10)" ( (binary_expression "uVar36 != 10" identifier != number_literal) )) (compound_statement "{\n                    if (0 < (int)(uVar36 - 2)) {\n                      iVar6 = 0;\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + 1;\n                      } while (uVar36 - 2 != iVar6);\n                    }\n                    goto LAB_00274594;\n                  }" { (if_statement "if (0 < (int)(uVar36 - 2)) {\n                      iVar6 = 0;\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + 1;\n                      } while (uVar36 - 2 != iVar6);\n                    }" if (parenthesized_expression "(0 < (int)(uVar36 - 2))" ( (binary_expression "0 < (int)(uVar36 - 2)" number_literal < (cast_expression "(int)(uVar36 - 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar36 - 2)" ( (binary_expression "uVar36 - 2" identifier - number_literal) )))) )) (compound_statement "{\n                      iVar6 = 0;\n                      do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + 1;\n                      } while (uVar36 - 2 != iVar6);\n                    }" { (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (do_statement "do {\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + 1;\n                      } while (uVar36 - 2 != iVar6);" do (compound_statement "{\n                        iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar16 == -1) break;\n                        iVar6 = iVar6 + 1;\n                      }" { (expression_statement "iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (iVar16 == -1) break;" if (parenthesized_expression "(iVar16 == -1)" ( (binary_expression "iVar16 == -1" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar36 - 2 != iVar6)" ( (binary_expression "uVar36 - 2 != iVar6" (binary_expression "uVar36 - 2" identifier - number_literal) != identifier) )) ;) })) (goto_statement "goto LAB_00274594;" goto statement_identifier ;) })) (expression_statement "MVar7 = ReadRectangle(unaff_s0,local_10bc);" (assignment_expression "MVar7 = ReadRectangle(unaff_s0,local_10bc)" identifier = (call_expression "ReadRectangle(unaff_s0,local_10bc)" identifier (argument_list "(unaff_s0,local_10bc)" ( identifier , identifier )))) ;) (expression_statement "puVar15 = PTR_SetImageExtent_003a94ac;" (assignment_expression "puVar15 = PTR_SetImageExtent_003a94ac" identifier = identifier) ;) (if_statement "if (MVar7 == MagickFalse) {\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x3ed;\n                    goto LAB_002757bc;\n                  }" if (parenthesized_expression "(MVar7 == MagickFalse)" ( (binary_expression "MVar7 == MagickFalse" identifier == identifier) )) (compound_statement "{\n                    if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x3ed;\n                    goto LAB_002757bc;\n                  }" { (if_statement "if (unaff_s3 != (ImageInfo *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }" if (parenthesized_expression "(unaff_s3 != (ImageInfo *)0x0)" ( (binary_expression "unaff_s3 != (ImageInfo *)0x0" identifier != (cast_expression "(ImageInfo *)0x0" ( (type_descriptor "ImageInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3)" ( identifier ))) ;) })) (if_statement "if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar32 = 0x3ed;" (assignment_expression "uVar32 = 0x3ed" identifier = number_literal) ;) (goto_statement "goto LAB_002757bc;" goto statement_identifier ;) })) (if_statement "if ((frame.left < 0) || (frame.top < 0)) goto LAB_00274594;" if (parenthesized_expression "((frame.left < 0) || (frame.top < 0))" ( (binary_expression "(frame.left < 0) || (frame.top < 0)" (parenthesized_expression "(frame.left < 0)" ( (binary_expression "frame.left < 0" (field_expression "frame.left" identifier . field_identifier) < number_literal) )) || (parenthesized_expression "(frame.top < 0)" ( (binary_expression "frame.top < 0" (field_expression "frame.top" identifier . field_identifier) < number_literal) ))) )) (goto_statement "goto LAB_00274594;" goto statement_identifier ;)) (expression_statement "sVar26 = (int)frame.right - (int)frame.left;" (assignment_expression "sVar26 = (int)frame.right - (int)frame.left" identifier = (binary_expression "(int)frame.right - (int)frame.left" (cast_expression "(int)frame.right" ( (type_descriptor "int" primitive_type) ) (field_expression "frame.right" identifier . field_identifier)) - (cast_expression "(int)frame.left" ( (type_descriptor "int" primitive_type) ) (field_expression "frame.left" identifier . field_identifier)))) ;) (expression_statement "sVar31 = (int)frame.bottom - (int)frame.top;" (assignment_expression "sVar31 = (int)frame.bottom - (int)frame.top" identifier = (binary_expression "(int)frame.bottom - (int)frame.top" (cast_expression "(int)frame.bottom" ( (type_descriptor "int" primitive_type) ) (field_expression "frame.bottom" identifier . field_identifier)) - (cast_expression "(int)frame.top" ( (type_descriptor "int" primitive_type) ) (field_expression "frame.top" identifier . field_identifier)))) ;) (expression_statement "unaff_s0->columns = sVar26;" (assignment_expression "unaff_s0->columns = sVar26" (field_expression "unaff_s0->columns" identifier -> field_identifier) = identifier) ;) (expression_statement "unaff_s0->rows = sVar31;" (assignment_expression "unaff_s0->rows = sVar31" (field_expression "unaff_s0->rows" identifier -> field_identifier) = identifier) ;) (expression_statement "iVar6 = (*(code *)puVar15)(unaff_s0,sVar26,sVar31,local_10d8);" (assignment_expression "iVar6 = (*(code *)puVar15)(unaff_s0,sVar26,sVar31,local_10d8)" identifier = (call_expression "(*(code *)puVar15)(unaff_s0,sVar26,sVar31,local_10d8)" (parenthesized_expression "(*(code *)puVar15)" ( (pointer_expression "*(code *)puVar15" * (cast_expression "(code *)puVar15" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0,sVar26,sVar31,local_10d8)" ( identifier , identifier , identifier , identifier )))) ;) (if_statement "if ((iVar6 != 0) &&\n                     (iVar6 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar6 != 0)) goto LAB_00274594;" if (parenthesized_expression "((iVar6 != 0) &&\n                     (iVar6 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar6 != 0))" ( (binary_expression "(iVar6 != 0) &&\n                     (iVar6 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar6 != 0)" (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar6 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar6 != 0)" ( (comma_expression "iVar6 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar6 != 0" (assignment_expression "iVar6 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8)" identifier = (call_expression "(*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8)" (parenthesized_expression "(*(code *)PTR_ResetImagePixels_003a9334)" ( (pointer_expression "*(code *)PTR_ResetImagePixels_003a9334" * (cast_expression "(code *)PTR_ResetImagePixels_003a9334" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0,local_10d8)" ( identifier , identifier )))) , (binary_expression "iVar6 != 0" identifier != number_literal)) ))) )) (goto_statement "goto LAB_00274594;" goto statement_identifier ;)) (labeled_statement "LAB_002743d4:\n                  pIVar8 = (Image *)(*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);" statement_identifier : (expression_statement "pIVar8 = (Image *)(*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);" (assignment_expression "pIVar8 = (Image *)(*(code *)PTR_DestroyImageList_003a9510)(unaff_s0)" identifier = (cast_expression "(Image *)(*(code *)PTR_DestroyImageList_003a9510)(unaff_s0)" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_DestroyImageList_003a9510)(unaff_s0)" (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 "(unaff_s0)" ( identifier ))))) ;)) (goto_statement "goto LAB_00274228;" goto statement_identifier ;) })) (if_statement "if ((Image *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (Image *)0xa1) {\n                    iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar36 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = 4;\n                      if (uVar36 < 5) {\n                        uVar37 = uVar36;\n                      }\n                      iVar16 = uVar36 - uVar37;\n                      if ((iVar16 != 0) &&\n                         (iVar12 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar16,1),\n                         iVar12 != 0)) {\n                        iVar33 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar16,iVar12);\n                        if (iVar16 != iVar33) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x570;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar11 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar6 == 0xe0) {\n                          uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);\n                          iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar32,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);\n                          if (iVar6 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar6 == 0x1f2) {\n                          uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);\n                          iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar32,local_10d8);\n                          if (iVar6 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar6 = *(int *)(PTR_MagickImageList_3__magick_276__003a8948 +\n                                  (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar6 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar16 = 0;\n                    if (0 < iVar6) {\n                      do {\n                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar12 == -1) break;\n                        iVar16 = iVar16 + 1;\n                      } while (iVar6 != iVar16);\n                    }\n                  }\n                  goto LAB_00274584;\n                }" if (parenthesized_expression "((Image *)0x9b < unaff_s7)" ( (binary_expression "(Image *)0x9b < unaff_s7" (cast_expression "(Image *)0x9b" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal) < identifier) )) (compound_statement "{\n                  if (unaff_s7 == (Image *)0xa1) {\n                    iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar36 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = 4;\n                      if (uVar36 < 5) {\n                        uVar37 = uVar36;\n                      }\n                      iVar16 = uVar36 - uVar37;\n                      if ((iVar16 != 0) &&\n                         (iVar12 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar16,1),\n                         iVar12 != 0)) {\n                        iVar33 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar16,iVar12);\n                        if (iVar16 != iVar33) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x570;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar11 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar6 == 0xe0) {\n                          uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);\n                          iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar32,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);\n                          if (iVar6 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar6 == 0x1f2) {\n                          uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);\n                          iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar32,local_10d8);\n                          if (iVar6 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar6 = *(int *)(PTR_MagickImageList_3__magick_276__003a8948 +\n                                  (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar6 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar16 = 0;\n                    if (0 < iVar6) {\n                      do {\n                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar12 == -1) break;\n                        iVar16 = iVar16 + 1;\n                      } while (iVar6 != iVar16);\n                    }\n                  }\n                  goto LAB_00274584;\n                }" { (if_statement "if (unaff_s7 == (Image *)0xa1) {\n                    iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar36 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = 4;\n                      if (uVar36 < 5) {\n                        uVar37 = uVar36;\n                      }\n                      iVar16 = uVar36 - uVar37;\n                      if ((iVar16 != 0) &&\n                         (iVar12 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar16,1),\n                         iVar12 != 0)) {\n                        iVar33 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar16,iVar12);\n                        if (iVar16 != iVar33) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x570;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar11 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar6 == 0xe0) {\n                          uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);\n                          iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar32,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);\n                          if (iVar6 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar6 == 0x1f2) {\n                          uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);\n                          iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar32,local_10d8);\n                          if (iVar6 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }" if (parenthesized_expression "(unaff_s7 == (Image *)0xa1)" ( (binary_expression "unaff_s7 == (Image *)0xa1" identifier == (cast_expression "(Image *)0xa1" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar36 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = 4;\n                      if (uVar36 < 5) {\n                        uVar37 = uVar36;\n                      }\n                      iVar16 = uVar36 - uVar37;\n                      if ((iVar16 != 0) &&\n                         (iVar12 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar16,1),\n                         iVar12 != 0)) {\n                        iVar33 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar16,iVar12);\n                        if (iVar16 != iVar33) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x570;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar11 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar6 == 0xe0) {\n                          uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);\n                          iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar32,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);\n                          if (iVar6 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar6 == 0x1f2) {\n                          uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);\n                          iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar32,local_10d8);\n                          if (iVar6 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }" { (expression_statement "iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (assignment_expression "iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier )))) ;) (expression_statement "uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (assignment_expression "uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier )))) ;) (expression_statement "uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);" (assignment_expression "uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x562;\n                      goto LAB_00275880;\n                    }" if (parenthesized_expression "(((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36))" ( (binary_expression "((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)" (parenthesized_expression "((int)((ulonglong)uVar44 >> 0x20) == 0)" ( (binary_expression "(int)((ulonglong)uVar44 >> 0x20) == 0" (cast_expression "(int)((ulonglong)uVar44 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar44 >> 0x20)" ( (binary_expression "(ulonglong)uVar44 >> 0x20" (cast_expression "(ulonglong)uVar44" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) == number_literal) )) && (parenthesized_expression "((uint)uVar44 < uVar36)" ( (binary_expression "(uint)uVar44 < uVar36" (cast_expression "(uint)uVar44" ( (type_descriptor "uint" type_identifier) ) identifier) < identifier) ))) )) (compound_statement "{\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x562;\n                      goto LAB_00275880;\n                    }" { (if_statement "if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }" if (parenthesized_expression "(unaff_s3 != (ImageInfo *)0x0)" ( (binary_expression "unaff_s3 != (ImageInfo *)0x0" identifier != (cast_expression "(ImageInfo *)0x0" ( (type_descriptor "ImageInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3)" ( identifier ))) ;) })) (if_statement "if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar32 = 0x562;" (assignment_expression "uVar32 = 0x562" identifier = number_literal) ;) (goto_statement "goto LAB_00275880;" goto statement_identifier ;) })) (if_statement "if (uVar36 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = 4;\n                      if (uVar36 < 5) {\n                        uVar37 = uVar36;\n                      }\n                      iVar16 = uVar36 - uVar37;\n                      if ((iVar16 != 0) &&\n                         (iVar12 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar16,1),\n                         iVar12 != 0)) {\n                        iVar33 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar16,iVar12);\n                        if (iVar16 != iVar33) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x570;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar11 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar6 == 0xe0) {\n                          uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);\n                          iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar32,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);\n                          if (iVar6 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar6 == 0x1f2) {\n                          uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);\n                          iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar32,local_10d8);\n                          if (iVar6 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                      }\n                    }" if (parenthesized_expression "(uVar36 != 0)" ( (binary_expression "uVar36 != 0" identifier != number_literal) )) (compound_statement "{\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = 4;\n                      if (uVar36 < 5) {\n                        uVar37 = uVar36;\n                      }\n                      iVar16 = uVar36 - uVar37;\n                      if ((iVar16 != 0) &&\n                         (iVar12 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar16,1),\n                         iVar12 != 0)) {\n                        iVar33 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar16,iVar12);\n                        if (iVar16 != iVar33) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x570;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar11 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar6 == 0xe0) {\n                          uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);\n                          iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar32,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);\n                          if (iVar6 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar6 == 0x1f2) {\n                          uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);\n                          iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar32,local_10d8);\n                          if (iVar6 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                      }\n                    }" { (expression_statement "(*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);" (call_expression "(*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBLong_003a8d98)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBLong_003a8d98" * (cast_expression "(code *)PTR_ReadBlobMSBLong_003a8d98" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier ))) ;) (expression_statement "uVar37 = 4;" (assignment_expression "uVar37 = 4" identifier = number_literal) ;) (if_statement "if (uVar36 < 5) {\n                        uVar37 = uVar36;\n                      }" if (parenthesized_expression "(uVar36 < 5)" ( (binary_expression "uVar36 < 5" identifier < number_literal) )) (compound_statement "{\n                        uVar37 = uVar36;\n                      }" { (expression_statement "uVar37 = uVar36;" (assignment_expression "uVar37 = uVar36" identifier = identifier) ;) })) (expression_statement "iVar16 = uVar36 - uVar37;" (assignment_expression "iVar16 = uVar36 - uVar37" identifier = (binary_expression "uVar36 - uVar37" identifier - identifier)) ;) (if_statement "if ((iVar16 != 0) &&\n                         (iVar12 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar16,1),\n                         iVar12 != 0)) {\n                        iVar33 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar16,iVar12);\n                        if (iVar16 != iVar33) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x570;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar11 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar6 == 0xe0) {\n                          uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);\n                          iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar32,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);\n                          if (iVar6 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar6 == 0x1f2) {\n                          uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);\n                          iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar32,local_10d8);\n                          if (iVar6 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                      }" if (parenthesized_expression "((iVar16 != 0) &&\n                         (iVar12 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar16,1),\n                         iVar12 != 0))" ( (binary_expression "(iVar16 != 0) &&\n                         (iVar12 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar16,1),\n                         iVar12 != 0)" (parenthesized_expression "(iVar16 != 0)" ( (binary_expression "iVar16 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar12 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar16,1),\n                         iVar12 != 0)" ( (comma_expression "iVar12 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar16,1),\n                         iVar12 != 0" (assignment_expression "iVar12 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar16,1)" identifier = (call_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar16,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 "(iVar16,1)" ( identifier , number_literal )))) , (binary_expression "iVar12 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n                        iVar33 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar16,iVar12);\n                        if (iVar16 != iVar33) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x570;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar11 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar6 == 0xe0) {\n                          uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);\n                          iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar32,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);\n                          if (iVar6 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar6 == 0x1f2) {\n                          uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);\n                          iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar32,local_10d8);\n                          if (iVar6 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                      }" { (expression_statement "iVar33 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar16,iVar12);" (assignment_expression "iVar33 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar16,iVar12)" identifier = (call_expression "(*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar16,iVar12)" (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 "(unaff_s0,iVar16,iVar12)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar16 != iVar33) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x570;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar11 = 400;\n                          goto LAB_00275084;\n                        }" if (parenthesized_expression "(iVar16 != iVar33)" ( (binary_expression "iVar16 != iVar33" identifier != identifier) )) (compound_statement "{\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x570;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar11 = 400;\n                          goto LAB_00275084;\n                        }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12)" (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 "(iVar12)" ( identifier ))) ;) (if_statement "if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }" if (parenthesized_expression "(unaff_s3 != (ImageInfo *)0x0)" ( (binary_expression "unaff_s3 != (ImageInfo *)0x0" identifier != (cast_expression "(ImageInfo *)0x0" ( (type_descriptor "ImageInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3)" ( identifier ))) ;) })) (if_statement "if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar32 = 0x570;" (assignment_expression "uVar32 = 0x570" identifier = number_literal) ;) (expression_statement "puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;" (assignment_expression "puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier + number_literal)) ;) (expression_statement "uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);" (assignment_expression "uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename)" identifier = (call_expression "CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename)" identifier (argument_list "(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename)" ( (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal) , (field_expression "local_10d0->filename" identifier -> field_identifier) )))) ;) (expression_statement "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;" (assignment_expression "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier + number_literal)) ;) (expression_statement "puVar15 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;" (assignment_expression "puVar15 = 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 "uVar11 = 400;" (assignment_expression "uVar11 = 400" identifier = number_literal) ;) (goto_statement "goto LAB_00275084;" goto statement_identifier ;) })) (if_statement "if (iVar6 == 0xe0) {\n                          uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);\n                          iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar32,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);\n                          if (iVar6 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar6 == 0x1f2) {\n                          uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);\n                          iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar32,local_10d8);\n                          if (iVar6 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);\n                        }" if (parenthesized_expression "(iVar6 == 0xe0)" ( (binary_expression "iVar6 == 0xe0" identifier == number_literal) )) (compound_statement "{\n                          uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);\n                          iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar32,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);\n                          if (iVar6 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }" { (expression_statement "uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);" (assignment_expression "uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16)" identifier = (call_expression "(*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16)" (parenthesized_expression "(*(code *)PTR_BlobToStringInfo_003a96c4)" ( (pointer_expression "*(code *)PTR_BlobToStringInfo_003a96c4" * (cast_expression "(code *)PTR_BlobToStringInfo_003a96c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,iVar16)" ( number_literal , identifier )))) ;) (expression_statement "(*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);" (call_expression "(*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12)" (parenthesized_expression "(*(code *)PTR_SetStringInfoDatum_003a90e0)" ( (pointer_expression "*(code *)PTR_SetStringInfoDatum_003a90e0" * (cast_expression "(code *)PTR_SetStringInfoDatum_003a90e0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar32,iVar12)" ( identifier , identifier ))) ;) (expression_statement "iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar32,local_10d8);" (assignment_expression "iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar32,local_10d8)" identifier = (call_expression "(*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar32,local_10d8)" (parenthesized_expression "(*(code *)PTR_SetImageProfile_003a9698)" ( (pointer_expression "*(code *)PTR_SetImageProfile_003a9698" * (cast_expression "(code *)PTR_SetImageProfile_003a9698" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar32,local_10d8)" ( identifier , (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890" identifier + number_literal) , identifier , identifier )))) ;) (expression_statement "(*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);" (call_expression "(*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32)" (parenthesized_expression "(*(code *)PTR_DestroyStringInfo_003a8dfc)" ( (pointer_expression "*(code *)PTR_DestroyStringInfo_003a8dfc" * (cast_expression "(code *)PTR_DestroyStringInfo_003a8dfc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar32)" ( identifier ))) ;) (if_statement "if (iVar6 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x57e;\n                            goto LAB_00275720;\n                          }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x57e;\n                            goto LAB_00275720;\n                          }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12)" (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 "(iVar12)" ( identifier ))) ;) (if_statement "if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }" if (parenthesized_expression "(unaff_s3 != (ImageInfo *)0x0)" ( (binary_expression "unaff_s3 != (ImageInfo *)0x0" identifier != (cast_expression "(ImageInfo *)0x0" ( (type_descriptor "ImageInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3)" ( identifier ))) ;) })) (if_statement "if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar32 = 0x57e;" (assignment_expression "uVar32 = 0x57e" identifier = number_literal) ;) (goto_statement "goto LAB_00275720;" goto statement_identifier ;) })) }) (else_clause "else if (iVar6 == 0x1f2) {\n                          uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);\n                          iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar32,local_10d8);\n                          if (iVar6 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);\n                        }" else (if_statement "if (iVar6 == 0x1f2) {\n                          uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);\n                          iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar32,local_10d8);\n                          if (iVar6 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);\n                        }" if (parenthesized_expression "(iVar6 == 0x1f2)" ( (binary_expression "iVar6 == 0x1f2" identifier == number_literal) )) (compound_statement "{\n                          uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);\n                          iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar32,local_10d8);\n                          if (iVar6 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);\n                        }" { (expression_statement "uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16);" (assignment_expression "uVar32 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16)" identifier = (call_expression "(*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar16)" (parenthesized_expression "(*(code *)PTR_BlobToStringInfo_003a96c4)" ( (pointer_expression "*(code *)PTR_BlobToStringInfo_003a96c4" * (cast_expression "(code *)PTR_BlobToStringInfo_003a96c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,iVar16)" ( number_literal , identifier )))) ;) (expression_statement "(*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12);" (call_expression "(*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar32,iVar12)" (parenthesized_expression "(*(code *)PTR_SetStringInfoDatum_003a90e0)" ( (pointer_expression "*(code *)PTR_SetStringInfoDatum_003a90e0" * (cast_expression "(code *)PTR_SetStringInfoDatum_003a90e0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar32,iVar12)" ( identifier , identifier ))) ;) (expression_statement "iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar32,local_10d8);" (assignment_expression "iVar6 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar32,local_10d8)" identifier = (call_expression "(*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar32,local_10d8)" (parenthesized_expression "(*(code *)PTR_SetImageProfile_003a9698)" ( (pointer_expression "*(code *)PTR_SetImageProfile_003a9698" * (cast_expression "(code *)PTR_SetImageProfile_003a9698" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar32,local_10d8)" ( identifier , (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918" identifier + number_literal) , identifier , identifier )))) ;) (if_statement "if (iVar6 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x58b;\n                            goto LAB_00275720;\n                          }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x58b;\n                            goto LAB_00275720;\n                          }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12)" (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 "(iVar12)" ( identifier ))) ;) (if_statement "if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }" if (parenthesized_expression "(unaff_s3 != (ImageInfo *)0x0)" ( (binary_expression "unaff_s3 != (ImageInfo *)0x0" identifier != (cast_expression "(ImageInfo *)0x0" ( (type_descriptor "ImageInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3)" ( identifier ))) ;) })) (if_statement "if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar32 = 0x58b;" (assignment_expression "uVar32 = 0x58b" identifier = number_literal) ;) (goto_statement "goto LAB_00275720;" goto statement_identifier ;) })) (expression_statement "(*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32);" (call_expression "(*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar32)" (parenthesized_expression "(*(code *)PTR_DestroyStringInfo_003a8dfc)" ( (pointer_expression "*(code *)PTR_DestroyStringInfo_003a8dfc" * (cast_expression "(code *)PTR_DestroyStringInfo_003a8dfc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar32)" ( identifier ))) ;) })))) (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12);" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar12)" (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 "(iVar12)" ( identifier ))) ;) })) })) (goto_statement "goto LAB_00274594;" goto statement_identifier ;) })) (labeled_statement "LAB_002752a0:\n                  iVar6 = *(int *)(PTR_MagickImageList_3__magick_276__003a8948 +\n                                  (int)unaff_s7 * 0xc + 0x5850);" statement_identifier : (expression_statement "iVar6 = *(int *)(PTR_MagickImageList_3__magick_276__003a8948 +\n                                  (int)unaff_s7 * 0xc + 0x5850);" (assignment_expression "iVar6 = *(int *)(PTR_MagickImageList_3__magick_276__003a8948 +\n                                  (int)unaff_s7 * 0xc + 0x5850)" identifier = (pointer_expression "*(int *)(PTR_MagickImageList_3__magick_276__003a8948 +\n                                  (int)unaff_s7 * 0xc + 0x5850)" * (cast_expression "(int *)(PTR_MagickImageList_3__magick_276__003a8948 +\n                                  (int)unaff_s7 * 0xc + 0x5850)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_MagickImageList_3__magick_276__003a8948 +\n                                  (int)unaff_s7 * 0xc + 0x5850)" ( (binary_expression "PTR_MagickImageList_3__magick_276__003a8948 +\n                                  (int)unaff_s7 * 0xc + 0x5850" (binary_expression "PTR_MagickImageList_3__magick_276__003a8948 +\n                                  (int)unaff_s7 * 0xc" identifier + (binary_expression "(int)unaff_s7 * 0xc" (cast_expression "(int)unaff_s7" ( (type_descriptor "int" primitive_type) ) identifier) * number_literal)) + number_literal) ))))) ;)) (if_statement "if (iVar6 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar16 = 0;\n                    if (0 < iVar6) {\n                      do {\n                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar12 == -1) break;\n                        iVar16 = iVar16 + 1;\n                      } while (iVar6 != iVar16);\n                    }\n                  }" if (parenthesized_expression "(iVar6 == -1)" ( (binary_expression "iVar6 == -1" identifier == number_literal) )) (compound_statement "{\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }" { (expression_statement "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier ))) ;) }) (else_clause "else {\n                    iVar16 = 0;\n                    if (0 < iVar6) {\n                      do {\n                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar12 == -1) break;\n                        iVar16 = iVar16 + 1;\n                      } while (iVar6 != iVar16);\n                    }\n                  }" else (compound_statement "{\n                    iVar16 = 0;\n                    if (0 < iVar6) {\n                      do {\n                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar12 == -1) break;\n                        iVar16 = iVar16 + 1;\n                      } while (iVar6 != iVar16);\n                    }\n                  }" { (expression_statement "iVar16 = 0;" (assignment_expression "iVar16 = 0" identifier = number_literal) ;) (if_statement "if (0 < iVar6) {\n                      do {\n                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar12 == -1) break;\n                        iVar16 = iVar16 + 1;\n                      } while (iVar6 != iVar16);\n                    }" if (parenthesized_expression "(0 < iVar6)" ( (binary_expression "0 < iVar6" number_literal < identifier) )) (compound_statement "{\n                      do {\n                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar12 == -1) break;\n                        iVar16 = iVar16 + 1;\n                      } while (iVar6 != iVar16);\n                    }" { (do_statement "do {\n                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar12 == -1) break;\n                        iVar16 = iVar16 + 1;\n                      } while (iVar6 != iVar16);" do (compound_statement "{\n                        iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar12 == -1) break;\n                        iVar16 = iVar16 + 1;\n                      }" { (expression_statement "iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "iVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (iVar12 == -1) break;" if (parenthesized_expression "(iVar12 == -1)" ( (binary_expression "iVar12 == -1" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar16 = iVar16 + 1;" (assignment_expression "iVar16 = iVar16 + 1" identifier = (binary_expression "iVar16 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar6 != iVar16)" ( (binary_expression "iVar6 != iVar16" identifier != identifier) )) ;) })) }))) (goto_statement "goto LAB_00274584;" goto statement_identifier ;) })) (if_statement "if ((unaff_s7 < (Image *)0x98) && ((BlobInfo **)0x1 < &unaff_s7[-1].blob))\n                goto LAB_002752a0;" if (parenthesized_expression "((unaff_s7 < (Image *)0x98) && ((BlobInfo **)0x1 < &unaff_s7[-1].blob))" ( (binary_expression "(unaff_s7 < (Image *)0x98) && ((BlobInfo **)0x1 < &unaff_s7[-1].blob)" (parenthesized_expression "(unaff_s7 < (Image *)0x98)" ( (binary_expression "unaff_s7 < (Image *)0x98" identifier < (cast_expression "(Image *)0x98" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "((BlobInfo **)0x1 < &unaff_s7[-1].blob)" ( (binary_expression "(BlobInfo **)0x1 < &unaff_s7[-1].blob" (cast_expression "(BlobInfo **)0x1" ( (type_descriptor "BlobInfo **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) number_literal) < (pointer_expression "&unaff_s7[-1].blob" & (field_expression "unaff_s7[-1].blob" (subscript_expression "unaff_s7[-1]" identifier [ number_literal ]) . field_identifier))) ))) )) (goto_statement "goto LAB_002752a0;" goto statement_identifier ;)) (expression_statement "bVar3 = unaff_s7[-1].magick + 0xffe < (char *)0x2;" (assignment_expression "bVar3 = unaff_s7[-1].magick + 0xffe < (char *)0x2" identifier = (binary_expression "unaff_s7[-1].magick + 0xffe < (char *)0x2" (binary_expression "unaff_s7[-1].magick + 0xffe" (field_expression "unaff_s7[-1].magick" (subscript_expression "unaff_s7[-1]" identifier [ number_literal ]) . field_identifier) + number_literal) < (cast_expression "(char *)0x2" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (if_statement "if (bVar3) {\n                  uVar36 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }" if (parenthesized_expression "(bVar3)" ( identifier )) (compound_statement "{\n                  uVar36 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }" { (expression_statement "uVar36 = 0;" (assignment_expression "uVar36 = 0" identifier = number_literal) ;) (expression_statement "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier ))) ;) }) (else_clause "else {\n                  uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }" else (compound_statement "{\n                  uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }" { (expression_statement "uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();" (assignment_expression "uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)()" identifier = (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)()" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) }))) (expression_statement "MVar7 = ReadRectangle(unaff_s0,local_10bc);" (assignment_expression "MVar7 = ReadRectangle(unaff_s0,local_10bc)" identifier = (call_expression "ReadRectangle(unaff_s0,local_10bc)" identifier (argument_list "(unaff_s0,local_10bc)" ( identifier , identifier )))) ;) (if_statement "if (MVar7 != MagickFalse) {\n                  pIVar9 = (Image *)(*(code *)PTR_CloneImage_003a9830)\n                                              (unaff_s0,(int)frame.right - (int)frame.left,\n                                               (int)frame.bottom - (int)frame.top,1);\n                  if (pIVar9 == (Image *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(pIVar9,local_10d8);\n                  if ((bVar3) || ((uVar36 & 0x8000) != 0)) {\n                    MVar7 = ReadPixmap(unaff_s0,&pixmap);\n                    if (MVar7 != MagickFalse) {\n                      pIVar9->depth = (int)pixmap.component_size;\n                      puVar15 = PTR_SetImageAlpha_003a8c78;\n                      dVar40 = (double)(int)pixmap.horizontal_resolution;\n                      if ((int)pixmap.horizontal_resolution < 0) {\n                        dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar39 = (double)(int)pixmap.vertical_resolution;\n                      if ((int)pixmap.vertical_resolution < 0) {\n                        dVar39 = dVar39 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (pixmap.component_count == 4) {\n                        pIVar9->alpha_trait = BlendPixelTrait;\n                        pIVar9->units = PixelsPerInchResolution;\n                        puVar25 = PTR_LAB_003a88e0;\n                        (pIVar9->resolution).x = dVar40;\n                        (pIVar9->resolution).y = dVar39;\n                        (*(code *)puVar15)(pIVar9,*(undefined4 *)(puVar25 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        (pIVar9->resolution).x = dVar40;\n                        pIVar9->alpha_trait = UndefinedPixelTrait;\n                        (pIVar9->resolution).y = dVar39;\n                        pIVar9->units = PixelsPerInchResolution;\n                      }\n                      if (!bVar3) {\n                        pIVar9->colors = 2;\n                        if ((uVar36 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar18 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar15 = PTR_AcquireImageColormap_003a9194;\n                        pIVar9->colors = iVar6 + 1U;\n                        iVar6 = (*(code *)puVar15)(pIVar9,iVar6 + 1U,local_10d8);\n                        if (iVar6 == 0) goto LAB_002756e4;\n                        if (0 < (int)pIVar9->colors) {\n                          uVar37 = 0;\n                          do {\n                            uVar17 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar38 = uVar37;\n                            if (-1 < sVar18) {\n                              if (pIVar9->colors == 0) {\n                                trap(7);\n                              }\n                              uVar38 = uVar17 % pIVar9->colors;\n                            }\n                            uVar37 = uVar37 + 1;\n                            iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                            pIVar9->colormap[uVar38].red = (double)iVar6;\n                            iVar6 = (*(code *)puVar15)(unaff_s0);\n                            puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                            pIVar9->colormap[uVar38].green = (double)iVar6;\n                            iVar6 = (*(code *)puVar15)(unaff_s0);\n                            sVar26 = pIVar9->colors;\n                            unaff_s3 = (ImageInfo *)(pIVar9->colormap + uVar38);\n                            *(double *)&unaff_s3->endian = (double)iVar6;\n                          } while ((int)uVar37 < (int)sVar26);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x49e;\n                    unaff_s7 = pIVar9;\n                    goto LAB_002757bc;\n                  }\n                  pIVar9->colors = 2;\nLAB_0027565c:\n                  iVar6 = (*(code *)PTR_AcquireImageColormap_003a9194)(pIVar9,2,local_10d8);\n                  if (iVar6 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x4b8;\n                    unaff_s7 = pIVar9;\nLAB_00275720:\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar11 = 400;\n                    goto LAB_00275084;\n                  }\n                  sVar26 = pIVar9->colors;\n                  if (0 < (int)sVar26) {\n                    pPVar29 = pIVar9->colormap;\n                    pMVar13 = &pPVar29->red;\n                    do {\n                      pMVar14 = pMVar13 + 0xb;\n                      *pMVar13 = (double)(float)(in_f20_21 - *pMVar13);\n                      pMVar13[1] = (double)(float)(in_f20_21 - pMVar13[1]);\n                      pMVar13[2] = (double)(float)(in_f20_21 - pMVar13[2]);\n                      pMVar13 = pMVar14;\n                    } while (pMVar14 != &pPVar29[sVar26].red);\n                  }\nLAB_00274838:\n                  iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar6 == 0) {\n                    MVar7 = ReadRectangle(unaff_s0,&source);\n                    if (MVar7 == MagickFalse) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x4d9;\n                      unaff_s7 = pIVar9;\n                    }\n                    else {\n                      MVar7 = ReadRectangle(unaff_s0,&destination);\n                      if (MVar7 != MagickFalse) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)pIVar8 & 0xfff7) == 0x91) || (unaff_s7 == (Image *)0x9b)) {\n                          uVar37 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar37)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x4e5;\n                            unaff_s7 = pIVar9;\n                            goto LAB_00275880;\n                          }\n                          iVar6 = 0;\n                          if (0 < (int)(uVar37 - 2)) {\n                            do {\n                              iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar16 == -1) break;\n                              iVar6 = iVar6 + 1;\n                            } while (uVar37 - 2 != iVar6);\n                          }\n                        }\n                        if ((bVar3) || ((uVar36 & 0x8000) != 0)) {\n                          uVar37 = (uint)pixmap.bits_per_pixel;\n                        }\n                        else {\n                          uVar37 = 1;\n                        }\n                        unaff_s3 = (ImageInfo *)DecodeImage(unaff_s0,pIVar9,uVar36,uVar37,&extent);\n                        if (unaff_s3 == (ImageInfo *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x4f2;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if ((int)pIVar9->rows < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar6 == 0)) &&\n                               ((bVar3 || ((uVar36 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,pIVar9,0xd,1);\n                            }\n                            unaff_s3 = (ImageInfo *)(*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <=\n                              (ImageInfo *)\n                              ((int)&unaff_s3->compression + unaff_s0->columns + extent)) {\n                            local_10b0 = 0;\n                            uVar37 = 0;\n                            pIVar35 = unaff_s3;\n                            do {\n                              iVar6 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (pIVar9,0,uVar37,pIVar9->columns);\n                              if (iVar6 == 0) goto LAB_00276500;\n                              sVar26 = pIVar9->columns;\n                              if (0 < (int)sVar26) {\n                                iVar16 = 0;\n                                dVar39 = *(double *)(local_10ac + -0x5af0);\n                                dVar40 = dVar39;\n                                do {\n                                  if (pIVar9->storage_class == PseudoClass) {\n                                    if ((int)(uint)(byte)*(undefined1 *)&pIVar35->compression <\n                                        (int)pIVar9->colors) {\n                                      fVar41 = (float)(byte)*(undefined1 *)&pIVar35->compression;\n                                      iVar12 = (int)fVar41 * 0x58;\n                                    }\n                                    else if (local_10d8->severity == CorruptImageError) {\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23);\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                      sVar26 = pIVar9->columns;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    if (pPVar28[5].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[5].offset * 4) = fVar41;\n                                    }\n                                    pPVar29 = pIVar9->colormap;\n                                    iVar23 = pPVar28[1].offset;\n                                    iVar33 = pPVar28[2].offset;\n                                    dVar43 = *(double *)((int)&pPVar29->green + iVar12);\n                                    dVar42 = *(double *)((int)&pPVar29->blue + iVar12);\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)*(double *)((int)&pPVar29->red + iVar12);\n                                    *(float *)(iVar6 + iVar23 * 4) = (float)dVar43;\n                                    *(float *)(iVar6 + iVar33 * 4) = (float)dVar42;\n                                  }\n                                  else if (pixmap.bits_per_pixel == 0x10) {\n                                    bVar1 = *(byte *)((int)&pIVar35->compression + 1);\n                                    pPVar28 = pIVar9->channel_map;\n                                    uVar2 = *(undefined1 *)&pIVar35->compression;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(((byte)uVar2 & 0x7c) << 1) * dVar40);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | ((byte)uVar2 & 3) << 6\n                                                         ) * dVar40);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar40);\n                                    pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  }\n                                  else if (pIVar9->alpha_trait == UndefinedPixelTrait) {\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 2 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(byte)*(undefined1 *)&pIVar35->compression\n                                                * dVar39);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar27 * dVar39);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar27[sVar26] * dVar39);\n                                  }\n                                  else {\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 3 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if (pPVar28[4].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[4].offset * 4) =\n                                           (float)((double)(byte)*(undefined1 *)\n                                                                  &pIVar35->compression * in_f22_23)\n                                      ;\n                                    }\n                                    pbVar34 = pbVar27 + sVar26;\n                                    dVar42 = *(double *)(local_10ac + -0x5af0);\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)*pbVar27 * dVar42);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar34 * dVar42);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar34[sVar26] * dVar42);\n                                  }\n                                  iVar16 = iVar16 + 1;\n                                  pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  iVar6 = iVar6 + pIVar9->number_channels * 4;\n                                } while (iVar16 < (int)sVar26);\n                              }\n                              iVar6 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar9,local_10d8)\n                              ;\n                              if (((iVar6 == 0) ||\n                                  (((pIVar9->storage_class == DirectClass &&\n                                    (pixmap.bits_per_pixel != 0x10)) &&\n                                   (pIVar35 = (ImageInfo *)\n                                              ((int)&pIVar35->compression +\n                                              (pixmap.component_count + -1) * pIVar9->columns),\n                                   pIVar35 < unaff_s3)))) ||\n                                 ((iVar6 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar37), iVar6 == 0 ||\n                                  (uVar38 = uVar37 + 1, (int)pIVar9->rows <= (int)uVar38))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar38 < uVar37) + local_10b0;\n                              uVar37 = uVar38;\n                            } while (pIVar35 <=\n                                     (ImageInfo *)\n                                     ((int)&unaff_s3->compression + unaff_s0->columns + extent));\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x4fc;\n                          unaff_s7 = pIVar9;\nLAB_0027504c:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          pIVar9 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x4db;\n                      unaff_s7 = pIVar9;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar32 = 0x4d7;\n                  unaff_s7 = pIVar9;\n                  goto LAB_00275880;\n                }" if (parenthesized_expression "(MVar7 != MagickFalse)" ( (binary_expression "MVar7 != MagickFalse" identifier != identifier) )) (compound_statement "{\n                  pIVar9 = (Image *)(*(code *)PTR_CloneImage_003a9830)\n                                              (unaff_s0,(int)frame.right - (int)frame.left,\n                                               (int)frame.bottom - (int)frame.top,1);\n                  if (pIVar9 == (Image *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(pIVar9,local_10d8);\n                  if ((bVar3) || ((uVar36 & 0x8000) != 0)) {\n                    MVar7 = ReadPixmap(unaff_s0,&pixmap);\n                    if (MVar7 != MagickFalse) {\n                      pIVar9->depth = (int)pixmap.component_size;\n                      puVar15 = PTR_SetImageAlpha_003a8c78;\n                      dVar40 = (double)(int)pixmap.horizontal_resolution;\n                      if ((int)pixmap.horizontal_resolution < 0) {\n                        dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar39 = (double)(int)pixmap.vertical_resolution;\n                      if ((int)pixmap.vertical_resolution < 0) {\n                        dVar39 = dVar39 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (pixmap.component_count == 4) {\n                        pIVar9->alpha_trait = BlendPixelTrait;\n                        pIVar9->units = PixelsPerInchResolution;\n                        puVar25 = PTR_LAB_003a88e0;\n                        (pIVar9->resolution).x = dVar40;\n                        (pIVar9->resolution).y = dVar39;\n                        (*(code *)puVar15)(pIVar9,*(undefined4 *)(puVar25 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        (pIVar9->resolution).x = dVar40;\n                        pIVar9->alpha_trait = UndefinedPixelTrait;\n                        (pIVar9->resolution).y = dVar39;\n                        pIVar9->units = PixelsPerInchResolution;\n                      }\n                      if (!bVar3) {\n                        pIVar9->colors = 2;\n                        if ((uVar36 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar18 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar15 = PTR_AcquireImageColormap_003a9194;\n                        pIVar9->colors = iVar6 + 1U;\n                        iVar6 = (*(code *)puVar15)(pIVar9,iVar6 + 1U,local_10d8);\n                        if (iVar6 == 0) goto LAB_002756e4;\n                        if (0 < (int)pIVar9->colors) {\n                          uVar37 = 0;\n                          do {\n                            uVar17 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar38 = uVar37;\n                            if (-1 < sVar18) {\n                              if (pIVar9->colors == 0) {\n                                trap(7);\n                              }\n                              uVar38 = uVar17 % pIVar9->colors;\n                            }\n                            uVar37 = uVar37 + 1;\n                            iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                            pIVar9->colormap[uVar38].red = (double)iVar6;\n                            iVar6 = (*(code *)puVar15)(unaff_s0);\n                            puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                            pIVar9->colormap[uVar38].green = (double)iVar6;\n                            iVar6 = (*(code *)puVar15)(unaff_s0);\n                            sVar26 = pIVar9->colors;\n                            unaff_s3 = (ImageInfo *)(pIVar9->colormap + uVar38);\n                            *(double *)&unaff_s3->endian = (double)iVar6;\n                          } while ((int)uVar37 < (int)sVar26);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x49e;\n                    unaff_s7 = pIVar9;\n                    goto LAB_002757bc;\n                  }\n                  pIVar9->colors = 2;\nLAB_0027565c:\n                  iVar6 = (*(code *)PTR_AcquireImageColormap_003a9194)(pIVar9,2,local_10d8);\n                  if (iVar6 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x4b8;\n                    unaff_s7 = pIVar9;\nLAB_00275720:\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar11 = 400;\n                    goto LAB_00275084;\n                  }\n                  sVar26 = pIVar9->colors;\n                  if (0 < (int)sVar26) {\n                    pPVar29 = pIVar9->colormap;\n                    pMVar13 = &pPVar29->red;\n                    do {\n                      pMVar14 = pMVar13 + 0xb;\n                      *pMVar13 = (double)(float)(in_f20_21 - *pMVar13);\n                      pMVar13[1] = (double)(float)(in_f20_21 - pMVar13[1]);\n                      pMVar13[2] = (double)(float)(in_f20_21 - pMVar13[2]);\n                      pMVar13 = pMVar14;\n                    } while (pMVar14 != &pPVar29[sVar26].red);\n                  }\nLAB_00274838:\n                  iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar6 == 0) {\n                    MVar7 = ReadRectangle(unaff_s0,&source);\n                    if (MVar7 == MagickFalse) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x4d9;\n                      unaff_s7 = pIVar9;\n                    }\n                    else {\n                      MVar7 = ReadRectangle(unaff_s0,&destination);\n                      if (MVar7 != MagickFalse) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)pIVar8 & 0xfff7) == 0x91) || (unaff_s7 == (Image *)0x9b)) {\n                          uVar37 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar37)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x4e5;\n                            unaff_s7 = pIVar9;\n                            goto LAB_00275880;\n                          }\n                          iVar6 = 0;\n                          if (0 < (int)(uVar37 - 2)) {\n                            do {\n                              iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar16 == -1) break;\n                              iVar6 = iVar6 + 1;\n                            } while (uVar37 - 2 != iVar6);\n                          }\n                        }\n                        if ((bVar3) || ((uVar36 & 0x8000) != 0)) {\n                          uVar37 = (uint)pixmap.bits_per_pixel;\n                        }\n                        else {\n                          uVar37 = 1;\n                        }\n                        unaff_s3 = (ImageInfo *)DecodeImage(unaff_s0,pIVar9,uVar36,uVar37,&extent);\n                        if (unaff_s3 == (ImageInfo *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x4f2;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if ((int)pIVar9->rows < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar6 == 0)) &&\n                               ((bVar3 || ((uVar36 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,pIVar9,0xd,1);\n                            }\n                            unaff_s3 = (ImageInfo *)(*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <=\n                              (ImageInfo *)\n                              ((int)&unaff_s3->compression + unaff_s0->columns + extent)) {\n                            local_10b0 = 0;\n                            uVar37 = 0;\n                            pIVar35 = unaff_s3;\n                            do {\n                              iVar6 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (pIVar9,0,uVar37,pIVar9->columns);\n                              if (iVar6 == 0) goto LAB_00276500;\n                              sVar26 = pIVar9->columns;\n                              if (0 < (int)sVar26) {\n                                iVar16 = 0;\n                                dVar39 = *(double *)(local_10ac + -0x5af0);\n                                dVar40 = dVar39;\n                                do {\n                                  if (pIVar9->storage_class == PseudoClass) {\n                                    if ((int)(uint)(byte)*(undefined1 *)&pIVar35->compression <\n                                        (int)pIVar9->colors) {\n                                      fVar41 = (float)(byte)*(undefined1 *)&pIVar35->compression;\n                                      iVar12 = (int)fVar41 * 0x58;\n                                    }\n                                    else if (local_10d8->severity == CorruptImageError) {\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23);\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                      sVar26 = pIVar9->columns;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    if (pPVar28[5].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[5].offset * 4) = fVar41;\n                                    }\n                                    pPVar29 = pIVar9->colormap;\n                                    iVar23 = pPVar28[1].offset;\n                                    iVar33 = pPVar28[2].offset;\n                                    dVar43 = *(double *)((int)&pPVar29->green + iVar12);\n                                    dVar42 = *(double *)((int)&pPVar29->blue + iVar12);\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)*(double *)((int)&pPVar29->red + iVar12);\n                                    *(float *)(iVar6 + iVar23 * 4) = (float)dVar43;\n                                    *(float *)(iVar6 + iVar33 * 4) = (float)dVar42;\n                                  }\n                                  else if (pixmap.bits_per_pixel == 0x10) {\n                                    bVar1 = *(byte *)((int)&pIVar35->compression + 1);\n                                    pPVar28 = pIVar9->channel_map;\n                                    uVar2 = *(undefined1 *)&pIVar35->compression;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(((byte)uVar2 & 0x7c) << 1) * dVar40);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | ((byte)uVar2 & 3) << 6\n                                                         ) * dVar40);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar40);\n                                    pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  }\n                                  else if (pIVar9->alpha_trait == UndefinedPixelTrait) {\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 2 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(byte)*(undefined1 *)&pIVar35->compression\n                                                * dVar39);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar27 * dVar39);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar27[sVar26] * dVar39);\n                                  }\n                                  else {\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 3 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if (pPVar28[4].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[4].offset * 4) =\n                                           (float)((double)(byte)*(undefined1 *)\n                                                                  &pIVar35->compression * in_f22_23)\n                                      ;\n                                    }\n                                    pbVar34 = pbVar27 + sVar26;\n                                    dVar42 = *(double *)(local_10ac + -0x5af0);\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)*pbVar27 * dVar42);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar34 * dVar42);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar34[sVar26] * dVar42);\n                                  }\n                                  iVar16 = iVar16 + 1;\n                                  pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  iVar6 = iVar6 + pIVar9->number_channels * 4;\n                                } while (iVar16 < (int)sVar26);\n                              }\n                              iVar6 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar9,local_10d8)\n                              ;\n                              if (((iVar6 == 0) ||\n                                  (((pIVar9->storage_class == DirectClass &&\n                                    (pixmap.bits_per_pixel != 0x10)) &&\n                                   (pIVar35 = (ImageInfo *)\n                                              ((int)&pIVar35->compression +\n                                              (pixmap.component_count + -1) * pIVar9->columns),\n                                   pIVar35 < unaff_s3)))) ||\n                                 ((iVar6 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar37), iVar6 == 0 ||\n                                  (uVar38 = uVar37 + 1, (int)pIVar9->rows <= (int)uVar38))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar38 < uVar37) + local_10b0;\n                              uVar37 = uVar38;\n                            } while (pIVar35 <=\n                                     (ImageInfo *)\n                                     ((int)&unaff_s3->compression + unaff_s0->columns + extent));\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x4fc;\n                          unaff_s7 = pIVar9;\nLAB_0027504c:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          pIVar9 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x4db;\n                      unaff_s7 = pIVar9;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar32 = 0x4d7;\n                  unaff_s7 = pIVar9;\n                  goto LAB_00275880;\n                }" { (expression_statement "pIVar9 = (Image *)(*(code *)PTR_CloneImage_003a9830)\n                                              (unaff_s0,(int)frame.right - (int)frame.left,\n                                               (int)frame.bottom - (int)frame.top,1);" (assignment_expression "pIVar9 = (Image *)(*(code *)PTR_CloneImage_003a9830)\n                                              (unaff_s0,(int)frame.right - (int)frame.left,\n                                               (int)frame.bottom - (int)frame.top,1)" identifier = (cast_expression "(Image *)(*(code *)PTR_CloneImage_003a9830)\n                                              (unaff_s0,(int)frame.right - (int)frame.left,\n                                               (int)frame.bottom - (int)frame.top,1)" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_CloneImage_003a9830)\n                                              (unaff_s0,(int)frame.right - (int)frame.left,\n                                               (int)frame.bottom - (int)frame.top,1)" (parenthesized_expression "(*(code *)PTR_CloneImage_003a9830)" ( (pointer_expression "*(code *)PTR_CloneImage_003a9830" * (cast_expression "(code *)PTR_CloneImage_003a9830" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0,(int)frame.right - (int)frame.left,\n                                               (int)frame.bottom - (int)frame.top,1)" ( identifier , (binary_expression "(int)frame.right - (int)frame.left" (cast_expression "(int)frame.right" ( (type_descriptor "int" primitive_type) ) (field_expression "frame.right" identifier . field_identifier)) - (cast_expression "(int)frame.left" ( (type_descriptor "int" primitive_type) ) (field_expression "frame.left" identifier . field_identifier))) , (binary_expression "(int)frame.bottom - (int)frame.top" (cast_expression "(int)frame.bottom" ( (type_descriptor "int" primitive_type) ) (field_expression "frame.bottom" identifier . field_identifier)) - (cast_expression "(int)frame.top" ( (type_descriptor "int" primitive_type) ) (field_expression "frame.top" identifier . field_identifier))) , number_literal ))))) ;) (if_statement "if (pIVar9 == (Image *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x498;\n                    goto LAB_002757bc;\n                  }" if (parenthesized_expression "(pIVar9 == (Image *)0x0)" ( (binary_expression "pIVar9 == (Image *)0x0" identifier == (cast_expression "(Image *)0x0" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x498;\n                    goto LAB_002757bc;\n                  }" { (if_statement "if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar32 = 0x498;" (assignment_expression "uVar32 = 0x498" identifier = number_literal) ;) (goto_statement "goto LAB_002757bc;" goto statement_identifier ;) })) (expression_statement "(*(code *)PTR_ResetImagePixels_003a9334)(pIVar9,local_10d8);" (call_expression "(*(code *)PTR_ResetImagePixels_003a9334)(pIVar9,local_10d8)" (parenthesized_expression "(*(code *)PTR_ResetImagePixels_003a9334)" ( (pointer_expression "*(code *)PTR_ResetImagePixels_003a9334" * (cast_expression "(code *)PTR_ResetImagePixels_003a9334" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar9,local_10d8)" ( identifier , identifier ))) ;) (if_statement "if ((bVar3) || ((uVar36 & 0x8000) != 0)) {\n                    MVar7 = ReadPixmap(unaff_s0,&pixmap);\n                    if (MVar7 != MagickFalse) {\n                      pIVar9->depth = (int)pixmap.component_size;\n                      puVar15 = PTR_SetImageAlpha_003a8c78;\n                      dVar40 = (double)(int)pixmap.horizontal_resolution;\n                      if ((int)pixmap.horizontal_resolution < 0) {\n                        dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar39 = (double)(int)pixmap.vertical_resolution;\n                      if ((int)pixmap.vertical_resolution < 0) {\n                        dVar39 = dVar39 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (pixmap.component_count == 4) {\n                        pIVar9->alpha_trait = BlendPixelTrait;\n                        pIVar9->units = PixelsPerInchResolution;\n                        puVar25 = PTR_LAB_003a88e0;\n                        (pIVar9->resolution).x = dVar40;\n                        (pIVar9->resolution).y = dVar39;\n                        (*(code *)puVar15)(pIVar9,*(undefined4 *)(puVar25 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        (pIVar9->resolution).x = dVar40;\n                        pIVar9->alpha_trait = UndefinedPixelTrait;\n                        (pIVar9->resolution).y = dVar39;\n                        pIVar9->units = PixelsPerInchResolution;\n                      }\n                      if (!bVar3) {\n                        pIVar9->colors = 2;\n                        if ((uVar36 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar18 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar15 = PTR_AcquireImageColormap_003a9194;\n                        pIVar9->colors = iVar6 + 1U;\n                        iVar6 = (*(code *)puVar15)(pIVar9,iVar6 + 1U,local_10d8);\n                        if (iVar6 == 0) goto LAB_002756e4;\n                        if (0 < (int)pIVar9->colors) {\n                          uVar37 = 0;\n                          do {\n                            uVar17 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar38 = uVar37;\n                            if (-1 < sVar18) {\n                              if (pIVar9->colors == 0) {\n                                trap(7);\n                              }\n                              uVar38 = uVar17 % pIVar9->colors;\n                            }\n                            uVar37 = uVar37 + 1;\n                            iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                            pIVar9->colormap[uVar38].red = (double)iVar6;\n                            iVar6 = (*(code *)puVar15)(unaff_s0);\n                            puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                            pIVar9->colormap[uVar38].green = (double)iVar6;\n                            iVar6 = (*(code *)puVar15)(unaff_s0);\n                            sVar26 = pIVar9->colors;\n                            unaff_s3 = (ImageInfo *)(pIVar9->colormap + uVar38);\n                            *(double *)&unaff_s3->endian = (double)iVar6;\n                          } while ((int)uVar37 < (int)sVar26);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x49e;\n                    unaff_s7 = pIVar9;\n                    goto LAB_002757bc;\n                  }" if (parenthesized_expression "((bVar3) || ((uVar36 & 0x8000) != 0))" ( (binary_expression "(bVar3) || ((uVar36 & 0x8000) != 0)" (parenthesized_expression "(bVar3)" ( identifier )) || (parenthesized_expression "((uVar36 & 0x8000) != 0)" ( (binary_expression "(uVar36 & 0x8000) != 0" (parenthesized_expression "(uVar36 & 0x8000)" ( (binary_expression "uVar36 & 0x8000" identifier & number_literal) )) != number_literal) ))) )) (compound_statement "{\n                    MVar7 = ReadPixmap(unaff_s0,&pixmap);\n                    if (MVar7 != MagickFalse) {\n                      pIVar9->depth = (int)pixmap.component_size;\n                      puVar15 = PTR_SetImageAlpha_003a8c78;\n                      dVar40 = (double)(int)pixmap.horizontal_resolution;\n                      if ((int)pixmap.horizontal_resolution < 0) {\n                        dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar39 = (double)(int)pixmap.vertical_resolution;\n                      if ((int)pixmap.vertical_resolution < 0) {\n                        dVar39 = dVar39 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (pixmap.component_count == 4) {\n                        pIVar9->alpha_trait = BlendPixelTrait;\n                        pIVar9->units = PixelsPerInchResolution;\n                        puVar25 = PTR_LAB_003a88e0;\n                        (pIVar9->resolution).x = dVar40;\n                        (pIVar9->resolution).y = dVar39;\n                        (*(code *)puVar15)(pIVar9,*(undefined4 *)(puVar25 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        (pIVar9->resolution).x = dVar40;\n                        pIVar9->alpha_trait = UndefinedPixelTrait;\n                        (pIVar9->resolution).y = dVar39;\n                        pIVar9->units = PixelsPerInchResolution;\n                      }\n                      if (!bVar3) {\n                        pIVar9->colors = 2;\n                        if ((uVar36 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar18 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar15 = PTR_AcquireImageColormap_003a9194;\n                        pIVar9->colors = iVar6 + 1U;\n                        iVar6 = (*(code *)puVar15)(pIVar9,iVar6 + 1U,local_10d8);\n                        if (iVar6 == 0) goto LAB_002756e4;\n                        if (0 < (int)pIVar9->colors) {\n                          uVar37 = 0;\n                          do {\n                            uVar17 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar38 = uVar37;\n                            if (-1 < sVar18) {\n                              if (pIVar9->colors == 0) {\n                                trap(7);\n                              }\n                              uVar38 = uVar17 % pIVar9->colors;\n                            }\n                            uVar37 = uVar37 + 1;\n                            iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                            pIVar9->colormap[uVar38].red = (double)iVar6;\n                            iVar6 = (*(code *)puVar15)(unaff_s0);\n                            puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                            pIVar9->colormap[uVar38].green = (double)iVar6;\n                            iVar6 = (*(code *)puVar15)(unaff_s0);\n                            sVar26 = pIVar9->colors;\n                            unaff_s3 = (ImageInfo *)(pIVar9->colormap + uVar38);\n                            *(double *)&unaff_s3->endian = (double)iVar6;\n                          } while ((int)uVar37 < (int)sVar26);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x49e;\n                    unaff_s7 = pIVar9;\n                    goto LAB_002757bc;\n                  }" { (expression_statement "MVar7 = ReadPixmap(unaff_s0,&pixmap);" (assignment_expression "MVar7 = ReadPixmap(unaff_s0,&pixmap)" identifier = (call_expression "ReadPixmap(unaff_s0,&pixmap)" identifier (argument_list "(unaff_s0,&pixmap)" ( identifier , (pointer_expression "&pixmap" & identifier) )))) ;) (if_statement "if (MVar7 != MagickFalse) {\n                      pIVar9->depth = (int)pixmap.component_size;\n                      puVar15 = PTR_SetImageAlpha_003a8c78;\n                      dVar40 = (double)(int)pixmap.horizontal_resolution;\n                      if ((int)pixmap.horizontal_resolution < 0) {\n                        dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar39 = (double)(int)pixmap.vertical_resolution;\n                      if ((int)pixmap.vertical_resolution < 0) {\n                        dVar39 = dVar39 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (pixmap.component_count == 4) {\n                        pIVar9->alpha_trait = BlendPixelTrait;\n                        pIVar9->units = PixelsPerInchResolution;\n                        puVar25 = PTR_LAB_003a88e0;\n                        (pIVar9->resolution).x = dVar40;\n                        (pIVar9->resolution).y = dVar39;\n                        (*(code *)puVar15)(pIVar9,*(undefined4 *)(puVar25 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        (pIVar9->resolution).x = dVar40;\n                        pIVar9->alpha_trait = UndefinedPixelTrait;\n                        (pIVar9->resolution).y = dVar39;\n                        pIVar9->units = PixelsPerInchResolution;\n                      }\n                      if (!bVar3) {\n                        pIVar9->colors = 2;\n                        if ((uVar36 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar18 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar15 = PTR_AcquireImageColormap_003a9194;\n                        pIVar9->colors = iVar6 + 1U;\n                        iVar6 = (*(code *)puVar15)(pIVar9,iVar6 + 1U,local_10d8);\n                        if (iVar6 == 0) goto LAB_002756e4;\n                        if (0 < (int)pIVar9->colors) {\n                          uVar37 = 0;\n                          do {\n                            uVar17 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar38 = uVar37;\n                            if (-1 < sVar18) {\n                              if (pIVar9->colors == 0) {\n                                trap(7);\n                              }\n                              uVar38 = uVar17 % pIVar9->colors;\n                            }\n                            uVar37 = uVar37 + 1;\n                            iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                            pIVar9->colormap[uVar38].red = (double)iVar6;\n                            iVar6 = (*(code *)puVar15)(unaff_s0);\n                            puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                            pIVar9->colormap[uVar38].green = (double)iVar6;\n                            iVar6 = (*(code *)puVar15)(unaff_s0);\n                            sVar26 = pIVar9->colors;\n                            unaff_s3 = (ImageInfo *)(pIVar9->colormap + uVar38);\n                            *(double *)&unaff_s3->endian = (double)iVar6;\n                          } while ((int)uVar37 < (int)sVar26);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }" if (parenthesized_expression "(MVar7 != MagickFalse)" ( (binary_expression "MVar7 != MagickFalse" identifier != identifier) )) (compound_statement "{\n                      pIVar9->depth = (int)pixmap.component_size;\n                      puVar15 = PTR_SetImageAlpha_003a8c78;\n                      dVar40 = (double)(int)pixmap.horizontal_resolution;\n                      if ((int)pixmap.horizontal_resolution < 0) {\n                        dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar39 = (double)(int)pixmap.vertical_resolution;\n                      if ((int)pixmap.vertical_resolution < 0) {\n                        dVar39 = dVar39 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (pixmap.component_count == 4) {\n                        pIVar9->alpha_trait = BlendPixelTrait;\n                        pIVar9->units = PixelsPerInchResolution;\n                        puVar25 = PTR_LAB_003a88e0;\n                        (pIVar9->resolution).x = dVar40;\n                        (pIVar9->resolution).y = dVar39;\n                        (*(code *)puVar15)(pIVar9,*(undefined4 *)(puVar25 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        (pIVar9->resolution).x = dVar40;\n                        pIVar9->alpha_trait = UndefinedPixelTrait;\n                        (pIVar9->resolution).y = dVar39;\n                        pIVar9->units = PixelsPerInchResolution;\n                      }\n                      if (!bVar3) {\n                        pIVar9->colors = 2;\n                        if ((uVar36 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar18 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar15 = PTR_AcquireImageColormap_003a9194;\n                        pIVar9->colors = iVar6 + 1U;\n                        iVar6 = (*(code *)puVar15)(pIVar9,iVar6 + 1U,local_10d8);\n                        if (iVar6 == 0) goto LAB_002756e4;\n                        if (0 < (int)pIVar9->colors) {\n                          uVar37 = 0;\n                          do {\n                            uVar17 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar38 = uVar37;\n                            if (-1 < sVar18) {\n                              if (pIVar9->colors == 0) {\n                                trap(7);\n                              }\n                              uVar38 = uVar17 % pIVar9->colors;\n                            }\n                            uVar37 = uVar37 + 1;\n                            iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                            pIVar9->colormap[uVar38].red = (double)iVar6;\n                            iVar6 = (*(code *)puVar15)(unaff_s0);\n                            puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                            pIVar9->colormap[uVar38].green = (double)iVar6;\n                            iVar6 = (*(code *)puVar15)(unaff_s0);\n                            sVar26 = pIVar9->colors;\n                            unaff_s3 = (ImageInfo *)(pIVar9->colormap + uVar38);\n                            *(double *)&unaff_s3->endian = (double)iVar6;\n                          } while ((int)uVar37 < (int)sVar26);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }" { (expression_statement "pIVar9->depth = (int)pixmap.component_size;" (assignment_expression "pIVar9->depth = (int)pixmap.component_size" (field_expression "pIVar9->depth" identifier -> field_identifier) = (cast_expression "(int)pixmap.component_size" ( (type_descriptor "int" primitive_type) ) (field_expression "pixmap.component_size" identifier . field_identifier))) ;) (expression_statement "puVar15 = PTR_SetImageAlpha_003a8c78;" (assignment_expression "puVar15 = PTR_SetImageAlpha_003a8c78" identifier = identifier) ;) (expression_statement "dVar40 = (double)(int)pixmap.horizontal_resolution;" (assignment_expression "dVar40 = (double)(int)pixmap.horizontal_resolution" identifier = (cast_expression "(double)(int)pixmap.horizontal_resolution" ( (type_descriptor "double" primitive_type) ) (cast_expression "(int)pixmap.horizontal_resolution" ( (type_descriptor "int" primitive_type) ) (field_expression "pixmap.horizontal_resolution" identifier . field_identifier)))) ;) (if_statement "if ((int)pixmap.horizontal_resolution < 0) {\n                        dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                      }" if (parenthesized_expression "((int)pixmap.horizontal_resolution < 0)" ( (binary_expression "(int)pixmap.horizontal_resolution < 0" (cast_expression "(int)pixmap.horizontal_resolution" ( (type_descriptor "int" primitive_type) ) (field_expression "pixmap.horizontal_resolution" identifier . field_identifier)) < number_literal) )) (compound_statement "{\n                        dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                      }" { (expression_statement "dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);" (assignment_expression "dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418)" identifier = (binary_expression "dVar40 + *(double *)(local_10c8 + 0x1418)" identifier + (pointer_expression "*(double *)(local_10c8 + 0x1418)" * (cast_expression "(double *)(local_10c8 + 0x1418)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_10c8 + 0x1418)" ( (binary_expression "local_10c8 + 0x1418" identifier + number_literal) )))))) ;) })) (expression_statement "dVar39 = (double)(int)pixmap.vertical_resolution;" (assignment_expression "dVar39 = (double)(int)pixmap.vertical_resolution" identifier = (cast_expression "(double)(int)pixmap.vertical_resolution" ( (type_descriptor "double" primitive_type) ) (cast_expression "(int)pixmap.vertical_resolution" ( (type_descriptor "int" primitive_type) ) (field_expression "pixmap.vertical_resolution" identifier . field_identifier)))) ;) (if_statement "if ((int)pixmap.vertical_resolution < 0) {\n                        dVar39 = dVar39 + *(double *)(local_10c8 + 0x1418);\n                      }" if (parenthesized_expression "((int)pixmap.vertical_resolution < 0)" ( (binary_expression "(int)pixmap.vertical_resolution < 0" (cast_expression "(int)pixmap.vertical_resolution" ( (type_descriptor "int" primitive_type) ) (field_expression "pixmap.vertical_resolution" identifier . field_identifier)) < number_literal) )) (compound_statement "{\n                        dVar39 = dVar39 + *(double *)(local_10c8 + 0x1418);\n                      }" { (expression_statement "dVar39 = dVar39 + *(double *)(local_10c8 + 0x1418);" (assignment_expression "dVar39 = dVar39 + *(double *)(local_10c8 + 0x1418)" identifier = (binary_expression "dVar39 + *(double *)(local_10c8 + 0x1418)" identifier + (pointer_expression "*(double *)(local_10c8 + 0x1418)" * (cast_expression "(double *)(local_10c8 + 0x1418)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_10c8 + 0x1418)" ( (binary_expression "local_10c8 + 0x1418" identifier + number_literal) )))))) ;) })) (if_statement "if (pixmap.component_count == 4) {\n                        pIVar9->alpha_trait = BlendPixelTrait;\n                        pIVar9->units = PixelsPerInchResolution;\n                        puVar25 = PTR_LAB_003a88e0;\n                        (pIVar9->resolution).x = dVar40;\n                        (pIVar9->resolution).y = dVar39;\n                        (*(code *)puVar15)(pIVar9,*(undefined4 *)(puVar25 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        (pIVar9->resolution).x = dVar40;\n                        pIVar9->alpha_trait = UndefinedPixelTrait;\n                        (pIVar9->resolution).y = dVar39;\n                        pIVar9->units = PixelsPerInchResolution;\n                      }" if (parenthesized_expression "(pixmap.component_count == 4)" ( (binary_expression "pixmap.component_count == 4" (field_expression "pixmap.component_count" identifier . field_identifier) == number_literal) )) (compound_statement "{\n                        pIVar9->alpha_trait = BlendPixelTrait;\n                        pIVar9->units = PixelsPerInchResolution;\n                        puVar25 = PTR_LAB_003a88e0;\n                        (pIVar9->resolution).x = dVar40;\n                        (pIVar9->resolution).y = dVar39;\n                        (*(code *)puVar15)(pIVar9,*(undefined4 *)(puVar25 + 0x1a50),local_10d8);\n                      }" { (expression_statement "pIVar9->alpha_trait = BlendPixelTrait;" (assignment_expression "pIVar9->alpha_trait = BlendPixelTrait" (field_expression "pIVar9->alpha_trait" identifier -> field_identifier) = identifier) ;) (expression_statement "pIVar9->units = PixelsPerInchResolution;" (assignment_expression "pIVar9->units = PixelsPerInchResolution" (field_expression "pIVar9->units" identifier -> field_identifier) = identifier) ;) (expression_statement "puVar25 = PTR_LAB_003a88e0;" (assignment_expression "puVar25 = PTR_LAB_003a88e0" identifier = identifier) ;) (expression_statement "(pIVar9->resolution).x = dVar40;" (assignment_expression "(pIVar9->resolution).x = dVar40" (field_expression "(pIVar9->resolution).x" (parenthesized_expression "(pIVar9->resolution)" ( (field_expression "pIVar9->resolution" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "(pIVar9->resolution).y = dVar39;" (assignment_expression "(pIVar9->resolution).y = dVar39" (field_expression "(pIVar9->resolution).y" (parenthesized_expression "(pIVar9->resolution)" ( (field_expression "pIVar9->resolution" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "(*(code *)puVar15)(pIVar9,*(undefined4 *)(puVar25 + 0x1a50),local_10d8);" (call_expression "(*(code *)puVar15)(pIVar9,*(undefined4 *)(puVar25 + 0x1a50),local_10d8)" (parenthesized_expression "(*(code *)puVar15)" ( (pointer_expression "*(code *)puVar15" * (cast_expression "(code *)puVar15" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar9,*(undefined4 *)(puVar25 + 0x1a50),local_10d8)" ( identifier , (pointer_expression "*(undefined4 *)(puVar25 + 0x1a50)" * (cast_expression "(undefined4 *)(puVar25 + 0x1a50)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar25 + 0x1a50)" ( (binary_expression "puVar25 + 0x1a50" identifier + number_literal) )))) , identifier ))) ;) }) (else_clause "else {\n                        (pIVar9->resolution).x = dVar40;\n                        pIVar9->alpha_trait = UndefinedPixelTrait;\n                        (pIVar9->resolution).y = dVar39;\n                        pIVar9->units = PixelsPerInchResolution;\n                      }" else (compound_statement "{\n                        (pIVar9->resolution).x = dVar40;\n                        pIVar9->alpha_trait = UndefinedPixelTrait;\n                        (pIVar9->resolution).y = dVar39;\n                        pIVar9->units = PixelsPerInchResolution;\n                      }" { (expression_statement "(pIVar9->resolution).x = dVar40;" (assignment_expression "(pIVar9->resolution).x = dVar40" (field_expression "(pIVar9->resolution).x" (parenthesized_expression "(pIVar9->resolution)" ( (field_expression "pIVar9->resolution" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "pIVar9->alpha_trait = UndefinedPixelTrait;" (assignment_expression "pIVar9->alpha_trait = UndefinedPixelTrait" (field_expression "pIVar9->alpha_trait" identifier -> field_identifier) = identifier) ;) (expression_statement "(pIVar9->resolution).y = dVar39;" (assignment_expression "(pIVar9->resolution).y = dVar39" (field_expression "(pIVar9->resolution).y" (parenthesized_expression "(pIVar9->resolution)" ( (field_expression "pIVar9->resolution" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "pIVar9->units = PixelsPerInchResolution;" (assignment_expression "pIVar9->units = PixelsPerInchResolution" (field_expression "pIVar9->units" identifier -> field_identifier) = identifier) ;) }))) (if_statement "if (!bVar3) {\n                        pIVar9->colors = 2;\n                        if ((uVar36 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar18 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar15 = PTR_AcquireImageColormap_003a9194;\n                        pIVar9->colors = iVar6 + 1U;\n                        iVar6 = (*(code *)puVar15)(pIVar9,iVar6 + 1U,local_10d8);\n                        if (iVar6 == 0) goto LAB_002756e4;\n                        if (0 < (int)pIVar9->colors) {\n                          uVar37 = 0;\n                          do {\n                            uVar17 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar38 = uVar37;\n                            if (-1 < sVar18) {\n                              if (pIVar9->colors == 0) {\n                                trap(7);\n                              }\n                              uVar38 = uVar17 % pIVar9->colors;\n                            }\n                            uVar37 = uVar37 + 1;\n                            iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                            pIVar9->colormap[uVar38].red = (double)iVar6;\n                            iVar6 = (*(code *)puVar15)(unaff_s0);\n                            puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                            pIVar9->colormap[uVar38].green = (double)iVar6;\n                            iVar6 = (*(code *)puVar15)(unaff_s0);\n                            sVar26 = pIVar9->colors;\n                            unaff_s3 = (ImageInfo *)(pIVar9->colormap + uVar38);\n                            *(double *)&unaff_s3->endian = (double)iVar6;\n                          } while ((int)uVar37 < (int)sVar26);\n                        }\n                      }" if (parenthesized_expression "(!bVar3)" ( (unary_expression "!bVar3" ! identifier) )) (compound_statement "{\n                        pIVar9->colors = 2;\n                        if ((uVar36 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar18 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar15 = PTR_AcquireImageColormap_003a9194;\n                        pIVar9->colors = iVar6 + 1U;\n                        iVar6 = (*(code *)puVar15)(pIVar9,iVar6 + 1U,local_10d8);\n                        if (iVar6 == 0) goto LAB_002756e4;\n                        if (0 < (int)pIVar9->colors) {\n                          uVar37 = 0;\n                          do {\n                            uVar17 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar38 = uVar37;\n                            if (-1 < sVar18) {\n                              if (pIVar9->colors == 0) {\n                                trap(7);\n                              }\n                              uVar38 = uVar17 % pIVar9->colors;\n                            }\n                            uVar37 = uVar37 + 1;\n                            iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                            pIVar9->colormap[uVar38].red = (double)iVar6;\n                            iVar6 = (*(code *)puVar15)(unaff_s0);\n                            puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                            pIVar9->colormap[uVar38].green = (double)iVar6;\n                            iVar6 = (*(code *)puVar15)(unaff_s0);\n                            sVar26 = pIVar9->colors;\n                            unaff_s3 = (ImageInfo *)(pIVar9->colormap + uVar38);\n                            *(double *)&unaff_s3->endian = (double)iVar6;\n                          } while ((int)uVar37 < (int)sVar26);\n                        }\n                      }" { (expression_statement "pIVar9->colors = 2;" (assignment_expression "pIVar9->colors = 2" (field_expression "pIVar9->colors" identifier -> field_identifier) = number_literal) ;) (if_statement "if ((uVar36 & 0x8000) == 0) goto LAB_0027565c;" if (parenthesized_expression "((uVar36 & 0x8000) == 0)" ( (binary_expression "(uVar36 & 0x8000) == 0" (parenthesized_expression "(uVar36 & 0x8000)" ( (binary_expression "uVar36 & 0x8000" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_0027565c;" goto statement_identifier ;)) (expression_statement "(*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);" (call_expression "(*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBLong_003a8d98)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBLong_003a8d98" * (cast_expression "(code *)PTR_ReadBlobMSBLong_003a8d98" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier ))) ;) (expression_statement "sVar18 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (assignment_expression "sVar18 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier )))) ;) (expression_statement "iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (assignment_expression "iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier )))) ;) (expression_statement "puVar15 = PTR_AcquireImageColormap_003a9194;" (assignment_expression "puVar15 = PTR_AcquireImageColormap_003a9194" identifier = identifier) ;) (expression_statement "pIVar9->colors = iVar6 + 1U;" (assignment_expression "pIVar9->colors = iVar6 + 1U" (field_expression "pIVar9->colors" identifier -> field_identifier) = (binary_expression "iVar6 + 1U" identifier + number_literal)) ;) (expression_statement "iVar6 = (*(code *)puVar15)(pIVar9,iVar6 + 1U,local_10d8);" (assignment_expression "iVar6 = (*(code *)puVar15)(pIVar9,iVar6 + 1U,local_10d8)" identifier = (call_expression "(*(code *)puVar15)(pIVar9,iVar6 + 1U,local_10d8)" (parenthesized_expression "(*(code *)puVar15)" ( (pointer_expression "*(code *)puVar15" * (cast_expression "(code *)puVar15" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar9,iVar6 + 1U,local_10d8)" ( identifier , (binary_expression "iVar6 + 1U" identifier + number_literal) , identifier )))) ;) (if_statement "if (iVar6 == 0) goto LAB_002756e4;" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (goto_statement "goto LAB_002756e4;" goto statement_identifier ;)) (if_statement "if (0 < (int)pIVar9->colors) {\n                          uVar37 = 0;\n                          do {\n                            uVar17 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar38 = uVar37;\n                            if (-1 < sVar18) {\n                              if (pIVar9->colors == 0) {\n                                trap(7);\n                              }\n                              uVar38 = uVar17 % pIVar9->colors;\n                            }\n                            uVar37 = uVar37 + 1;\n                            iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                            pIVar9->colormap[uVar38].red = (double)iVar6;\n                            iVar6 = (*(code *)puVar15)(unaff_s0);\n                            puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                            pIVar9->colormap[uVar38].green = (double)iVar6;\n                            iVar6 = (*(code *)puVar15)(unaff_s0);\n                            sVar26 = pIVar9->colors;\n                            unaff_s3 = (ImageInfo *)(pIVar9->colormap + uVar38);\n                            *(double *)&unaff_s3->endian = (double)iVar6;\n                          } while ((int)uVar37 < (int)sVar26);\n                        }" if (parenthesized_expression "(0 < (int)pIVar9->colors)" ( (binary_expression "0 < (int)pIVar9->colors" number_literal < (cast_expression "(int)pIVar9->colors" ( (type_descriptor "int" primitive_type) ) (field_expression "pIVar9->colors" identifier -> field_identifier))) )) (compound_statement "{\n                          uVar37 = 0;\n                          do {\n                            uVar17 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar38 = uVar37;\n                            if (-1 < sVar18) {\n                              if (pIVar9->colors == 0) {\n                                trap(7);\n                              }\n                              uVar38 = uVar17 % pIVar9->colors;\n                            }\n                            uVar37 = uVar37 + 1;\n                            iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                            pIVar9->colormap[uVar38].red = (double)iVar6;\n                            iVar6 = (*(code *)puVar15)(unaff_s0);\n                            puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                            pIVar9->colormap[uVar38].green = (double)iVar6;\n                            iVar6 = (*(code *)puVar15)(unaff_s0);\n                            sVar26 = pIVar9->colors;\n                            unaff_s3 = (ImageInfo *)(pIVar9->colormap + uVar38);\n                            *(double *)&unaff_s3->endian = (double)iVar6;\n                          } while ((int)uVar37 < (int)sVar26);\n                        }" { (expression_statement "uVar37 = 0;" (assignment_expression "uVar37 = 0" identifier = number_literal) ;) (do_statement "do {\n                            uVar17 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar38 = uVar37;\n                            if (-1 < sVar18) {\n                              if (pIVar9->colors == 0) {\n                                trap(7);\n                              }\n                              uVar38 = uVar17 % pIVar9->colors;\n                            }\n                            uVar37 = uVar37 + 1;\n                            iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                            pIVar9->colormap[uVar38].red = (double)iVar6;\n                            iVar6 = (*(code *)puVar15)(unaff_s0);\n                            puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                            pIVar9->colormap[uVar38].green = (double)iVar6;\n                            iVar6 = (*(code *)puVar15)(unaff_s0);\n                            sVar26 = pIVar9->colors;\n                            unaff_s3 = (ImageInfo *)(pIVar9->colormap + uVar38);\n                            *(double *)&unaff_s3->endian = (double)iVar6;\n                          } while ((int)uVar37 < (int)sVar26);" do (compound_statement "{\n                            uVar17 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar38 = uVar37;\n                            if (-1 < sVar18) {\n                              if (pIVar9->colors == 0) {\n                                trap(7);\n                              }\n                              uVar38 = uVar17 % pIVar9->colors;\n                            }\n                            uVar37 = uVar37 + 1;\n                            iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                            pIVar9->colormap[uVar38].red = (double)iVar6;\n                            iVar6 = (*(code *)puVar15)(unaff_s0);\n                            puVar15 = PTR_ReadBlobMSBShort_003a9160;\n                            pIVar9->colormap[uVar38].green = (double)iVar6;\n                            iVar6 = (*(code *)puVar15)(unaff_s0);\n                            sVar26 = pIVar9->colors;\n                            unaff_s3 = (ImageInfo *)(pIVar9->colormap + uVar38);\n                            *(double *)&unaff_s3->endian = (double)iVar6;\n                          }" { (expression_statement "uVar17 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (assignment_expression "uVar17 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier )))) ;) (expression_statement "uVar38 = uVar37;" (assignment_expression "uVar38 = uVar37" identifier = identifier) ;) (if_statement "if (-1 < sVar18) {\n                              if (pIVar9->colors == 0) {\n                                trap(7);\n                              }\n                              uVar38 = uVar17 % pIVar9->colors;\n                            }" if (parenthesized_expression "(-1 < sVar18)" ( (binary_expression "-1 < sVar18" number_literal < identifier) )) (compound_statement "{\n                              if (pIVar9->colors == 0) {\n                                trap(7);\n                              }\n                              uVar38 = uVar17 % pIVar9->colors;\n                            }" { (if_statement "if (pIVar9->colors == 0) {\n                                trap(7);\n                              }" if (parenthesized_expression "(pIVar9->colors == 0)" ( (binary_expression "pIVar9->colors == 0" (field_expression "pIVar9->colors" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n                                trap(7);\n                              }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar38 = uVar17 % pIVar9->colors;" (assignment_expression "uVar38 = uVar17 % pIVar9->colors" identifier = (binary_expression "uVar17 % pIVar9->colors" identifier % (field_expression "pIVar9->colors" identifier -> field_identifier))) ;) })) (expression_statement "uVar37 = uVar37 + 1;" (assignment_expression "uVar37 = uVar37 + 1" identifier = (binary_expression "uVar37 + 1" identifier + number_literal)) ;) (expression_statement "iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (assignment_expression "iVar6 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier )))) ;) (expression_statement "puVar15 = PTR_ReadBlobMSBShort_003a9160;" (assignment_expression "puVar15 = PTR_ReadBlobMSBShort_003a9160" identifier = identifier) ;) (expression_statement "pIVar9->colormap[uVar38].red = (double)iVar6;" (assignment_expression "pIVar9->colormap[uVar38].red = (double)iVar6" (field_expression "pIVar9->colormap[uVar38].red" (subscript_expression "pIVar9->colormap[uVar38]" (field_expression "pIVar9->colormap" identifier -> field_identifier) [ identifier ]) . field_identifier) = (cast_expression "(double)iVar6" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (expression_statement "iVar6 = (*(code *)puVar15)(unaff_s0);" (assignment_expression "iVar6 = (*(code *)puVar15)(unaff_s0)" identifier = (call_expression "(*(code *)puVar15)(unaff_s0)" (parenthesized_expression "(*(code *)puVar15)" ( (pointer_expression "*(code *)puVar15" * (cast_expression "(code *)puVar15" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier )))) ;) (expression_statement "puVar15 = PTR_ReadBlobMSBShort_003a9160;" (assignment_expression "puVar15 = PTR_ReadBlobMSBShort_003a9160" identifier = identifier) ;) (expression_statement "pIVar9->colormap[uVar38].green = (double)iVar6;" (assignment_expression "pIVar9->colormap[uVar38].green = (double)iVar6" (field_expression "pIVar9->colormap[uVar38].green" (subscript_expression "pIVar9->colormap[uVar38]" (field_expression "pIVar9->colormap" identifier -> field_identifier) [ identifier ]) . field_identifier) = (cast_expression "(double)iVar6" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (expression_statement "iVar6 = (*(code *)puVar15)(unaff_s0);" (assignment_expression "iVar6 = (*(code *)puVar15)(unaff_s0)" identifier = (call_expression "(*(code *)puVar15)(unaff_s0)" (parenthesized_expression "(*(code *)puVar15)" ( (pointer_expression "*(code *)puVar15" * (cast_expression "(code *)puVar15" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier )))) ;) (expression_statement "sVar26 = pIVar9->colors;" (assignment_expression "sVar26 = pIVar9->colors" identifier = (field_expression "pIVar9->colors" identifier -> field_identifier)) ;) (expression_statement "unaff_s3 = (ImageInfo *)(pIVar9->colormap + uVar38);" (assignment_expression "unaff_s3 = (ImageInfo *)(pIVar9->colormap + uVar38)" identifier = (cast_expression "(ImageInfo *)(pIVar9->colormap + uVar38)" ( (type_descriptor "ImageInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(pIVar9->colormap + uVar38)" ( (binary_expression "pIVar9->colormap + uVar38" (field_expression "pIVar9->colormap" identifier -> field_identifier) + identifier) )))) ;) (expression_statement "*(double *)&unaff_s3->endian = (double)iVar6;" (assignment_expression "*(double *)&unaff_s3->endian = (double)iVar6" (pointer_expression "*(double *)&unaff_s3->endian" * (cast_expression "(double *)&unaff_s3->endian" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&unaff_s3->endian" & (field_expression "unaff_s3->endian" identifier -> field_identifier)))) = (cast_expression "(double)iVar6" ( (type_descriptor "double" primitive_type) ) identifier)) ;) }) while (parenthesized_expression "((int)uVar37 < (int)sVar26)" ( (binary_expression "(int)uVar37 < (int)sVar26" (cast_expression "(int)uVar37" ( (type_descriptor "int" primitive_type) ) identifier) < (cast_expression "(int)sVar26" ( (type_descriptor "int" primitive_type) ) identifier)) )) ;) })) })) (goto_statement "goto LAB_00274838;" goto statement_identifier ;) })) (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(pIVar9)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar9)" ( identifier ))) ;) (if_statement "if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar32 = 0x49e;" (assignment_expression "uVar32 = 0x49e" identifier = number_literal) ;) (expression_statement "unaff_s7 = pIVar9;" (assignment_expression "unaff_s7 = pIVar9" identifier = identifier) ;) (goto_statement "goto LAB_002757bc;" goto statement_identifier ;) })) (expression_statement "pIVar9->colors = 2;" (assignment_expression "pIVar9->colors = 2" (field_expression "pIVar9->colors" identifier -> field_identifier) = number_literal) ;) (labeled_statement "LAB_0027565c:\n                  iVar6 = (*(code *)PTR_AcquireImageColormap_003a9194)(pIVar9,2,local_10d8);" statement_identifier : (expression_statement "iVar6 = (*(code *)PTR_AcquireImageColormap_003a9194)(pIVar9,2,local_10d8);" (assignment_expression "iVar6 = (*(code *)PTR_AcquireImageColormap_003a9194)(pIVar9,2,local_10d8)" identifier = (call_expression "(*(code *)PTR_AcquireImageColormap_003a9194)(pIVar9,2,local_10d8)" (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 "(pIVar9,2,local_10d8)" ( identifier , number_literal , identifier )))) ;)) (if_statement "if (iVar6 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x4b8;\n                    unaff_s7 = pIVar9;\nLAB_00275720:\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar11 = 400;\n                    goto LAB_00275084;\n                  }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar32 = 0x4b8;\n                    unaff_s7 = pIVar9;\nLAB_00275720:\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar11 = 400;\n                    goto LAB_00275084;\n                  }" { (labeled_statement "LAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);" statement_identifier : (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(pIVar9)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar9)" ( identifier ))) ;)) (if_statement "if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar32 = 0x4b8;" (assignment_expression "uVar32 = 0x4b8" identifier = number_literal) ;) (expression_statement "unaff_s7 = pIVar9;" (assignment_expression "unaff_s7 = pIVar9" identifier = identifier) ;) (labeled_statement "LAB_00275720:\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;" statement_identifier : (expression_statement "puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;" (assignment_expression "puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier + number_literal)) ;)) (expression_statement "uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);" (assignment_expression "uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename)" identifier = (call_expression "CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename)" identifier (argument_list "(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename)" ( (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal) , (field_expression "local_10d0->filename" identifier -> field_identifier) )))) ;) (expression_statement "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;" (assignment_expression "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier + number_literal)) ;) (expression_statement "puVar15 = PTR_LAB_003a88e0 + 0x16f8;" (assignment_expression "puVar15 = PTR_LAB_003a88e0 + 0x16f8" identifier = (binary_expression "PTR_LAB_003a88e0 + 0x16f8" identifier + number_literal)) ;) (expression_statement "uVar11 = 400;" (assignment_expression "uVar11 = 400" identifier = number_literal) ;) (goto_statement "goto LAB_00275084;" goto statement_identifier ;) })) (expression_statement "sVar26 = pIVar9->colors;" (assignment_expression "sVar26 = pIVar9->colors" identifier = (field_expression "pIVar9->colors" identifier -> field_identifier)) ;) (if_statement "if (0 < (int)sVar26) {\n                    pPVar29 = pIVar9->colormap;\n                    pMVar13 = &pPVar29->red;\n                    do {\n                      pMVar14 = pMVar13 + 0xb;\n                      *pMVar13 = (double)(float)(in_f20_21 - *pMVar13);\n                      pMVar13[1] = (double)(float)(in_f20_21 - pMVar13[1]);\n                      pMVar13[2] = (double)(float)(in_f20_21 - pMVar13[2]);\n                      pMVar13 = pMVar14;\n                    } while (pMVar14 != &pPVar29[sVar26].red);\n                  }" if (parenthesized_expression "(0 < (int)sVar26)" ( (binary_expression "0 < (int)sVar26" number_literal < (cast_expression "(int)sVar26" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n                    pPVar29 = pIVar9->colormap;\n                    pMVar13 = &pPVar29->red;\n                    do {\n                      pMVar14 = pMVar13 + 0xb;\n                      *pMVar13 = (double)(float)(in_f20_21 - *pMVar13);\n                      pMVar13[1] = (double)(float)(in_f20_21 - pMVar13[1]);\n                      pMVar13[2] = (double)(float)(in_f20_21 - pMVar13[2]);\n                      pMVar13 = pMVar14;\n                    } while (pMVar14 != &pPVar29[sVar26].red);\n                  }" { (expression_statement "pPVar29 = pIVar9->colormap;" (assignment_expression "pPVar29 = pIVar9->colormap" identifier = (field_expression "pIVar9->colormap" identifier -> field_identifier)) ;) (expression_statement "pMVar13 = &pPVar29->red;" (assignment_expression "pMVar13 = &pPVar29->red" identifier = (pointer_expression "&pPVar29->red" & (field_expression "pPVar29->red" identifier -> field_identifier))) ;) (do_statement "do {\n                      pMVar14 = pMVar13 + 0xb;\n                      *pMVar13 = (double)(float)(in_f20_21 - *pMVar13);\n                      pMVar13[1] = (double)(float)(in_f20_21 - pMVar13[1]);\n                      pMVar13[2] = (double)(float)(in_f20_21 - pMVar13[2]);\n                      pMVar13 = pMVar14;\n                    } while (pMVar14 != &pPVar29[sVar26].red);" do (compound_statement "{\n                      pMVar14 = pMVar13 + 0xb;\n                      *pMVar13 = (double)(float)(in_f20_21 - *pMVar13);\n                      pMVar13[1] = (double)(float)(in_f20_21 - pMVar13[1]);\n                      pMVar13[2] = (double)(float)(in_f20_21 - pMVar13[2]);\n                      pMVar13 = pMVar14;\n                    }" { (expression_statement "pMVar14 = pMVar13 + 0xb;" (assignment_expression "pMVar14 = pMVar13 + 0xb" identifier = (binary_expression "pMVar13 + 0xb" identifier + number_literal)) ;) (expression_statement "*pMVar13 = (double)(float)(in_f20_21 - *pMVar13);" (assignment_expression "*pMVar13 = (double)(float)(in_f20_21 - *pMVar13)" (pointer_expression "*pMVar13" * identifier) = (cast_expression "(double)(float)(in_f20_21 - *pMVar13)" ( (type_descriptor "double" primitive_type) ) (cast_expression "(float)(in_f20_21 - *pMVar13)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "(in_f20_21 - *pMVar13)" ( (binary_expression "in_f20_21 - *pMVar13" identifier - (pointer_expression "*pMVar13" * identifier)) ))))) ;) (expression_statement "pMVar13[1] = (double)(float)(in_f20_21 - pMVar13[1]);" (assignment_expression "pMVar13[1] = (double)(float)(in_f20_21 - pMVar13[1])" (subscript_expression "pMVar13[1]" identifier [ number_literal ]) = (cast_expression "(double)(float)(in_f20_21 - pMVar13[1])" ( (type_descriptor "double" primitive_type) ) (cast_expression "(float)(in_f20_21 - pMVar13[1])" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "(in_f20_21 - pMVar13[1])" ( (binary_expression "in_f20_21 - pMVar13[1]" identifier - (subscript_expression "pMVar13[1]" identifier [ number_literal ])) ))))) ;) (expression_statement "pMVar13[2] = (double)(float)(in_f20_21 - pMVar13[2]);" (assignment_expression "pMVar13[2] = (double)(float)(in_f20_21 - pMVar13[2])" (subscript_expression "pMVar13[2]" identifier [ number_literal ]) = (cast_expression "(double)(float)(in_f20_21 - pMVar13[2])" ( (type_descriptor "double" primitive_type) ) (cast_expression "(float)(in_f20_21 - pMVar13[2])" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "(in_f20_21 - pMVar13[2])" ( (binary_expression "in_f20_21 - pMVar13[2]" identifier - (subscript_expression "pMVar13[2]" identifier [ number_literal ])) ))))) ;) (expression_statement "pMVar13 = pMVar14;" (assignment_expression "pMVar13 = pMVar14" identifier = identifier) ;) }) while (parenthesized_expression "(pMVar14 != &pPVar29[sVar26].red)" ( (binary_expression "pMVar14 != &pPVar29[sVar26].red" identifier != (pointer_expression "&pPVar29[sVar26].red" & (field_expression "pPVar29[sVar26].red" (subscript_expression "pPVar29[sVar26]" identifier [ identifier ]) . field_identifier))) )) ;) })) (labeled_statement "LAB_00274838:\n                  iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);" statement_identifier : (expression_statement "iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);" (assignment_expression "iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_EOFBlob_003a9748)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;)) (if_statement "if (iVar6 == 0) {\n                    MVar7 = ReadRectangle(unaff_s0,&source);\n                    if (MVar7 == MagickFalse) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x4d9;\n                      unaff_s7 = pIVar9;\n                    }\n                    else {\n                      MVar7 = ReadRectangle(unaff_s0,&destination);\n                      if (MVar7 != MagickFalse) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)pIVar8 & 0xfff7) == 0x91) || (unaff_s7 == (Image *)0x9b)) {\n                          uVar37 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar37)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x4e5;\n                            unaff_s7 = pIVar9;\n                            goto LAB_00275880;\n                          }\n                          iVar6 = 0;\n                          if (0 < (int)(uVar37 - 2)) {\n                            do {\n                              iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar16 == -1) break;\n                              iVar6 = iVar6 + 1;\n                            } while (uVar37 - 2 != iVar6);\n                          }\n                        }\n                        if ((bVar3) || ((uVar36 & 0x8000) != 0)) {\n                          uVar37 = (uint)pixmap.bits_per_pixel;\n                        }\n                        else {\n                          uVar37 = 1;\n                        }\n                        unaff_s3 = (ImageInfo *)DecodeImage(unaff_s0,pIVar9,uVar36,uVar37,&extent);\n                        if (unaff_s3 == (ImageInfo *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x4f2;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if ((int)pIVar9->rows < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar6 == 0)) &&\n                               ((bVar3 || ((uVar36 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,pIVar9,0xd,1);\n                            }\n                            unaff_s3 = (ImageInfo *)(*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <=\n                              (ImageInfo *)\n                              ((int)&unaff_s3->compression + unaff_s0->columns + extent)) {\n                            local_10b0 = 0;\n                            uVar37 = 0;\n                            pIVar35 = unaff_s3;\n                            do {\n                              iVar6 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (pIVar9,0,uVar37,pIVar9->columns);\n                              if (iVar6 == 0) goto LAB_00276500;\n                              sVar26 = pIVar9->columns;\n                              if (0 < (int)sVar26) {\n                                iVar16 = 0;\n                                dVar39 = *(double *)(local_10ac + -0x5af0);\n                                dVar40 = dVar39;\n                                do {\n                                  if (pIVar9->storage_class == PseudoClass) {\n                                    if ((int)(uint)(byte)*(undefined1 *)&pIVar35->compression <\n                                        (int)pIVar9->colors) {\n                                      fVar41 = (float)(byte)*(undefined1 *)&pIVar35->compression;\n                                      iVar12 = (int)fVar41 * 0x58;\n                                    }\n                                    else if (local_10d8->severity == CorruptImageError) {\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23);\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                      sVar26 = pIVar9->columns;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    if (pPVar28[5].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[5].offset * 4) = fVar41;\n                                    }\n                                    pPVar29 = pIVar9->colormap;\n                                    iVar23 = pPVar28[1].offset;\n                                    iVar33 = pPVar28[2].offset;\n                                    dVar43 = *(double *)((int)&pPVar29->green + iVar12);\n                                    dVar42 = *(double *)((int)&pPVar29->blue + iVar12);\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)*(double *)((int)&pPVar29->red + iVar12);\n                                    *(float *)(iVar6 + iVar23 * 4) = (float)dVar43;\n                                    *(float *)(iVar6 + iVar33 * 4) = (float)dVar42;\n                                  }\n                                  else if (pixmap.bits_per_pixel == 0x10) {\n                                    bVar1 = *(byte *)((int)&pIVar35->compression + 1);\n                                    pPVar28 = pIVar9->channel_map;\n                                    uVar2 = *(undefined1 *)&pIVar35->compression;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(((byte)uVar2 & 0x7c) << 1) * dVar40);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | ((byte)uVar2 & 3) << 6\n                                                         ) * dVar40);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar40);\n                                    pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  }\n                                  else if (pIVar9->alpha_trait == UndefinedPixelTrait) {\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 2 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(byte)*(undefined1 *)&pIVar35->compression\n                                                * dVar39);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar27 * dVar39);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar27[sVar26] * dVar39);\n                                  }\n                                  else {\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 3 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if (pPVar28[4].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[4].offset * 4) =\n                                           (float)((double)(byte)*(undefined1 *)\n                                                                  &pIVar35->compression * in_f22_23)\n                                      ;\n                                    }\n                                    pbVar34 = pbVar27 + sVar26;\n                                    dVar42 = *(double *)(local_10ac + -0x5af0);\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)*pbVar27 * dVar42);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar34 * dVar42);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar34[sVar26] * dVar42);\n                                  }\n                                  iVar16 = iVar16 + 1;\n                                  pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  iVar6 = iVar6 + pIVar9->number_channels * 4;\n                                } while (iVar16 < (int)sVar26);\n                              }\n                              iVar6 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar9,local_10d8)\n                              ;\n                              if (((iVar6 == 0) ||\n                                  (((pIVar9->storage_class == DirectClass &&\n                                    (pixmap.bits_per_pixel != 0x10)) &&\n                                   (pIVar35 = (ImageInfo *)\n                                              ((int)&pIVar35->compression +\n                                              (pixmap.component_count + -1) * pIVar9->columns),\n                                   pIVar35 < unaff_s3)))) ||\n                                 ((iVar6 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar37), iVar6 == 0 ||\n                                  (uVar38 = uVar37 + 1, (int)pIVar9->rows <= (int)uVar38))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar38 < uVar37) + local_10b0;\n                              uVar37 = uVar38;\n                            } while (pIVar35 <=\n                                     (ImageInfo *)\n                                     ((int)&unaff_s3->compression + unaff_s0->columns + extent));\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x4fc;\n                          unaff_s7 = pIVar9;\nLAB_0027504c:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          pIVar9 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x4db;\n                      unaff_s7 = pIVar9;\n                    }\n                    goto LAB_002757bc;\n                  }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n                    MVar7 = ReadRectangle(unaff_s0,&source);\n                    if (MVar7 == MagickFalse) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x4d9;\n                      unaff_s7 = pIVar9;\n                    }\n                    else {\n                      MVar7 = ReadRectangle(unaff_s0,&destination);\n                      if (MVar7 != MagickFalse) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)pIVar8 & 0xfff7) == 0x91) || (unaff_s7 == (Image *)0x9b)) {\n                          uVar37 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar37)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x4e5;\n                            unaff_s7 = pIVar9;\n                            goto LAB_00275880;\n                          }\n                          iVar6 = 0;\n                          if (0 < (int)(uVar37 - 2)) {\n                            do {\n                              iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar16 == -1) break;\n                              iVar6 = iVar6 + 1;\n                            } while (uVar37 - 2 != iVar6);\n                          }\n                        }\n                        if ((bVar3) || ((uVar36 & 0x8000) != 0)) {\n                          uVar37 = (uint)pixmap.bits_per_pixel;\n                        }\n                        else {\n                          uVar37 = 1;\n                        }\n                        unaff_s3 = (ImageInfo *)DecodeImage(unaff_s0,pIVar9,uVar36,uVar37,&extent);\n                        if (unaff_s3 == (ImageInfo *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x4f2;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if ((int)pIVar9->rows < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar6 == 0)) &&\n                               ((bVar3 || ((uVar36 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,pIVar9,0xd,1);\n                            }\n                            unaff_s3 = (ImageInfo *)(*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <=\n                              (ImageInfo *)\n                              ((int)&unaff_s3->compression + unaff_s0->columns + extent)) {\n                            local_10b0 = 0;\n                            uVar37 = 0;\n                            pIVar35 = unaff_s3;\n                            do {\n                              iVar6 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (pIVar9,0,uVar37,pIVar9->columns);\n                              if (iVar6 == 0) goto LAB_00276500;\n                              sVar26 = pIVar9->columns;\n                              if (0 < (int)sVar26) {\n                                iVar16 = 0;\n                                dVar39 = *(double *)(local_10ac + -0x5af0);\n                                dVar40 = dVar39;\n                                do {\n                                  if (pIVar9->storage_class == PseudoClass) {\n                                    if ((int)(uint)(byte)*(undefined1 *)&pIVar35->compression <\n                                        (int)pIVar9->colors) {\n                                      fVar41 = (float)(byte)*(undefined1 *)&pIVar35->compression;\n                                      iVar12 = (int)fVar41 * 0x58;\n                                    }\n                                    else if (local_10d8->severity == CorruptImageError) {\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23);\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                      sVar26 = pIVar9->columns;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    if (pPVar28[5].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[5].offset * 4) = fVar41;\n                                    }\n                                    pPVar29 = pIVar9->colormap;\n                                    iVar23 = pPVar28[1].offset;\n                                    iVar33 = pPVar28[2].offset;\n                                    dVar43 = *(double *)((int)&pPVar29->green + iVar12);\n                                    dVar42 = *(double *)((int)&pPVar29->blue + iVar12);\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)*(double *)((int)&pPVar29->red + iVar12);\n                                    *(float *)(iVar6 + iVar23 * 4) = (float)dVar43;\n                                    *(float *)(iVar6 + iVar33 * 4) = (float)dVar42;\n                                  }\n                                  else if (pixmap.bits_per_pixel == 0x10) {\n                                    bVar1 = *(byte *)((int)&pIVar35->compression + 1);\n                                    pPVar28 = pIVar9->channel_map;\n                                    uVar2 = *(undefined1 *)&pIVar35->compression;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(((byte)uVar2 & 0x7c) << 1) * dVar40);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | ((byte)uVar2 & 3) << 6\n                                                         ) * dVar40);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar40);\n                                    pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  }\n                                  else if (pIVar9->alpha_trait == UndefinedPixelTrait) {\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 2 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(byte)*(undefined1 *)&pIVar35->compression\n                                                * dVar39);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar27 * dVar39);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar27[sVar26] * dVar39);\n                                  }\n                                  else {\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 3 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if (pPVar28[4].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[4].offset * 4) =\n                                           (float)((double)(byte)*(undefined1 *)\n                                                                  &pIVar35->compression * in_f22_23)\n                                      ;\n                                    }\n                                    pbVar34 = pbVar27 + sVar26;\n                                    dVar42 = *(double *)(local_10ac + -0x5af0);\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)*pbVar27 * dVar42);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar34 * dVar42);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar34[sVar26] * dVar42);\n                                  }\n                                  iVar16 = iVar16 + 1;\n                                  pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  iVar6 = iVar6 + pIVar9->number_channels * 4;\n                                } while (iVar16 < (int)sVar26);\n                              }\n                              iVar6 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar9,local_10d8)\n                              ;\n                              if (((iVar6 == 0) ||\n                                  (((pIVar9->storage_class == DirectClass &&\n                                    (pixmap.bits_per_pixel != 0x10)) &&\n                                   (pIVar35 = (ImageInfo *)\n                                              ((int)&pIVar35->compression +\n                                              (pixmap.component_count + -1) * pIVar9->columns),\n                                   pIVar35 < unaff_s3)))) ||\n                                 ((iVar6 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar37), iVar6 == 0 ||\n                                  (uVar38 = uVar37 + 1, (int)pIVar9->rows <= (int)uVar38))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar38 < uVar37) + local_10b0;\n                              uVar37 = uVar38;\n                            } while (pIVar35 <=\n                                     (ImageInfo *)\n                                     ((int)&unaff_s3->compression + unaff_s0->columns + extent));\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x4fc;\n                          unaff_s7 = pIVar9;\nLAB_0027504c:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          pIVar9 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x4db;\n                      unaff_s7 = pIVar9;\n                    }\n                    goto LAB_002757bc;\n                  }" { (expression_statement "MVar7 = ReadRectangle(unaff_s0,&source);" (assignment_expression "MVar7 = ReadRectangle(unaff_s0,&source)" identifier = (call_expression "ReadRectangle(unaff_s0,&source)" identifier (argument_list "(unaff_s0,&source)" ( identifier , (pointer_expression "&source" & identifier) )))) ;) (if_statement "if (MVar7 == MagickFalse) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x4d9;\n                      unaff_s7 = pIVar9;\n                    }\n                    else {\n                      MVar7 = ReadRectangle(unaff_s0,&destination);\n                      if (MVar7 != MagickFalse) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)pIVar8 & 0xfff7) == 0x91) || (unaff_s7 == (Image *)0x9b)) {\n                          uVar37 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar37)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x4e5;\n                            unaff_s7 = pIVar9;\n                            goto LAB_00275880;\n                          }\n                          iVar6 = 0;\n                          if (0 < (int)(uVar37 - 2)) {\n                            do {\n                              iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar16 == -1) break;\n                              iVar6 = iVar6 + 1;\n                            } while (uVar37 - 2 != iVar6);\n                          }\n                        }\n                        if ((bVar3) || ((uVar36 & 0x8000) != 0)) {\n                          uVar37 = (uint)pixmap.bits_per_pixel;\n                        }\n                        else {\n                          uVar37 = 1;\n                        }\n                        unaff_s3 = (ImageInfo *)DecodeImage(unaff_s0,pIVar9,uVar36,uVar37,&extent);\n                        if (unaff_s3 == (ImageInfo *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x4f2;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if ((int)pIVar9->rows < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar6 == 0)) &&\n                               ((bVar3 || ((uVar36 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,pIVar9,0xd,1);\n                            }\n                            unaff_s3 = (ImageInfo *)(*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <=\n                              (ImageInfo *)\n                              ((int)&unaff_s3->compression + unaff_s0->columns + extent)) {\n                            local_10b0 = 0;\n                            uVar37 = 0;\n                            pIVar35 = unaff_s3;\n                            do {\n                              iVar6 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (pIVar9,0,uVar37,pIVar9->columns);\n                              if (iVar6 == 0) goto LAB_00276500;\n                              sVar26 = pIVar9->columns;\n                              if (0 < (int)sVar26) {\n                                iVar16 = 0;\n                                dVar39 = *(double *)(local_10ac + -0x5af0);\n                                dVar40 = dVar39;\n                                do {\n                                  if (pIVar9->storage_class == PseudoClass) {\n                                    if ((int)(uint)(byte)*(undefined1 *)&pIVar35->compression <\n                                        (int)pIVar9->colors) {\n                                      fVar41 = (float)(byte)*(undefined1 *)&pIVar35->compression;\n                                      iVar12 = (int)fVar41 * 0x58;\n                                    }\n                                    else if (local_10d8->severity == CorruptImageError) {\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23);\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                      sVar26 = pIVar9->columns;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    if (pPVar28[5].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[5].offset * 4) = fVar41;\n                                    }\n                                    pPVar29 = pIVar9->colormap;\n                                    iVar23 = pPVar28[1].offset;\n                                    iVar33 = pPVar28[2].offset;\n                                    dVar43 = *(double *)((int)&pPVar29->green + iVar12);\n                                    dVar42 = *(double *)((int)&pPVar29->blue + iVar12);\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)*(double *)((int)&pPVar29->red + iVar12);\n                                    *(float *)(iVar6 + iVar23 * 4) = (float)dVar43;\n                                    *(float *)(iVar6 + iVar33 * 4) = (float)dVar42;\n                                  }\n                                  else if (pixmap.bits_per_pixel == 0x10) {\n                                    bVar1 = *(byte *)((int)&pIVar35->compression + 1);\n                                    pPVar28 = pIVar9->channel_map;\n                                    uVar2 = *(undefined1 *)&pIVar35->compression;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(((byte)uVar2 & 0x7c) << 1) * dVar40);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | ((byte)uVar2 & 3) << 6\n                                                         ) * dVar40);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar40);\n                                    pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  }\n                                  else if (pIVar9->alpha_trait == UndefinedPixelTrait) {\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 2 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(byte)*(undefined1 *)&pIVar35->compression\n                                                * dVar39);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar27 * dVar39);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar27[sVar26] * dVar39);\n                                  }\n                                  else {\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 3 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if (pPVar28[4].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[4].offset * 4) =\n                                           (float)((double)(byte)*(undefined1 *)\n                                                                  &pIVar35->compression * in_f22_23)\n                                      ;\n                                    }\n                                    pbVar34 = pbVar27 + sVar26;\n                                    dVar42 = *(double *)(local_10ac + -0x5af0);\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)*pbVar27 * dVar42);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar34 * dVar42);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar34[sVar26] * dVar42);\n                                  }\n                                  iVar16 = iVar16 + 1;\n                                  pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  iVar6 = iVar6 + pIVar9->number_channels * 4;\n                                } while (iVar16 < (int)sVar26);\n                              }\n                              iVar6 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar9,local_10d8)\n                              ;\n                              if (((iVar6 == 0) ||\n                                  (((pIVar9->storage_class == DirectClass &&\n                                    (pixmap.bits_per_pixel != 0x10)) &&\n                                   (pIVar35 = (ImageInfo *)\n                                              ((int)&pIVar35->compression +\n                                              (pixmap.component_count + -1) * pIVar9->columns),\n                                   pIVar35 < unaff_s3)))) ||\n                                 ((iVar6 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar37), iVar6 == 0 ||\n                                  (uVar38 = uVar37 + 1, (int)pIVar9->rows <= (int)uVar38))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar38 < uVar37) + local_10b0;\n                              uVar37 = uVar38;\n                            } while (pIVar35 <=\n                                     (ImageInfo *)\n                                     ((int)&unaff_s3->compression + unaff_s0->columns + extent));\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x4fc;\n                          unaff_s7 = pIVar9;\nLAB_0027504c:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          pIVar9 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x4db;\n                      unaff_s7 = pIVar9;\n                    }" if (parenthesized_expression "(MVar7 == MagickFalse)" ( (binary_expression "MVar7 == MagickFalse" identifier == identifier) )) (compound_statement "{\n                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x4d9;\n                      unaff_s7 = pIVar9;\n                    }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(pIVar9)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar9)" ( identifier ))) ;) (if_statement "if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar32 = 0x4d9;" (assignment_expression "uVar32 = 0x4d9" identifier = number_literal) ;) (expression_statement "unaff_s7 = pIVar9;" (assignment_expression "unaff_s7 = pIVar9" identifier = identifier) ;) }) (else_clause "else {\n                      MVar7 = ReadRectangle(unaff_s0,&destination);\n                      if (MVar7 != MagickFalse) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)pIVar8 & 0xfff7) == 0x91) || (unaff_s7 == (Image *)0x9b)) {\n                          uVar37 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar37)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x4e5;\n                            unaff_s7 = pIVar9;\n                            goto LAB_00275880;\n                          }\n                          iVar6 = 0;\n                          if (0 < (int)(uVar37 - 2)) {\n                            do {\n                              iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar16 == -1) break;\n                              iVar6 = iVar6 + 1;\n                            } while (uVar37 - 2 != iVar6);\n                          }\n                        }\n                        if ((bVar3) || ((uVar36 & 0x8000) != 0)) {\n                          uVar37 = (uint)pixmap.bits_per_pixel;\n                        }\n                        else {\n                          uVar37 = 1;\n                        }\n                        unaff_s3 = (ImageInfo *)DecodeImage(unaff_s0,pIVar9,uVar36,uVar37,&extent);\n                        if (unaff_s3 == (ImageInfo *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x4f2;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if ((int)pIVar9->rows < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar6 == 0)) &&\n                               ((bVar3 || ((uVar36 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,pIVar9,0xd,1);\n                            }\n                            unaff_s3 = (ImageInfo *)(*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <=\n                              (ImageInfo *)\n                              ((int)&unaff_s3->compression + unaff_s0->columns + extent)) {\n                            local_10b0 = 0;\n                            uVar37 = 0;\n                            pIVar35 = unaff_s3;\n                            do {\n                              iVar6 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (pIVar9,0,uVar37,pIVar9->columns);\n                              if (iVar6 == 0) goto LAB_00276500;\n                              sVar26 = pIVar9->columns;\n                              if (0 < (int)sVar26) {\n                                iVar16 = 0;\n                                dVar39 = *(double *)(local_10ac + -0x5af0);\n                                dVar40 = dVar39;\n                                do {\n                                  if (pIVar9->storage_class == PseudoClass) {\n                                    if ((int)(uint)(byte)*(undefined1 *)&pIVar35->compression <\n                                        (int)pIVar9->colors) {\n                                      fVar41 = (float)(byte)*(undefined1 *)&pIVar35->compression;\n                                      iVar12 = (int)fVar41 * 0x58;\n                                    }\n                                    else if (local_10d8->severity == CorruptImageError) {\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23);\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                      sVar26 = pIVar9->columns;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    if (pPVar28[5].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[5].offset * 4) = fVar41;\n                                    }\n                                    pPVar29 = pIVar9->colormap;\n                                    iVar23 = pPVar28[1].offset;\n                                    iVar33 = pPVar28[2].offset;\n                                    dVar43 = *(double *)((int)&pPVar29->green + iVar12);\n                                    dVar42 = *(double *)((int)&pPVar29->blue + iVar12);\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)*(double *)((int)&pPVar29->red + iVar12);\n                                    *(float *)(iVar6 + iVar23 * 4) = (float)dVar43;\n                                    *(float *)(iVar6 + iVar33 * 4) = (float)dVar42;\n                                  }\n                                  else if (pixmap.bits_per_pixel == 0x10) {\n                                    bVar1 = *(byte *)((int)&pIVar35->compression + 1);\n                                    pPVar28 = pIVar9->channel_map;\n                                    uVar2 = *(undefined1 *)&pIVar35->compression;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(((byte)uVar2 & 0x7c) << 1) * dVar40);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | ((byte)uVar2 & 3) << 6\n                                                         ) * dVar40);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar40);\n                                    pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  }\n                                  else if (pIVar9->alpha_trait == UndefinedPixelTrait) {\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 2 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(byte)*(undefined1 *)&pIVar35->compression\n                                                * dVar39);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar27 * dVar39);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar27[sVar26] * dVar39);\n                                  }\n                                  else {\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 3 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if (pPVar28[4].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[4].offset * 4) =\n                                           (float)((double)(byte)*(undefined1 *)\n                                                                  &pIVar35->compression * in_f22_23)\n                                      ;\n                                    }\n                                    pbVar34 = pbVar27 + sVar26;\n                                    dVar42 = *(double *)(local_10ac + -0x5af0);\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)*pbVar27 * dVar42);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar34 * dVar42);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar34[sVar26] * dVar42);\n                                  }\n                                  iVar16 = iVar16 + 1;\n                                  pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  iVar6 = iVar6 + pIVar9->number_channels * 4;\n                                } while (iVar16 < (int)sVar26);\n                              }\n                              iVar6 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar9,local_10d8)\n                              ;\n                              if (((iVar6 == 0) ||\n                                  (((pIVar9->storage_class == DirectClass &&\n                                    (pixmap.bits_per_pixel != 0x10)) &&\n                                   (pIVar35 = (ImageInfo *)\n                                              ((int)&pIVar35->compression +\n                                              (pixmap.component_count + -1) * pIVar9->columns),\n                                   pIVar35 < unaff_s3)))) ||\n                                 ((iVar6 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar37), iVar6 == 0 ||\n                                  (uVar38 = uVar37 + 1, (int)pIVar9->rows <= (int)uVar38))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar38 < uVar37) + local_10b0;\n                              uVar37 = uVar38;\n                            } while (pIVar35 <=\n                                     (ImageInfo *)\n                                     ((int)&unaff_s3->compression + unaff_s0->columns + extent));\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x4fc;\n                          unaff_s7 = pIVar9;\nLAB_0027504c:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          pIVar9 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x4db;\n                      unaff_s7 = pIVar9;\n                    }" else (compound_statement "{\n                      MVar7 = ReadRectangle(unaff_s0,&destination);\n                      if (MVar7 != MagickFalse) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)pIVar8 & 0xfff7) == 0x91) || (unaff_s7 == (Image *)0x9b)) {\n                          uVar37 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar37)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x4e5;\n                            unaff_s7 = pIVar9;\n                            goto LAB_00275880;\n                          }\n                          iVar6 = 0;\n                          if (0 < (int)(uVar37 - 2)) {\n                            do {\n                              iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar16 == -1) break;\n                              iVar6 = iVar6 + 1;\n                            } while (uVar37 - 2 != iVar6);\n                          }\n                        }\n                        if ((bVar3) || ((uVar36 & 0x8000) != 0)) {\n                          uVar37 = (uint)pixmap.bits_per_pixel;\n                        }\n                        else {\n                          uVar37 = 1;\n                        }\n                        unaff_s3 = (ImageInfo *)DecodeImage(unaff_s0,pIVar9,uVar36,uVar37,&extent);\n                        if (unaff_s3 == (ImageInfo *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x4f2;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if ((int)pIVar9->rows < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar6 == 0)) &&\n                               ((bVar3 || ((uVar36 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,pIVar9,0xd,1);\n                            }\n                            unaff_s3 = (ImageInfo *)(*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <=\n                              (ImageInfo *)\n                              ((int)&unaff_s3->compression + unaff_s0->columns + extent)) {\n                            local_10b0 = 0;\n                            uVar37 = 0;\n                            pIVar35 = unaff_s3;\n                            do {\n                              iVar6 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (pIVar9,0,uVar37,pIVar9->columns);\n                              if (iVar6 == 0) goto LAB_00276500;\n                              sVar26 = pIVar9->columns;\n                              if (0 < (int)sVar26) {\n                                iVar16 = 0;\n                                dVar39 = *(double *)(local_10ac + -0x5af0);\n                                dVar40 = dVar39;\n                                do {\n                                  if (pIVar9->storage_class == PseudoClass) {\n                                    if ((int)(uint)(byte)*(undefined1 *)&pIVar35->compression <\n                                        (int)pIVar9->colors) {\n                                      fVar41 = (float)(byte)*(undefined1 *)&pIVar35->compression;\n                                      iVar12 = (int)fVar41 * 0x58;\n                                    }\n                                    else if (local_10d8->severity == CorruptImageError) {\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23);\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                      sVar26 = pIVar9->columns;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    if (pPVar28[5].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[5].offset * 4) = fVar41;\n                                    }\n                                    pPVar29 = pIVar9->colormap;\n                                    iVar23 = pPVar28[1].offset;\n                                    iVar33 = pPVar28[2].offset;\n                                    dVar43 = *(double *)((int)&pPVar29->green + iVar12);\n                                    dVar42 = *(double *)((int)&pPVar29->blue + iVar12);\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)*(double *)((int)&pPVar29->red + iVar12);\n                                    *(float *)(iVar6 + iVar23 * 4) = (float)dVar43;\n                                    *(float *)(iVar6 + iVar33 * 4) = (float)dVar42;\n                                  }\n                                  else if (pixmap.bits_per_pixel == 0x10) {\n                                    bVar1 = *(byte *)((int)&pIVar35->compression + 1);\n                                    pPVar28 = pIVar9->channel_map;\n                                    uVar2 = *(undefined1 *)&pIVar35->compression;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(((byte)uVar2 & 0x7c) << 1) * dVar40);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | ((byte)uVar2 & 3) << 6\n                                                         ) * dVar40);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar40);\n                                    pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  }\n                                  else if (pIVar9->alpha_trait == UndefinedPixelTrait) {\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 2 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(byte)*(undefined1 *)&pIVar35->compression\n                                                * dVar39);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar27 * dVar39);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar27[sVar26] * dVar39);\n                                  }\n                                  else {\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 3 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if (pPVar28[4].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[4].offset * 4) =\n                                           (float)((double)(byte)*(undefined1 *)\n                                                                  &pIVar35->compression * in_f22_23)\n                                      ;\n                                    }\n                                    pbVar34 = pbVar27 + sVar26;\n                                    dVar42 = *(double *)(local_10ac + -0x5af0);\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)*pbVar27 * dVar42);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar34 * dVar42);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar34[sVar26] * dVar42);\n                                  }\n                                  iVar16 = iVar16 + 1;\n                                  pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  iVar6 = iVar6 + pIVar9->number_channels * 4;\n                                } while (iVar16 < (int)sVar26);\n                              }\n                              iVar6 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar9,local_10d8)\n                              ;\n                              if (((iVar6 == 0) ||\n                                  (((pIVar9->storage_class == DirectClass &&\n                                    (pixmap.bits_per_pixel != 0x10)) &&\n                                   (pIVar35 = (ImageInfo *)\n                                              ((int)&pIVar35->compression +\n                                              (pixmap.component_count + -1) * pIVar9->columns),\n                                   pIVar35 < unaff_s3)))) ||\n                                 ((iVar6 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar37), iVar6 == 0 ||\n                                  (uVar38 = uVar37 + 1, (int)pIVar9->rows <= (int)uVar38))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar38 < uVar37) + local_10b0;\n                              uVar37 = uVar38;\n                            } while (pIVar35 <=\n                                     (ImageInfo *)\n                                     ((int)&unaff_s3->compression + unaff_s0->columns + extent));\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x4fc;\n                          unaff_s7 = pIVar9;\nLAB_0027504c:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          pIVar9 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x4db;\n                      unaff_s7 = pIVar9;\n                    }" { (expression_statement "MVar7 = ReadRectangle(unaff_s0,&destination);" (assignment_expression "MVar7 = ReadRectangle(unaff_s0,&destination)" identifier = (call_expression "ReadRectangle(unaff_s0,&destination)" identifier (argument_list "(unaff_s0,&destination)" ( identifier , (pointer_expression "&destination" & identifier) )))) ;) (if_statement "if (MVar7 != MagickFalse) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)pIVar8 & 0xfff7) == 0x91) || (unaff_s7 == (Image *)0x9b)) {\n                          uVar37 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar37)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x4e5;\n                            unaff_s7 = pIVar9;\n                            goto LAB_00275880;\n                          }\n                          iVar6 = 0;\n                          if (0 < (int)(uVar37 - 2)) {\n                            do {\n                              iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar16 == -1) break;\n                              iVar6 = iVar6 + 1;\n                            } while (uVar37 - 2 != iVar6);\n                          }\n                        }\n                        if ((bVar3) || ((uVar36 & 0x8000) != 0)) {\n                          uVar37 = (uint)pixmap.bits_per_pixel;\n                        }\n                        else {\n                          uVar37 = 1;\n                        }\n                        unaff_s3 = (ImageInfo *)DecodeImage(unaff_s0,pIVar9,uVar36,uVar37,&extent);\n                        if (unaff_s3 == (ImageInfo *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x4f2;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if ((int)pIVar9->rows < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar6 == 0)) &&\n                               ((bVar3 || ((uVar36 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,pIVar9,0xd,1);\n                            }\n                            unaff_s3 = (ImageInfo *)(*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <=\n                              (ImageInfo *)\n                              ((int)&unaff_s3->compression + unaff_s0->columns + extent)) {\n                            local_10b0 = 0;\n                            uVar37 = 0;\n                            pIVar35 = unaff_s3;\n                            do {\n                              iVar6 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (pIVar9,0,uVar37,pIVar9->columns);\n                              if (iVar6 == 0) goto LAB_00276500;\n                              sVar26 = pIVar9->columns;\n                              if (0 < (int)sVar26) {\n                                iVar16 = 0;\n                                dVar39 = *(double *)(local_10ac + -0x5af0);\n                                dVar40 = dVar39;\n                                do {\n                                  if (pIVar9->storage_class == PseudoClass) {\n                                    if ((int)(uint)(byte)*(undefined1 *)&pIVar35->compression <\n                                        (int)pIVar9->colors) {\n                                      fVar41 = (float)(byte)*(undefined1 *)&pIVar35->compression;\n                                      iVar12 = (int)fVar41 * 0x58;\n                                    }\n                                    else if (local_10d8->severity == CorruptImageError) {\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23);\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                      sVar26 = pIVar9->columns;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    if (pPVar28[5].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[5].offset * 4) = fVar41;\n                                    }\n                                    pPVar29 = pIVar9->colormap;\n                                    iVar23 = pPVar28[1].offset;\n                                    iVar33 = pPVar28[2].offset;\n                                    dVar43 = *(double *)((int)&pPVar29->green + iVar12);\n                                    dVar42 = *(double *)((int)&pPVar29->blue + iVar12);\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)*(double *)((int)&pPVar29->red + iVar12);\n                                    *(float *)(iVar6 + iVar23 * 4) = (float)dVar43;\n                                    *(float *)(iVar6 + iVar33 * 4) = (float)dVar42;\n                                  }\n                                  else if (pixmap.bits_per_pixel == 0x10) {\n                                    bVar1 = *(byte *)((int)&pIVar35->compression + 1);\n                                    pPVar28 = pIVar9->channel_map;\n                                    uVar2 = *(undefined1 *)&pIVar35->compression;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(((byte)uVar2 & 0x7c) << 1) * dVar40);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | ((byte)uVar2 & 3) << 6\n                                                         ) * dVar40);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar40);\n                                    pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  }\n                                  else if (pIVar9->alpha_trait == UndefinedPixelTrait) {\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 2 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(byte)*(undefined1 *)&pIVar35->compression\n                                                * dVar39);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar27 * dVar39);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar27[sVar26] * dVar39);\n                                  }\n                                  else {\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 3 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if (pPVar28[4].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[4].offset * 4) =\n                                           (float)((double)(byte)*(undefined1 *)\n                                                                  &pIVar35->compression * in_f22_23)\n                                      ;\n                                    }\n                                    pbVar34 = pbVar27 + sVar26;\n                                    dVar42 = *(double *)(local_10ac + -0x5af0);\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)*pbVar27 * dVar42);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar34 * dVar42);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar34[sVar26] * dVar42);\n                                  }\n                                  iVar16 = iVar16 + 1;\n                                  pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  iVar6 = iVar6 + pIVar9->number_channels * 4;\n                                } while (iVar16 < (int)sVar26);\n                              }\n                              iVar6 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar9,local_10d8)\n                              ;\n                              if (((iVar6 == 0) ||\n                                  (((pIVar9->storage_class == DirectClass &&\n                                    (pixmap.bits_per_pixel != 0x10)) &&\n                                   (pIVar35 = (ImageInfo *)\n                                              ((int)&pIVar35->compression +\n                                              (pixmap.component_count + -1) * pIVar9->columns),\n                                   pIVar35 < unaff_s3)))) ||\n                                 ((iVar6 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar37), iVar6 == 0 ||\n                                  (uVar38 = uVar37 + 1, (int)pIVar9->rows <= (int)uVar38))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar38 < uVar37) + local_10b0;\n                              uVar37 = uVar38;\n                            } while (pIVar35 <=\n                                     (ImageInfo *)\n                                     ((int)&unaff_s3->compression + unaff_s0->columns + extent));\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x4fc;\n                          unaff_s7 = pIVar9;\nLAB_0027504c:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          pIVar9 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }" if (parenthesized_expression "(MVar7 != MagickFalse)" ( (binary_expression "MVar7 != MagickFalse" identifier != identifier) )) (compound_statement "{\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)pIVar8 & 0xfff7) == 0x91) || (unaff_s7 == (Image *)0x9b)) {\n                          uVar37 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar37)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x4e5;\n                            unaff_s7 = pIVar9;\n                            goto LAB_00275880;\n                          }\n                          iVar6 = 0;\n                          if (0 < (int)(uVar37 - 2)) {\n                            do {\n                              iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar16 == -1) break;\n                              iVar6 = iVar6 + 1;\n                            } while (uVar37 - 2 != iVar6);\n                          }\n                        }\n                        if ((bVar3) || ((uVar36 & 0x8000) != 0)) {\n                          uVar37 = (uint)pixmap.bits_per_pixel;\n                        }\n                        else {\n                          uVar37 = 1;\n                        }\n                        unaff_s3 = (ImageInfo *)DecodeImage(unaff_s0,pIVar9,uVar36,uVar37,&extent);\n                        if (unaff_s3 == (ImageInfo *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x4f2;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if ((int)pIVar9->rows < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar6 == 0)) &&\n                               ((bVar3 || ((uVar36 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,pIVar9,0xd,1);\n                            }\n                            unaff_s3 = (ImageInfo *)(*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <=\n                              (ImageInfo *)\n                              ((int)&unaff_s3->compression + unaff_s0->columns + extent)) {\n                            local_10b0 = 0;\n                            uVar37 = 0;\n                            pIVar35 = unaff_s3;\n                            do {\n                              iVar6 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (pIVar9,0,uVar37,pIVar9->columns);\n                              if (iVar6 == 0) goto LAB_00276500;\n                              sVar26 = pIVar9->columns;\n                              if (0 < (int)sVar26) {\n                                iVar16 = 0;\n                                dVar39 = *(double *)(local_10ac + -0x5af0);\n                                dVar40 = dVar39;\n                                do {\n                                  if (pIVar9->storage_class == PseudoClass) {\n                                    if ((int)(uint)(byte)*(undefined1 *)&pIVar35->compression <\n                                        (int)pIVar9->colors) {\n                                      fVar41 = (float)(byte)*(undefined1 *)&pIVar35->compression;\n                                      iVar12 = (int)fVar41 * 0x58;\n                                    }\n                                    else if (local_10d8->severity == CorruptImageError) {\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23);\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                      sVar26 = pIVar9->columns;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    if (pPVar28[5].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[5].offset * 4) = fVar41;\n                                    }\n                                    pPVar29 = pIVar9->colormap;\n                                    iVar23 = pPVar28[1].offset;\n                                    iVar33 = pPVar28[2].offset;\n                                    dVar43 = *(double *)((int)&pPVar29->green + iVar12);\n                                    dVar42 = *(double *)((int)&pPVar29->blue + iVar12);\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)*(double *)((int)&pPVar29->red + iVar12);\n                                    *(float *)(iVar6 + iVar23 * 4) = (float)dVar43;\n                                    *(float *)(iVar6 + iVar33 * 4) = (float)dVar42;\n                                  }\n                                  else if (pixmap.bits_per_pixel == 0x10) {\n                                    bVar1 = *(byte *)((int)&pIVar35->compression + 1);\n                                    pPVar28 = pIVar9->channel_map;\n                                    uVar2 = *(undefined1 *)&pIVar35->compression;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(((byte)uVar2 & 0x7c) << 1) * dVar40);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | ((byte)uVar2 & 3) << 6\n                                                         ) * dVar40);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar40);\n                                    pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  }\n                                  else if (pIVar9->alpha_trait == UndefinedPixelTrait) {\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 2 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(byte)*(undefined1 *)&pIVar35->compression\n                                                * dVar39);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar27 * dVar39);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar27[sVar26] * dVar39);\n                                  }\n                                  else {\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 3 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if (pPVar28[4].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[4].offset * 4) =\n                                           (float)((double)(byte)*(undefined1 *)\n                                                                  &pIVar35->compression * in_f22_23)\n                                      ;\n                                    }\n                                    pbVar34 = pbVar27 + sVar26;\n                                    dVar42 = *(double *)(local_10ac + -0x5af0);\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)*pbVar27 * dVar42);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar34 * dVar42);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar34[sVar26] * dVar42);\n                                  }\n                                  iVar16 = iVar16 + 1;\n                                  pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  iVar6 = iVar6 + pIVar9->number_channels * 4;\n                                } while (iVar16 < (int)sVar26);\n                              }\n                              iVar6 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar9,local_10d8)\n                              ;\n                              if (((iVar6 == 0) ||\n                                  (((pIVar9->storage_class == DirectClass &&\n                                    (pixmap.bits_per_pixel != 0x10)) &&\n                                   (pIVar35 = (ImageInfo *)\n                                              ((int)&pIVar35->compression +\n                                              (pixmap.component_count + -1) * pIVar9->columns),\n                                   pIVar35 < unaff_s3)))) ||\n                                 ((iVar6 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar37), iVar6 == 0 ||\n                                  (uVar38 = uVar37 + 1, (int)pIVar9->rows <= (int)uVar38))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar38 < uVar37) + local_10b0;\n                              uVar37 = uVar38;\n                            } while (pIVar35 <=\n                                     (ImageInfo *)\n                                     ((int)&unaff_s3->compression + unaff_s0->columns + extent));\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x4fc;\n                          unaff_s7 = pIVar9;\nLAB_0027504c:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          pIVar9 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }" { (expression_statement "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier ))) ;) (if_statement "if ((((uint)pIVar8 & 0xfff7) == 0x91) || (unaff_s7 == (Image *)0x9b)) {\n                          uVar37 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar37)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x4e5;\n                            unaff_s7 = pIVar9;\n                            goto LAB_00275880;\n                          }\n                          iVar6 = 0;\n                          if (0 < (int)(uVar37 - 2)) {\n                            do {\n                              iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar16 == -1) break;\n                              iVar6 = iVar6 + 1;\n                            } while (uVar37 - 2 != iVar6);\n                          }\n                        }" if (parenthesized_expression "((((uint)pIVar8 & 0xfff7) == 0x91) || (unaff_s7 == (Image *)0x9b))" ( (binary_expression "(((uint)pIVar8 & 0xfff7) == 0x91) || (unaff_s7 == (Image *)0x9b)" (parenthesized_expression "(((uint)pIVar8 & 0xfff7) == 0x91)" ( (binary_expression "((uint)pIVar8 & 0xfff7) == 0x91" (parenthesized_expression "((uint)pIVar8 & 0xfff7)" ( (binary_expression "(uint)pIVar8 & 0xfff7" (cast_expression "(uint)pIVar8" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) )) == number_literal) )) || (parenthesized_expression "(unaff_s7 == (Image *)0x9b)" ( (binary_expression "unaff_s7 == (Image *)0x9b" identifier == (cast_expression "(Image *)0x9b" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n                          uVar37 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar37)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x4e5;\n                            unaff_s7 = pIVar9;\n                            goto LAB_00275880;\n                          }\n                          iVar6 = 0;\n                          if (0 < (int)(uVar37 - 2)) {\n                            do {\n                              iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar16 == -1) break;\n                              iVar6 = iVar6 + 1;\n                            } while (uVar37 - 2 != iVar6);\n                          }\n                        }" { (expression_statement "uVar37 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (assignment_expression "uVar37 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier )))) ;) (expression_statement "uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);" (assignment_expression "uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar37)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x4e5;\n                            unaff_s7 = pIVar9;\n                            goto LAB_00275880;\n                          }" if (parenthesized_expression "(((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar37))" ( (binary_expression "((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar37)" (parenthesized_expression "((int)((ulonglong)uVar44 >> 0x20) == 0)" ( (binary_expression "(int)((ulonglong)uVar44 >> 0x20) == 0" (cast_expression "(int)((ulonglong)uVar44 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar44 >> 0x20)" ( (binary_expression "(ulonglong)uVar44 >> 0x20" (cast_expression "(ulonglong)uVar44" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) == number_literal) )) && (parenthesized_expression "((uint)uVar44 < uVar37)" ( (binary_expression "(uint)uVar44 < uVar37" (cast_expression "(uint)uVar44" ( (type_descriptor "uint" type_identifier) ) identifier) < identifier) ))) )) (compound_statement "{\n                            (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x4e5;\n                            unaff_s7 = pIVar9;\n                            goto LAB_00275880;\n                          }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(pIVar9)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar9)" ( identifier ))) ;) (if_statement "if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar32 = 0x4e5;" (assignment_expression "uVar32 = 0x4e5" identifier = number_literal) ;) (expression_statement "unaff_s7 = pIVar9;" (assignment_expression "unaff_s7 = pIVar9" identifier = identifier) ;) (goto_statement "goto LAB_00275880;" goto statement_identifier ;) })) (expression_statement "iVar6 = 0;" (assignment_expression "iVar6 = 0" identifier = number_literal) ;) (if_statement "if (0 < (int)(uVar37 - 2)) {\n                            do {\n                              iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar16 == -1) break;\n                              iVar6 = iVar6 + 1;\n                            } while (uVar37 - 2 != iVar6);\n                          }" if (parenthesized_expression "(0 < (int)(uVar37 - 2))" ( (binary_expression "0 < (int)(uVar37 - 2)" number_literal < (cast_expression "(int)(uVar37 - 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar37 - 2)" ( (binary_expression "uVar37 - 2" identifier - number_literal) )))) )) (compound_statement "{\n                            do {\n                              iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar16 == -1) break;\n                              iVar6 = iVar6 + 1;\n                            } while (uVar37 - 2 != iVar6);\n                          }" { (do_statement "do {\n                              iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar16 == -1) break;\n                              iVar6 = iVar6 + 1;\n                            } while (uVar37 - 2 != iVar6);" do (compound_statement "{\n                              iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar16 == -1) break;\n                              iVar6 = iVar6 + 1;\n                            }" { (expression_statement "iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (iVar16 == -1) break;" if (parenthesized_expression "(iVar16 == -1)" ( (binary_expression "iVar16 == -1" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar6 = iVar6 + 1;" (assignment_expression "iVar6 = iVar6 + 1" identifier = (binary_expression "iVar6 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar37 - 2 != iVar6)" ( (binary_expression "uVar37 - 2 != iVar6" (binary_expression "uVar37 - 2" identifier - number_literal) != identifier) )) ;) })) })) (if_statement "if ((bVar3) || ((uVar36 & 0x8000) != 0)) {\n                          uVar37 = (uint)pixmap.bits_per_pixel;\n                        }\n                        else {\n                          uVar37 = 1;\n                        }" if (parenthesized_expression "((bVar3) || ((uVar36 & 0x8000) != 0))" ( (binary_expression "(bVar3) || ((uVar36 & 0x8000) != 0)" (parenthesized_expression "(bVar3)" ( identifier )) || (parenthesized_expression "((uVar36 & 0x8000) != 0)" ( (binary_expression "(uVar36 & 0x8000) != 0" (parenthesized_expression "(uVar36 & 0x8000)" ( (binary_expression "uVar36 & 0x8000" identifier & number_literal) )) != number_literal) ))) )) (compound_statement "{\n                          uVar37 = (uint)pixmap.bits_per_pixel;\n                        }" { (expression_statement "uVar37 = (uint)pixmap.bits_per_pixel;" (assignment_expression "uVar37 = (uint)pixmap.bits_per_pixel" identifier = (cast_expression "(uint)pixmap.bits_per_pixel" ( (type_descriptor "uint" type_identifier) ) (field_expression "pixmap.bits_per_pixel" identifier . field_identifier))) ;) }) (else_clause "else {\n                          uVar37 = 1;\n                        }" else (compound_statement "{\n                          uVar37 = 1;\n                        }" { (expression_statement "uVar37 = 1;" (assignment_expression "uVar37 = 1" identifier = number_literal) ;) }))) (expression_statement "unaff_s3 = (ImageInfo *)DecodeImage(unaff_s0,pIVar9,uVar36,uVar37,&extent);" (assignment_expression "unaff_s3 = (ImageInfo *)DecodeImage(unaff_s0,pIVar9,uVar36,uVar37,&extent)" identifier = (cast_expression "(ImageInfo *)DecodeImage(unaff_s0,pIVar9,uVar36,uVar37,&extent)" ( (type_descriptor "ImageInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "DecodeImage(unaff_s0,pIVar9,uVar36,uVar37,&extent)" identifier (argument_list "(unaff_s0,pIVar9,uVar36,uVar37,&extent)" ( identifier , identifier , identifier , identifier , (pointer_expression "&extent" & identifier) ))))) ;) (if_statement "if (unaff_s3 == (ImageInfo *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x4f2;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if ((int)pIVar9->rows < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar6 == 0)) &&\n                               ((bVar3 || ((uVar36 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,pIVar9,0xd,1);\n                            }\n                            unaff_s3 = (ImageInfo *)(*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <=\n                              (ImageInfo *)\n                              ((int)&unaff_s3->compression + unaff_s0->columns + extent)) {\n                            local_10b0 = 0;\n                            uVar37 = 0;\n                            pIVar35 = unaff_s3;\n                            do {\n                              iVar6 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (pIVar9,0,uVar37,pIVar9->columns);\n                              if (iVar6 == 0) goto LAB_00276500;\n                              sVar26 = pIVar9->columns;\n                              if (0 < (int)sVar26) {\n                                iVar16 = 0;\n                                dVar39 = *(double *)(local_10ac + -0x5af0);\n                                dVar40 = dVar39;\n                                do {\n                                  if (pIVar9->storage_class == PseudoClass) {\n                                    if ((int)(uint)(byte)*(undefined1 *)&pIVar35->compression <\n                                        (int)pIVar9->colors) {\n                                      fVar41 = (float)(byte)*(undefined1 *)&pIVar35->compression;\n                                      iVar12 = (int)fVar41 * 0x58;\n                                    }\n                                    else if (local_10d8->severity == CorruptImageError) {\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23);\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                      sVar26 = pIVar9->columns;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    if (pPVar28[5].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[5].offset * 4) = fVar41;\n                                    }\n                                    pPVar29 = pIVar9->colormap;\n                                    iVar23 = pPVar28[1].offset;\n                                    iVar33 = pPVar28[2].offset;\n                                    dVar43 = *(double *)((int)&pPVar29->green + iVar12);\n                                    dVar42 = *(double *)((int)&pPVar29->blue + iVar12);\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)*(double *)((int)&pPVar29->red + iVar12);\n                                    *(float *)(iVar6 + iVar23 * 4) = (float)dVar43;\n                                    *(float *)(iVar6 + iVar33 * 4) = (float)dVar42;\n                                  }\n                                  else if (pixmap.bits_per_pixel == 0x10) {\n                                    bVar1 = *(byte *)((int)&pIVar35->compression + 1);\n                                    pPVar28 = pIVar9->channel_map;\n                                    uVar2 = *(undefined1 *)&pIVar35->compression;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(((byte)uVar2 & 0x7c) << 1) * dVar40);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | ((byte)uVar2 & 3) << 6\n                                                         ) * dVar40);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar40);\n                                    pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  }\n                                  else if (pIVar9->alpha_trait == UndefinedPixelTrait) {\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 2 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(byte)*(undefined1 *)&pIVar35->compression\n                                                * dVar39);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar27 * dVar39);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar27[sVar26] * dVar39);\n                                  }\n                                  else {\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 3 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if (pPVar28[4].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[4].offset * 4) =\n                                           (float)((double)(byte)*(undefined1 *)\n                                                                  &pIVar35->compression * in_f22_23)\n                                      ;\n                                    }\n                                    pbVar34 = pbVar27 + sVar26;\n                                    dVar42 = *(double *)(local_10ac + -0x5af0);\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)*pbVar27 * dVar42);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar34 * dVar42);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar34[sVar26] * dVar42);\n                                  }\n                                  iVar16 = iVar16 + 1;\n                                  pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  iVar6 = iVar6 + pIVar9->number_channels * 4;\n                                } while (iVar16 < (int)sVar26);\n                              }\n                              iVar6 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar9,local_10d8)\n                              ;\n                              if (((iVar6 == 0) ||\n                                  (((pIVar9->storage_class == DirectClass &&\n                                    (pixmap.bits_per_pixel != 0x10)) &&\n                                   (pIVar35 = (ImageInfo *)\n                                              ((int)&pIVar35->compression +\n                                              (pixmap.component_count + -1) * pIVar9->columns),\n                                   pIVar35 < unaff_s3)))) ||\n                                 ((iVar6 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar37), iVar6 == 0 ||\n                                  (uVar38 = uVar37 + 1, (int)pIVar9->rows <= (int)uVar38))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar38 < uVar37) + local_10b0;\n                              uVar37 = uVar38;\n                            } while (pIVar35 <=\n                                     (ImageInfo *)\n                                     ((int)&unaff_s3->compression + unaff_s0->columns + extent));\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x4fc;\n                          unaff_s7 = pIVar9;\nLAB_0027504c:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          pIVar9 = unaff_s7;\n                        }" if (parenthesized_expression "(unaff_s3 == (ImageInfo *)0x0)" ( (binary_expression "unaff_s3 == (ImageInfo *)0x0" identifier == (cast_expression "(ImageInfo *)0x0" ( (type_descriptor "ImageInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                          (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x4f2;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(pIVar9)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar9)" ( identifier ))) ;) (if_statement "if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar32 = 0x4f2;" (assignment_expression "uVar32 = 0x4f2" identifier = number_literal) ;) (expression_statement "puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;" (assignment_expression "puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier + number_literal)) ;) (expression_statement "uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);" (assignment_expression "uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename)" identifier = (call_expression "CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename)" identifier (argument_list "(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename)" ( (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal) , (field_expression "local_10d0->filename" identifier -> field_identifier) )))) ;) (expression_statement "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;" (assignment_expression "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier + number_literal)) ;) (expression_statement "puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;" (assignment_expression "puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00" identifier + number_literal)) ;) }) (else_clause "else {\n                          if ((int)pIVar9->rows < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar6 == 0)) &&\n                               ((bVar3 || ((uVar36 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,pIVar9,0xd,1);\n                            }\n                            unaff_s3 = (ImageInfo *)(*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <=\n                              (ImageInfo *)\n                              ((int)&unaff_s3->compression + unaff_s0->columns + extent)) {\n                            local_10b0 = 0;\n                            uVar37 = 0;\n                            pIVar35 = unaff_s3;\n                            do {\n                              iVar6 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (pIVar9,0,uVar37,pIVar9->columns);\n                              if (iVar6 == 0) goto LAB_00276500;\n                              sVar26 = pIVar9->columns;\n                              if (0 < (int)sVar26) {\n                                iVar16 = 0;\n                                dVar39 = *(double *)(local_10ac + -0x5af0);\n                                dVar40 = dVar39;\n                                do {\n                                  if (pIVar9->storage_class == PseudoClass) {\n                                    if ((int)(uint)(byte)*(undefined1 *)&pIVar35->compression <\n                                        (int)pIVar9->colors) {\n                                      fVar41 = (float)(byte)*(undefined1 *)&pIVar35->compression;\n                                      iVar12 = (int)fVar41 * 0x58;\n                                    }\n                                    else if (local_10d8->severity == CorruptImageError) {\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23);\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                      sVar26 = pIVar9->columns;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    if (pPVar28[5].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[5].offset * 4) = fVar41;\n                                    }\n                                    pPVar29 = pIVar9->colormap;\n                                    iVar23 = pPVar28[1].offset;\n                                    iVar33 = pPVar28[2].offset;\n                                    dVar43 = *(double *)((int)&pPVar29->green + iVar12);\n                                    dVar42 = *(double *)((int)&pPVar29->blue + iVar12);\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)*(double *)((int)&pPVar29->red + iVar12);\n                                    *(float *)(iVar6 + iVar23 * 4) = (float)dVar43;\n                                    *(float *)(iVar6 + iVar33 * 4) = (float)dVar42;\n                                  }\n                                  else if (pixmap.bits_per_pixel == 0x10) {\n                                    bVar1 = *(byte *)((int)&pIVar35->compression + 1);\n                                    pPVar28 = pIVar9->channel_map;\n                                    uVar2 = *(undefined1 *)&pIVar35->compression;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(((byte)uVar2 & 0x7c) << 1) * dVar40);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | ((byte)uVar2 & 3) << 6\n                                                         ) * dVar40);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar40);\n                                    pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  }\n                                  else if (pIVar9->alpha_trait == UndefinedPixelTrait) {\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 2 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(byte)*(undefined1 *)&pIVar35->compression\n                                                * dVar39);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar27 * dVar39);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar27[sVar26] * dVar39);\n                                  }\n                                  else {\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 3 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if (pPVar28[4].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[4].offset * 4) =\n                                           (float)((double)(byte)*(undefined1 *)\n                                                                  &pIVar35->compression * in_f22_23)\n                                      ;\n                                    }\n                                    pbVar34 = pbVar27 + sVar26;\n                                    dVar42 = *(double *)(local_10ac + -0x5af0);\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)*pbVar27 * dVar42);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar34 * dVar42);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar34[sVar26] * dVar42);\n                                  }\n                                  iVar16 = iVar16 + 1;\n                                  pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  iVar6 = iVar6 + pIVar9->number_channels * 4;\n                                } while (iVar16 < (int)sVar26);\n                              }\n                              iVar6 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar9,local_10d8)\n                              ;\n                              if (((iVar6 == 0) ||\n                                  (((pIVar9->storage_class == DirectClass &&\n                                    (pixmap.bits_per_pixel != 0x10)) &&\n                                   (pIVar35 = (ImageInfo *)\n                                              ((int)&pIVar35->compression +\n                                              (pixmap.component_count + -1) * pIVar9->columns),\n                                   pIVar35 < unaff_s3)))) ||\n                                 ((iVar6 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar37), iVar6 == 0 ||\n                                  (uVar38 = uVar37 + 1, (int)pIVar9->rows <= (int)uVar38))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar38 < uVar37) + local_10b0;\n                              uVar37 = uVar38;\n                            } while (pIVar35 <=\n                                     (ImageInfo *)\n                                     ((int)&unaff_s3->compression + unaff_s0->columns + extent));\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x4fc;\n                          unaff_s7 = pIVar9;\nLAB_0027504c:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          pIVar9 = unaff_s7;\n                        }" else (compound_statement "{\n                          if ((int)pIVar9->rows < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar6 == 0)) &&\n                               ((bVar3 || ((uVar36 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,pIVar9,0xd,1);\n                            }\n                            unaff_s3 = (ImageInfo *)(*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <=\n                              (ImageInfo *)\n                              ((int)&unaff_s3->compression + unaff_s0->columns + extent)) {\n                            local_10b0 = 0;\n                            uVar37 = 0;\n                            pIVar35 = unaff_s3;\n                            do {\n                              iVar6 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (pIVar9,0,uVar37,pIVar9->columns);\n                              if (iVar6 == 0) goto LAB_00276500;\n                              sVar26 = pIVar9->columns;\n                              if (0 < (int)sVar26) {\n                                iVar16 = 0;\n                                dVar39 = *(double *)(local_10ac + -0x5af0);\n                                dVar40 = dVar39;\n                                do {\n                                  if (pIVar9->storage_class == PseudoClass) {\n                                    if ((int)(uint)(byte)*(undefined1 *)&pIVar35->compression <\n                                        (int)pIVar9->colors) {\n                                      fVar41 = (float)(byte)*(undefined1 *)&pIVar35->compression;\n                                      iVar12 = (int)fVar41 * 0x58;\n                                    }\n                                    else if (local_10d8->severity == CorruptImageError) {\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23);\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                      sVar26 = pIVar9->columns;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    if (pPVar28[5].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[5].offset * 4) = fVar41;\n                                    }\n                                    pPVar29 = pIVar9->colormap;\n                                    iVar23 = pPVar28[1].offset;\n                                    iVar33 = pPVar28[2].offset;\n                                    dVar43 = *(double *)((int)&pPVar29->green + iVar12);\n                                    dVar42 = *(double *)((int)&pPVar29->blue + iVar12);\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)*(double *)((int)&pPVar29->red + iVar12);\n                                    *(float *)(iVar6 + iVar23 * 4) = (float)dVar43;\n                                    *(float *)(iVar6 + iVar33 * 4) = (float)dVar42;\n                                  }\n                                  else if (pixmap.bits_per_pixel == 0x10) {\n                                    bVar1 = *(byte *)((int)&pIVar35->compression + 1);\n                                    pPVar28 = pIVar9->channel_map;\n                                    uVar2 = *(undefined1 *)&pIVar35->compression;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(((byte)uVar2 & 0x7c) << 1) * dVar40);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | ((byte)uVar2 & 3) << 6\n                                                         ) * dVar40);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar40);\n                                    pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  }\n                                  else if (pIVar9->alpha_trait == UndefinedPixelTrait) {\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 2 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(byte)*(undefined1 *)&pIVar35->compression\n                                                * dVar39);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar27 * dVar39);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar27[sVar26] * dVar39);\n                                  }\n                                  else {\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 3 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if (pPVar28[4].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[4].offset * 4) =\n                                           (float)((double)(byte)*(undefined1 *)\n                                                                  &pIVar35->compression * in_f22_23)\n                                      ;\n                                    }\n                                    pbVar34 = pbVar27 + sVar26;\n                                    dVar42 = *(double *)(local_10ac + -0x5af0);\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)*pbVar27 * dVar42);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar34 * dVar42);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar34[sVar26] * dVar42);\n                                  }\n                                  iVar16 = iVar16 + 1;\n                                  pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  iVar6 = iVar6 + pIVar9->number_channels * 4;\n                                } while (iVar16 < (int)sVar26);\n                              }\n                              iVar6 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar9,local_10d8)\n                              ;\n                              if (((iVar6 == 0) ||\n                                  (((pIVar9->storage_class == DirectClass &&\n                                    (pixmap.bits_per_pixel != 0x10)) &&\n                                   (pIVar35 = (ImageInfo *)\n                                              ((int)&pIVar35->compression +\n                                              (pixmap.component_count + -1) * pIVar9->columns),\n                                   pIVar35 < unaff_s3)))) ||\n                                 ((iVar6 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar37), iVar6 == 0 ||\n                                  (uVar38 = uVar37 + 1, (int)pIVar9->rows <= (int)uVar38))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar38 < uVar37) + local_10b0;\n                              uVar37 = uVar38;\n                            } while (pIVar35 <=\n                                     (ImageInfo *)\n                                     ((int)&unaff_s3->compression + unaff_s0->columns + extent));\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x4fc;\n                          unaff_s7 = pIVar9;\nLAB_0027504c:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          pIVar9 = unaff_s7;\n                        }" { (if_statement "if ((int)pIVar9->rows < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar6 == 0)) &&\n                               ((bVar3 || ((uVar36 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,pIVar9,0xd,1);\n                            }\n                            unaff_s3 = (ImageInfo *)(*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            goto LAB_00274584;\n                          }" if (parenthesized_expression "((int)pIVar9->rows < 1)" ( (binary_expression "(int)pIVar9->rows < 1" (cast_expression "(int)pIVar9->rows" ( (type_descriptor "int" primitive_type) ) (field_expression "pIVar9->rows" identifier -> field_identifier)) < number_literal) )) (compound_statement "{\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar6 == 0)) &&\n                               ((bVar3 || ((uVar36 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,pIVar9,0xd,1);\n                            }\n                            unaff_s3 = (ImageInfo *)(*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                            goto LAB_00274584;\n                          }" { (labeled_statement "LAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);" statement_identifier : (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3)" (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 "(unaff_s3)" ( identifier ))) ;)) (if_statement "if (((local_10b8 == 0) &&\n                                (iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar6 == 0)) &&\n                               ((bVar3 || ((uVar36 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,pIVar9,0xd,1);\n                            }" if (parenthesized_expression "(((local_10b8 == 0) &&\n                                (iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar6 == 0)) &&\n                               ((bVar3 || ((uVar36 & 0x8000) != 0))))" ( (binary_expression "((local_10b8 == 0) &&\n                                (iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar6 == 0)) &&\n                               ((bVar3 || ((uVar36 & 0x8000) != 0)))" (parenthesized_expression "((local_10b8 == 0) &&\n                                (iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar6 == 0))" ( (binary_expression "(local_10b8 == 0) &&\n                                (iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar6 == 0)" (parenthesized_expression "(local_10b8 == 0)" ( (binary_expression "local_10b8 == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar6 == 0)" ( (comma_expression "iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar6 == 0" (assignment_expression "iVar6 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_EOFBlob_003a9748)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) , (binary_expression "iVar6 == 0" identifier == number_literal)) ))) )) && (parenthesized_expression "((bVar3 || ((uVar36 & 0x8000) != 0)))" ( (parenthesized_expression "(bVar3 || ((uVar36 & 0x8000) != 0))" ( (binary_expression "bVar3 || ((uVar36 & 0x8000) != 0)" identifier || (parenthesized_expression "((uVar36 & 0x8000) != 0)" ( (binary_expression "(uVar36 & 0x8000) != 0" (parenthesized_expression "(uVar36 & 0x8000)" ( (binary_expression "uVar36 & 0x8000" identifier & number_literal) )) != number_literal) ))) )) ))) )) (compound_statement "{\n                              (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,pIVar9,0xd,1);\n                            }" { (expression_statement "(*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,pIVar9,0xd,1);" (call_expression "(*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,pIVar9,0xd,1)" (parenthesized_expression "(*(code *)PTR_CompositeImage_003a8cc4)" ( (pointer_expression "*(code *)PTR_CompositeImage_003a8cc4" * (cast_expression "(code *)PTR_CompositeImage_003a8cc4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0,pIVar9,0xd,1)" ( identifier , identifier , number_literal , number_literal ))) ;) })) (expression_statement "unaff_s3 = (ImageInfo *)(*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);" (assignment_expression "unaff_s3 = (ImageInfo *)(*(code *)PTR_DestroyImage_003a8f4c)(pIVar9)" identifier = (cast_expression "(ImageInfo *)(*(code *)PTR_DestroyImage_003a8f4c)(pIVar9)" ( (type_descriptor "ImageInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(pIVar9)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar9)" ( identifier ))))) ;) (goto_statement "goto LAB_00274584;" goto statement_identifier ;) })) (if_statement "if (unaff_s3 <=\n                              (ImageInfo *)\n                              ((int)&unaff_s3->compression + unaff_s0->columns + extent)) {\n                            local_10b0 = 0;\n                            uVar37 = 0;\n                            pIVar35 = unaff_s3;\n                            do {\n                              iVar6 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (pIVar9,0,uVar37,pIVar9->columns);\n                              if (iVar6 == 0) goto LAB_00276500;\n                              sVar26 = pIVar9->columns;\n                              if (0 < (int)sVar26) {\n                                iVar16 = 0;\n                                dVar39 = *(double *)(local_10ac + -0x5af0);\n                                dVar40 = dVar39;\n                                do {\n                                  if (pIVar9->storage_class == PseudoClass) {\n                                    if ((int)(uint)(byte)*(undefined1 *)&pIVar35->compression <\n                                        (int)pIVar9->colors) {\n                                      fVar41 = (float)(byte)*(undefined1 *)&pIVar35->compression;\n                                      iVar12 = (int)fVar41 * 0x58;\n                                    }\n                                    else if (local_10d8->severity == CorruptImageError) {\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23);\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                      sVar26 = pIVar9->columns;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    if (pPVar28[5].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[5].offset * 4) = fVar41;\n                                    }\n                                    pPVar29 = pIVar9->colormap;\n                                    iVar23 = pPVar28[1].offset;\n                                    iVar33 = pPVar28[2].offset;\n                                    dVar43 = *(double *)((int)&pPVar29->green + iVar12);\n                                    dVar42 = *(double *)((int)&pPVar29->blue + iVar12);\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)*(double *)((int)&pPVar29->red + iVar12);\n                                    *(float *)(iVar6 + iVar23 * 4) = (float)dVar43;\n                                    *(float *)(iVar6 + iVar33 * 4) = (float)dVar42;\n                                  }\n                                  else if (pixmap.bits_per_pixel == 0x10) {\n                                    bVar1 = *(byte *)((int)&pIVar35->compression + 1);\n                                    pPVar28 = pIVar9->channel_map;\n                                    uVar2 = *(undefined1 *)&pIVar35->compression;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(((byte)uVar2 & 0x7c) << 1) * dVar40);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | ((byte)uVar2 & 3) << 6\n                                                         ) * dVar40);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar40);\n                                    pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  }\n                                  else if (pIVar9->alpha_trait == UndefinedPixelTrait) {\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 2 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(byte)*(undefined1 *)&pIVar35->compression\n                                                * dVar39);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar27 * dVar39);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar27[sVar26] * dVar39);\n                                  }\n                                  else {\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 3 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if (pPVar28[4].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[4].offset * 4) =\n                                           (float)((double)(byte)*(undefined1 *)\n                                                                  &pIVar35->compression * in_f22_23)\n                                      ;\n                                    }\n                                    pbVar34 = pbVar27 + sVar26;\n                                    dVar42 = *(double *)(local_10ac + -0x5af0);\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)*pbVar27 * dVar42);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar34 * dVar42);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar34[sVar26] * dVar42);\n                                  }\n                                  iVar16 = iVar16 + 1;\n                                  pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  iVar6 = iVar6 + pIVar9->number_channels * 4;\n                                } while (iVar16 < (int)sVar26);\n                              }\n                              iVar6 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar9,local_10d8)\n                              ;\n                              if (((iVar6 == 0) ||\n                                  (((pIVar9->storage_class == DirectClass &&\n                                    (pixmap.bits_per_pixel != 0x10)) &&\n                                   (pIVar35 = (ImageInfo *)\n                                              ((int)&pIVar35->compression +\n                                              (pixmap.component_count + -1) * pIVar9->columns),\n                                   pIVar35 < unaff_s3)))) ||\n                                 ((iVar6 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar37), iVar6 == 0 ||\n                                  (uVar38 = uVar37 + 1, (int)pIVar9->rows <= (int)uVar38))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar38 < uVar37) + local_10b0;\n                              uVar37 = uVar38;\n                            } while (pIVar35 <=\n                                     (ImageInfo *)\n                                     ((int)&unaff_s3->compression + unaff_s0->columns + extent));\n                          }" if (parenthesized_expression "(unaff_s3 <=\n                              (ImageInfo *)\n                              ((int)&unaff_s3->compression + unaff_s0->columns + extent))" ( (binary_expression "unaff_s3 <=\n                              (ImageInfo *)\n                              ((int)&unaff_s3->compression + unaff_s0->columns + extent)" identifier <= (cast_expression "(ImageInfo *)\n                              ((int)&unaff_s3->compression + unaff_s0->columns + extent)" ( (type_descriptor "ImageInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&unaff_s3->compression + unaff_s0->columns + extent)" ( (binary_expression "(int)&unaff_s3->compression + unaff_s0->columns + extent" (binary_expression "(int)&unaff_s3->compression + unaff_s0->columns" (cast_expression "(int)&unaff_s3->compression" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&unaff_s3->compression" & (field_expression "unaff_s3->compression" identifier -> field_identifier))) + (field_expression "unaff_s0->columns" identifier -> field_identifier)) + identifier) )))) )) (compound_statement "{\n                            local_10b0 = 0;\n                            uVar37 = 0;\n                            pIVar35 = unaff_s3;\n                            do {\n                              iVar6 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (pIVar9,0,uVar37,pIVar9->columns);\n                              if (iVar6 == 0) goto LAB_00276500;\n                              sVar26 = pIVar9->columns;\n                              if (0 < (int)sVar26) {\n                                iVar16 = 0;\n                                dVar39 = *(double *)(local_10ac + -0x5af0);\n                                dVar40 = dVar39;\n                                do {\n                                  if (pIVar9->storage_class == PseudoClass) {\n                                    if ((int)(uint)(byte)*(undefined1 *)&pIVar35->compression <\n                                        (int)pIVar9->colors) {\n                                      fVar41 = (float)(byte)*(undefined1 *)&pIVar35->compression;\n                                      iVar12 = (int)fVar41 * 0x58;\n                                    }\n                                    else if (local_10d8->severity == CorruptImageError) {\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23);\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                      sVar26 = pIVar9->columns;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    if (pPVar28[5].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[5].offset * 4) = fVar41;\n                                    }\n                                    pPVar29 = pIVar9->colormap;\n                                    iVar23 = pPVar28[1].offset;\n                                    iVar33 = pPVar28[2].offset;\n                                    dVar43 = *(double *)((int)&pPVar29->green + iVar12);\n                                    dVar42 = *(double *)((int)&pPVar29->blue + iVar12);\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)*(double *)((int)&pPVar29->red + iVar12);\n                                    *(float *)(iVar6 + iVar23 * 4) = (float)dVar43;\n                                    *(float *)(iVar6 + iVar33 * 4) = (float)dVar42;\n                                  }\n                                  else if (pixmap.bits_per_pixel == 0x10) {\n                                    bVar1 = *(byte *)((int)&pIVar35->compression + 1);\n                                    pPVar28 = pIVar9->channel_map;\n                                    uVar2 = *(undefined1 *)&pIVar35->compression;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(((byte)uVar2 & 0x7c) << 1) * dVar40);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | ((byte)uVar2 & 3) << 6\n                                                         ) * dVar40);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar40);\n                                    pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  }\n                                  else if (pIVar9->alpha_trait == UndefinedPixelTrait) {\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 2 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(byte)*(undefined1 *)&pIVar35->compression\n                                                * dVar39);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar27 * dVar39);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar27[sVar26] * dVar39);\n                                  }\n                                  else {\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 3 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if (pPVar28[4].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[4].offset * 4) =\n                                           (float)((double)(byte)*(undefined1 *)\n                                                                  &pIVar35->compression * in_f22_23)\n                                      ;\n                                    }\n                                    pbVar34 = pbVar27 + sVar26;\n                                    dVar42 = *(double *)(local_10ac + -0x5af0);\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)*pbVar27 * dVar42);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar34 * dVar42);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar34[sVar26] * dVar42);\n                                  }\n                                  iVar16 = iVar16 + 1;\n                                  pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  iVar6 = iVar6 + pIVar9->number_channels * 4;\n                                } while (iVar16 < (int)sVar26);\n                              }\n                              iVar6 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar9,local_10d8)\n                              ;\n                              if (((iVar6 == 0) ||\n                                  (((pIVar9->storage_class == DirectClass &&\n                                    (pixmap.bits_per_pixel != 0x10)) &&\n                                   (pIVar35 = (ImageInfo *)\n                                              ((int)&pIVar35->compression +\n                                              (pixmap.component_count + -1) * pIVar9->columns),\n                                   pIVar35 < unaff_s3)))) ||\n                                 ((iVar6 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar37), iVar6 == 0 ||\n                                  (uVar38 = uVar37 + 1, (int)pIVar9->rows <= (int)uVar38))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar38 < uVar37) + local_10b0;\n                              uVar37 = uVar38;\n                            } while (pIVar35 <=\n                                     (ImageInfo *)\n                                     ((int)&unaff_s3->compression + unaff_s0->columns + extent));\n                          }" { (expression_statement "local_10b0 = 0;" (assignment_expression "local_10b0 = 0" identifier = number_literal) ;) (expression_statement "uVar37 = 0;" (assignment_expression "uVar37 = 0" identifier = number_literal) ;) (expression_statement "pIVar35 = unaff_s3;" (assignment_expression "pIVar35 = unaff_s3" identifier = identifier) ;) (do_statement "do {\n                              iVar6 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (pIVar9,0,uVar37,pIVar9->columns);\n                              if (iVar6 == 0) goto LAB_00276500;\n                              sVar26 = pIVar9->columns;\n                              if (0 < (int)sVar26) {\n                                iVar16 = 0;\n                                dVar39 = *(double *)(local_10ac + -0x5af0);\n                                dVar40 = dVar39;\n                                do {\n                                  if (pIVar9->storage_class == PseudoClass) {\n                                    if ((int)(uint)(byte)*(undefined1 *)&pIVar35->compression <\n                                        (int)pIVar9->colors) {\n                                      fVar41 = (float)(byte)*(undefined1 *)&pIVar35->compression;\n                                      iVar12 = (int)fVar41 * 0x58;\n                                    }\n                                    else if (local_10d8->severity == CorruptImageError) {\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23);\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                      sVar26 = pIVar9->columns;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    if (pPVar28[5].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[5].offset * 4) = fVar41;\n                                    }\n                                    pPVar29 = pIVar9->colormap;\n                                    iVar23 = pPVar28[1].offset;\n                                    iVar33 = pPVar28[2].offset;\n                                    dVar43 = *(double *)((int)&pPVar29->green + iVar12);\n                                    dVar42 = *(double *)((int)&pPVar29->blue + iVar12);\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)*(double *)((int)&pPVar29->red + iVar12);\n                                    *(float *)(iVar6 + iVar23 * 4) = (float)dVar43;\n                                    *(float *)(iVar6 + iVar33 * 4) = (float)dVar42;\n                                  }\n                                  else if (pixmap.bits_per_pixel == 0x10) {\n                                    bVar1 = *(byte *)((int)&pIVar35->compression + 1);\n                                    pPVar28 = pIVar9->channel_map;\n                                    uVar2 = *(undefined1 *)&pIVar35->compression;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(((byte)uVar2 & 0x7c) << 1) * dVar40);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | ((byte)uVar2 & 3) << 6\n                                                         ) * dVar40);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar40);\n                                    pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  }\n                                  else if (pIVar9->alpha_trait == UndefinedPixelTrait) {\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 2 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(byte)*(undefined1 *)&pIVar35->compression\n                                                * dVar39);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar27 * dVar39);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar27[sVar26] * dVar39);\n                                  }\n                                  else {\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 3 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if (pPVar28[4].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[4].offset * 4) =\n                                           (float)((double)(byte)*(undefined1 *)\n                                                                  &pIVar35->compression * in_f22_23)\n                                      ;\n                                    }\n                                    pbVar34 = pbVar27 + sVar26;\n                                    dVar42 = *(double *)(local_10ac + -0x5af0);\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)*pbVar27 * dVar42);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar34 * dVar42);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar34[sVar26] * dVar42);\n                                  }\n                                  iVar16 = iVar16 + 1;\n                                  pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  iVar6 = iVar6 + pIVar9->number_channels * 4;\n                                } while (iVar16 < (int)sVar26);\n                              }\n                              iVar6 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar9,local_10d8)\n                              ;\n                              if (((iVar6 == 0) ||\n                                  (((pIVar9->storage_class == DirectClass &&\n                                    (pixmap.bits_per_pixel != 0x10)) &&\n                                   (pIVar35 = (ImageInfo *)\n                                              ((int)&pIVar35->compression +\n                                              (pixmap.component_count + -1) * pIVar9->columns),\n                                   pIVar35 < unaff_s3)))) ||\n                                 ((iVar6 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar37), iVar6 == 0 ||\n                                  (uVar38 = uVar37 + 1, (int)pIVar9->rows <= (int)uVar38))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar38 < uVar37) + local_10b0;\n                              uVar37 = uVar38;\n                            } while (pIVar35 <=\n                                     (ImageInfo *)\n                                     ((int)&unaff_s3->compression + unaff_s0->columns + extent));" do (compound_statement "{\n                              iVar6 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (pIVar9,0,uVar37,pIVar9->columns);\n                              if (iVar6 == 0) goto LAB_00276500;\n                              sVar26 = pIVar9->columns;\n                              if (0 < (int)sVar26) {\n                                iVar16 = 0;\n                                dVar39 = *(double *)(local_10ac + -0x5af0);\n                                dVar40 = dVar39;\n                                do {\n                                  if (pIVar9->storage_class == PseudoClass) {\n                                    if ((int)(uint)(byte)*(undefined1 *)&pIVar35->compression <\n                                        (int)pIVar9->colors) {\n                                      fVar41 = (float)(byte)*(undefined1 *)&pIVar35->compression;\n                                      iVar12 = (int)fVar41 * 0x58;\n                                    }\n                                    else if (local_10d8->severity == CorruptImageError) {\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23);\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                      sVar26 = pIVar9->columns;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    if (pPVar28[5].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[5].offset * 4) = fVar41;\n                                    }\n                                    pPVar29 = pIVar9->colormap;\n                                    iVar23 = pPVar28[1].offset;\n                                    iVar33 = pPVar28[2].offset;\n                                    dVar43 = *(double *)((int)&pPVar29->green + iVar12);\n                                    dVar42 = *(double *)((int)&pPVar29->blue + iVar12);\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)*(double *)((int)&pPVar29->red + iVar12);\n                                    *(float *)(iVar6 + iVar23 * 4) = (float)dVar43;\n                                    *(float *)(iVar6 + iVar33 * 4) = (float)dVar42;\n                                  }\n                                  else if (pixmap.bits_per_pixel == 0x10) {\n                                    bVar1 = *(byte *)((int)&pIVar35->compression + 1);\n                                    pPVar28 = pIVar9->channel_map;\n                                    uVar2 = *(undefined1 *)&pIVar35->compression;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(((byte)uVar2 & 0x7c) << 1) * dVar40);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | ((byte)uVar2 & 3) << 6\n                                                         ) * dVar40);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar40);\n                                    pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  }\n                                  else if (pIVar9->alpha_trait == UndefinedPixelTrait) {\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 2 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(byte)*(undefined1 *)&pIVar35->compression\n                                                * dVar39);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar27 * dVar39);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar27[sVar26] * dVar39);\n                                  }\n                                  else {\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 3 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if (pPVar28[4].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[4].offset * 4) =\n                                           (float)((double)(byte)*(undefined1 *)\n                                                                  &pIVar35->compression * in_f22_23)\n                                      ;\n                                    }\n                                    pbVar34 = pbVar27 + sVar26;\n                                    dVar42 = *(double *)(local_10ac + -0x5af0);\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)*pbVar27 * dVar42);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar34 * dVar42);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar34[sVar26] * dVar42);\n                                  }\n                                  iVar16 = iVar16 + 1;\n                                  pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  iVar6 = iVar6 + pIVar9->number_channels * 4;\n                                } while (iVar16 < (int)sVar26);\n                              }\n                              iVar6 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar9,local_10d8)\n                              ;\n                              if (((iVar6 == 0) ||\n                                  (((pIVar9->storage_class == DirectClass &&\n                                    (pixmap.bits_per_pixel != 0x10)) &&\n                                   (pIVar35 = (ImageInfo *)\n                                              ((int)&pIVar35->compression +\n                                              (pixmap.component_count + -1) * pIVar9->columns),\n                                   pIVar35 < unaff_s3)))) ||\n                                 ((iVar6 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar37), iVar6 == 0 ||\n                                  (uVar38 = uVar37 + 1, (int)pIVar9->rows <= (int)uVar38))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar38 < uVar37) + local_10b0;\n                              uVar37 = uVar38;\n                            }" { (expression_statement "iVar6 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (pIVar9,0,uVar37,pIVar9->columns);" (assignment_expression "iVar6 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (pIVar9,0,uVar37,pIVar9->columns)" identifier = (call_expression "(*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (pIVar9,0,uVar37,pIVar9->columns)" (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 "(pIVar9,0,uVar37,pIVar9->columns)" ( identifier , number_literal , identifier , (field_expression "pIVar9->columns" identifier -> field_identifier) )))) ;) (if_statement "if (iVar6 == 0) goto LAB_00276500;" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00276500;" goto statement_identifier ;)) (expression_statement "sVar26 = pIVar9->columns;" (assignment_expression "sVar26 = pIVar9->columns" identifier = (field_expression "pIVar9->columns" identifier -> field_identifier)) ;) (if_statement "if (0 < (int)sVar26) {\n                                iVar16 = 0;\n                                dVar39 = *(double *)(local_10ac + -0x5af0);\n                                dVar40 = dVar39;\n                                do {\n                                  if (pIVar9->storage_class == PseudoClass) {\n                                    if ((int)(uint)(byte)*(undefined1 *)&pIVar35->compression <\n                                        (int)pIVar9->colors) {\n                                      fVar41 = (float)(byte)*(undefined1 *)&pIVar35->compression;\n                                      iVar12 = (int)fVar41 * 0x58;\n                                    }\n                                    else if (local_10d8->severity == CorruptImageError) {\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23);\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                      sVar26 = pIVar9->columns;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    if (pPVar28[5].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[5].offset * 4) = fVar41;\n                                    }\n                                    pPVar29 = pIVar9->colormap;\n                                    iVar23 = pPVar28[1].offset;\n                                    iVar33 = pPVar28[2].offset;\n                                    dVar43 = *(double *)((int)&pPVar29->green + iVar12);\n                                    dVar42 = *(double *)((int)&pPVar29->blue + iVar12);\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)*(double *)((int)&pPVar29->red + iVar12);\n                                    *(float *)(iVar6 + iVar23 * 4) = (float)dVar43;\n                                    *(float *)(iVar6 + iVar33 * 4) = (float)dVar42;\n                                  }\n                                  else if (pixmap.bits_per_pixel == 0x10) {\n                                    bVar1 = *(byte *)((int)&pIVar35->compression + 1);\n                                    pPVar28 = pIVar9->channel_map;\n                                    uVar2 = *(undefined1 *)&pIVar35->compression;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(((byte)uVar2 & 0x7c) << 1) * dVar40);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | ((byte)uVar2 & 3) << 6\n                                                         ) * dVar40);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar40);\n                                    pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  }\n                                  else if (pIVar9->alpha_trait == UndefinedPixelTrait) {\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 2 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(byte)*(undefined1 *)&pIVar35->compression\n                                                * dVar39);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar27 * dVar39);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar27[sVar26] * dVar39);\n                                  }\n                                  else {\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 3 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if (pPVar28[4].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[4].offset * 4) =\n                                           (float)((double)(byte)*(undefined1 *)\n                                                                  &pIVar35->compression * in_f22_23)\n                                      ;\n                                    }\n                                    pbVar34 = pbVar27 + sVar26;\n                                    dVar42 = *(double *)(local_10ac + -0x5af0);\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)*pbVar27 * dVar42);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar34 * dVar42);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar34[sVar26] * dVar42);\n                                  }\n                                  iVar16 = iVar16 + 1;\n                                  pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  iVar6 = iVar6 + pIVar9->number_channels * 4;\n                                } while (iVar16 < (int)sVar26);\n                              }" if (parenthesized_expression "(0 < (int)sVar26)" ( (binary_expression "0 < (int)sVar26" number_literal < (cast_expression "(int)sVar26" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n                                iVar16 = 0;\n                                dVar39 = *(double *)(local_10ac + -0x5af0);\n                                dVar40 = dVar39;\n                                do {\n                                  if (pIVar9->storage_class == PseudoClass) {\n                                    if ((int)(uint)(byte)*(undefined1 *)&pIVar35->compression <\n                                        (int)pIVar9->colors) {\n                                      fVar41 = (float)(byte)*(undefined1 *)&pIVar35->compression;\n                                      iVar12 = (int)fVar41 * 0x58;\n                                    }\n                                    else if (local_10d8->severity == CorruptImageError) {\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23);\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                      sVar26 = pIVar9->columns;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    if (pPVar28[5].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[5].offset * 4) = fVar41;\n                                    }\n                                    pPVar29 = pIVar9->colormap;\n                                    iVar23 = pPVar28[1].offset;\n                                    iVar33 = pPVar28[2].offset;\n                                    dVar43 = *(double *)((int)&pPVar29->green + iVar12);\n                                    dVar42 = *(double *)((int)&pPVar29->blue + iVar12);\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)*(double *)((int)&pPVar29->red + iVar12);\n                                    *(float *)(iVar6 + iVar23 * 4) = (float)dVar43;\n                                    *(float *)(iVar6 + iVar33 * 4) = (float)dVar42;\n                                  }\n                                  else if (pixmap.bits_per_pixel == 0x10) {\n                                    bVar1 = *(byte *)((int)&pIVar35->compression + 1);\n                                    pPVar28 = pIVar9->channel_map;\n                                    uVar2 = *(undefined1 *)&pIVar35->compression;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(((byte)uVar2 & 0x7c) << 1) * dVar40);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | ((byte)uVar2 & 3) << 6\n                                                         ) * dVar40);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar40);\n                                    pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  }\n                                  else if (pIVar9->alpha_trait == UndefinedPixelTrait) {\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 2 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(byte)*(undefined1 *)&pIVar35->compression\n                                                * dVar39);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar27 * dVar39);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar27[sVar26] * dVar39);\n                                  }\n                                  else {\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 3 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if (pPVar28[4].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[4].offset * 4) =\n                                           (float)((double)(byte)*(undefined1 *)\n                                                                  &pIVar35->compression * in_f22_23)\n                                      ;\n                                    }\n                                    pbVar34 = pbVar27 + sVar26;\n                                    dVar42 = *(double *)(local_10ac + -0x5af0);\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)*pbVar27 * dVar42);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar34 * dVar42);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar34[sVar26] * dVar42);\n                                  }\n                                  iVar16 = iVar16 + 1;\n                                  pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  iVar6 = iVar6 + pIVar9->number_channels * 4;\n                                } while (iVar16 < (int)sVar26);\n                              }" { (expression_statement "iVar16 = 0;" (assignment_expression "iVar16 = 0" identifier = number_literal) ;) (expression_statement "dVar39 = *(double *)(local_10ac + -0x5af0);" (assignment_expression "dVar39 = *(double *)(local_10ac + -0x5af0)" identifier = (pointer_expression "*(double *)(local_10ac + -0x5af0)" * (cast_expression "(double *)(local_10ac + -0x5af0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_10ac + -0x5af0)" ( (binary_expression "local_10ac + -0x5af0" identifier + number_literal) ))))) ;) (expression_statement "dVar40 = dVar39;" (assignment_expression "dVar40 = dVar39" identifier = identifier) ;) (do_statement "do {\n                                  if (pIVar9->storage_class == PseudoClass) {\n                                    if ((int)(uint)(byte)*(undefined1 *)&pIVar35->compression <\n                                        (int)pIVar9->colors) {\n                                      fVar41 = (float)(byte)*(undefined1 *)&pIVar35->compression;\n                                      iVar12 = (int)fVar41 * 0x58;\n                                    }\n                                    else if (local_10d8->severity == CorruptImageError) {\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23);\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                      sVar26 = pIVar9->columns;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    if (pPVar28[5].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[5].offset * 4) = fVar41;\n                                    }\n                                    pPVar29 = pIVar9->colormap;\n                                    iVar23 = pPVar28[1].offset;\n                                    iVar33 = pPVar28[2].offset;\n                                    dVar43 = *(double *)((int)&pPVar29->green + iVar12);\n                                    dVar42 = *(double *)((int)&pPVar29->blue + iVar12);\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)*(double *)((int)&pPVar29->red + iVar12);\n                                    *(float *)(iVar6 + iVar23 * 4) = (float)dVar43;\n                                    *(float *)(iVar6 + iVar33 * 4) = (float)dVar42;\n                                  }\n                                  else if (pixmap.bits_per_pixel == 0x10) {\n                                    bVar1 = *(byte *)((int)&pIVar35->compression + 1);\n                                    pPVar28 = pIVar9->channel_map;\n                                    uVar2 = *(undefined1 *)&pIVar35->compression;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(((byte)uVar2 & 0x7c) << 1) * dVar40);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | ((byte)uVar2 & 3) << 6\n                                                         ) * dVar40);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar40);\n                                    pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  }\n                                  else if (pIVar9->alpha_trait == UndefinedPixelTrait) {\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 2 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(byte)*(undefined1 *)&pIVar35->compression\n                                                * dVar39);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar27 * dVar39);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar27[sVar26] * dVar39);\n                                  }\n                                  else {\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 3 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if (pPVar28[4].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[4].offset * 4) =\n                                           (float)((double)(byte)*(undefined1 *)\n                                                                  &pIVar35->compression * in_f22_23)\n                                      ;\n                                    }\n                                    pbVar34 = pbVar27 + sVar26;\n                                    dVar42 = *(double *)(local_10ac + -0x5af0);\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)*pbVar27 * dVar42);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar34 * dVar42);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar34[sVar26] * dVar42);\n                                  }\n                                  iVar16 = iVar16 + 1;\n                                  pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  iVar6 = iVar6 + pIVar9->number_channels * 4;\n                                } while (iVar16 < (int)sVar26);" do (compound_statement "{\n                                  if (pIVar9->storage_class == PseudoClass) {\n                                    if ((int)(uint)(byte)*(undefined1 *)&pIVar35->compression <\n                                        (int)pIVar9->colors) {\n                                      fVar41 = (float)(byte)*(undefined1 *)&pIVar35->compression;\n                                      iVar12 = (int)fVar41 * 0x58;\n                                    }\n                                    else if (local_10d8->severity == CorruptImageError) {\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23);\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                      sVar26 = pIVar9->columns;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    if (pPVar28[5].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[5].offset * 4) = fVar41;\n                                    }\n                                    pPVar29 = pIVar9->colormap;\n                                    iVar23 = pPVar28[1].offset;\n                                    iVar33 = pPVar28[2].offset;\n                                    dVar43 = *(double *)((int)&pPVar29->green + iVar12);\n                                    dVar42 = *(double *)((int)&pPVar29->blue + iVar12);\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)*(double *)((int)&pPVar29->red + iVar12);\n                                    *(float *)(iVar6 + iVar23 * 4) = (float)dVar43;\n                                    *(float *)(iVar6 + iVar33 * 4) = (float)dVar42;\n                                  }\n                                  else if (pixmap.bits_per_pixel == 0x10) {\n                                    bVar1 = *(byte *)((int)&pIVar35->compression + 1);\n                                    pPVar28 = pIVar9->channel_map;\n                                    uVar2 = *(undefined1 *)&pIVar35->compression;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(((byte)uVar2 & 0x7c) << 1) * dVar40);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | ((byte)uVar2 & 3) << 6\n                                                         ) * dVar40);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar40);\n                                    pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  }\n                                  else if (pIVar9->alpha_trait == UndefinedPixelTrait) {\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 2 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(byte)*(undefined1 *)&pIVar35->compression\n                                                * dVar39);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar27 * dVar39);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar27[sVar26] * dVar39);\n                                  }\n                                  else {\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 3 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if (pPVar28[4].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[4].offset * 4) =\n                                           (float)((double)(byte)*(undefined1 *)\n                                                                  &pIVar35->compression * in_f22_23)\n                                      ;\n                                    }\n                                    pbVar34 = pbVar27 + sVar26;\n                                    dVar42 = *(double *)(local_10ac + -0x5af0);\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)*pbVar27 * dVar42);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar34 * dVar42);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar34[sVar26] * dVar42);\n                                  }\n                                  iVar16 = iVar16 + 1;\n                                  pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  iVar6 = iVar6 + pIVar9->number_channels * 4;\n                                }" { (if_statement "if (pIVar9->storage_class == PseudoClass) {\n                                    if ((int)(uint)(byte)*(undefined1 *)&pIVar35->compression <\n                                        (int)pIVar9->colors) {\n                                      fVar41 = (float)(byte)*(undefined1 *)&pIVar35->compression;\n                                      iVar12 = (int)fVar41 * 0x58;\n                                    }\n                                    else if (local_10d8->severity == CorruptImageError) {\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23);\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                      sVar26 = pIVar9->columns;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    if (pPVar28[5].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[5].offset * 4) = fVar41;\n                                    }\n                                    pPVar29 = pIVar9->colormap;\n                                    iVar23 = pPVar28[1].offset;\n                                    iVar33 = pPVar28[2].offset;\n                                    dVar43 = *(double *)((int)&pPVar29->green + iVar12);\n                                    dVar42 = *(double *)((int)&pPVar29->blue + iVar12);\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)*(double *)((int)&pPVar29->red + iVar12);\n                                    *(float *)(iVar6 + iVar23 * 4) = (float)dVar43;\n                                    *(float *)(iVar6 + iVar33 * 4) = (float)dVar42;\n                                  }\n                                  else if (pixmap.bits_per_pixel == 0x10) {\n                                    bVar1 = *(byte *)((int)&pIVar35->compression + 1);\n                                    pPVar28 = pIVar9->channel_map;\n                                    uVar2 = *(undefined1 *)&pIVar35->compression;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(((byte)uVar2 & 0x7c) << 1) * dVar40);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | ((byte)uVar2 & 3) << 6\n                                                         ) * dVar40);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar40);\n                                    pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  }\n                                  else if (pIVar9->alpha_trait == UndefinedPixelTrait) {\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 2 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(byte)*(undefined1 *)&pIVar35->compression\n                                                * dVar39);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar27 * dVar39);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar27[sVar26] * dVar39);\n                                  }\n                                  else {\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 3 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if (pPVar28[4].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[4].offset * 4) =\n                                           (float)((double)(byte)*(undefined1 *)\n                                                                  &pIVar35->compression * in_f22_23)\n                                      ;\n                                    }\n                                    pbVar34 = pbVar27 + sVar26;\n                                    dVar42 = *(double *)(local_10ac + -0x5af0);\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)*pbVar27 * dVar42);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar34 * dVar42);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar34[sVar26] * dVar42);\n                                  }" if (parenthesized_expression "(pIVar9->storage_class == PseudoClass)" ( (binary_expression "pIVar9->storage_class == PseudoClass" (field_expression "pIVar9->storage_class" identifier -> field_identifier) == identifier) )) (compound_statement "{\n                                    if ((int)(uint)(byte)*(undefined1 *)&pIVar35->compression <\n                                        (int)pIVar9->colors) {\n                                      fVar41 = (float)(byte)*(undefined1 *)&pIVar35->compression;\n                                      iVar12 = (int)fVar41 * 0x58;\n                                    }\n                                    else if (local_10d8->severity == CorruptImageError) {\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23);\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                      sVar26 = pIVar9->columns;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    if (pPVar28[5].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[5].offset * 4) = fVar41;\n                                    }\n                                    pPVar29 = pIVar9->colormap;\n                                    iVar23 = pPVar28[1].offset;\n                                    iVar33 = pPVar28[2].offset;\n                                    dVar43 = *(double *)((int)&pPVar29->green + iVar12);\n                                    dVar42 = *(double *)((int)&pPVar29->blue + iVar12);\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)*(double *)((int)&pPVar29->red + iVar12);\n                                    *(float *)(iVar6 + iVar23 * 4) = (float)dVar43;\n                                    *(float *)(iVar6 + iVar33 * 4) = (float)dVar42;\n                                  }" { (if_statement "if ((int)(uint)(byte)*(undefined1 *)&pIVar35->compression <\n                                        (int)pIVar9->colors) {\n                                      fVar41 = (float)(byte)*(undefined1 *)&pIVar35->compression;\n                                      iVar12 = (int)fVar41 * 0x58;\n                                    }\n                                    else if (local_10d8->severity == CorruptImageError) {\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23);\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                      sVar26 = pIVar9->columns;\n                                    }" if (parenthesized_expression "((int)(uint)(byte)*(undefined1 *)&pIVar35->compression <\n                                        (int)pIVar9->colors)" ( (binary_expression "(int)(uint)(byte)*(undefined1 *)&pIVar35->compression <\n                                        (int)pIVar9->colors" (binary_expression "(int)(uint)(byte)*(undefined1 *)&pIVar35->compression" (cast_expression "(int)(uint)(byte)" ( (type_descriptor "int" primitive_type) ) (call_expression "(uint)(byte)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(byte)" ( identifier )))) * (cast_expression "(undefined1 *)&pIVar35->compression" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pIVar35->compression" & (field_expression "pIVar35->compression" identifier -> field_identifier)))) < (cast_expression "(int)pIVar9->colors" ( (type_descriptor "int" primitive_type) ) (field_expression "pIVar9->colors" identifier -> field_identifier))) )) (compound_statement "{\n                                      fVar41 = (float)(byte)*(undefined1 *)&pIVar35->compression;\n                                      iVar12 = (int)fVar41 * 0x58;\n                                    }" { (expression_statement "fVar41 = (float)(byte)*(undefined1 *)&pIVar35->compression;" (assignment_expression "fVar41 = (float)(byte)*(undefined1 *)&pIVar35->compression" identifier = (binary_expression "(float)(byte)*(undefined1 *)&pIVar35->compression" (cast_expression "(float)(byte)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "(byte)" ( identifier ))) * (cast_expression "(undefined1 *)&pIVar35->compression" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pIVar35->compression" & (field_expression "pIVar35->compression" identifier -> field_identifier))))) ;) (expression_statement "iVar12 = (int)fVar41 * 0x58;" (assignment_expression "iVar12 = (int)fVar41 * 0x58" identifier = (binary_expression "(int)fVar41 * 0x58" (cast_expression "(int)fVar41" ( (type_descriptor "int" primitive_type) ) identifier) * number_literal)) ;) }) (else_clause "else if (local_10d8->severity == CorruptImageError) {\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23);\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                      sVar26 = pIVar9->columns;\n                                    }" else (if_statement "if (local_10d8->severity == CorruptImageError) {\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23);\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                      sVar26 = pIVar9->columns;\n                                    }" if (parenthesized_expression "(local_10d8->severity == CorruptImageError)" ( (binary_expression "local_10d8->severity == CorruptImageError" (field_expression "local_10d8->severity" identifier -> field_identifier) == identifier) )) (compound_statement "{\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                    }" { (expression_statement "fVar41 = 0.0;" (assignment_expression "fVar41 = 0.0" identifier = number_literal) ;) (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" identifier = number_literal) ;) }) (else_clause "else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23);\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                      sVar26 = pIVar9->columns;\n                                    }" else (compound_statement "{\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23);\n                                      fVar41 = 0.0;\n                                      iVar12 = 0;\n                                      sVar26 = pIVar9->columns;\n                                    }" { (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23)" (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_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23)" ( identifier , (binary_expression "PTR_s_courses_003a88ec + 0x6f4" identifier + number_literal) , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4" identifier + number_literal) , number_literal ))) ;) (expression_statement "fVar41 = 0.0;" (assignment_expression "fVar41 = 0.0" identifier = number_literal) ;) (expression_statement "iVar12 = 0;" (assignment_expression "iVar12 = 0" identifier = number_literal) ;) (expression_statement "sVar26 = pIVar9->columns;" (assignment_expression "sVar26 = pIVar9->columns" identifier = (field_expression "pIVar9->columns" identifier -> field_identifier)) ;) }))))) (expression_statement "pPVar28 = pIVar9->channel_map;" (assignment_expression "pPVar28 = pIVar9->channel_map" identifier = (field_expression "pIVar9->channel_map" identifier -> field_identifier)) ;) (if_statement "if (pPVar28[5].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[5].offset * 4) = fVar41;\n                                    }" if (parenthesized_expression "(pPVar28[5].traits != UndefinedPixelTrait)" ( (binary_expression "pPVar28[5].traits != UndefinedPixelTrait" (field_expression "pPVar28[5].traits" (subscript_expression "pPVar28[5]" identifier [ number_literal ]) . field_identifier) != identifier) )) (compound_statement "{\n                                      *(float *)(iVar6 + pPVar28[5].offset * 4) = fVar41;\n                                    }" { (expression_statement "*(float *)(iVar6 + pPVar28[5].offset * 4) = fVar41;" (assignment_expression "*(float *)(iVar6 + pPVar28[5].offset * 4) = fVar41" (pointer_expression "*(float *)(iVar6 + pPVar28[5].offset * 4)" * (cast_expression "(float *)(iVar6 + pPVar28[5].offset * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + pPVar28[5].offset * 4)" ( (binary_expression "iVar6 + pPVar28[5].offset * 4" identifier + (binary_expression "pPVar28[5].offset * 4" (field_expression "pPVar28[5].offset" (subscript_expression "pPVar28[5]" identifier [ number_literal ]) . field_identifier) * number_literal)) )))) = identifier) ;) })) (expression_statement "pPVar29 = pIVar9->colormap;" (assignment_expression "pPVar29 = pIVar9->colormap" identifier = (field_expression "pIVar9->colormap" identifier -> field_identifier)) ;) (expression_statement "iVar23 = pPVar28[1].offset;" (assignment_expression "iVar23 = pPVar28[1].offset" identifier = (field_expression "pPVar28[1].offset" (subscript_expression "pPVar28[1]" identifier [ number_literal ]) . field_identifier)) ;) (expression_statement "iVar33 = pPVar28[2].offset;" (assignment_expression "iVar33 = pPVar28[2].offset" identifier = (field_expression "pPVar28[2].offset" (subscript_expression "pPVar28[2]" identifier [ number_literal ]) . field_identifier)) ;) (expression_statement "dVar43 = *(double *)((int)&pPVar29->green + iVar12);" (assignment_expression "dVar43 = *(double *)((int)&pPVar29->green + iVar12)" identifier = (pointer_expression "*(double *)((int)&pPVar29->green + iVar12)" * (cast_expression "(double *)((int)&pPVar29->green + iVar12)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pPVar29->green + iVar12)" ( (binary_expression "(int)&pPVar29->green + iVar12" (cast_expression "(int)&pPVar29->green" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pPVar29->green" & (field_expression "pPVar29->green" identifier -> field_identifier))) + identifier) ))))) ;) (expression_statement "dVar42 = *(double *)((int)&pPVar29->blue + iVar12);" (assignment_expression "dVar42 = *(double *)((int)&pPVar29->blue + iVar12)" identifier = (pointer_expression "*(double *)((int)&pPVar29->blue + iVar12)" * (cast_expression "(double *)((int)&pPVar29->blue + iVar12)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pPVar29->blue + iVar12)" ( (binary_expression "(int)&pPVar29->blue + iVar12" (cast_expression "(int)&pPVar29->blue" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pPVar29->blue" & (field_expression "pPVar29->blue" identifier -> field_identifier))) + identifier) ))))) ;) (expression_statement "*(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)*(double *)((int)&pPVar29->red + iVar12);" (assignment_expression "*(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)*(double *)((int)&pPVar29->red + iVar12)" (pointer_expression "*(float *)(iVar6 + pPVar28->offset * 4)" * (cast_expression "(float *)(iVar6 + pPVar28->offset * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + pPVar28->offset * 4)" ( (binary_expression "iVar6 + pPVar28->offset * 4" identifier + (binary_expression "pPVar28->offset * 4" (field_expression "pPVar28->offset" identifier -> field_identifier) * number_literal)) )))) = (cast_expression "(float)*(double *)((int)&pPVar29->red + iVar12)" ( (type_descriptor "float" primitive_type) ) (pointer_expression "*(double *)((int)&pPVar29->red + iVar12)" * (cast_expression "(double *)((int)&pPVar29->red + iVar12)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pPVar29->red + iVar12)" ( (binary_expression "(int)&pPVar29->red + iVar12" (cast_expression "(int)&pPVar29->red" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pPVar29->red" & (field_expression "pPVar29->red" identifier -> field_identifier))) + identifier) )))))) ;) (expression_statement "*(float *)(iVar6 + iVar23 * 4) = (float)dVar43;" (assignment_expression "*(float *)(iVar6 + iVar23 * 4) = (float)dVar43" (pointer_expression "*(float *)(iVar6 + iVar23 * 4)" * (cast_expression "(float *)(iVar6 + iVar23 * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + iVar23 * 4)" ( (binary_expression "iVar6 + iVar23 * 4" identifier + (binary_expression "iVar23 * 4" identifier * number_literal)) )))) = (cast_expression "(float)dVar43" ( (type_descriptor "float" primitive_type) ) identifier)) ;) (expression_statement "*(float *)(iVar6 + iVar33 * 4) = (float)dVar42;" (assignment_expression "*(float *)(iVar6 + iVar33 * 4) = (float)dVar42" (pointer_expression "*(float *)(iVar6 + iVar33 * 4)" * (cast_expression "(float *)(iVar6 + iVar33 * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + iVar33 * 4)" ( (binary_expression "iVar6 + iVar33 * 4" identifier + (binary_expression "iVar33 * 4" identifier * number_literal)) )))) = (cast_expression "(float)dVar42" ( (type_descriptor "float" primitive_type) ) identifier)) ;) }) (else_clause "else if (pixmap.bits_per_pixel == 0x10) {\n                                    bVar1 = *(byte *)((int)&pIVar35->compression + 1);\n                                    pPVar28 = pIVar9->channel_map;\n                                    uVar2 = *(undefined1 *)&pIVar35->compression;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(((byte)uVar2 & 0x7c) << 1) * dVar40);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | ((byte)uVar2 & 3) << 6\n                                                         ) * dVar40);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar40);\n                                    pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  }\n                                  else if (pIVar9->alpha_trait == UndefinedPixelTrait) {\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 2 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(byte)*(undefined1 *)&pIVar35->compression\n                                                * dVar39);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar27 * dVar39);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar27[sVar26] * dVar39);\n                                  }\n                                  else {\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 3 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if (pPVar28[4].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[4].offset * 4) =\n                                           (float)((double)(byte)*(undefined1 *)\n                                                                  &pIVar35->compression * in_f22_23)\n                                      ;\n                                    }\n                                    pbVar34 = pbVar27 + sVar26;\n                                    dVar42 = *(double *)(local_10ac + -0x5af0);\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)*pbVar27 * dVar42);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar34 * dVar42);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar34[sVar26] * dVar42);\n                                  }" else (if_statement "if (pixmap.bits_per_pixel == 0x10) {\n                                    bVar1 = *(byte *)((int)&pIVar35->compression + 1);\n                                    pPVar28 = pIVar9->channel_map;\n                                    uVar2 = *(undefined1 *)&pIVar35->compression;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(((byte)uVar2 & 0x7c) << 1) * dVar40);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | ((byte)uVar2 & 3) << 6\n                                                         ) * dVar40);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar40);\n                                    pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  }\n                                  else if (pIVar9->alpha_trait == UndefinedPixelTrait) {\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 2 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(byte)*(undefined1 *)&pIVar35->compression\n                                                * dVar39);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar27 * dVar39);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar27[sVar26] * dVar39);\n                                  }\n                                  else {\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 3 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if (pPVar28[4].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[4].offset * 4) =\n                                           (float)((double)(byte)*(undefined1 *)\n                                                                  &pIVar35->compression * in_f22_23)\n                                      ;\n                                    }\n                                    pbVar34 = pbVar27 + sVar26;\n                                    dVar42 = *(double *)(local_10ac + -0x5af0);\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)*pbVar27 * dVar42);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar34 * dVar42);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar34[sVar26] * dVar42);\n                                  }" if (parenthesized_expression "(pixmap.bits_per_pixel == 0x10)" ( (binary_expression "pixmap.bits_per_pixel == 0x10" (field_expression "pixmap.bits_per_pixel" identifier . field_identifier) == number_literal) )) (compound_statement "{\n                                    bVar1 = *(byte *)((int)&pIVar35->compression + 1);\n                                    pPVar28 = pIVar9->channel_map;\n                                    uVar2 = *(undefined1 *)&pIVar35->compression;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(((byte)uVar2 & 0x7c) << 1) * dVar40);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | ((byte)uVar2 & 3) << 6\n                                                         ) * dVar40);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar40);\n                                    pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);\n                                  }" { (expression_statement "bVar1 = *(byte *)((int)&pIVar35->compression + 1);" (assignment_expression "bVar1 = *(byte *)((int)&pIVar35->compression + 1)" identifier = (pointer_expression "*(byte *)((int)&pIVar35->compression + 1)" * (cast_expression "(byte *)((int)&pIVar35->compression + 1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pIVar35->compression + 1)" ( (binary_expression "(int)&pIVar35->compression + 1" (cast_expression "(int)&pIVar35->compression" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pIVar35->compression" & (field_expression "pIVar35->compression" identifier -> field_identifier))) + number_literal) ))))) ;) (expression_statement "pPVar28 = pIVar9->channel_map;" (assignment_expression "pPVar28 = pIVar9->channel_map" identifier = (field_expression "pIVar9->channel_map" identifier -> field_identifier)) ;) (expression_statement "uVar2 = *(undefined1 *)&pIVar35->compression;" (assignment_expression "uVar2 = *(undefined1 *)&pIVar35->compression" identifier = (pointer_expression "*(undefined1 *)&pIVar35->compression" * (cast_expression "(undefined1 *)&pIVar35->compression" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pIVar35->compression" & (field_expression "pIVar35->compression" identifier -> field_identifier))))) ;) (expression_statement "iVar33 = pPVar28[1].offset;" (assignment_expression "iVar33 = pPVar28[1].offset" identifier = (field_expression "pPVar28[1].offset" (subscript_expression "pPVar28[1]" identifier [ number_literal ]) . field_identifier)) ;) (expression_statement "iVar12 = pPVar28[2].offset;" (assignment_expression "iVar12 = pPVar28[2].offset" identifier = (field_expression "pPVar28[2].offset" (subscript_expression "pPVar28[2]" identifier [ number_literal ]) . field_identifier)) ;) (expression_statement "*(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(((byte)uVar2 & 0x7c) << 1) * dVar40);" (assignment_expression "*(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(((byte)uVar2 & 0x7c) << 1) * dVar40)" (pointer_expression "*(float *)(iVar6 + pPVar28->offset * 4)" * (cast_expression "(float *)(iVar6 + pPVar28->offset * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + pPVar28->offset * 4)" ( (binary_expression "iVar6 + pPVar28->offset * 4" identifier + (binary_expression "pPVar28->offset * 4" (field_expression "pPVar28->offset" identifier -> field_identifier) * number_literal)) )))) = (cast_expression "(float)((double)(((byte)uVar2 & 0x7c) << 1) * dVar40)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "((double)(((byte)uVar2 & 0x7c) << 1) * dVar40)" ( (binary_expression "(double)(((byte)uVar2 & 0x7c) << 1) * dVar40" (cast_expression "(double)(((byte)uVar2 & 0x7c) << 1)" ( (type_descriptor "double" primitive_type) ) (parenthesized_expression "(((byte)uVar2 & 0x7c) << 1)" ( (binary_expression "((byte)uVar2 & 0x7c) << 1" (parenthesized_expression "((byte)uVar2 & 0x7c)" ( (binary_expression "(byte)uVar2 & 0x7c" (cast_expression "(byte)uVar2" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )) << number_literal) ))) * identifier) )))) ;) (expression_statement "*(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | ((byte)uVar2 & 3) << 6\n                                                         ) * dVar40);" (assignment_expression "*(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | ((byte)uVar2 & 3) << 6\n                                                         ) * dVar40)" (pointer_expression "*(float *)(iVar6 + iVar33 * 4)" * (cast_expression "(float *)(iVar6 + iVar33 * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + iVar33 * 4)" ( (binary_expression "iVar6 + iVar33 * 4" identifier + (binary_expression "iVar33 * 4" identifier * number_literal)) )))) = (cast_expression "(float)((double)(bVar1 >> 2 & 0x38 | ((byte)uVar2 & 3) << 6\n                                                         ) * dVar40)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "((double)(bVar1 >> 2 & 0x38 | ((byte)uVar2 & 3) << 6\n                                                         ) * dVar40)" ( (binary_expression "(double)(bVar1 >> 2 & 0x38 | ((byte)uVar2 & 3) << 6\n                                                         ) * dVar40" (cast_expression "(double)(bVar1 >> 2 & 0x38 | ((byte)uVar2 & 3) << 6\n                                                         )" ( (type_descriptor "double" primitive_type) ) (parenthesized_expression "(bVar1 >> 2 & 0x38 | ((byte)uVar2 & 3) << 6\n                                                         )" ( (binary_expression "bVar1 >> 2 & 0x38 | ((byte)uVar2 & 3) << 6" (binary_expression "bVar1 >> 2 & 0x38" (binary_expression "bVar1 >> 2" identifier >> number_literal) & number_literal) | (binary_expression "((byte)uVar2 & 3) << 6" (parenthesized_expression "((byte)uVar2 & 3)" ( (binary_expression "(byte)uVar2 & 3" (cast_expression "(byte)uVar2" ( (type_descriptor "byte" type_identifier) ) identifier) & number_literal) )) << number_literal)) ))) * identifier) )))) ;) (expression_statement "*(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar40);" (assignment_expression "*(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar40)" (pointer_expression "*(float *)(iVar6 + iVar12 * 4)" * (cast_expression "(float *)(iVar6 + iVar12 * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + iVar12 * 4)" ( (binary_expression "iVar6 + iVar12 * 4" identifier + (binary_expression "iVar12 * 4" identifier * number_literal)) )))) = (cast_expression "(float)((double)((bVar1 & 0x1f) << 3) * dVar40)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "((double)((bVar1 & 0x1f) << 3) * dVar40)" ( (binary_expression "(double)((bVar1 & 0x1f) << 3) * dVar40" (cast_expression "(double)((bVar1 & 0x1f) << 3)" ( (type_descriptor "double" primitive_type) ) (parenthesized_expression "((bVar1 & 0x1f) << 3)" ( (binary_expression "(bVar1 & 0x1f) << 3" (parenthesized_expression "(bVar1 & 0x1f)" ( (binary_expression "bVar1 & 0x1f" identifier & number_literal) )) << number_literal) ))) * identifier) )))) ;) (expression_statement "pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);" (assignment_expression "pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1)" identifier = (cast_expression "(ImageInfo *)((int)&pIVar35->compression + 1)" ( (type_descriptor "ImageInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pIVar35->compression + 1)" ( (binary_expression "(int)&pIVar35->compression + 1" (cast_expression "(int)&pIVar35->compression" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pIVar35->compression" & (field_expression "pIVar35->compression" identifier -> field_identifier))) + number_literal) )))) ;) }) (else_clause "else if (pIVar9->alpha_trait == UndefinedPixelTrait) {\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 2 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(byte)*(undefined1 *)&pIVar35->compression\n                                                * dVar39);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar27 * dVar39);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar27[sVar26] * dVar39);\n                                  }\n                                  else {\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 3 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if (pPVar28[4].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[4].offset * 4) =\n                                           (float)((double)(byte)*(undefined1 *)\n                                                                  &pIVar35->compression * in_f22_23)\n                                      ;\n                                    }\n                                    pbVar34 = pbVar27 + sVar26;\n                                    dVar42 = *(double *)(local_10ac + -0x5af0);\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)*pbVar27 * dVar42);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar34 * dVar42);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar34[sVar26] * dVar42);\n                                  }" else (if_statement "if (pIVar9->alpha_trait == UndefinedPixelTrait) {\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 2 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(byte)*(undefined1 *)&pIVar35->compression\n                                                * dVar39);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar27 * dVar39);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar27[sVar26] * dVar39);\n                                  }\n                                  else {\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 3 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if (pPVar28[4].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[4].offset * 4) =\n                                           (float)((double)(byte)*(undefined1 *)\n                                                                  &pIVar35->compression * in_f22_23)\n                                      ;\n                                    }\n                                    pbVar34 = pbVar27 + sVar26;\n                                    dVar42 = *(double *)(local_10ac + -0x5af0);\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)*pbVar27 * dVar42);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar34 * dVar42);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar34[sVar26] * dVar42);\n                                  }" if (parenthesized_expression "(pIVar9->alpha_trait == UndefinedPixelTrait)" ( (binary_expression "pIVar9->alpha_trait == UndefinedPixelTrait" (field_expression "pIVar9->alpha_trait" identifier -> field_identifier) == identifier) )) (compound_statement "{\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 2 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(byte)*(undefined1 *)&pIVar35->compression\n                                                * dVar39);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar27 * dVar39);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar27[sVar26] * dVar39);\n                                  }" { (expression_statement "pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);" (assignment_expression "pbVar27 = (byte *)((int)&pIVar35->compression + sVar26)" identifier = (cast_expression "(byte *)((int)&pIVar35->compression + sVar26)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pIVar35->compression + sVar26)" ( (binary_expression "(int)&pIVar35->compression + sVar26" (cast_expression "(int)&pIVar35->compression" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pIVar35->compression" & (field_expression "pIVar35->compression" identifier -> field_identifier))) + identifier) )))) ;) (if_statement "if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 2 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x523;\n                                      goto LAB_0027504c;\n                                    }" if (parenthesized_expression "((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 2 + extent) < pIVar35)" ( (binary_expression "(ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 2 + extent) < pIVar35" (cast_expression "(ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 2 + extent)" ( (type_descriptor "ImageInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 2 + extent)" ( (binary_expression "(int)&unaff_s3->compression +\n                                        unaff_s0->columns * 2 + extent" (binary_expression "(int)&unaff_s3->compression +\n                                        unaff_s0->columns * 2" (cast_expression "(int)&unaff_s3->compression" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&unaff_s3->compression" & (field_expression "unaff_s3->compression" identifier -> field_identifier))) + (binary_expression "unaff_s0->columns * 2" (field_expression "unaff_s0->columns" identifier -> field_identifier) * number_literal)) + identifier) ))) < identifier) )) (compound_statement "{\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x523;\n                                      goto LAB_0027504c;\n                                    }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(pIVar9)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar9)" ( identifier ))) ;) (if_statement "if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar32 = 0x523;" (assignment_expression "uVar32 = 0x523" identifier = number_literal) ;) (goto_statement "goto LAB_0027504c;" goto statement_identifier ;) })) (expression_statement "pPVar28 = pIVar9->channel_map;" (assignment_expression "pPVar28 = pIVar9->channel_map" identifier = (field_expression "pIVar9->channel_map" identifier -> field_identifier)) ;) (expression_statement "iVar33 = pPVar28[1].offset;" (assignment_expression "iVar33 = pPVar28[1].offset" identifier = (field_expression "pPVar28[1].offset" (subscript_expression "pPVar28[1]" identifier [ number_literal ]) . field_identifier)) ;) (expression_statement "iVar12 = pPVar28[2].offset;" (assignment_expression "iVar12 = pPVar28[2].offset" identifier = (field_expression "pPVar28[2].offset" (subscript_expression "pPVar28[2]" identifier [ number_literal ]) . field_identifier)) ;) (expression_statement "*(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(byte)*(undefined1 *)&pIVar35->compression\n                                                * dVar39);" (assignment_expression "*(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)(byte)*(undefined1 *)&pIVar35->compression\n                                                * dVar39)" (pointer_expression "*(float *)(iVar6 + pPVar28->offset * 4)" * (cast_expression "(float *)(iVar6 + pPVar28->offset * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + pPVar28->offset * 4)" ( (binary_expression "iVar6 + pPVar28->offset * 4" identifier + (binary_expression "pPVar28->offset * 4" (field_expression "pPVar28->offset" identifier -> field_identifier) * number_literal)) )))) = (cast_expression "(float)((double)(byte)*(undefined1 *)&pIVar35->compression\n                                                * dVar39)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "((double)(byte)*(undefined1 *)&pIVar35->compression\n                                                * dVar39)" ( (binary_expression "(double)(byte)*(undefined1 *)&pIVar35->compression\n                                                * dVar39" (binary_expression "(double)(byte)*(undefined1 *)&pIVar35->compression" (cast_expression "(double)(byte)" ( (type_descriptor "double" primitive_type) ) (parenthesized_expression "(byte)" ( identifier ))) * (cast_expression "(undefined1 *)&pIVar35->compression" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pIVar35->compression" & (field_expression "pIVar35->compression" identifier -> field_identifier)))) * identifier) )))) ;) (expression_statement "*(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar27 * dVar39);" (assignment_expression "*(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar27 * dVar39)" (pointer_expression "*(float *)(iVar6 + iVar33 * 4)" * (cast_expression "(float *)(iVar6 + iVar33 * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + iVar33 * 4)" ( (binary_expression "iVar6 + iVar33 * 4" identifier + (binary_expression "iVar33 * 4" identifier * number_literal)) )))) = (cast_expression "(float)((double)*pbVar27 * dVar39)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "((double)*pbVar27 * dVar39)" ( (binary_expression "(double)*pbVar27 * dVar39" (cast_expression "(double)*pbVar27" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*pbVar27" * identifier)) * identifier) )))) ;) (expression_statement "*(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar27[sVar26] * dVar39);" (assignment_expression "*(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar27[sVar26] * dVar39)" (pointer_expression "*(float *)(iVar6 + iVar12 * 4)" * (cast_expression "(float *)(iVar6 + iVar12 * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + iVar12 * 4)" ( (binary_expression "iVar6 + iVar12 * 4" identifier + (binary_expression "iVar12 * 4" identifier * number_literal)) )))) = (cast_expression "(float)((double)pbVar27[sVar26] * dVar39)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "((double)pbVar27[sVar26] * dVar39)" ( (binary_expression "(double)pbVar27[sVar26] * dVar39" (cast_expression "(double)pbVar27[sVar26]" ( (type_descriptor "double" primitive_type) ) (subscript_expression "pbVar27[sVar26]" identifier [ identifier ])) * identifier) )))) ;) }) (else_clause "else {\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 3 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if (pPVar28[4].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[4].offset * 4) =\n                                           (float)((double)(byte)*(undefined1 *)\n                                                                  &pIVar35->compression * in_f22_23)\n                                      ;\n                                    }\n                                    pbVar34 = pbVar27 + sVar26;\n                                    dVar42 = *(double *)(local_10ac + -0x5af0);\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)*pbVar27 * dVar42);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar34 * dVar42);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar34[sVar26] * dVar42);\n                                  }" else (compound_statement "{\n                                    if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 3 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    pPVar28 = pIVar9->channel_map;\n                                    pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);\n                                    if (pPVar28[4].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[4].offset * 4) =\n                                           (float)((double)(byte)*(undefined1 *)\n                                                                  &pIVar35->compression * in_f22_23)\n                                      ;\n                                    }\n                                    pbVar34 = pbVar27 + sVar26;\n                                    dVar42 = *(double *)(local_10ac + -0x5af0);\n                                    iVar33 = pPVar28[1].offset;\n                                    iVar12 = pPVar28[2].offset;\n                                    *(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)*pbVar27 * dVar42);\n                                    *(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar34 * dVar42);\n                                    *(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar34[sVar26] * dVar42);\n                                  }" { (if_statement "if ((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 3 + extent) < pIVar35) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }" if (parenthesized_expression "((ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 3 + extent) < pIVar35)" ( (binary_expression "(ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 3 + extent) < pIVar35" (cast_expression "(ImageInfo *)\n                                        ((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 3 + extent)" ( (type_descriptor "ImageInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&unaff_s3->compression +\n                                        unaff_s0->columns * 3 + extent)" ( (binary_expression "(int)&unaff_s3->compression +\n                                        unaff_s0->columns * 3 + extent" (binary_expression "(int)&unaff_s3->compression +\n                                        unaff_s0->columns * 3" (cast_expression "(int)&unaff_s3->compression" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&unaff_s3->compression" & (field_expression "unaff_s3->compression" identifier -> field_identifier))) + (binary_expression "unaff_s0->columns * 3" (field_expression "unaff_s0->columns" identifier -> field_identifier) * number_literal)) + identifier) ))) < identifier) )) (compound_statement "{\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar32 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(pIVar9)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar9)" ( identifier ))) ;) (if_statement "if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar32 = 0x52e;" (assignment_expression "uVar32 = 0x52e" identifier = number_literal) ;) (goto_statement "goto LAB_0027504c;" goto statement_identifier ;) })) (expression_statement "pPVar28 = pIVar9->channel_map;" (assignment_expression "pPVar28 = pIVar9->channel_map" identifier = (field_expression "pIVar9->channel_map" identifier -> field_identifier)) ;) (expression_statement "pbVar27 = (byte *)((int)&pIVar35->compression + sVar26);" (assignment_expression "pbVar27 = (byte *)((int)&pIVar35->compression + sVar26)" identifier = (cast_expression "(byte *)((int)&pIVar35->compression + sVar26)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pIVar35->compression + sVar26)" ( (binary_expression "(int)&pIVar35->compression + sVar26" (cast_expression "(int)&pIVar35->compression" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pIVar35->compression" & (field_expression "pIVar35->compression" identifier -> field_identifier))) + identifier) )))) ;) (if_statement "if (pPVar28[4].traits != UndefinedPixelTrait) {\n                                      *(float *)(iVar6 + pPVar28[4].offset * 4) =\n                                           (float)((double)(byte)*(undefined1 *)\n                                                                  &pIVar35->compression * in_f22_23)\n                                      ;\n                                    }" if (parenthesized_expression "(pPVar28[4].traits != UndefinedPixelTrait)" ( (binary_expression "pPVar28[4].traits != UndefinedPixelTrait" (field_expression "pPVar28[4].traits" (subscript_expression "pPVar28[4]" identifier [ number_literal ]) . field_identifier) != identifier) )) (compound_statement "{\n                                      *(float *)(iVar6 + pPVar28[4].offset * 4) =\n                                           (float)((double)(byte)*(undefined1 *)\n                                                                  &pIVar35->compression * in_f22_23)\n                                      ;\n                                    }" { (expression_statement "*(float *)(iVar6 + pPVar28[4].offset * 4) =\n                                           (float)((double)(byte)*(undefined1 *)\n                                                                  &pIVar35->compression * in_f22_23)\n                                      ;" (assignment_expression "*(float *)(iVar6 + pPVar28[4].offset * 4) =\n                                           (float)((double)(byte)*(undefined1 *)\n                                                                  &pIVar35->compression * in_f22_23)" (pointer_expression "*(float *)(iVar6 + pPVar28[4].offset * 4)" * (cast_expression "(float *)(iVar6 + pPVar28[4].offset * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + pPVar28[4].offset * 4)" ( (binary_expression "iVar6 + pPVar28[4].offset * 4" identifier + (binary_expression "pPVar28[4].offset * 4" (field_expression "pPVar28[4].offset" (subscript_expression "pPVar28[4]" identifier [ number_literal ]) . field_identifier) * number_literal)) )))) = (cast_expression "(float)((double)(byte)*(undefined1 *)\n                                                                  &pIVar35->compression * in_f22_23)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "((double)(byte)*(undefined1 *)\n                                                                  &pIVar35->compression * in_f22_23)" ( (binary_expression "(double)(byte)*(undefined1 *)\n                                                                  &pIVar35->compression * in_f22_23" (binary_expression "(double)(byte)*(undefined1 *)\n                                                                  &pIVar35->compression" (cast_expression "(double)(byte)" ( (type_descriptor "double" primitive_type) ) (parenthesized_expression "(byte)" ( identifier ))) * (cast_expression "(undefined1 *)\n                                                                  &pIVar35->compression" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (pointer_expression "&pIVar35->compression" & (field_expression "pIVar35->compression" identifier -> field_identifier)))) * identifier) )))) ;) })) (expression_statement "pbVar34 = pbVar27 + sVar26;" (assignment_expression "pbVar34 = pbVar27 + sVar26" identifier = (binary_expression "pbVar27 + sVar26" identifier + identifier)) ;) (expression_statement "dVar42 = *(double *)(local_10ac + -0x5af0);" (assignment_expression "dVar42 = *(double *)(local_10ac + -0x5af0)" identifier = (pointer_expression "*(double *)(local_10ac + -0x5af0)" * (cast_expression "(double *)(local_10ac + -0x5af0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_10ac + -0x5af0)" ( (binary_expression "local_10ac + -0x5af0" identifier + number_literal) ))))) ;) (expression_statement "iVar33 = pPVar28[1].offset;" (assignment_expression "iVar33 = pPVar28[1].offset" identifier = (field_expression "pPVar28[1].offset" (subscript_expression "pPVar28[1]" identifier [ number_literal ]) . field_identifier)) ;) (expression_statement "iVar12 = pPVar28[2].offset;" (assignment_expression "iVar12 = pPVar28[2].offset" identifier = (field_expression "pPVar28[2].offset" (subscript_expression "pPVar28[2]" identifier [ number_literal ]) . field_identifier)) ;) (expression_statement "*(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)*pbVar27 * dVar42);" (assignment_expression "*(float *)(iVar6 + pPVar28->offset * 4) =\n                                         (float)((double)*pbVar27 * dVar42)" (pointer_expression "*(float *)(iVar6 + pPVar28->offset * 4)" * (cast_expression "(float *)(iVar6 + pPVar28->offset * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + pPVar28->offset * 4)" ( (binary_expression "iVar6 + pPVar28->offset * 4" identifier + (binary_expression "pPVar28->offset * 4" (field_expression "pPVar28->offset" identifier -> field_identifier) * number_literal)) )))) = (cast_expression "(float)((double)*pbVar27 * dVar42)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "((double)*pbVar27 * dVar42)" ( (binary_expression "(double)*pbVar27 * dVar42" (cast_expression "(double)*pbVar27" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*pbVar27" * identifier)) * identifier) )))) ;) (expression_statement "*(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar34 * dVar42);" (assignment_expression "*(float *)(iVar6 + iVar33 * 4) =\n                                         (float)((double)*pbVar34 * dVar42)" (pointer_expression "*(float *)(iVar6 + iVar33 * 4)" * (cast_expression "(float *)(iVar6 + iVar33 * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + iVar33 * 4)" ( (binary_expression "iVar6 + iVar33 * 4" identifier + (binary_expression "iVar33 * 4" identifier * number_literal)) )))) = (cast_expression "(float)((double)*pbVar34 * dVar42)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "((double)*pbVar34 * dVar42)" ( (binary_expression "(double)*pbVar34 * dVar42" (cast_expression "(double)*pbVar34" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*pbVar34" * identifier)) * identifier) )))) ;) (expression_statement "*(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar34[sVar26] * dVar42);" (assignment_expression "*(float *)(iVar6 + iVar12 * 4) =\n                                         (float)((double)pbVar34[sVar26] * dVar42)" (pointer_expression "*(float *)(iVar6 + iVar12 * 4)" * (cast_expression "(float *)(iVar6 + iVar12 * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar6 + iVar12 * 4)" ( (binary_expression "iVar6 + iVar12 * 4" identifier + (binary_expression "iVar12 * 4" identifier * number_literal)) )))) = (cast_expression "(float)((double)pbVar34[sVar26] * dVar42)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "((double)pbVar34[sVar26] * dVar42)" ( (binary_expression "(double)pbVar34[sVar26] * dVar42" (cast_expression "(double)pbVar34[sVar26]" ( (type_descriptor "double" primitive_type) ) (subscript_expression "pbVar34[sVar26]" identifier [ identifier ])) * identifier) )))) ;) }))))))) (expression_statement "iVar16 = iVar16 + 1;" (assignment_expression "iVar16 = iVar16 + 1" identifier = (binary_expression "iVar16 + 1" identifier + number_literal)) ;) (expression_statement "pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1);" (assignment_expression "pIVar35 = (ImageInfo *)((int)&pIVar35->compression + 1)" identifier = (cast_expression "(ImageInfo *)((int)&pIVar35->compression + 1)" ( (type_descriptor "ImageInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pIVar35->compression + 1)" ( (binary_expression "(int)&pIVar35->compression + 1" (cast_expression "(int)&pIVar35->compression" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pIVar35->compression" & (field_expression "pIVar35->compression" identifier -> field_identifier))) + number_literal) )))) ;) (expression_statement "iVar6 = iVar6 + pIVar9->number_channels * 4;" (assignment_expression "iVar6 = iVar6 + pIVar9->number_channels * 4" identifier = (binary_expression "iVar6 + pIVar9->number_channels * 4" identifier + (binary_expression "pIVar9->number_channels * 4" (field_expression "pIVar9->number_channels" identifier -> field_identifier) * number_literal))) ;) }) while (parenthesized_expression "(iVar16 < (int)sVar26)" ( (binary_expression "iVar16 < (int)sVar26" identifier < (cast_expression "(int)sVar26" ( (type_descriptor "int" primitive_type) ) identifier)) )) ;) })) (expression_statement "iVar6 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar9,local_10d8)\n                              ;" (assignment_expression "iVar6 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar9,local_10d8)" identifier = (call_expression "(*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar9,local_10d8)" (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 "(pIVar9,local_10d8)" ( identifier , identifier )))) ;) (if_statement "if (((iVar6 == 0) ||\n                                  (((pIVar9->storage_class == DirectClass &&\n                                    (pixmap.bits_per_pixel != 0x10)) &&\n                                   (pIVar35 = (ImageInfo *)\n                                              ((int)&pIVar35->compression +\n                                              (pixmap.component_count + -1) * pIVar9->columns),\n                                   pIVar35 < unaff_s3)))) ||\n                                 ((iVar6 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar37), iVar6 == 0 ||\n                                  (uVar38 = uVar37 + 1, (int)pIVar9->rows <= (int)uVar38))))\n                              goto LAB_00276500;" if (parenthesized_expression "(((iVar6 == 0) ||\n                                  (((pIVar9->storage_class == DirectClass &&\n                                    (pixmap.bits_per_pixel != 0x10)) &&\n                                   (pIVar35 = (ImageInfo *)\n                                              ((int)&pIVar35->compression +\n                                              (pixmap.component_count + -1) * pIVar9->columns),\n                                   pIVar35 < unaff_s3)))) ||\n                                 ((iVar6 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar37), iVar6 == 0 ||\n                                  (uVar38 = uVar37 + 1, (int)pIVar9->rows <= (int)uVar38))))" ( (binary_expression "((iVar6 == 0) ||\n                                  (((pIVar9->storage_class == DirectClass &&\n                                    (pixmap.bits_per_pixel != 0x10)) &&\n                                   (pIVar35 = (ImageInfo *)\n                                              ((int)&pIVar35->compression +\n                                              (pixmap.component_count + -1) * pIVar9->columns),\n                                   pIVar35 < unaff_s3)))) ||\n                                 ((iVar6 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar37), iVar6 == 0 ||\n                                  (uVar38 = uVar37 + 1, (int)pIVar9->rows <= (int)uVar38)))" (parenthesized_expression "((iVar6 == 0) ||\n                                  (((pIVar9->storage_class == DirectClass &&\n                                    (pixmap.bits_per_pixel != 0x10)) &&\n                                   (pIVar35 = (ImageInfo *)\n                                              ((int)&pIVar35->compression +\n                                              (pixmap.component_count + -1) * pIVar9->columns),\n                                   pIVar35 < unaff_s3))))" ( (binary_expression "(iVar6 == 0) ||\n                                  (((pIVar9->storage_class == DirectClass &&\n                                    (pixmap.bits_per_pixel != 0x10)) &&\n                                   (pIVar35 = (ImageInfo *)\n                                              ((int)&pIVar35->compression +\n                                              (pixmap.component_count + -1) * pIVar9->columns),\n                                   pIVar35 < unaff_s3)))" (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) || (parenthesized_expression "(((pIVar9->storage_class == DirectClass &&\n                                    (pixmap.bits_per_pixel != 0x10)) &&\n                                   (pIVar35 = (ImageInfo *)\n                                              ((int)&pIVar35->compression +\n                                              (pixmap.component_count + -1) * pIVar9->columns),\n                                   pIVar35 < unaff_s3)))" ( (parenthesized_expression "((pIVar9->storage_class == DirectClass &&\n                                    (pixmap.bits_per_pixel != 0x10)) &&\n                                   (pIVar35 = (ImageInfo *)\n                                              ((int)&pIVar35->compression +\n                                              (pixmap.component_count + -1) * pIVar9->columns),\n                                   pIVar35 < unaff_s3))" ( (binary_expression "(pIVar9->storage_class == DirectClass &&\n                                    (pixmap.bits_per_pixel != 0x10)) &&\n                                   (pIVar35 = (ImageInfo *)\n                                              ((int)&pIVar35->compression +\n                                              (pixmap.component_count + -1) * pIVar9->columns),\n                                   pIVar35 < unaff_s3)" (parenthesized_expression "(pIVar9->storage_class == DirectClass &&\n                                    (pixmap.bits_per_pixel != 0x10))" ( (binary_expression "pIVar9->storage_class == DirectClass &&\n                                    (pixmap.bits_per_pixel != 0x10)" (binary_expression "pIVar9->storage_class == DirectClass" (field_expression "pIVar9->storage_class" identifier -> field_identifier) == identifier) && (parenthesized_expression "(pixmap.bits_per_pixel != 0x10)" ( (binary_expression "pixmap.bits_per_pixel != 0x10" (field_expression "pixmap.bits_per_pixel" identifier . field_identifier) != number_literal) ))) )) && (parenthesized_expression "(pIVar35 = (ImageInfo *)\n                                              ((int)&pIVar35->compression +\n                                              (pixmap.component_count + -1) * pIVar9->columns),\n                                   pIVar35 < unaff_s3)" ( (comma_expression "pIVar35 = (ImageInfo *)\n                                              ((int)&pIVar35->compression +\n                                              (pixmap.component_count + -1) * pIVar9->columns),\n                                   pIVar35 < unaff_s3" (assignment_expression "pIVar35 = (ImageInfo *)\n                                              ((int)&pIVar35->compression +\n                                              (pixmap.component_count + -1) * pIVar9->columns)" identifier = (cast_expression "(ImageInfo *)\n                                              ((int)&pIVar35->compression +\n                                              (pixmap.component_count + -1) * pIVar9->columns)" ( (type_descriptor "ImageInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pIVar35->compression +\n                                              (pixmap.component_count + -1) * pIVar9->columns)" ( (binary_expression "(int)&pIVar35->compression +\n                                              (pixmap.component_count + -1) * pIVar9->columns" (cast_expression "(int)&pIVar35->compression" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pIVar35->compression" & (field_expression "pIVar35->compression" identifier -> field_identifier))) + (binary_expression "(pixmap.component_count + -1) * pIVar9->columns" (parenthesized_expression "(pixmap.component_count + -1)" ( (binary_expression "pixmap.component_count + -1" (field_expression "pixmap.component_count" identifier . field_identifier) + number_literal) )) * (field_expression "pIVar9->columns" identifier -> field_identifier))) )))) , (binary_expression "pIVar35 < unaff_s3" identifier < identifier)) ))) )) ))) )) || (parenthesized_expression "((iVar6 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar37), iVar6 == 0 ||\n                                  (uVar38 = uVar37 + 1, (int)pIVar9->rows <= (int)uVar38)))" ( (parenthesized_expression "(iVar6 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar37), iVar6 == 0 ||\n                                  (uVar38 = uVar37 + 1, (int)pIVar9->rows <= (int)uVar38))" ( (comma_expression "iVar6 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar37), iVar6 == 0 ||\n                                  (uVar38 = uVar37 + 1, (int)pIVar9->rows <= (int)uVar38)" (assignment_expression "iVar6 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar37)" identifier = (call_expression "(*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar37)" (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 "(unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar37)" ( identifier , (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0" identifier + number_literal) , identifier , identifier )))) , (binary_expression "iVar6 == 0 ||\n                                  (uVar38 = uVar37 + 1, (int)pIVar9->rows <= (int)uVar38)" (binary_expression "iVar6 == 0" identifier == number_literal) || (parenthesized_expression "(uVar38 = uVar37 + 1, (int)pIVar9->rows <= (int)uVar38)" ( (comma_expression "uVar38 = uVar37 + 1, (int)pIVar9->rows <= (int)uVar38" (assignment_expression "uVar38 = uVar37 + 1" identifier = (binary_expression "uVar37 + 1" identifier + number_literal)) , (binary_expression "(int)pIVar9->rows <= (int)uVar38" (cast_expression "(int)pIVar9->rows" ( (type_descriptor "int" primitive_type) ) (field_expression "pIVar9->rows" identifier -> field_identifier)) <= (cast_expression "(int)uVar38" ( (type_descriptor "int" primitive_type) ) identifier))) )))) )) ))) )) (goto_statement "goto LAB_00276500;" goto statement_identifier ;)) (expression_statement "local_10b0 = (uint)(uVar38 < uVar37) + local_10b0;" (assignment_expression "local_10b0 = (uint)(uVar38 < uVar37) + local_10b0" identifier = (binary_expression "(uint)(uVar38 < uVar37) + local_10b0" (call_expression "(uint)(uVar38 < uVar37)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar38 < uVar37)" ( (binary_expression "uVar38 < uVar37" identifier < identifier) ))) + identifier)) ;) (expression_statement "uVar37 = uVar38;" (assignment_expression "uVar37 = uVar38" identifier = identifier) ;) }) while (parenthesized_expression "(pIVar35 <=\n                                     (ImageInfo *)\n                                     ((int)&unaff_s3->compression + unaff_s0->columns + extent))" ( (binary_expression "pIVar35 <=\n                                     (ImageInfo *)\n                                     ((int)&unaff_s3->compression + unaff_s0->columns + extent)" identifier <= (cast_expression "(ImageInfo *)\n                                     ((int)&unaff_s3->compression + unaff_s0->columns + extent)" ( (type_descriptor "ImageInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&unaff_s3->compression + unaff_s0->columns + extent)" ( (binary_expression "(int)&unaff_s3->compression + unaff_s0->columns + extent" (binary_expression "(int)&unaff_s3->compression + unaff_s0->columns" (cast_expression "(int)&unaff_s3->compression" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&unaff_s3->compression" & (field_expression "unaff_s3->compression" identifier -> field_identifier))) + (field_expression "unaff_s0->columns" identifier -> field_identifier)) + identifier) )))) )) ;) })) (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3)" (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 "(unaff_s3)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(pIVar9)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar9)" ( identifier ))) ;) (if_statement "if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar32 = 0x4fc;" (assignment_expression "uVar32 = 0x4fc" identifier = number_literal) ;) (expression_statement "unaff_s7 = pIVar9;" (assignment_expression "unaff_s7 = pIVar9" identifier = identifier) ;) (labeled_statement "LAB_0027504c:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;" statement_identifier : (expression_statement "puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;" (assignment_expression "puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier + number_literal)) ;)) (expression_statement "uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);" (assignment_expression "uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename)" identifier = (call_expression "CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename)" identifier (argument_list "(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename)" ( (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal) , (field_expression "local_10d0->filename" identifier -> field_identifier) )))) ;) (expression_statement "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;" (assignment_expression "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier + number_literal)) ;) (expression_statement "puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;" (assignment_expression "puVar15 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8" identifier + number_literal)) ;) (expression_statement "pIVar9 = unaff_s7;" (assignment_expression "pIVar9 = unaff_s7" identifier = identifier) ;) }))) (goto_statement "goto LAB_0027507c;" goto statement_identifier ;) })) (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(pIVar9)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar9)" ( identifier ))) ;) (if_statement "if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar32 = 0x4db;" (assignment_expression "uVar32 = 0x4db" identifier = number_literal) ;) (expression_statement "unaff_s7 = pIVar9;" (assignment_expression "unaff_s7 = pIVar9" identifier = identifier) ;) }))) (goto_statement "goto LAB_002757bc;" goto statement_identifier ;) })) (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(pIVar9);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(pIVar9)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar9)" ( identifier ))) ;) (if_statement "if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar32 = 0x4d7;" (assignment_expression "uVar32 = 0x4d7" identifier = number_literal) ;) (expression_statement "unaff_s7 = pIVar9;" (assignment_expression "unaff_s7 = pIVar9" identifier = identifier) ;) (goto_statement "goto LAB_00275880;" goto statement_identifier ;) })) (if_statement "if (unaff_s3 != (ImageInfo *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }" if (parenthesized_expression "(unaff_s3 != (ImageInfo *)0x0)" ( (binary_expression "unaff_s3 != (ImageInfo *)0x0" identifier != (cast_expression "(ImageInfo *)0x0" ( (type_descriptor "ImageInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3)" ( identifier ))) ;) })) (if_statement "if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar32 = 0x491;" (assignment_expression "uVar32 = 0x491" identifier = number_literal) ;) (labeled_statement "LAB_002757bc:\n                puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;" statement_identifier : (expression_statement "puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;" (assignment_expression "puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier + number_literal)) ;)) (expression_statement "uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);" (assignment_expression "uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename)" identifier = (call_expression "CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename)" identifier (argument_list "(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename)" ( (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal) , (field_expression "local_10d0->filename" identifier -> field_identifier) )))) ;) (expression_statement "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;" (assignment_expression "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier + number_literal)) ;) (expression_statement "puVar15 = PTR_s_courses_003a88ec + -400;" (assignment_expression "puVar15 = PTR_s_courses_003a88ec + -400" identifier = (binary_expression "PTR_s_courses_003a88ec + -400" identifier + number_literal)) ;) (expression_statement "pIVar9 = unaff_s7;" (assignment_expression "pIVar9 = unaff_s7" identifier = identifier) ;) (labeled_statement "LAB_0027507c:\n                uVar11 = 0x1a9;" statement_identifier : (expression_statement "uVar11 = 0x1a9;" (assignment_expression "uVar11 = 0x1a9" identifier = number_literal) ;)) (expression_statement "unaff_s7 = pIVar9;" (assignment_expression "unaff_s7 = pIVar9" identifier = identifier) ;) (labeled_statement "LAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar25,puVar30,uVar32,uVar11,puVar15,uVar44);" statement_identifier : (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar25,puVar30,uVar32,uVar11,puVar15,uVar44);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar25,puVar30,uVar32,uVar11,puVar15,uVar44)" (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_10d8,puVar25,puVar30,uVar32,uVar11,puVar15,uVar44)" ( identifier , identifier , identifier , identifier , identifier , identifier , identifier ))) ;)) (labeled_statement "LAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);" statement_identifier : (expression_statement "(*(code *)PTR_CloseBlob_003a9688)(unaff_s0);" (call_expression "(*(code *)PTR_CloseBlob_003a9688)(unaff_s0)" (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 "(unaff_s0)" ( identifier ))) ;)) (expression_statement "(*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);" (call_expression "(*(code *)PTR_DestroyImageList_003a9510)(unaff_s0)" (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 "(unaff_s0)" ( identifier ))) ;) (labeled_statement "LAB_00274224:\n                pIVar8 = (Image *)0x0;" statement_identifier : (expression_statement "pIVar8 = (Image *)0x0;" (assignment_expression "pIVar8 = (Image *)0x0" identifier = (cast_expression "(Image *)0x0" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;)) (goto_statement "goto LAB_00274228;" goto statement_identifier ;) })) (if_statement "if (unaff_s0->debug != MagickFalse) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3);\n              }" if (parenthesized_expression "(unaff_s0->debug != MagickFalse)" ( (binary_expression "unaff_s0->debug != MagickFalse" (field_expression "unaff_s0->debug" identifier -> field_identifier) != identifier) )) (compound_statement "{\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3);\n              }" { (expression_statement "(*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3);" (call_expression "(*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3)" (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 "(0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3)" ( number_literal , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier + number_literal) , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier + number_literal) , number_literal ))) ;) })) (if_statement "if (unaff_s7 != (Image *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7[-1].magick + 0xfe8) {\nLAB_00274594:\n                  if ((char *)0xff < unaff_s7[-3].magick_filename + 0x848) {\n                    if (unaff_s7 == (Image *)0x8200) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                        if (unaff_s3 != (ImageInfo *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar32 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar6 = 6;\n                      if (0x9a < uVar36) {\n                        do {\n                          iVar6 = iVar6 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar6 != 0);\n                        MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                        if (MVar7 == MagickFalse) {\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x5c8;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\nLAB_00275b88:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_courses_003a88ec + -400;\n                          uVar11 = 0x1a9;\n                        }\n                        else {\n                          iVar6 = 0x7a;\n                          do {\n                            iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar16 == -1) break;\n                            iVar6 = iVar6 + -1;\n                          } while (iVar6 != 0);\n                          iVar6 = uVar36 - 0x9a;\n                          pIVar8 = (Image *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar6,1);\n                          pcVar10 = local_10d0->filename;\n                          if (pIVar8 != (Image *)0x0) {\n                            uVar32 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar6,pIVar8,&destination);\n                            if (destination._0_4_ == iVar6) {\n                              iVar6 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar6 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pcVar10);\n                              unaff_s3 = (ImageInfo *)\n                                         (*(code *)PTR_BlobToImage_003a9330)\n                                                   (iVar6,uVar32,destination._0_4_,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar6);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x5d5;\n                            uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                            unaff_s7 = pIVar8;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x5d0;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar11 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        pcVar10 = unaff_s3->size;\n                        if (pcVar10 < (char *)unaff_s0->columns) {\n                          pcVar10 = (char *)unaff_s0->columns;\n                        }\n                        dVar40 = (double)(int)pcVar10;\n                        if ((int)pcVar10 < 0) {\n                          dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        pcVar24 = (char *)unaff_s0->rows;\n                        pcVar10 = unaff_s3->extract;\n                        if (pcVar10 < pcVar24) {\n                          in_f2_3 = (double)(int)pcVar24;\n                          if ((int)pcVar24 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)pcVar10;\n                          if ((int)pcVar10 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (geometry,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        pcVar10 = (char *)unaff_s0->columns;\n                        if ((char *)unaff_s0->columns <= unaff_s3->size) {\n                          pcVar10 = unaff_s3->size;\n                        }\n                        pcVar24 = unaff_s3->extract;\n                        if (unaff_s3->extract < (char *)unaff_s0->rows) {\n                          pcVar24 = (char *)unaff_s0->rows;\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,pcVar10,pcVar24,local_10d8,dVar40,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,unaff_s3->orientation,local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,unaff_s3,0xd,1);\n                        puVar15 = PTR_DestroyImage_003a8f4c;\n                        unaff_s0->compression = unaff_s3->temporary;\n                        unaff_s3 = (ImageInfo *)(*(code *)puVar15)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pIVar35 = unaff_s3;\n                    pIVar9 = unaff_s7;\n                    if ((unaff_s7 == (Image *)0xff) ||\n                       (pIVar35 = unaff_s3, unaff_s7 == (Image *)0xffff)) goto LAB_00274430;\n                    if ((unaff_s7[-1].magick + 0xfc8 < (char *)0x2f) ||\n                       (unaff_s7[-3].magick_filename + 0x748 < (char *)0x7f00)) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44)) {\n                        if (uVar36 != 0) {\n                          uVar37 = 0;\n                          do {\n                            iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar6 == -1) break;\n                            uVar37 = uVar37 + 1;\n                          } while (uVar36 != uVar37);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x5f8;\n                    }\n                    else {\n                      if ((char *)0x7eff < unaff_s7[-1].magick + 0xf98) goto LAB_002744b8;\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar44)) {\n                        uVar36 = 0;\n                        do {\n                          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar6 == -1) break;\n                          uVar36 = uVar36 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar36);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x606;\n                    }\nLAB_00275880:\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_s_courses_003a88ec + 0x4a0;\n                    pIVar9 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }" if (parenthesized_expression "(unaff_s7 != (Image *)0xc00)" ( (binary_expression "unaff_s7 != (Image *)0xc00" identifier != (cast_expression "(Image *)0xc00" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7[-1].magick + 0xfe8) {\nLAB_00274594:\n                  if ((char *)0xff < unaff_s7[-3].magick_filename + 0x848) {\n                    if (unaff_s7 == (Image *)0x8200) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                        if (unaff_s3 != (ImageInfo *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar32 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar6 = 6;\n                      if (0x9a < uVar36) {\n                        do {\n                          iVar6 = iVar6 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar6 != 0);\n                        MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                        if (MVar7 == MagickFalse) {\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x5c8;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\nLAB_00275b88:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_courses_003a88ec + -400;\n                          uVar11 = 0x1a9;\n                        }\n                        else {\n                          iVar6 = 0x7a;\n                          do {\n                            iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar16 == -1) break;\n                            iVar6 = iVar6 + -1;\n                          } while (iVar6 != 0);\n                          iVar6 = uVar36 - 0x9a;\n                          pIVar8 = (Image *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar6,1);\n                          pcVar10 = local_10d0->filename;\n                          if (pIVar8 != (Image *)0x0) {\n                            uVar32 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar6,pIVar8,&destination);\n                            if (destination._0_4_ == iVar6) {\n                              iVar6 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar6 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pcVar10);\n                              unaff_s3 = (ImageInfo *)\n                                         (*(code *)PTR_BlobToImage_003a9330)\n                                                   (iVar6,uVar32,destination._0_4_,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar6);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x5d5;\n                            uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                            unaff_s7 = pIVar8;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x5d0;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar11 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        pcVar10 = unaff_s3->size;\n                        if (pcVar10 < (char *)unaff_s0->columns) {\n                          pcVar10 = (char *)unaff_s0->columns;\n                        }\n                        dVar40 = (double)(int)pcVar10;\n                        if ((int)pcVar10 < 0) {\n                          dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        pcVar24 = (char *)unaff_s0->rows;\n                        pcVar10 = unaff_s3->extract;\n                        if (pcVar10 < pcVar24) {\n                          in_f2_3 = (double)(int)pcVar24;\n                          if ((int)pcVar24 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)pcVar10;\n                          if ((int)pcVar10 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (geometry,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        pcVar10 = (char *)unaff_s0->columns;\n                        if ((char *)unaff_s0->columns <= unaff_s3->size) {\n                          pcVar10 = unaff_s3->size;\n                        }\n                        pcVar24 = unaff_s3->extract;\n                        if (unaff_s3->extract < (char *)unaff_s0->rows) {\n                          pcVar24 = (char *)unaff_s0->rows;\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,pcVar10,pcVar24,local_10d8,dVar40,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,unaff_s3->orientation,local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,unaff_s3,0xd,1);\n                        puVar15 = PTR_DestroyImage_003a8f4c;\n                        unaff_s0->compression = unaff_s3->temporary;\n                        unaff_s3 = (ImageInfo *)(*(code *)puVar15)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pIVar35 = unaff_s3;\n                    pIVar9 = unaff_s7;\n                    if ((unaff_s7 == (Image *)0xff) ||\n                       (pIVar35 = unaff_s3, unaff_s7 == (Image *)0xffff)) goto LAB_00274430;\n                    if ((unaff_s7[-1].magick + 0xfc8 < (char *)0x2f) ||\n                       (unaff_s7[-3].magick_filename + 0x748 < (char *)0x7f00)) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44)) {\n                        if (uVar36 != 0) {\n                          uVar37 = 0;\n                          do {\n                            iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar6 == -1) break;\n                            uVar37 = uVar37 + 1;\n                          } while (uVar36 != uVar37);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x5f8;\n                    }\n                    else {\n                      if ((char *)0x7eff < unaff_s7[-1].magick + 0xf98) goto LAB_002744b8;\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar44)) {\n                        uVar36 = 0;\n                        do {\n                          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar6 == -1) break;\n                          uVar36 = uVar36 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar36);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x606;\n                    }\nLAB_00275880:\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_s_courses_003a88ec + 0x4a0;\n                    pIVar9 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }" { (labeled_statement "LAB_00274584:\n                if (&DAT_0000001f < unaff_s7[-1].magick + 0xfe8) {\nLAB_00274594:\n                  if ((char *)0xff < unaff_s7[-3].magick_filename + 0x848) {\n                    if (unaff_s7 == (Image *)0x8200) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                        if (unaff_s3 != (ImageInfo *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar32 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar6 = 6;\n                      if (0x9a < uVar36) {\n                        do {\n                          iVar6 = iVar6 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar6 != 0);\n                        MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                        if (MVar7 == MagickFalse) {\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x5c8;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\nLAB_00275b88:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_courses_003a88ec + -400;\n                          uVar11 = 0x1a9;\n                        }\n                        else {\n                          iVar6 = 0x7a;\n                          do {\n                            iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar16 == -1) break;\n                            iVar6 = iVar6 + -1;\n                          } while (iVar6 != 0);\n                          iVar6 = uVar36 - 0x9a;\n                          pIVar8 = (Image *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar6,1);\n                          pcVar10 = local_10d0->filename;\n                          if (pIVar8 != (Image *)0x0) {\n                            uVar32 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar6,pIVar8,&destination);\n                            if (destination._0_4_ == iVar6) {\n                              iVar6 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar6 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pcVar10);\n                              unaff_s3 = (ImageInfo *)\n                                         (*(code *)PTR_BlobToImage_003a9330)\n                                                   (iVar6,uVar32,destination._0_4_,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar6);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x5d5;\n                            uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                            unaff_s7 = pIVar8;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x5d0;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar11 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        pcVar10 = unaff_s3->size;\n                        if (pcVar10 < (char *)unaff_s0->columns) {\n                          pcVar10 = (char *)unaff_s0->columns;\n                        }\n                        dVar40 = (double)(int)pcVar10;\n                        if ((int)pcVar10 < 0) {\n                          dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        pcVar24 = (char *)unaff_s0->rows;\n                        pcVar10 = unaff_s3->extract;\n                        if (pcVar10 < pcVar24) {\n                          in_f2_3 = (double)(int)pcVar24;\n                          if ((int)pcVar24 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)pcVar10;\n                          if ((int)pcVar10 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (geometry,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        pcVar10 = (char *)unaff_s0->columns;\n                        if ((char *)unaff_s0->columns <= unaff_s3->size) {\n                          pcVar10 = unaff_s3->size;\n                        }\n                        pcVar24 = unaff_s3->extract;\n                        if (unaff_s3->extract < (char *)unaff_s0->rows) {\n                          pcVar24 = (char *)unaff_s0->rows;\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,pcVar10,pcVar24,local_10d8,dVar40,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,unaff_s3->orientation,local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,unaff_s3,0xd,1);\n                        puVar15 = PTR_DestroyImage_003a8f4c;\n                        unaff_s0->compression = unaff_s3->temporary;\n                        unaff_s3 = (ImageInfo *)(*(code *)puVar15)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pIVar35 = unaff_s3;\n                    pIVar9 = unaff_s7;\n                    if ((unaff_s7 == (Image *)0xff) ||\n                       (pIVar35 = unaff_s3, unaff_s7 == (Image *)0xffff)) goto LAB_00274430;\n                    if ((unaff_s7[-1].magick + 0xfc8 < (char *)0x2f) ||\n                       (unaff_s7[-3].magick_filename + 0x748 < (char *)0x7f00)) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44)) {\n                        if (uVar36 != 0) {\n                          uVar37 = 0;\n                          do {\n                            iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar6 == -1) break;\n                            uVar37 = uVar37 + 1;\n                          } while (uVar36 != uVar37);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x5f8;\n                    }\n                    else {\n                      if ((char *)0x7eff < unaff_s7[-1].magick + 0xf98) goto LAB_002744b8;\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar44)) {\n                        uVar36 = 0;\n                        do {\n                          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar6 == -1) break;\n                          uVar36 = uVar36 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar36);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x606;\n                    }\nLAB_00275880:\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_s_courses_003a88ec + 0x4a0;\n                    pIVar9 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }" statement_identifier : (if_statement "if (&DAT_0000001f < unaff_s7[-1].magick + 0xfe8) {\nLAB_00274594:\n                  if ((char *)0xff < unaff_s7[-3].magick_filename + 0x848) {\n                    if (unaff_s7 == (Image *)0x8200) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                        if (unaff_s3 != (ImageInfo *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar32 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar6 = 6;\n                      if (0x9a < uVar36) {\n                        do {\n                          iVar6 = iVar6 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar6 != 0);\n                        MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                        if (MVar7 == MagickFalse) {\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x5c8;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\nLAB_00275b88:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_courses_003a88ec + -400;\n                          uVar11 = 0x1a9;\n                        }\n                        else {\n                          iVar6 = 0x7a;\n                          do {\n                            iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar16 == -1) break;\n                            iVar6 = iVar6 + -1;\n                          } while (iVar6 != 0);\n                          iVar6 = uVar36 - 0x9a;\n                          pIVar8 = (Image *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar6,1);\n                          pcVar10 = local_10d0->filename;\n                          if (pIVar8 != (Image *)0x0) {\n                            uVar32 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar6,pIVar8,&destination);\n                            if (destination._0_4_ == iVar6) {\n                              iVar6 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar6 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pcVar10);\n                              unaff_s3 = (ImageInfo *)\n                                         (*(code *)PTR_BlobToImage_003a9330)\n                                                   (iVar6,uVar32,destination._0_4_,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar6);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x5d5;\n                            uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                            unaff_s7 = pIVar8;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x5d0;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar11 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        pcVar10 = unaff_s3->size;\n                        if (pcVar10 < (char *)unaff_s0->columns) {\n                          pcVar10 = (char *)unaff_s0->columns;\n                        }\n                        dVar40 = (double)(int)pcVar10;\n                        if ((int)pcVar10 < 0) {\n                          dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        pcVar24 = (char *)unaff_s0->rows;\n                        pcVar10 = unaff_s3->extract;\n                        if (pcVar10 < pcVar24) {\n                          in_f2_3 = (double)(int)pcVar24;\n                          if ((int)pcVar24 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)pcVar10;\n                          if ((int)pcVar10 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (geometry,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        pcVar10 = (char *)unaff_s0->columns;\n                        if ((char *)unaff_s0->columns <= unaff_s3->size) {\n                          pcVar10 = unaff_s3->size;\n                        }\n                        pcVar24 = unaff_s3->extract;\n                        if (unaff_s3->extract < (char *)unaff_s0->rows) {\n                          pcVar24 = (char *)unaff_s0->rows;\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,pcVar10,pcVar24,local_10d8,dVar40,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,unaff_s3->orientation,local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,unaff_s3,0xd,1);\n                        puVar15 = PTR_DestroyImage_003a8f4c;\n                        unaff_s0->compression = unaff_s3->temporary;\n                        unaff_s3 = (ImageInfo *)(*(code *)puVar15)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pIVar35 = unaff_s3;\n                    pIVar9 = unaff_s7;\n                    if ((unaff_s7 == (Image *)0xff) ||\n                       (pIVar35 = unaff_s3, unaff_s7 == (Image *)0xffff)) goto LAB_00274430;\n                    if ((unaff_s7[-1].magick + 0xfc8 < (char *)0x2f) ||\n                       (unaff_s7[-3].magick_filename + 0x748 < (char *)0x7f00)) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44)) {\n                        if (uVar36 != 0) {\n                          uVar37 = 0;\n                          do {\n                            iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar6 == -1) break;\n                            uVar37 = uVar37 + 1;\n                          } while (uVar36 != uVar37);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x5f8;\n                    }\n                    else {\n                      if ((char *)0x7eff < unaff_s7[-1].magick + 0xf98) goto LAB_002744b8;\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar44)) {\n                        uVar36 = 0;\n                        do {\n                          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar6 == -1) break;\n                          uVar36 = uVar36 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar36);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x606;\n                    }\nLAB_00275880:\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_s_courses_003a88ec + 0x4a0;\n                    pIVar9 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }" if (parenthesized_expression "(&DAT_0000001f < unaff_s7[-1].magick + 0xfe8)" ( (binary_expression "&DAT_0000001f < unaff_s7[-1].magick + 0xfe8" (pointer_expression "&DAT_0000001f" & identifier) < (binary_expression "unaff_s7[-1].magick + 0xfe8" (field_expression "unaff_s7[-1].magick" (subscript_expression "unaff_s7[-1]" identifier [ number_literal ]) . field_identifier) + number_literal)) )) (compound_statement "{\nLAB_00274594:\n                  if ((char *)0xff < unaff_s7[-3].magick_filename + 0x848) {\n                    if (unaff_s7 == (Image *)0x8200) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                        if (unaff_s3 != (ImageInfo *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar32 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar6 = 6;\n                      if (0x9a < uVar36) {\n                        do {\n                          iVar6 = iVar6 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar6 != 0);\n                        MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                        if (MVar7 == MagickFalse) {\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x5c8;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\nLAB_00275b88:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_courses_003a88ec + -400;\n                          uVar11 = 0x1a9;\n                        }\n                        else {\n                          iVar6 = 0x7a;\n                          do {\n                            iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar16 == -1) break;\n                            iVar6 = iVar6 + -1;\n                          } while (iVar6 != 0);\n                          iVar6 = uVar36 - 0x9a;\n                          pIVar8 = (Image *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar6,1);\n                          pcVar10 = local_10d0->filename;\n                          if (pIVar8 != (Image *)0x0) {\n                            uVar32 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar6,pIVar8,&destination);\n                            if (destination._0_4_ == iVar6) {\n                              iVar6 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar6 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pcVar10);\n                              unaff_s3 = (ImageInfo *)\n                                         (*(code *)PTR_BlobToImage_003a9330)\n                                                   (iVar6,uVar32,destination._0_4_,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar6);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x5d5;\n                            uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                            unaff_s7 = pIVar8;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x5d0;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar11 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        pcVar10 = unaff_s3->size;\n                        if (pcVar10 < (char *)unaff_s0->columns) {\n                          pcVar10 = (char *)unaff_s0->columns;\n                        }\n                        dVar40 = (double)(int)pcVar10;\n                        if ((int)pcVar10 < 0) {\n                          dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        pcVar24 = (char *)unaff_s0->rows;\n                        pcVar10 = unaff_s3->extract;\n                        if (pcVar10 < pcVar24) {\n                          in_f2_3 = (double)(int)pcVar24;\n                          if ((int)pcVar24 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)pcVar10;\n                          if ((int)pcVar10 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (geometry,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        pcVar10 = (char *)unaff_s0->columns;\n                        if ((char *)unaff_s0->columns <= unaff_s3->size) {\n                          pcVar10 = unaff_s3->size;\n                        }\n                        pcVar24 = unaff_s3->extract;\n                        if (unaff_s3->extract < (char *)unaff_s0->rows) {\n                          pcVar24 = (char *)unaff_s0->rows;\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,pcVar10,pcVar24,local_10d8,dVar40,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,unaff_s3->orientation,local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,unaff_s3,0xd,1);\n                        puVar15 = PTR_DestroyImage_003a8f4c;\n                        unaff_s0->compression = unaff_s3->temporary;\n                        unaff_s3 = (ImageInfo *)(*(code *)puVar15)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pIVar35 = unaff_s3;\n                    pIVar9 = unaff_s7;\n                    if ((unaff_s7 == (Image *)0xff) ||\n                       (pIVar35 = unaff_s3, unaff_s7 == (Image *)0xffff)) goto LAB_00274430;\n                    if ((unaff_s7[-1].magick + 0xfc8 < (char *)0x2f) ||\n                       (unaff_s7[-3].magick_filename + 0x748 < (char *)0x7f00)) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44)) {\n                        if (uVar36 != 0) {\n                          uVar37 = 0;\n                          do {\n                            iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar6 == -1) break;\n                            uVar37 = uVar37 + 1;\n                          } while (uVar36 != uVar37);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x5f8;\n                    }\n                    else {\n                      if ((char *)0x7eff < unaff_s7[-1].magick + 0xf98) goto LAB_002744b8;\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar44)) {\n                        uVar36 = 0;\n                        do {\n                          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar6 == -1) break;\n                          uVar36 = uVar36 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar36);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x606;\n                    }\nLAB_00275880:\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_s_courses_003a88ec + 0x4a0;\n                    pIVar9 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }" { (labeled_statement "LAB_00274594:\n                  if ((char *)0xff < unaff_s7[-3].magick_filename + 0x848) {\n                    if (unaff_s7 == (Image *)0x8200) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                        if (unaff_s3 != (ImageInfo *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar32 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar6 = 6;\n                      if (0x9a < uVar36) {\n                        do {\n                          iVar6 = iVar6 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar6 != 0);\n                        MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                        if (MVar7 == MagickFalse) {\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x5c8;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\nLAB_00275b88:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_courses_003a88ec + -400;\n                          uVar11 = 0x1a9;\n                        }\n                        else {\n                          iVar6 = 0x7a;\n                          do {\n                            iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar16 == -1) break;\n                            iVar6 = iVar6 + -1;\n                          } while (iVar6 != 0);\n                          iVar6 = uVar36 - 0x9a;\n                          pIVar8 = (Image *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar6,1);\n                          pcVar10 = local_10d0->filename;\n                          if (pIVar8 != (Image *)0x0) {\n                            uVar32 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar6,pIVar8,&destination);\n                            if (destination._0_4_ == iVar6) {\n                              iVar6 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar6 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pcVar10);\n                              unaff_s3 = (ImageInfo *)\n                                         (*(code *)PTR_BlobToImage_003a9330)\n                                                   (iVar6,uVar32,destination._0_4_,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar6);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x5d5;\n                            uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                            unaff_s7 = pIVar8;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x5d0;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar11 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        pcVar10 = unaff_s3->size;\n                        if (pcVar10 < (char *)unaff_s0->columns) {\n                          pcVar10 = (char *)unaff_s0->columns;\n                        }\n                        dVar40 = (double)(int)pcVar10;\n                        if ((int)pcVar10 < 0) {\n                          dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        pcVar24 = (char *)unaff_s0->rows;\n                        pcVar10 = unaff_s3->extract;\n                        if (pcVar10 < pcVar24) {\n                          in_f2_3 = (double)(int)pcVar24;\n                          if ((int)pcVar24 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)pcVar10;\n                          if ((int)pcVar10 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (geometry,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        pcVar10 = (char *)unaff_s0->columns;\n                        if ((char *)unaff_s0->columns <= unaff_s3->size) {\n                          pcVar10 = unaff_s3->size;\n                        }\n                        pcVar24 = unaff_s3->extract;\n                        if (unaff_s3->extract < (char *)unaff_s0->rows) {\n                          pcVar24 = (char *)unaff_s0->rows;\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,pcVar10,pcVar24,local_10d8,dVar40,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,unaff_s3->orientation,local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,unaff_s3,0xd,1);\n                        puVar15 = PTR_DestroyImage_003a8f4c;\n                        unaff_s0->compression = unaff_s3->temporary;\n                        unaff_s3 = (ImageInfo *)(*(code *)puVar15)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pIVar35 = unaff_s3;\n                    pIVar9 = unaff_s7;\n                    if ((unaff_s7 == (Image *)0xff) ||\n                       (pIVar35 = unaff_s3, unaff_s7 == (Image *)0xffff)) goto LAB_00274430;\n                    if ((unaff_s7[-1].magick + 0xfc8 < (char *)0x2f) ||\n                       (unaff_s7[-3].magick_filename + 0x748 < (char *)0x7f00)) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44)) {\n                        if (uVar36 != 0) {\n                          uVar37 = 0;\n                          do {\n                            iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar6 == -1) break;\n                            uVar37 = uVar37 + 1;\n                          } while (uVar36 != uVar37);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x5f8;\n                    }\n                    else {\n                      if ((char *)0x7eff < unaff_s7[-1].magick + 0xf98) goto LAB_002744b8;\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar44)) {\n                        uVar36 = 0;\n                        do {\n                          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar6 == -1) break;\n                          uVar36 = uVar36 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar36);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x606;\n                    }\nLAB_00275880:\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_s_courses_003a88ec + 0x4a0;\n                    pIVar9 = unaff_s7;\n                    goto LAB_0027507c;\n                  }" statement_identifier : (if_statement "if ((char *)0xff < unaff_s7[-3].magick_filename + 0x848) {\n                    if (unaff_s7 == (Image *)0x8200) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                        if (unaff_s3 != (ImageInfo *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar32 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar6 = 6;\n                      if (0x9a < uVar36) {\n                        do {\n                          iVar6 = iVar6 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar6 != 0);\n                        MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                        if (MVar7 == MagickFalse) {\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x5c8;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\nLAB_00275b88:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_courses_003a88ec + -400;\n                          uVar11 = 0x1a9;\n                        }\n                        else {\n                          iVar6 = 0x7a;\n                          do {\n                            iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar16 == -1) break;\n                            iVar6 = iVar6 + -1;\n                          } while (iVar6 != 0);\n                          iVar6 = uVar36 - 0x9a;\n                          pIVar8 = (Image *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar6,1);\n                          pcVar10 = local_10d0->filename;\n                          if (pIVar8 != (Image *)0x0) {\n                            uVar32 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar6,pIVar8,&destination);\n                            if (destination._0_4_ == iVar6) {\n                              iVar6 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar6 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pcVar10);\n                              unaff_s3 = (ImageInfo *)\n                                         (*(code *)PTR_BlobToImage_003a9330)\n                                                   (iVar6,uVar32,destination._0_4_,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar6);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x5d5;\n                            uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                            unaff_s7 = pIVar8;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x5d0;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar11 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        pcVar10 = unaff_s3->size;\n                        if (pcVar10 < (char *)unaff_s0->columns) {\n                          pcVar10 = (char *)unaff_s0->columns;\n                        }\n                        dVar40 = (double)(int)pcVar10;\n                        if ((int)pcVar10 < 0) {\n                          dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        pcVar24 = (char *)unaff_s0->rows;\n                        pcVar10 = unaff_s3->extract;\n                        if (pcVar10 < pcVar24) {\n                          in_f2_3 = (double)(int)pcVar24;\n                          if ((int)pcVar24 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)pcVar10;\n                          if ((int)pcVar10 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (geometry,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        pcVar10 = (char *)unaff_s0->columns;\n                        if ((char *)unaff_s0->columns <= unaff_s3->size) {\n                          pcVar10 = unaff_s3->size;\n                        }\n                        pcVar24 = unaff_s3->extract;\n                        if (unaff_s3->extract < (char *)unaff_s0->rows) {\n                          pcVar24 = (char *)unaff_s0->rows;\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,pcVar10,pcVar24,local_10d8,dVar40,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,unaff_s3->orientation,local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,unaff_s3,0xd,1);\n                        puVar15 = PTR_DestroyImage_003a8f4c;\n                        unaff_s0->compression = unaff_s3->temporary;\n                        unaff_s3 = (ImageInfo *)(*(code *)puVar15)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pIVar35 = unaff_s3;\n                    pIVar9 = unaff_s7;\n                    if ((unaff_s7 == (Image *)0xff) ||\n                       (pIVar35 = unaff_s3, unaff_s7 == (Image *)0xffff)) goto LAB_00274430;\n                    if ((unaff_s7[-1].magick + 0xfc8 < (char *)0x2f) ||\n                       (unaff_s7[-3].magick_filename + 0x748 < (char *)0x7f00)) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44)) {\n                        if (uVar36 != 0) {\n                          uVar37 = 0;\n                          do {\n                            iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar6 == -1) break;\n                            uVar37 = uVar37 + 1;\n                          } while (uVar36 != uVar37);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x5f8;\n                    }\n                    else {\n                      if ((char *)0x7eff < unaff_s7[-1].magick + 0xf98) goto LAB_002744b8;\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar44)) {\n                        uVar36 = 0;\n                        do {\n                          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar6 == -1) break;\n                          uVar36 = uVar36 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar36);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x606;\n                    }\nLAB_00275880:\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_s_courses_003a88ec + 0x4a0;\n                    pIVar9 = unaff_s7;\n                    goto LAB_0027507c;\n                  }" if (parenthesized_expression "((char *)0xff < unaff_s7[-3].magick_filename + 0x848)" ( (binary_expression "(char *)0xff < unaff_s7[-3].magick_filename + 0x848" (cast_expression "(char *)0xff" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) < (binary_expression "unaff_s7[-3].magick_filename + 0x848" (field_expression "unaff_s7[-3].magick_filename" (subscript_expression "unaff_s7[-3]" identifier [ number_literal ]) . field_identifier) + number_literal)) )) (compound_statement "{\n                    if (unaff_s7 == (Image *)0x8200) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                        if (unaff_s3 != (ImageInfo *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar32 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar6 = 6;\n                      if (0x9a < uVar36) {\n                        do {\n                          iVar6 = iVar6 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar6 != 0);\n                        MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                        if (MVar7 == MagickFalse) {\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x5c8;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\nLAB_00275b88:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_courses_003a88ec + -400;\n                          uVar11 = 0x1a9;\n                        }\n                        else {\n                          iVar6 = 0x7a;\n                          do {\n                            iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar16 == -1) break;\n                            iVar6 = iVar6 + -1;\n                          } while (iVar6 != 0);\n                          iVar6 = uVar36 - 0x9a;\n                          pIVar8 = (Image *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar6,1);\n                          pcVar10 = local_10d0->filename;\n                          if (pIVar8 != (Image *)0x0) {\n                            uVar32 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar6,pIVar8,&destination);\n                            if (destination._0_4_ == iVar6) {\n                              iVar6 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar6 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pcVar10);\n                              unaff_s3 = (ImageInfo *)\n                                         (*(code *)PTR_BlobToImage_003a9330)\n                                                   (iVar6,uVar32,destination._0_4_,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar6);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x5d5;\n                            uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                            unaff_s7 = pIVar8;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x5d0;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar11 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        pcVar10 = unaff_s3->size;\n                        if (pcVar10 < (char *)unaff_s0->columns) {\n                          pcVar10 = (char *)unaff_s0->columns;\n                        }\n                        dVar40 = (double)(int)pcVar10;\n                        if ((int)pcVar10 < 0) {\n                          dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        pcVar24 = (char *)unaff_s0->rows;\n                        pcVar10 = unaff_s3->extract;\n                        if (pcVar10 < pcVar24) {\n                          in_f2_3 = (double)(int)pcVar24;\n                          if ((int)pcVar24 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)pcVar10;\n                          if ((int)pcVar10 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (geometry,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        pcVar10 = (char *)unaff_s0->columns;\n                        if ((char *)unaff_s0->columns <= unaff_s3->size) {\n                          pcVar10 = unaff_s3->size;\n                        }\n                        pcVar24 = unaff_s3->extract;\n                        if (unaff_s3->extract < (char *)unaff_s0->rows) {\n                          pcVar24 = (char *)unaff_s0->rows;\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,pcVar10,pcVar24,local_10d8,dVar40,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,unaff_s3->orientation,local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,unaff_s3,0xd,1);\n                        puVar15 = PTR_DestroyImage_003a8f4c;\n                        unaff_s0->compression = unaff_s3->temporary;\n                        unaff_s3 = (ImageInfo *)(*(code *)puVar15)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pIVar35 = unaff_s3;\n                    pIVar9 = unaff_s7;\n                    if ((unaff_s7 == (Image *)0xff) ||\n                       (pIVar35 = unaff_s3, unaff_s7 == (Image *)0xffff)) goto LAB_00274430;\n                    if ((unaff_s7[-1].magick + 0xfc8 < (char *)0x2f) ||\n                       (unaff_s7[-3].magick_filename + 0x748 < (char *)0x7f00)) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44)) {\n                        if (uVar36 != 0) {\n                          uVar37 = 0;\n                          do {\n                            iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar6 == -1) break;\n                            uVar37 = uVar37 + 1;\n                          } while (uVar36 != uVar37);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x5f8;\n                    }\n                    else {\n                      if ((char *)0x7eff < unaff_s7[-1].magick + 0xf98) goto LAB_002744b8;\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar44)) {\n                        uVar36 = 0;\n                        do {\n                          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar6 == -1) break;\n                          uVar36 = uVar36 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar36);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x606;\n                    }\nLAB_00275880:\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar15 = PTR_s_courses_003a88ec + 0x4a0;\n                    pIVar9 = unaff_s7;\n                    goto LAB_0027507c;\n                  }" { (if_statement "if (unaff_s7 == (Image *)0x8200) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                        if (unaff_s3 != (ImageInfo *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar32 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar6 = 6;\n                      if (0x9a < uVar36) {\n                        do {\n                          iVar6 = iVar6 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar6 != 0);\n                        MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                        if (MVar7 == MagickFalse) {\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x5c8;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\nLAB_00275b88:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_courses_003a88ec + -400;\n                          uVar11 = 0x1a9;\n                        }\n                        else {\n                          iVar6 = 0x7a;\n                          do {\n                            iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar16 == -1) break;\n                            iVar6 = iVar6 + -1;\n                          } while (iVar6 != 0);\n                          iVar6 = uVar36 - 0x9a;\n                          pIVar8 = (Image *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar6,1);\n                          pcVar10 = local_10d0->filename;\n                          if (pIVar8 != (Image *)0x0) {\n                            uVar32 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar6,pIVar8,&destination);\n                            if (destination._0_4_ == iVar6) {\n                              iVar6 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar6 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pcVar10);\n                              unaff_s3 = (ImageInfo *)\n                                         (*(code *)PTR_BlobToImage_003a9330)\n                                                   (iVar6,uVar32,destination._0_4_,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar6);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x5d5;\n                            uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                            unaff_s7 = pIVar8;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x5d0;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar11 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        pcVar10 = unaff_s3->size;\n                        if (pcVar10 < (char *)unaff_s0->columns) {\n                          pcVar10 = (char *)unaff_s0->columns;\n                        }\n                        dVar40 = (double)(int)pcVar10;\n                        if ((int)pcVar10 < 0) {\n                          dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        pcVar24 = (char *)unaff_s0->rows;\n                        pcVar10 = unaff_s3->extract;\n                        if (pcVar10 < pcVar24) {\n                          in_f2_3 = (double)(int)pcVar24;\n                          if ((int)pcVar24 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)pcVar10;\n                          if ((int)pcVar10 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (geometry,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        pcVar10 = (char *)unaff_s0->columns;\n                        if ((char *)unaff_s0->columns <= unaff_s3->size) {\n                          pcVar10 = unaff_s3->size;\n                        }\n                        pcVar24 = unaff_s3->extract;\n                        if (unaff_s3->extract < (char *)unaff_s0->rows) {\n                          pcVar24 = (char *)unaff_s0->rows;\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,pcVar10,pcVar24,local_10d8,dVar40,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,unaff_s3->orientation,local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,unaff_s3,0xd,1);\n                        puVar15 = PTR_DestroyImage_003a8f4c;\n                        unaff_s0->compression = unaff_s3->temporary;\n                        unaff_s3 = (ImageInfo *)(*(code *)puVar15)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }" if (parenthesized_expression "(unaff_s7 == (Image *)0x8200)" ( (binary_expression "unaff_s7 == (Image *)0x8200" identifier == (cast_expression "(Image *)0x8200" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                      uVar36 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                        if (unaff_s3 != (ImageInfo *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar32 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar6 = 6;\n                      if (0x9a < uVar36) {\n                        do {\n                          iVar6 = iVar6 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar6 != 0);\n                        MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                        if (MVar7 == MagickFalse) {\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x5c8;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\nLAB_00275b88:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_courses_003a88ec + -400;\n                          uVar11 = 0x1a9;\n                        }\n                        else {\n                          iVar6 = 0x7a;\n                          do {\n                            iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar16 == -1) break;\n                            iVar6 = iVar6 + -1;\n                          } while (iVar6 != 0);\n                          iVar6 = uVar36 - 0x9a;\n                          pIVar8 = (Image *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar6,1);\n                          pcVar10 = local_10d0->filename;\n                          if (pIVar8 != (Image *)0x0) {\n                            uVar32 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar6,pIVar8,&destination);\n                            if (destination._0_4_ == iVar6) {\n                              iVar6 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar6 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pcVar10);\n                              unaff_s3 = (ImageInfo *)\n                                         (*(code *)PTR_BlobToImage_003a9330)\n                                                   (iVar6,uVar32,destination._0_4_,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar6);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x5d5;\n                            uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                            unaff_s7 = pIVar8;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x5d0;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar11 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        pcVar10 = unaff_s3->size;\n                        if (pcVar10 < (char *)unaff_s0->columns) {\n                          pcVar10 = (char *)unaff_s0->columns;\n                        }\n                        dVar40 = (double)(int)pcVar10;\n                        if ((int)pcVar10 < 0) {\n                          dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        pcVar24 = (char *)unaff_s0->rows;\n                        pcVar10 = unaff_s3->extract;\n                        if (pcVar10 < pcVar24) {\n                          in_f2_3 = (double)(int)pcVar24;\n                          if ((int)pcVar24 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)pcVar10;\n                          if ((int)pcVar10 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (geometry,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        pcVar10 = (char *)unaff_s0->columns;\n                        if ((char *)unaff_s0->columns <= unaff_s3->size) {\n                          pcVar10 = unaff_s3->size;\n                        }\n                        pcVar24 = unaff_s3->extract;\n                        if (unaff_s3->extract < (char *)unaff_s0->rows) {\n                          pcVar24 = (char *)unaff_s0->rows;\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,pcVar10,pcVar24,local_10d8,dVar40,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,unaff_s3->orientation,local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,unaff_s3,0xd,1);\n                        puVar15 = PTR_DestroyImage_003a8f4c;\n                        unaff_s0->compression = unaff_s3->temporary;\n                        unaff_s3 = (ImageInfo *)(*(code *)puVar15)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }" { (expression_statement "uVar36 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);" (assignment_expression "uVar36 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBLong_003a8d98)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBLong_003a8d98" * (cast_expression "(code *)PTR_ReadBlobMSBLong_003a8d98" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier )))) ;) (expression_statement "uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);" (assignment_expression "uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)) {\n                        if (unaff_s3 != (ImageInfo *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar32 = 0x5b9;\n                        goto LAB_00275880;\n                      }" if (parenthesized_expression "(((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36))" ( (binary_expression "((int)((ulonglong)uVar44 >> 0x20) == 0) && ((uint)uVar44 < uVar36)" (parenthesized_expression "((int)((ulonglong)uVar44 >> 0x20) == 0)" ( (binary_expression "(int)((ulonglong)uVar44 >> 0x20) == 0" (cast_expression "(int)((ulonglong)uVar44 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar44 >> 0x20)" ( (binary_expression "(ulonglong)uVar44 >> 0x20" (cast_expression "(ulonglong)uVar44" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) == number_literal) )) && (parenthesized_expression "((uint)uVar44 < uVar36)" ( (binary_expression "(uint)uVar44 < uVar36" (cast_expression "(uint)uVar44" ( (type_descriptor "uint" type_identifier) ) identifier) < identifier) ))) )) (compound_statement "{\n                        if (unaff_s3 != (ImageInfo *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar32 = 0x5b9;\n                        goto LAB_00275880;\n                      }" { (if_statement "if (unaff_s3 != (ImageInfo *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }" if (parenthesized_expression "(unaff_s3 != (ImageInfo *)0x0)" ( (binary_expression "unaff_s3 != (ImageInfo *)0x0" identifier != (cast_expression "(ImageInfo *)0x0" ( (type_descriptor "ImageInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3)" ( identifier ))) ;) })) (if_statement "if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar32 = 0x5b9;" (assignment_expression "uVar32 = 0x5b9" identifier = number_literal) ;) (goto_statement "goto LAB_00275880;" goto statement_identifier ;) })) (expression_statement "iVar6 = 6;" (assignment_expression "iVar6 = 6" identifier = number_literal) ;) (if_statement "if (0x9a < uVar36) {\n                        do {\n                          iVar6 = iVar6 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar6 != 0);\n                        MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                        if (MVar7 == MagickFalse) {\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x5c8;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\nLAB_00275b88:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_courses_003a88ec + -400;\n                          uVar11 = 0x1a9;\n                        }\n                        else {\n                          iVar6 = 0x7a;\n                          do {\n                            iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar16 == -1) break;\n                            iVar6 = iVar6 + -1;\n                          } while (iVar6 != 0);\n                          iVar6 = uVar36 - 0x9a;\n                          pIVar8 = (Image *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar6,1);\n                          pcVar10 = local_10d0->filename;\n                          if (pIVar8 != (Image *)0x0) {\n                            uVar32 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar6,pIVar8,&destination);\n                            if (destination._0_4_ == iVar6) {\n                              iVar6 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar6 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pcVar10);\n                              unaff_s3 = (ImageInfo *)\n                                         (*(code *)PTR_BlobToImage_003a9330)\n                                                   (iVar6,uVar32,destination._0_4_,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar6);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x5d5;\n                            uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                            unaff_s7 = pIVar8;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x5d0;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar11 = 400;\n                        }\n                        goto LAB_00275084;\n                      }" if (parenthesized_expression "(0x9a < uVar36)" ( (binary_expression "0x9a < uVar36" number_literal < identifier) )) (compound_statement "{\n                        do {\n                          iVar6 = iVar6 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar6 != 0);\n                        MVar7 = ReadRectangle(unaff_s0,local_10bc);\n                        if (MVar7 == MagickFalse) {\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x5c8;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\nLAB_00275b88:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_courses_003a88ec + -400;\n                          uVar11 = 0x1a9;\n                        }\n                        else {\n                          iVar6 = 0x7a;\n                          do {\n                            iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar16 == -1) break;\n                            iVar6 = iVar6 + -1;\n                          } while (iVar6 != 0);\n                          iVar6 = uVar36 - 0x9a;\n                          pIVar8 = (Image *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar6,1);\n                          pcVar10 = local_10d0->filename;\n                          if (pIVar8 != (Image *)0x0) {\n                            uVar32 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar6,pIVar8,&destination);\n                            if (destination._0_4_ == iVar6) {\n                              iVar6 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar6 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pcVar10);\n                              unaff_s3 = (ImageInfo *)\n                                         (*(code *)PTR_BlobToImage_003a9330)\n                                                   (iVar6,uVar32,destination._0_4_,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar6);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x5d5;\n                            uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                            unaff_s7 = pIVar8;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x5d0;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar11 = 400;\n                        }\n                        goto LAB_00275084;\n                      }" { (do_statement "do {\n                          iVar6 = iVar6 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar6 != 0);" do (compound_statement "{\n                          iVar6 = iVar6 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        }" { (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) (expression_statement "(*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);" (call_expression "(*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBLong_003a8d98)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBLong_003a8d98" * (cast_expression "(code *)PTR_ReadBlobMSBLong_003a8d98" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier ))) ;) }) while (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) ;) (expression_statement "MVar7 = ReadRectangle(unaff_s0,local_10bc);" (assignment_expression "MVar7 = ReadRectangle(unaff_s0,local_10bc)" identifier = (call_expression "ReadRectangle(unaff_s0,local_10bc)" identifier (argument_list "(unaff_s0,local_10bc)" ( identifier , identifier )))) ;) (if_statement "if (MVar7 == MagickFalse) {\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x5c8;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\nLAB_00275b88:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_courses_003a88ec + -400;\n                          uVar11 = 0x1a9;\n                        }\n                        else {\n                          iVar6 = 0x7a;\n                          do {\n                            iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar16 == -1) break;\n                            iVar6 = iVar6 + -1;\n                          } while (iVar6 != 0);\n                          iVar6 = uVar36 - 0x9a;\n                          pIVar8 = (Image *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar6,1);\n                          pcVar10 = local_10d0->filename;\n                          if (pIVar8 != (Image *)0x0) {\n                            uVar32 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar6,pIVar8,&destination);\n                            if (destination._0_4_ == iVar6) {\n                              iVar6 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar6 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pcVar10);\n                              unaff_s3 = (ImageInfo *)\n                                         (*(code *)PTR_BlobToImage_003a9330)\n                                                   (iVar6,uVar32,destination._0_4_,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar6);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x5d5;\n                            uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                            unaff_s7 = pIVar8;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x5d0;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar11 = 400;\n                        }" if (parenthesized_expression "(MVar7 == MagickFalse)" ( (binary_expression "MVar7 == MagickFalse" identifier == identifier) )) (compound_statement "{\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x5c8;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);\nLAB_00275b88:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_s_courses_003a88ec + -400;\n                          uVar11 = 0x1a9;\n                        }" { (if_statement "if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }" if (parenthesized_expression "(unaff_s3 != (ImageInfo *)0x0)" ( (binary_expression "unaff_s3 != (ImageInfo *)0x0" identifier != (cast_expression "(ImageInfo *)0x0" ( (type_descriptor "ImageInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3)" ( identifier ))) ;) })) (if_statement "if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar32 = 0x5c8;" (assignment_expression "uVar32 = 0x5c8" identifier = number_literal) ;) (expression_statement "uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);" (assignment_expression "uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename)" identifier = (call_expression "CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename)" identifier (argument_list "(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename)" ( (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal) , (field_expression "local_10d0->filename" identifier -> field_identifier) )))) ;) (labeled_statement "LAB_00275b88:\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;" statement_identifier : (expression_statement "puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;" (assignment_expression "puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier + number_literal)) ;)) (expression_statement "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;" (assignment_expression "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier + number_literal)) ;) (expression_statement "puVar15 = PTR_s_courses_003a88ec + -400;" (assignment_expression "puVar15 = PTR_s_courses_003a88ec + -400" identifier = (binary_expression "PTR_s_courses_003a88ec + -400" identifier + number_literal)) ;) (expression_statement "uVar11 = 0x1a9;" (assignment_expression "uVar11 = 0x1a9" identifier = number_literal) ;) }) (else_clause "else {\n                          iVar6 = 0x7a;\n                          do {\n                            iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar16 == -1) break;\n                            iVar6 = iVar6 + -1;\n                          } while (iVar6 != 0);\n                          iVar6 = uVar36 - 0x9a;\n                          pIVar8 = (Image *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar6,1);\n                          pcVar10 = local_10d0->filename;\n                          if (pIVar8 != (Image *)0x0) {\n                            uVar32 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar6,pIVar8,&destination);\n                            if (destination._0_4_ == iVar6) {\n                              iVar6 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar6 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pcVar10);\n                              unaff_s3 = (ImageInfo *)\n                                         (*(code *)PTR_BlobToImage_003a9330)\n                                                   (iVar6,uVar32,destination._0_4_,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar6);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x5d5;\n                            uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                            unaff_s7 = pIVar8;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x5d0;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar11 = 400;\n                        }" else (compound_statement "{\n                          iVar6 = 0x7a;\n                          do {\n                            iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar16 == -1) break;\n                            iVar6 = iVar6 + -1;\n                          } while (iVar6 != 0);\n                          iVar6 = uVar36 - 0x9a;\n                          pIVar8 = (Image *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar6,1);\n                          pcVar10 = local_10d0->filename;\n                          if (pIVar8 != (Image *)0x0) {\n                            uVar32 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar6,pIVar8,&destination);\n                            if (destination._0_4_ == iVar6) {\n                              iVar6 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar6 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pcVar10);\n                              unaff_s3 = (ImageInfo *)\n                                         (*(code *)PTR_BlobToImage_003a9330)\n                                                   (iVar6,uVar32,destination._0_4_,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar6);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x5d5;\n                            uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                            unaff_s7 = pIVar8;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar32 = 0x5d0;\n                          puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar15 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar11 = 400;\n                        }" { (expression_statement "iVar6 = 0x7a;" (assignment_expression "iVar6 = 0x7a" identifier = number_literal) ;) (do_statement "do {\n                            iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar16 == -1) break;\n                            iVar6 = iVar6 + -1;\n                          } while (iVar6 != 0);" do (compound_statement "{\n                            iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar16 == -1) break;\n                            iVar6 = iVar6 + -1;\n                          }" { (expression_statement "iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (iVar16 == -1) break;" if (parenthesized_expression "(iVar16 == -1)" ( (binary_expression "iVar16 == -1" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) ;) (expression_statement "iVar6 = uVar36 - 0x9a;" (assignment_expression "iVar6 = uVar36 - 0x9a" identifier = (binary_expression "uVar36 - 0x9a" identifier - number_literal)) ;) (expression_statement "pIVar8 = (Image *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar6,1);" (assignment_expression "pIVar8 = (Image *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar6,1)" identifier = (cast_expression "(Image *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar6,1)" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar6,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 "(iVar6,1)" ( identifier , number_literal ))))) ;) (expression_statement "pcVar10 = local_10d0->filename;" (assignment_expression "pcVar10 = local_10d0->filename" identifier = (field_expression "local_10d0->filename" identifier -> field_identifier)) ;) (if_statement "if (pIVar8 != (Image *)0x0) {\n                            uVar32 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar6,pIVar8,&destination);\n                            if (destination._0_4_ == iVar6) {\n                              iVar6 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar6 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pcVar10);\n                              unaff_s3 = (ImageInfo *)\n                                         (*(code *)PTR_BlobToImage_003a9330)\n                                                   (iVar6,uVar32,destination._0_4_,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar6);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x5d5;\n                            uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                            unaff_s7 = pIVar8;\n                            goto LAB_00275b88;\n                          }" if (parenthesized_expression "(pIVar8 != (Image *)0x0)" ( (binary_expression "pIVar8 != (Image *)0x0" identifier != (cast_expression "(Image *)0x0" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                            uVar32 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar6,pIVar8,&destination);\n                            if (destination._0_4_ == iVar6) {\n                              iVar6 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar6 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pcVar10);\n                              unaff_s3 = (ImageInfo *)\n                                         (*(code *)PTR_BlobToImage_003a9330)\n                                                   (iVar6,uVar32,destination._0_4_,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar6);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                            if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar32 = 0x5d5;\n                            uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);\n                            unaff_s7 = pIVar8;\n                            goto LAB_00275b88;\n                          }" { (expression_statement "uVar32 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar6,pIVar8,&destination);" (assignment_expression "uVar32 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar6,pIVar8,&destination)" identifier = (call_expression "(*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar6,pIVar8,&destination)" (parenthesized_expression "(*(code *)PTR_ReadBlobStream_003a9098)" ( (pointer_expression "*(code *)PTR_ReadBlobStream_003a9098" * (cast_expression "(code *)PTR_ReadBlobStream_003a9098" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0,iVar6,pIVar8,&destination)" ( identifier , identifier , identifier , (pointer_expression "&destination" & identifier) )))) ;) (if_statement "if (destination._0_4_ == iVar6) {\n                              iVar6 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar6 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pcVar10);\n                              unaff_s3 = (ImageInfo *)\n                                         (*(code *)PTR_BlobToImage_003a9330)\n                                                   (iVar6,uVar32,destination._0_4_,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar6);\n                              goto LAB_00274de8;\n                            }" if (parenthesized_expression "(destination._0_4_ == iVar6)" ( (binary_expression "destination._0_4_ == iVar6" (field_expression "destination._0_4_" identifier . field_identifier) == identifier) )) (compound_statement "{\n                              iVar6 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar6 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pcVar10);\n                              unaff_s3 = (ImageInfo *)\n                                         (*(code *)PTR_BlobToImage_003a9330)\n                                                   (iVar6,uVar32,destination._0_4_,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar6);\n                              goto LAB_00274de8;\n                            }" { (expression_statement "iVar6 = (*(code *)PTR_AcquireImageInfo_003a91d0)();" (assignment_expression "iVar6 = (*(code *)PTR_AcquireImageInfo_003a91d0)()" identifier = (call_expression "(*(code *)PTR_AcquireImageInfo_003a91d0)()" (parenthesized_expression "(*(code *)PTR_AcquireImageInfo_003a91d0)" ( (pointer_expression "*(code *)PTR_AcquireImageInfo_003a91d0" * (cast_expression "(code *)PTR_AcquireImageInfo_003a91d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "(*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar6 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pcVar10);" (call_expression "(*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar6 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pcVar10)" (parenthesized_expression "(*(code *)PTR_FormatLocaleString_003a8d7c)" ( (pointer_expression "*(code *)PTR_FormatLocaleString_003a8d7c" * (cast_expression "(code *)PTR_FormatLocaleString_003a8d7c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar6 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pcVar10)" ( (binary_expression "iVar6 + 0x2210" identifier + number_literal) , number_literal , (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c" identifier + number_literal) , identifier ))) ;) (expression_statement "unaff_s3 = (ImageInfo *)\n                                         (*(code *)PTR_BlobToImage_003a9330)\n                                                   (iVar6,uVar32,destination._0_4_,local_10d8);" (assignment_expression "unaff_s3 = (ImageInfo *)\n                                         (*(code *)PTR_BlobToImage_003a9330)\n                                                   (iVar6,uVar32,destination._0_4_,local_10d8)" identifier = (cast_expression "(ImageInfo *)\n                                         (*(code *)PTR_BlobToImage_003a9330)\n                                                   (iVar6,uVar32,destination._0_4_,local_10d8)" ( (type_descriptor "ImageInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_BlobToImage_003a9330)\n                                                   (iVar6,uVar32,destination._0_4_,local_10d8)" (parenthesized_expression "(*(code *)PTR_BlobToImage_003a9330)" ( (pointer_expression "*(code *)PTR_BlobToImage_003a9330" * (cast_expression "(code *)PTR_BlobToImage_003a9330" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar6,uVar32,destination._0_4_,local_10d8)" ( identifier , identifier , (field_expression "destination._0_4_" identifier . field_identifier) , identifier ))))) ;) (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8)" (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 "(pIVar8)" ( identifier ))) ;) (expression_statement "local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar6);" (assignment_expression "local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar6)" identifier = (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)(iVar6)" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar6)" ( identifier )))) ;) (goto_statement "goto LAB_00274de8;" goto statement_identifier ;) })) (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8);" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar8)" (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 "(pIVar8)" ( identifier ))) ;) (if_statement "if (unaff_s3 != (ImageInfo *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }" if (parenthesized_expression "(unaff_s3 != (ImageInfo *)0x0)" ( (binary_expression "unaff_s3 != (ImageInfo *)0x0" identifier != (cast_expression "(ImageInfo *)0x0" ( (type_descriptor "ImageInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3)" ( identifier ))) ;) })) (if_statement "if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar32 = 0x5d5;" (assignment_expression "uVar32 = 0x5d5" identifier = number_literal) ;) (expression_statement "uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);" (assignment_expression "uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10)" identifier = (call_expression "CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10)" identifier (argument_list "(PTR_LAB_003a88e0 + 0x3e28,pcVar10)" ( (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal) , identifier )))) ;) (expression_statement "unaff_s7 = pIVar8;" (assignment_expression "unaff_s7 = pIVar8" identifier = identifier) ;) (goto_statement "goto LAB_00275b88;" goto statement_identifier ;) })) (if_statement "if (unaff_s3 != (ImageInfo *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }" if (parenthesized_expression "(unaff_s3 != (ImageInfo *)0x0)" ( (binary_expression "unaff_s3 != (ImageInfo *)0x0" identifier != (cast_expression "(ImageInfo *)0x0" ( (type_descriptor "ImageInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3)" ( identifier ))) ;) })) (if_statement "if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar32 = 0x5d0;" (assignment_expression "uVar32 = 0x5d0" identifier = number_literal) ;) (expression_statement "puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;" (assignment_expression "puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier + number_literal)) ;) (expression_statement "uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10);" (assignment_expression "uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10)" identifier = (call_expression "CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pcVar10)" identifier (argument_list "(PTR_LAB_003a88e0 + 0x3e28,pcVar10)" ( (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal) , identifier )))) ;) (expression_statement "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;" (assignment_expression "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier + number_literal)) ;) (expression_statement "puVar15 = PTR_LAB_003a88e0 + 0x16f8;" (assignment_expression "puVar15 = PTR_LAB_003a88e0 + 0x16f8" identifier = (binary_expression "PTR_LAB_003a88e0 + 0x16f8" identifier + number_literal)) ;) (expression_statement "uVar11 = 400;" (assignment_expression "uVar11 = 400" identifier = number_literal) ;) }))) (goto_statement "goto LAB_00275084;" goto statement_identifier ;) })) (labeled_statement "LAB_00274de8:\n                      local_10b8 = 1;" statement_identifier : (expression_statement "local_10b8 = 1;" (assignment_expression "local_10b8 = 1" identifier = number_literal) ;)) (if_statement "if (unaff_s3 != (ImageInfo *)0x0) {\n                        pcVar10 = unaff_s3->size;\n                        if (pcVar10 < (char *)unaff_s0->columns) {\n                          pcVar10 = (char *)unaff_s0->columns;\n                        }\n                        dVar40 = (double)(int)pcVar10;\n                        if ((int)pcVar10 < 0) {\n                          dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        pcVar24 = (char *)unaff_s0->rows;\n                        pcVar10 = unaff_s3->extract;\n                        if (pcVar10 < pcVar24) {\n                          in_f2_3 = (double)(int)pcVar24;\n                          if ((int)pcVar24 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)pcVar10;\n                          if ((int)pcVar10 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (geometry,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        pcVar10 = (char *)unaff_s0->columns;\n                        if ((char *)unaff_s0->columns <= unaff_s3->size) {\n                          pcVar10 = unaff_s3->size;\n                        }\n                        pcVar24 = unaff_s3->extract;\n                        if (unaff_s3->extract < (char *)unaff_s0->rows) {\n                          pcVar24 = (char *)unaff_s0->rows;\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,pcVar10,pcVar24,local_10d8,dVar40,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,unaff_s3->orientation,local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,unaff_s3,0xd,1);\n                        puVar15 = PTR_DestroyImage_003a8f4c;\n                        unaff_s0->compression = unaff_s3->temporary;\n                        unaff_s3 = (ImageInfo *)(*(code *)puVar15)(unaff_s3);\n                        local_10b8 = 1;\n                      }" if (parenthesized_expression "(unaff_s3 != (ImageInfo *)0x0)" ( (binary_expression "unaff_s3 != (ImageInfo *)0x0" identifier != (cast_expression "(ImageInfo *)0x0" ( (type_descriptor "ImageInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                        pcVar10 = unaff_s3->size;\n                        if (pcVar10 < (char *)unaff_s0->columns) {\n                          pcVar10 = (char *)unaff_s0->columns;\n                        }\n                        dVar40 = (double)(int)pcVar10;\n                        if ((int)pcVar10 < 0) {\n                          dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        pcVar24 = (char *)unaff_s0->rows;\n                        pcVar10 = unaff_s3->extract;\n                        if (pcVar10 < pcVar24) {\n                          in_f2_3 = (double)(int)pcVar24;\n                          if ((int)pcVar24 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)pcVar10;\n                          if ((int)pcVar10 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (geometry,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        pcVar10 = (char *)unaff_s0->columns;\n                        if ((char *)unaff_s0->columns <= unaff_s3->size) {\n                          pcVar10 = unaff_s3->size;\n                        }\n                        pcVar24 = unaff_s3->extract;\n                        if (unaff_s3->extract < (char *)unaff_s0->rows) {\n                          pcVar24 = (char *)unaff_s0->rows;\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,pcVar10,pcVar24,local_10d8,dVar40,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,unaff_s3->orientation,local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,unaff_s3,0xd,1);\n                        puVar15 = PTR_DestroyImage_003a8f4c;\n                        unaff_s0->compression = unaff_s3->temporary;\n                        unaff_s3 = (ImageInfo *)(*(code *)puVar15)(unaff_s3);\n                        local_10b8 = 1;\n                      }" { (expression_statement "pcVar10 = unaff_s3->size;" (assignment_expression "pcVar10 = unaff_s3->size" identifier = (field_expression "unaff_s3->size" identifier -> field_identifier)) ;) (if_statement "if (pcVar10 < (char *)unaff_s0->columns) {\n                          pcVar10 = (char *)unaff_s0->columns;\n                        }" if (parenthesized_expression "(pcVar10 < (char *)unaff_s0->columns)" ( (binary_expression "pcVar10 < (char *)unaff_s0->columns" identifier < (cast_expression "(char *)unaff_s0->columns" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (field_expression "unaff_s0->columns" identifier -> field_identifier))) )) (compound_statement "{\n                          pcVar10 = (char *)unaff_s0->columns;\n                        }" { (expression_statement "pcVar10 = (char *)unaff_s0->columns;" (assignment_expression "pcVar10 = (char *)unaff_s0->columns" identifier = (cast_expression "(char *)unaff_s0->columns" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (field_expression "unaff_s0->columns" identifier -> field_identifier))) ;) })) (expression_statement "dVar40 = (double)(int)pcVar10;" (assignment_expression "dVar40 = (double)(int)pcVar10" identifier = (cast_expression "(double)(int)pcVar10" ( (type_descriptor "double" primitive_type) ) (cast_expression "(int)pcVar10" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if ((int)pcVar10 < 0) {\n                          dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                        }" if (parenthesized_expression "((int)pcVar10 < 0)" ( (binary_expression "(int)pcVar10 < 0" (cast_expression "(int)pcVar10" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n                          dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);\n                        }" { (expression_statement "dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418);" (assignment_expression "dVar40 = dVar40 + *(double *)(local_10c8 + 0x1418)" identifier = (binary_expression "dVar40 + *(double *)(local_10c8 + 0x1418)" identifier + (pointer_expression "*(double *)(local_10c8 + 0x1418)" * (cast_expression "(double *)(local_10c8 + 0x1418)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_10c8 + 0x1418)" ( (binary_expression "local_10c8 + 0x1418" identifier + number_literal) )))))) ;) })) (expression_statement "pcVar24 = (char *)unaff_s0->rows;" (assignment_expression "pcVar24 = (char *)unaff_s0->rows" identifier = (cast_expression "(char *)unaff_s0->rows" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (field_expression "unaff_s0->rows" identifier -> field_identifier))) ;) (expression_statement "pcVar10 = unaff_s3->extract;" (assignment_expression "pcVar10 = unaff_s3->extract" identifier = (field_expression "unaff_s3->extract" identifier -> field_identifier)) ;) (if_statement "if (pcVar10 < pcVar24) {\n                          in_f2_3 = (double)(int)pcVar24;\n                          if ((int)pcVar24 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)pcVar10;\n                          if ((int)pcVar10 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }" if (parenthesized_expression "(pcVar10 < pcVar24)" ( (binary_expression "pcVar10 < pcVar24" identifier < identifier) )) (compound_statement "{\n                          in_f2_3 = (double)(int)pcVar24;\n                          if ((int)pcVar24 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }" { (expression_statement "in_f2_3 = (double)(int)pcVar24;" (assignment_expression "in_f2_3 = (double)(int)pcVar24" identifier = (cast_expression "(double)(int)pcVar24" ( (type_descriptor "double" primitive_type) ) (cast_expression "(int)pcVar24" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if ((int)pcVar24 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }" if (parenthesized_expression "((int)pcVar24 < 0)" ( (binary_expression "(int)pcVar24 < 0" (cast_expression "(int)pcVar24" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }" { (labeled_statement "LAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);" statement_identifier : (expression_statement "in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);" (assignment_expression "in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418)" identifier = (binary_expression "in_f2_3 + *(double *)(local_10c8 + 0x1418)" identifier + (pointer_expression "*(double *)(local_10c8 + 0x1418)" * (cast_expression "(double *)(local_10c8 + 0x1418)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_10c8 + 0x1418)" ( (binary_expression "local_10c8 + 0x1418" identifier + number_literal) )))))) ;)) })) }) (else_clause "else {\n                          in_f2_3 = (double)(int)pcVar10;\n                          if ((int)pcVar10 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }" else (compound_statement "{\n                          in_f2_3 = (double)(int)pcVar10;\n                          if ((int)pcVar10 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }" { (expression_statement "in_f2_3 = (double)(int)pcVar10;" (assignment_expression "in_f2_3 = (double)(int)pcVar10" identifier = (cast_expression "(double)(int)pcVar10" ( (type_descriptor "double" primitive_type) ) (cast_expression "(int)pcVar10" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if ((int)pcVar10 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }" if (parenthesized_expression "((int)pcVar10 < 0)" ( (binary_expression "(int)pcVar10 < 0" (cast_expression "(int)pcVar10" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }" { (expression_statement "in_f2_3 = in_f2_3 + in_f24_25;" (assignment_expression "in_f2_3 = in_f2_3 + in_f24_25" identifier = (binary_expression "in_f2_3 + in_f24_25" identifier + identifier)) ;) })) }))) (expression_statement "(*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (geometry,0x1000,PTR_s_courses_003a88ec + 0x494);" (call_expression "(*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (geometry,0x1000,PTR_s_courses_003a88ec + 0x494)" (parenthesized_expression "(*(code *)PTR_FormatLocaleString_003a8d7c)" ( (pointer_expression "*(code *)PTR_FormatLocaleString_003a8d7c" * (cast_expression "(code *)PTR_FormatLocaleString_003a8d7c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(geometry,0x1000,PTR_s_courses_003a88ec + 0x494)" ( identifier , number_literal , (binary_expression "PTR_s_courses_003a88ec + 0x494" identifier + number_literal) ))) ;) (expression_statement "pcVar10 = (char *)unaff_s0->columns;" (assignment_expression "pcVar10 = (char *)unaff_s0->columns" identifier = (cast_expression "(char *)unaff_s0->columns" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (field_expression "unaff_s0->columns" identifier -> field_identifier))) ;) (if_statement "if ((char *)unaff_s0->columns <= unaff_s3->size) {\n                          pcVar10 = unaff_s3->size;\n                        }" if (parenthesized_expression "((char *)unaff_s0->columns <= unaff_s3->size)" ( (binary_expression "(char *)unaff_s0->columns <= unaff_s3->size" (cast_expression "(char *)unaff_s0->columns" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (field_expression "unaff_s0->columns" identifier -> field_identifier)) <= (field_expression "unaff_s3->size" identifier -> field_identifier)) )) (compound_statement "{\n                          pcVar10 = unaff_s3->size;\n                        }" { (expression_statement "pcVar10 = unaff_s3->size;" (assignment_expression "pcVar10 = unaff_s3->size" identifier = (field_expression "unaff_s3->size" identifier -> field_identifier)) ;) })) (expression_statement "pcVar24 = unaff_s3->extract;" (assignment_expression "pcVar24 = unaff_s3->extract" identifier = (field_expression "unaff_s3->extract" identifier -> field_identifier)) ;) (if_statement "if (unaff_s3->extract < (char *)unaff_s0->rows) {\n                          pcVar24 = (char *)unaff_s0->rows;\n                        }" if (parenthesized_expression "(unaff_s3->extract < (char *)unaff_s0->rows)" ( (binary_expression "unaff_s3->extract < (char *)unaff_s0->rows" (field_expression "unaff_s3->extract" identifier -> field_identifier) < (cast_expression "(char *)unaff_s0->rows" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (field_expression "unaff_s0->rows" identifier -> field_identifier))) )) (compound_statement "{\n                          pcVar24 = (char *)unaff_s0->rows;\n                        }" { (expression_statement "pcVar24 = (char *)unaff_s0->rows;" (assignment_expression "pcVar24 = (char *)unaff_s0->rows" identifier = (cast_expression "(char *)unaff_s0->rows" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (field_expression "unaff_s0->rows" identifier -> field_identifier))) ;) })) (expression_statement "(*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,pcVar10,pcVar24,local_10d8,dVar40,in_f2_3);" (call_expression "(*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,pcVar10,pcVar24,local_10d8,dVar40,in_f2_3)" (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 "(unaff_s0,pcVar10,pcVar24,local_10d8,dVar40,in_f2_3)" ( identifier , identifier , identifier , identifier , identifier , identifier ))) ;) (expression_statement "(*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,unaff_s3->orientation,local_10d8);" (call_expression "(*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,unaff_s3->orientation,local_10d8)" (parenthesized_expression "(*(code *)PTR_TransformImageColorspace_003a9180)" ( (pointer_expression "*(code *)PTR_TransformImageColorspace_003a9180" * (cast_expression "(code *)PTR_TransformImageColorspace_003a9180" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0,unaff_s3->orientation,local_10d8)" ( identifier , (field_expression "unaff_s3->orientation" identifier -> field_identifier) , identifier ))) ;) (expression_statement "(*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,unaff_s3,0xd,1);" (call_expression "(*(code *)PTR_CompositeImage_003a8cc4)(unaff_s0,unaff_s3,0xd,1)" (parenthesized_expression "(*(code *)PTR_CompositeImage_003a8cc4)" ( (pointer_expression "*(code *)PTR_CompositeImage_003a8cc4" * (cast_expression "(code *)PTR_CompositeImage_003a8cc4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0,unaff_s3,0xd,1)" ( identifier , identifier , number_literal , number_literal ))) ;) (expression_statement "puVar15 = PTR_DestroyImage_003a8f4c;" (assignment_expression "puVar15 = PTR_DestroyImage_003a8f4c" identifier = identifier) ;) (expression_statement "unaff_s0->compression = unaff_s3->temporary;" (assignment_expression "unaff_s0->compression = unaff_s3->temporary" (field_expression "unaff_s0->compression" identifier -> field_identifier) = (field_expression "unaff_s3->temporary" identifier -> field_identifier)) ;) (expression_statement "unaff_s3 = (ImageInfo *)(*(code *)puVar15)(unaff_s3);" (assignment_expression "unaff_s3 = (ImageInfo *)(*(code *)puVar15)(unaff_s3)" identifier = (cast_expression "(ImageInfo *)(*(code *)puVar15)(unaff_s3)" ( (type_descriptor "ImageInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)puVar15)(unaff_s3)" (parenthesized_expression "(*(code *)puVar15)" ( (pointer_expression "*(code *)puVar15" * (cast_expression "(code *)puVar15" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3)" ( identifier ))))) ;) (expression_statement "local_10b8 = 1;" (assignment_expression "local_10b8 = 1" identifier = number_literal) ;) })) (goto_statement "goto LAB_002744b8;" goto statement_identifier ;) })) (expression_statement "pIVar35 = unaff_s3;" (assignment_expression "pIVar35 = unaff_s3" identifier = identifier) ;) (expression_statement "pIVar9 = unaff_s7;" (assignment_expression "pIVar9 = unaff_s7" identifier = identifier) ;) (if_statement "if ((unaff_s7 == (Image *)0xff) ||\n                       (pIVar35 = unaff_s3, unaff_s7 == (Image *)0xffff)) goto LAB_00274430;" if (parenthesized_expression "((unaff_s7 == (Image *)0xff) ||\n                       (pIVar35 = unaff_s3, unaff_s7 == (Image *)0xffff))" ( (binary_expression "(unaff_s7 == (Image *)0xff) ||\n                       (pIVar35 = unaff_s3, unaff_s7 == (Image *)0xffff)" (parenthesized_expression "(unaff_s7 == (Image *)0xff)" ( (binary_expression "unaff_s7 == (Image *)0xff" identifier == (cast_expression "(Image *)0xff" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(pIVar35 = unaff_s3, unaff_s7 == (Image *)0xffff)" ( (comma_expression "pIVar35 = unaff_s3, unaff_s7 == (Image *)0xffff" (assignment_expression "pIVar35 = unaff_s3" identifier = identifier) , (binary_expression "unaff_s7 == (Image *)0xffff" identifier == (cast_expression "(Image *)0xffff" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (goto_statement "goto LAB_00274430;" goto statement_identifier ;)) (if_statement "if ((unaff_s7[-1].magick + 0xfc8 < (char *)0x2f) ||\n                       (unaff_s7[-3].magick_filename + 0x748 < (char *)0x7f00)) {\n                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44)) {\n                        if (uVar36 != 0) {\n                          uVar37 = 0;\n                          do {\n                            iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar6 == -1) break;\n                            uVar37 = uVar37 + 1;\n                          } while (uVar36 != uVar37);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x5f8;\n                    }\n                    else {\n                      if ((char *)0x7eff < unaff_s7[-1].magick + 0xf98) goto LAB_002744b8;\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar44)) {\n                        uVar36 = 0;\n                        do {\n                          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar6 == -1) break;\n                          uVar36 = uVar36 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar36);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x606;\n                    }" if (parenthesized_expression "((unaff_s7[-1].magick + 0xfc8 < (char *)0x2f) ||\n                       (unaff_s7[-3].magick_filename + 0x748 < (char *)0x7f00))" ( (binary_expression "(unaff_s7[-1].magick + 0xfc8 < (char *)0x2f) ||\n                       (unaff_s7[-3].magick_filename + 0x748 < (char *)0x7f00)" (parenthesized_expression "(unaff_s7[-1].magick + 0xfc8 < (char *)0x2f)" ( (binary_expression "unaff_s7[-1].magick + 0xfc8 < (char *)0x2f" (binary_expression "unaff_s7[-1].magick + 0xfc8" (field_expression "unaff_s7[-1].magick" (subscript_expression "unaff_s7[-1]" identifier [ number_literal ]) . field_identifier) + number_literal) < (cast_expression "(char *)0x2f" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(unaff_s7[-3].magick_filename + 0x748 < (char *)0x7f00)" ( (binary_expression "unaff_s7[-3].magick_filename + 0x748 < (char *)0x7f00" (binary_expression "unaff_s7[-3].magick_filename + 0x748" (field_expression "unaff_s7[-3].magick_filename" (subscript_expression "unaff_s7[-3]" identifier [ number_literal ]) . field_identifier) + number_literal) < (cast_expression "(char *)0x7f00" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n                      uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44)) {\n                        if (uVar36 != 0) {\n                          uVar37 = 0;\n                          do {\n                            iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar6 == -1) break;\n                            uVar37 = uVar37 + 1;\n                          } while (uVar36 != uVar37);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x5f8;\n                    }" { (expression_statement "uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (assignment_expression "uVar36 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier )))) ;) (expression_statement "uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);" (assignment_expression "uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44)) {\n                        if (uVar36 != 0) {\n                          uVar37 = 0;\n                          do {\n                            iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar6 == -1) break;\n                            uVar37 = uVar37 + 1;\n                          } while (uVar36 != uVar37);\n                        }\n                        goto LAB_002744b8;\n                      }" if (parenthesized_expression "(((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44))" ( (binary_expression "((int)((ulonglong)uVar44 >> 0x20) != 0) || (uVar36 <= (uint)uVar44)" (parenthesized_expression "((int)((ulonglong)uVar44 >> 0x20) != 0)" ( (binary_expression "(int)((ulonglong)uVar44 >> 0x20) != 0" (cast_expression "(int)((ulonglong)uVar44 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar44 >> 0x20)" ( (binary_expression "(ulonglong)uVar44 >> 0x20" (cast_expression "(ulonglong)uVar44" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) != number_literal) )) || (parenthesized_expression "(uVar36 <= (uint)uVar44)" ( (binary_expression "uVar36 <= (uint)uVar44" identifier <= (cast_expression "(uint)uVar44" ( (type_descriptor "uint" type_identifier) ) identifier)) ))) )) (compound_statement "{\n                        if (uVar36 != 0) {\n                          uVar37 = 0;\n                          do {\n                            iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar6 == -1) break;\n                            uVar37 = uVar37 + 1;\n                          } while (uVar36 != uVar37);\n                        }\n                        goto LAB_002744b8;\n                      }" { (if_statement "if (uVar36 != 0) {\n                          uVar37 = 0;\n                          do {\n                            iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar6 == -1) break;\n                            uVar37 = uVar37 + 1;\n                          } while (uVar36 != uVar37);\n                        }" if (parenthesized_expression "(uVar36 != 0)" ( (binary_expression "uVar36 != 0" identifier != number_literal) )) (compound_statement "{\n                          uVar37 = 0;\n                          do {\n                            iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar6 == -1) break;\n                            uVar37 = uVar37 + 1;\n                          } while (uVar36 != uVar37);\n                        }" { (expression_statement "uVar37 = 0;" (assignment_expression "uVar37 = 0" identifier = number_literal) ;) (do_statement "do {\n                            iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar6 == -1) break;\n                            uVar37 = uVar37 + 1;\n                          } while (uVar36 != uVar37);" do (compound_statement "{\n                            iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar6 == -1) break;\n                            uVar37 = uVar37 + 1;\n                          }" { (expression_statement "iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (iVar6 == -1) break;" if (parenthesized_expression "(iVar6 == -1)" ( (binary_expression "iVar6 == -1" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "uVar37 = uVar37 + 1;" (assignment_expression "uVar37 = uVar37 + 1" identifier = (binary_expression "uVar37 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar36 != uVar37)" ( (binary_expression "uVar36 != uVar37" identifier != identifier) )) ;) })) (goto_statement "goto LAB_002744b8;" goto statement_identifier ;) })) (if_statement "if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }" if (parenthesized_expression "(unaff_s3 != (ImageInfo *)0x0)" ( (binary_expression "unaff_s3 != (ImageInfo *)0x0" identifier != (cast_expression "(ImageInfo *)0x0" ( (type_descriptor "ImageInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3)" ( identifier ))) ;) })) (if_statement "if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar32 = 0x5f8;" (assignment_expression "uVar32 = 0x5f8" identifier = number_literal) ;) }) (else_clause "else {\n                      if ((char *)0x7eff < unaff_s7[-1].magick + 0xf98) goto LAB_002744b8;\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar44)) {\n                        uVar36 = 0;\n                        do {\n                          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar6 == -1) break;\n                          uVar36 = uVar36 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar36);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x606;\n                    }" else (compound_statement "{\n                      if ((char *)0x7eff < unaff_s7[-1].magick + 0xf98) goto LAB_002744b8;\n                      uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar44 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar44)) {\n                        uVar36 = 0;\n                        do {\n                          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar6 == -1) break;\n                          uVar36 = uVar36 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar36);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar32 = 0x606;\n                    }" { (if_statement "if ((char *)0x7eff < unaff_s7[-1].magick + 0xf98) goto LAB_002744b8;" if (parenthesized_expression "((char *)0x7eff < unaff_s7[-1].magick + 0xf98)" ( (binary_expression "(char *)0x7eff < unaff_s7[-1].magick + 0xf98" (cast_expression "(char *)0x7eff" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) < (binary_expression "unaff_s7[-1].magick + 0xf98" (field_expression "unaff_s7[-1].magick" (subscript_expression "unaff_s7[-1]" identifier [ number_literal ]) . field_identifier) + number_literal)) )) (goto_statement "goto LAB_002744b8;" goto statement_identifier ;)) (expression_statement "uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);" (assignment_expression "uVar44 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (((int)((ulonglong)uVar44 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar44)) {\n                        uVar36 = 0;\n                        do {\n                          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar6 == -1) break;\n                          uVar36 = uVar36 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar36);\n                        goto LAB_002744b8;\n                      }" if (parenthesized_expression "(((int)((ulonglong)uVar44 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar44))" ( (binary_expression "((int)((ulonglong)uVar44 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar44)" (parenthesized_expression "((int)((ulonglong)uVar44 >> 0x20) != 0)" ( (binary_expression "(int)((ulonglong)uVar44 >> 0x20) != 0" (cast_expression "(int)((ulonglong)uVar44 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar44 >> 0x20)" ( (binary_expression "(ulonglong)uVar44 >> 0x20" (cast_expression "(ulonglong)uVar44" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) != number_literal) )) || (parenthesized_expression "((uint)((int)unaff_s7 >> 7) <= (uint)uVar44)" ( (binary_expression "(uint)((int)unaff_s7 >> 7) <= (uint)uVar44" (call_expression "(uint)((int)unaff_s7 >> 7)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)unaff_s7 >> 7)" ( (binary_expression "(int)unaff_s7 >> 7" (cast_expression "(int)unaff_s7" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ))) <= (cast_expression "(uint)uVar44" ( (type_descriptor "uint" type_identifier) ) identifier)) ))) )) (compound_statement "{\n                        uVar36 = 0;\n                        do {\n                          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar6 == -1) break;\n                          uVar36 = uVar36 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar36);\n                        goto LAB_002744b8;\n                      }" { (expression_statement "uVar36 = 0;" (assignment_expression "uVar36 = 0" identifier = number_literal) ;) (do_statement "do {\n                          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar6 == -1) break;\n                          uVar36 = uVar36 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar36);" do (compound_statement "{\n                          iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar6 == -1) break;\n                          uVar36 = uVar36 + 1;\n                        }" { (expression_statement "iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (iVar6 == -1) break;" if (parenthesized_expression "(iVar6 == -1)" ( (binary_expression "iVar6 == -1" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "uVar36 = uVar36 + 1;" (assignment_expression "uVar36 = uVar36 + 1" identifier = (binary_expression "uVar36 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((int)unaff_s7 >> 7 != uVar36)" ( (binary_expression "(int)unaff_s7 >> 7 != uVar36" (binary_expression "(int)unaff_s7 >> 7" (cast_expression "(int)unaff_s7" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) != identifier) )) ;) (goto_statement "goto LAB_002744b8;" goto statement_identifier ;) })) (if_statement "if (unaff_s3 != (ImageInfo *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }" if (parenthesized_expression "(unaff_s3 != (ImageInfo *)0x0)" ( (binary_expression "unaff_s3 != (ImageInfo *)0x0" identifier != (cast_expression "(ImageInfo *)0x0" ( (type_descriptor "ImageInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3)" ( identifier ))) ;) })) (if_statement "if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar32 = 0x606;" (assignment_expression "uVar32 = 0x606" identifier = number_literal) ;) }))) (labeled_statement "LAB_00275880:\n                    puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;" statement_identifier : (expression_statement "puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;" (assignment_expression "puVar30 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier + number_literal)) ;)) (expression_statement "uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename);" (assignment_expression "uVar44 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename)" identifier = (call_expression "CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename)" identifier (argument_list "(PTR_LAB_003a88e0 + 0x3e28,local_10d0->filename)" ( (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal) , (field_expression "local_10d0->filename" identifier -> field_identifier) )))) ;) (expression_statement "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;" (assignment_expression "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier + number_literal)) ;) (expression_statement "puVar15 = PTR_s_courses_003a88ec + 0x4a0;" (assignment_expression "puVar15 = PTR_s_courses_003a88ec + 0x4a0" identifier = (binary_expression "PTR_s_courses_003a88ec + 0x4a0" identifier + number_literal)) ;) (expression_statement "pIVar9 = unaff_s7;" (assignment_expression "pIVar9 = unaff_s7" identifier = identifier) ;) (goto_statement "goto LAB_0027507c;" goto statement_identifier ;) }))) }))) (goto_statement "goto LAB_002744b8;" goto statement_identifier ;) })) (expression_statement "iVar6 = 0x18;" (assignment_expression "iVar6 = 0x18" identifier = number_literal) ;) (do_statement "do {\n                iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar16 == -1) break;\n                iVar6 = iVar6 + -1;\n              } while (iVar6 != 0);" do (compound_statement "{\n                iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar16 == -1) break;\n                iVar6 = iVar6 + -1;\n              }" { (expression_statement "iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "iVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (iVar16 == -1) break;" if (parenthesized_expression "(iVar16 == -1)" ( (binary_expression "iVar16 == -1" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar6 = iVar6 + -1;" (assignment_expression "iVar6 = iVar6 + -1" identifier = (binary_expression "iVar6 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) ;) }) while (parenthesized_expression "( true )" ( true )) ;)) })) (expression_statement "uVar32 = 0x3a8;" (assignment_expression "uVar32 = 0x3a8" identifier = number_literal) ;) })) }))) (labeled_statement "LAB_002741b8:\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (exception,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,uVar32,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,image_info->filename);" statement_identifier : (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n                (exception,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,uVar32,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 + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,uVar32,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 + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,uVar32,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 + -0x3d60" identifier + number_literal) , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier + number_literal) , identifier , 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) ))) ;)) (if_statement "if (unaff_s0 == (Image *)0x0) goto LAB_00274224;" if (parenthesized_expression "(unaff_s0 == (Image *)0x0)" ( (binary_expression "unaff_s0 == (Image *)0x0" identifier == (cast_expression "(Image *)0x0" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_00274224;" goto statement_identifier ;)) (goto_statement "goto LAB_00274208;" goto statement_identifier ;) })) }) (else_clause "else {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0xda0,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n               0x375,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\n  }" else (compound_statement "{\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0xda0,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n               0x375,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\n  }" { (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0xda0,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n               0x375,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0xda0,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n               0x375,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac)" (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,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n               0x375,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac)" ( (binary_expression "PTR_LAB_003a88e0 + 0xda0" identifier + number_literal) , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier + number_literal) , number_literal , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac" identifier + number_literal) ))) ;) }))) (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n            (PTR_LAB_003a88e0 + 0x294c,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n             0x37a,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n            (PTR_LAB_003a88e0 + 0x294c,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n             0x37a,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac)" (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,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n             0x37a,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac)" ( (binary_expression "PTR_LAB_003a88e0 + 0x294c" identifier + number_literal) , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier + number_literal) , number_literal , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac" identifier + number_literal) ))) ;) (labeled_statement "LAB_00275e6c:\n  (*(code *)PTR___assert_fail_003a9608)\n            (PTR_LAB_003a88e0 + 0x1cac,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n             0x379,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);" statement_identifier : (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n            (PTR_LAB_003a88e0 + 0x1cac,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n             0x379,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n            (PTR_LAB_003a88e0 + 0x1cac,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n             0x379,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac)" (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,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n             0x379,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1cac" identifier + number_literal) , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier + number_literal) , number_literal , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac" identifier + number_literal) ))) ;)) (goto_statement "goto LAB_00275e90;" goto statement_identifier ;) })))
(translation_unit "undefined4 FUN_00274008(byte *param_1,int *param_2)\n\n{\n  byte bVar1;\n  byte bVar2;\n  bool bVar3;\n  undefined *puVar4;\n  int iVar5;\n  char cVar16;\n  char cVar17;\n  char cVar18;\n  char cVar19;\n  int *piVar6;\n  int *piVar7;\n  undefined4 uVar8;\n  int iVar9;\n  double *pdVar10;\n  double *pdVar11;\n  undefined *puVar12;\n  int iVar13;\n  short sVar15;\n  uint uVar14;\n  uint extraout_v1;\n  int iVar20;\n  undefined *puVar21;\n  int iVar22;\n  int iVar23;\n  byte *pbVar24;\n  undefined *puVar25;\n  undefined4 uVar26;\n  int iVar27;\n  int unaff_s0;\n  byte *unaff_s3;\n  uint uVar28;\n  uint uVar29;\n  uint uVar30;\n  byte *pbVar31;\n  int *unaff_s7;\n  double dVar32;\n  float fVar34;\n  double dVar33;\n  double in_f2_3;\n  double dVar35;\n  double dVar36;\n  double in_f20_21;\n  double in_f22_23;\n  double in_f24_25;\n  undefined8 uVar37;\n  int *local_10d8;\n  int local_10d4;\n  byte *local_10d0;\n  int local_10cc;\n  undefined *local_10c8;\n  short *local_10bc;\n  int local_10b8;\n  int local_10b0;\n  undefined *local_10ac;\n  int local_1094;\n  short local_1090;\n  short local_108e;\n  short local_108c;\n  short local_108a;\n  undefined1 auStack_1088 [8];\n  undefined4 local_1080;\n  undefined1 auStack_1078 [8];\n  int local_1070;\n  int local_106c;\n  short local_1066;\n  short local_1064;\n  short local_1062;\n  undefined1 auStack_1054 [4096];\n  int local_54;\n  \n  puVar4 = PTR___stack_chk_guard_003a9230;\n  local_54 = *(int *)PTR___stack_chk_guard_003a9230;\n  if (param_1 == (byte *)0x0) {\n    dVar33 = (double)(*(code *)PTR___assert_fail_003a9608)\n                               (PTR_LAB_003a88e0 + 0xd78,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,0x374,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\n    goto LAB_00275d54;\n  }\n  if (*(int *)(param_1 + 0x3214) == -0x54535255) {\n    if (*(int *)(param_1 + 0x3210) != 0) {\n      (*(code *)PTR_LogMagickEvent_003a91e0)\n                (0x8000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x377,\n                 PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210);\n    }\n    if (param_2 == (int *)0x0) goto LAB_00275e6c;\n    if (param_2[7] == -0x54535255) {\n      unaff_s0 = (*(code *)PTR_AcquireImage_003a960c)(param_1,param_2);\n      iVar5 = (*(code *)PTR_OpenBlob_003a924c)(param_1,unaff_s0,2,param_2);\n      if (iVar5 == 0) {\n        (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n        uVar26 = 0;\n        goto LAB_00274228;\n      }\n      local_1066 = 0;\n      local_1064 = 0;\n      cVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar17 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar18 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar19 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      if ((((cVar16 != 'P') || (unaff_s3 = (byte *)0x1fc, cVar17 != 'I')) || (cVar18 != 'C')) ||\n         (cVar19 != 'T')) {\n        unaff_s3 = (byte *)0x1fc;\n        do {\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (iVar5 == -1) break;\n          unaff_s3 = unaff_s3 + -1;\n        } while (unaff_s3 != (byte *)0x0);\n      }\n      (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n      iVar5 = FUN_002739c8(unaff_s0,&local_1090);\n      if (iVar5 == 0) {\n        uVar26 = 0x397;\n      }\n      else {\n        do {\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n        } while (iVar5 == 0);\n        uVar26 = 0x39a;\n        if (iVar5 == 0x11) {\n          local_10d4 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (local_10d4 == 2) {\n            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n            if (iVar5 != 0xff) {\n              uVar26 = 0x3a0;\n              goto LAB_002741b8;\n            }\n          }\n          else if (local_10d4 != 1) {\n            uVar26 = 0x3a4;\n            goto LAB_002741b8;\n          }\n          iVar5 = (int)local_108e;\n          iVar13 = (int)local_108a;\n          if ((((-1 < iVar5) && (iVar9 = (int)local_1090, -1 < iVar13)) &&\n              ((iVar22 = (int)local_108c, -1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13)))))) &&\n             (iVar9 < iVar22)) {\n            iVar23 = *(int *)(param_1 + 0x1dc);\n            *(undefined4 *)(unaff_s0 + 0x200) = 0;\n            *(int *)(unaff_s0 + 0x18) = iVar13 - iVar5;\n            *(undefined4 *)(unaff_s0 + 0x20) = 8;\n            puVar12 = PTR_LAB_003a88e0;\n            *(int *)(unaff_s0 + 0x1c) = iVar22 - iVar9;\n            uVar37 = *(undefined8 *)(puVar12 + 0x13f0);\n            *(undefined8 *)(unaff_s0 + 0x218) = uVar37;\n            *(undefined8 *)(unaff_s0 + 0x220) = uVar37;\n            if (((iVar23 != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n               (pbVar31 = unaff_s3, piVar6 = unaff_s7,\n               (*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=\n               *(uint *)(unaff_s0 + 0x26c))) goto LAB_00274430;\n            iVar5 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar13 - iVar5,iVar22 - iVar9,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            local_10c8 = PTR_LAB_003a88e0;\n            unaff_s7 = (int *)0x0;\n            local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n            unaff_s3 = (byte *)0x0;\n            local_10b8 = 0;\n            in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418);\n            in_f22_23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n            in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58);\n            local_10cc = 0;\n            local_10bc = &local_1090;\n            local_10d0 = param_1;\n            local_10d8 = param_2;\nLAB_002744b8:\n            do {\n              piVar6 = (int *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pbVar31 = local_10d0;\n              if ((piVar6 != (int *)0x0) ||\n                 (((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pbVar31;\n                unaff_s7 = piVar6;\nLAB_00274228:\n                if (local_54 == *(int *)puVar4) {\n                  return uVar26;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (int *)((uint)piVar6 & 0xffff);\n              if (unaff_s7 == (int *)0x0) {\n                unaff_s7 = (int *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (int *)0xa2) {\n                if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (int *)0x78) {\n                  if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }\n                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                  puVar12 = PTR_SetImageExtent_003a94ac;\n                  if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;\n                  iVar5 = (int)local_108a - (int)local_108e;\n                  iVar13 = (int)local_108c - (int)local_1090;\n                  *(int *)(unaff_s0 + 0x18) = iVar5;\n                  *(int *)(unaff_s0 + 0x1c) = iVar13;\n                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);\n                  if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((int *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)) goto LAB_002752a0;\n                bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2;\n                if (bVar3) {\n                  uVar28 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                if (iVar5 != 0) {\n                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);\n                  if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);\n                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }\n                  piVar7[9] = 2;\nLAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);\n                  if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }\n                  iVar5 = piVar7[9];\n                  if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }\nLAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar26 = 0x4d7;\n                  unaff_s7 = piVar7;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (byte *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar26 = 0x491;\nLAB_002757bc:\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar12 = PTR_s_courses_003a88ec + -400;\n                piVar7 = unaff_s7;\nLAB_0027507c:\n                uVar8 = 0x1a9;\n                unaff_s7 = piVar7;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                uVar26 = 0;\n                goto LAB_00274228;\n              }\n              if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7);\n              }\n              if (unaff_s7 != (int *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7 + -0x2c) {\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar5 = 0x18;\n              do {\n                iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar13 == -1) break;\n                iVar5 = iVar5 + -1;\n              } while (iVar5 != 0);\n            } while( true );\n          }\n          uVar26 = 0x3a8;\n        }\n      }\nLAB_002741b8:\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,uVar26,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,param_1 + 0x2210);\n      if (unaff_s0 == 0) goto LAB_00274224;\n      goto LAB_00274208;\n    }\n  }\n  else {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0xda0,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n               0x375,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\n  }\n  (*(code *)PTR___assert_fail_003a9608)\n            (PTR_LAB_003a88e0 + 0x294c,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n             0x37a,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\nLAB_00275e6c:\n  (*(code *)PTR___assert_fail_003a9608)\n            (PTR_LAB_003a88e0 + 0x1cac,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n             0x379,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\n  goto LAB_00275e90;\n}\n\n" (function_definition "undefined4 FUN_00274008(byte *param_1,int *param_2)\n\n{\n  byte bVar1;\n  byte bVar2;\n  bool bVar3;\n  undefined *puVar4;\n  int iVar5;\n  char cVar16;\n  char cVar17;\n  char cVar18;\n  char cVar19;\n  int *piVar6;\n  int *piVar7;\n  undefined4 uVar8;\n  int iVar9;\n  double *pdVar10;\n  double *pdVar11;\n  undefined *puVar12;\n  int iVar13;\n  short sVar15;\n  uint uVar14;\n  uint extraout_v1;\n  int iVar20;\n  undefined *puVar21;\n  int iVar22;\n  int iVar23;\n  byte *pbVar24;\n  undefined *puVar25;\n  undefined4 uVar26;\n  int iVar27;\n  int unaff_s0;\n  byte *unaff_s3;\n  uint uVar28;\n  uint uVar29;\n  uint uVar30;\n  byte *pbVar31;\n  int *unaff_s7;\n  double dVar32;\n  float fVar34;\n  double dVar33;\n  double in_f2_3;\n  double dVar35;\n  double dVar36;\n  double in_f20_21;\n  double in_f22_23;\n  double in_f24_25;\n  undefined8 uVar37;\n  int *local_10d8;\n  int local_10d4;\n  byte *local_10d0;\n  int local_10cc;\n  undefined *local_10c8;\n  short *local_10bc;\n  int local_10b8;\n  int local_10b0;\n  undefined *local_10ac;\n  int local_1094;\n  short local_1090;\n  short local_108e;\n  short local_108c;\n  short local_108a;\n  undefined1 auStack_1088 [8];\n  undefined4 local_1080;\n  undefined1 auStack_1078 [8];\n  int local_1070;\n  int local_106c;\n  short local_1066;\n  short local_1064;\n  short local_1062;\n  undefined1 auStack_1054 [4096];\n  int local_54;\n  \n  puVar4 = PTR___stack_chk_guard_003a9230;\n  local_54 = *(int *)PTR___stack_chk_guard_003a9230;\n  if (param_1 == (byte *)0x0) {\n    dVar33 = (double)(*(code *)PTR___assert_fail_003a9608)\n                               (PTR_LAB_003a88e0 + 0xd78,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,0x374,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\n    goto LAB_00275d54;\n  }\n  if (*(int *)(param_1 + 0x3214) == -0x54535255) {\n    if (*(int *)(param_1 + 0x3210) != 0) {\n      (*(code *)PTR_LogMagickEvent_003a91e0)\n                (0x8000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x377,\n                 PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210);\n    }\n    if (param_2 == (int *)0x0) goto LAB_00275e6c;\n    if (param_2[7] == -0x54535255) {\n      unaff_s0 = (*(code *)PTR_AcquireImage_003a960c)(param_1,param_2);\n      iVar5 = (*(code *)PTR_OpenBlob_003a924c)(param_1,unaff_s0,2,param_2);\n      if (iVar5 == 0) {\n        (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n        uVar26 = 0;\n        goto LAB_00274228;\n      }\n      local_1066 = 0;\n      local_1064 = 0;\n      cVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar17 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar18 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar19 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      if ((((cVar16 != 'P') || (unaff_s3 = (byte *)0x1fc, cVar17 != 'I')) || (cVar18 != 'C')) ||\n         (cVar19 != 'T')) {\n        unaff_s3 = (byte *)0x1fc;\n        do {\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (iVar5 == -1) break;\n          unaff_s3 = unaff_s3 + -1;\n        } while (unaff_s3 != (byte *)0x0);\n      }\n      (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n      iVar5 = FUN_002739c8(unaff_s0,&local_1090);\n      if (iVar5 == 0) {\n        uVar26 = 0x397;\n      }\n      else {\n        do {\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n        } while (iVar5 == 0);\n        uVar26 = 0x39a;\n        if (iVar5 == 0x11) {\n          local_10d4 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (local_10d4 == 2) {\n            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n            if (iVar5 != 0xff) {\n              uVar26 = 0x3a0;\n              goto LAB_002741b8;\n            }\n          }\n          else if (local_10d4 != 1) {\n            uVar26 = 0x3a4;\n            goto LAB_002741b8;\n          }\n          iVar5 = (int)local_108e;\n          iVar13 = (int)local_108a;\n          if ((((-1 < iVar5) && (iVar9 = (int)local_1090, -1 < iVar13)) &&\n              ((iVar22 = (int)local_108c, -1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13)))))) &&\n             (iVar9 < iVar22)) {\n            iVar23 = *(int *)(param_1 + 0x1dc);\n            *(undefined4 *)(unaff_s0 + 0x200) = 0;\n            *(int *)(unaff_s0 + 0x18) = iVar13 - iVar5;\n            *(undefined4 *)(unaff_s0 + 0x20) = 8;\n            puVar12 = PTR_LAB_003a88e0;\n            *(int *)(unaff_s0 + 0x1c) = iVar22 - iVar9;\n            uVar37 = *(undefined8 *)(puVar12 + 0x13f0);\n            *(undefined8 *)(unaff_s0 + 0x218) = uVar37;\n            *(undefined8 *)(unaff_s0 + 0x220) = uVar37;\n            if (((iVar23 != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n               (pbVar31 = unaff_s3, piVar6 = unaff_s7,\n               (*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=\n               *(uint *)(unaff_s0 + 0x26c))) goto LAB_00274430;\n            iVar5 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar13 - iVar5,iVar22 - iVar9,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            local_10c8 = PTR_LAB_003a88e0;\n            unaff_s7 = (int *)0x0;\n            local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n            unaff_s3 = (byte *)0x0;\n            local_10b8 = 0;\n            in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418);\n            in_f22_23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n            in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58);\n            local_10cc = 0;\n            local_10bc = &local_1090;\n            local_10d0 = param_1;\n            local_10d8 = param_2;\nLAB_002744b8:\n            do {\n              piVar6 = (int *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pbVar31 = local_10d0;\n              if ((piVar6 != (int *)0x0) ||\n                 (((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pbVar31;\n                unaff_s7 = piVar6;\nLAB_00274228:\n                if (local_54 == *(int *)puVar4) {\n                  return uVar26;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (int *)((uint)piVar6 & 0xffff);\n              if (unaff_s7 == (int *)0x0) {\n                unaff_s7 = (int *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (int *)0xa2) {\n                if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (int *)0x78) {\n                  if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }\n                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                  puVar12 = PTR_SetImageExtent_003a94ac;\n                  if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;\n                  iVar5 = (int)local_108a - (int)local_108e;\n                  iVar13 = (int)local_108c - (int)local_1090;\n                  *(int *)(unaff_s0 + 0x18) = iVar5;\n                  *(int *)(unaff_s0 + 0x1c) = iVar13;\n                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);\n                  if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((int *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)) goto LAB_002752a0;\n                bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2;\n                if (bVar3) {\n                  uVar28 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                if (iVar5 != 0) {\n                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);\n                  if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);\n                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }\n                  piVar7[9] = 2;\nLAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);\n                  if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }\n                  iVar5 = piVar7[9];\n                  if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }\nLAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar26 = 0x4d7;\n                  unaff_s7 = piVar7;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (byte *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar26 = 0x491;\nLAB_002757bc:\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar12 = PTR_s_courses_003a88ec + -400;\n                piVar7 = unaff_s7;\nLAB_0027507c:\n                uVar8 = 0x1a9;\n                unaff_s7 = piVar7;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                uVar26 = 0;\n                goto LAB_00274228;\n              }\n              if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7);\n              }\n              if (unaff_s7 != (int *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7 + -0x2c) {\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar5 = 0x18;\n              do {\n                iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar13 == -1) break;\n                iVar5 = iVar5 + -1;\n              } while (iVar5 != 0);\n            } while( true );\n          }\n          uVar26 = 0x3a8;\n        }\n      }\nLAB_002741b8:\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,uVar26,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,param_1 + 0x2210);\n      if (unaff_s0 == 0) goto LAB_00274224;\n      goto LAB_00274208;\n    }\n  }\n  else {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0xda0,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n               0x375,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\n  }\n  (*(code *)PTR___assert_fail_003a9608)\n            (PTR_LAB_003a88e0 + 0x294c,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n             0x37a,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\nLAB_00275e6c:\n  (*(code *)PTR___assert_fail_003a9608)\n            (PTR_LAB_003a88e0 + 0x1cac,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n             0x379,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\n  goto LAB_00275e90;\n}" type_identifier (function_declarator "FUN_00274008(byte *param_1,int *param_2)" identifier (parameter_list "(byte *param_1,int *param_2)" ( (parameter_declaration "byte *param_1" type_identifier (pointer_declarator "*param_1" * identifier)) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) ))) (compound_statement "{\n  byte bVar1;\n  byte bVar2;\n  bool bVar3;\n  undefined *puVar4;\n  int iVar5;\n  char cVar16;\n  char cVar17;\n  char cVar18;\n  char cVar19;\n  int *piVar6;\n  int *piVar7;\n  undefined4 uVar8;\n  int iVar9;\n  double *pdVar10;\n  double *pdVar11;\n  undefined *puVar12;\n  int iVar13;\n  short sVar15;\n  uint uVar14;\n  uint extraout_v1;\n  int iVar20;\n  undefined *puVar21;\n  int iVar22;\n  int iVar23;\n  byte *pbVar24;\n  undefined *puVar25;\n  undefined4 uVar26;\n  int iVar27;\n  int unaff_s0;\n  byte *unaff_s3;\n  uint uVar28;\n  uint uVar29;\n  uint uVar30;\n  byte *pbVar31;\n  int *unaff_s7;\n  double dVar32;\n  float fVar34;\n  double dVar33;\n  double in_f2_3;\n  double dVar35;\n  double dVar36;\n  double in_f20_21;\n  double in_f22_23;\n  double in_f24_25;\n  undefined8 uVar37;\n  int *local_10d8;\n  int local_10d4;\n  byte *local_10d0;\n  int local_10cc;\n  undefined *local_10c8;\n  short *local_10bc;\n  int local_10b8;\n  int local_10b0;\n  undefined *local_10ac;\n  int local_1094;\n  short local_1090;\n  short local_108e;\n  short local_108c;\n  short local_108a;\n  undefined1 auStack_1088 [8];\n  undefined4 local_1080;\n  undefined1 auStack_1078 [8];\n  int local_1070;\n  int local_106c;\n  short local_1066;\n  short local_1064;\n  short local_1062;\n  undefined1 auStack_1054 [4096];\n  int local_54;\n  \n  puVar4 = PTR___stack_chk_guard_003a9230;\n  local_54 = *(int *)PTR___stack_chk_guard_003a9230;\n  if (param_1 == (byte *)0x0) {\n    dVar33 = (double)(*(code *)PTR___assert_fail_003a9608)\n                               (PTR_LAB_003a88e0 + 0xd78,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,0x374,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\n    goto LAB_00275d54;\n  }\n  if (*(int *)(param_1 + 0x3214) == -0x54535255) {\n    if (*(int *)(param_1 + 0x3210) != 0) {\n      (*(code *)PTR_LogMagickEvent_003a91e0)\n                (0x8000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x377,\n                 PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210);\n    }\n    if (param_2 == (int *)0x0) goto LAB_00275e6c;\n    if (param_2[7] == -0x54535255) {\n      unaff_s0 = (*(code *)PTR_AcquireImage_003a960c)(param_1,param_2);\n      iVar5 = (*(code *)PTR_OpenBlob_003a924c)(param_1,unaff_s0,2,param_2);\n      if (iVar5 == 0) {\n        (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n        uVar26 = 0;\n        goto LAB_00274228;\n      }\n      local_1066 = 0;\n      local_1064 = 0;\n      cVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar17 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar18 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar19 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      if ((((cVar16 != 'P') || (unaff_s3 = (byte *)0x1fc, cVar17 != 'I')) || (cVar18 != 'C')) ||\n         (cVar19 != 'T')) {\n        unaff_s3 = (byte *)0x1fc;\n        do {\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (iVar5 == -1) break;\n          unaff_s3 = unaff_s3 + -1;\n        } while (unaff_s3 != (byte *)0x0);\n      }\n      (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n      iVar5 = FUN_002739c8(unaff_s0,&local_1090);\n      if (iVar5 == 0) {\n        uVar26 = 0x397;\n      }\n      else {\n        do {\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n        } while (iVar5 == 0);\n        uVar26 = 0x39a;\n        if (iVar5 == 0x11) {\n          local_10d4 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (local_10d4 == 2) {\n            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n            if (iVar5 != 0xff) {\n              uVar26 = 0x3a0;\n              goto LAB_002741b8;\n            }\n          }\n          else if (local_10d4 != 1) {\n            uVar26 = 0x3a4;\n            goto LAB_002741b8;\n          }\n          iVar5 = (int)local_108e;\n          iVar13 = (int)local_108a;\n          if ((((-1 < iVar5) && (iVar9 = (int)local_1090, -1 < iVar13)) &&\n              ((iVar22 = (int)local_108c, -1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13)))))) &&\n             (iVar9 < iVar22)) {\n            iVar23 = *(int *)(param_1 + 0x1dc);\n            *(undefined4 *)(unaff_s0 + 0x200) = 0;\n            *(int *)(unaff_s0 + 0x18) = iVar13 - iVar5;\n            *(undefined4 *)(unaff_s0 + 0x20) = 8;\n            puVar12 = PTR_LAB_003a88e0;\n            *(int *)(unaff_s0 + 0x1c) = iVar22 - iVar9;\n            uVar37 = *(undefined8 *)(puVar12 + 0x13f0);\n            *(undefined8 *)(unaff_s0 + 0x218) = uVar37;\n            *(undefined8 *)(unaff_s0 + 0x220) = uVar37;\n            if (((iVar23 != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n               (pbVar31 = unaff_s3, piVar6 = unaff_s7,\n               (*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=\n               *(uint *)(unaff_s0 + 0x26c))) goto LAB_00274430;\n            iVar5 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar13 - iVar5,iVar22 - iVar9,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            local_10c8 = PTR_LAB_003a88e0;\n            unaff_s7 = (int *)0x0;\n            local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n            unaff_s3 = (byte *)0x0;\n            local_10b8 = 0;\n            in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418);\n            in_f22_23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n            in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58);\n            local_10cc = 0;\n            local_10bc = &local_1090;\n            local_10d0 = param_1;\n            local_10d8 = param_2;\nLAB_002744b8:\n            do {\n              piVar6 = (int *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pbVar31 = local_10d0;\n              if ((piVar6 != (int *)0x0) ||\n                 (((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pbVar31;\n                unaff_s7 = piVar6;\nLAB_00274228:\n                if (local_54 == *(int *)puVar4) {\n                  return uVar26;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (int *)((uint)piVar6 & 0xffff);\n              if (unaff_s7 == (int *)0x0) {\n                unaff_s7 = (int *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (int *)0xa2) {\n                if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (int *)0x78) {\n                  if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }\n                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                  puVar12 = PTR_SetImageExtent_003a94ac;\n                  if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;\n                  iVar5 = (int)local_108a - (int)local_108e;\n                  iVar13 = (int)local_108c - (int)local_1090;\n                  *(int *)(unaff_s0 + 0x18) = iVar5;\n                  *(int *)(unaff_s0 + 0x1c) = iVar13;\n                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);\n                  if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((int *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)) goto LAB_002752a0;\n                bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2;\n                if (bVar3) {\n                  uVar28 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                if (iVar5 != 0) {\n                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);\n                  if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);\n                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }\n                  piVar7[9] = 2;\nLAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);\n                  if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }\n                  iVar5 = piVar7[9];\n                  if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }\nLAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar26 = 0x4d7;\n                  unaff_s7 = piVar7;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (byte *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar26 = 0x491;\nLAB_002757bc:\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar12 = PTR_s_courses_003a88ec + -400;\n                piVar7 = unaff_s7;\nLAB_0027507c:\n                uVar8 = 0x1a9;\n                unaff_s7 = piVar7;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                uVar26 = 0;\n                goto LAB_00274228;\n              }\n              if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7);\n              }\n              if (unaff_s7 != (int *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7 + -0x2c) {\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar5 = 0x18;\n              do {\n                iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar13 == -1) break;\n                iVar5 = iVar5 + -1;\n              } while (iVar5 != 0);\n            } while( true );\n          }\n          uVar26 = 0x3a8;\n        }\n      }\nLAB_002741b8:\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,uVar26,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,param_1 + 0x2210);\n      if (unaff_s0 == 0) goto LAB_00274224;\n      goto LAB_00274208;\n    }\n  }\n  else {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0xda0,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n               0x375,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\n  }\n  (*(code *)PTR___assert_fail_003a9608)\n            (PTR_LAB_003a88e0 + 0x294c,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n             0x37a,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\nLAB_00275e6c:\n  (*(code *)PTR___assert_fail_003a9608)\n            (PTR_LAB_003a88e0 + 0x1cac,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n             0x379,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\n  goto LAB_00275e90;\n}" { (declaration "byte bVar1;" type_identifier identifier ;) (declaration "byte bVar2;" type_identifier identifier ;) (declaration "bool bVar3;" primitive_type identifier ;) (declaration "undefined *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "char cVar16;" primitive_type identifier ;) (declaration "char cVar17;" primitive_type identifier ;) (declaration "char cVar18;" primitive_type identifier ;) (declaration "char cVar19;" primitive_type identifier ;) (declaration "int *piVar6;" primitive_type (pointer_declarator "*piVar6" * identifier) ;) (declaration "int *piVar7;" primitive_type (pointer_declarator "*piVar7" * identifier) ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "int iVar9;" primitive_type identifier ;) (declaration "double *pdVar10;" primitive_type (pointer_declarator "*pdVar10" * identifier) ;) (declaration "double *pdVar11;" primitive_type (pointer_declarator "*pdVar11" * identifier) ;) (declaration "undefined *puVar12;" type_identifier (pointer_declarator "*puVar12" * identifier) ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "short sVar15;" (sized_type_specifier "short" short) identifier ;) (declaration "uint uVar14;" type_identifier identifier ;) (declaration "uint extraout_v1;" type_identifier identifier ;) (declaration "int iVar20;" primitive_type identifier ;) (declaration "undefined *puVar21;" type_identifier (pointer_declarator "*puVar21" * identifier) ;) (declaration "int iVar22;" primitive_type identifier ;) (declaration "int iVar23;" primitive_type identifier ;) (declaration "byte *pbVar24;" type_identifier (pointer_declarator "*pbVar24" * identifier) ;) (declaration "undefined *puVar25;" type_identifier (pointer_declarator "*puVar25" * identifier) ;) (declaration "undefined4 uVar26;" type_identifier identifier ;) (declaration "int iVar27;" primitive_type identifier ;) (declaration "int unaff_s0;" primitive_type identifier ;) (declaration "byte *unaff_s3;" type_identifier (pointer_declarator "*unaff_s3" * identifier) ;) (declaration "uint uVar28;" type_identifier identifier ;) (declaration "uint uVar29;" type_identifier identifier ;) (declaration "uint uVar30;" type_identifier identifier ;) (declaration "byte *pbVar31;" type_identifier (pointer_declarator "*pbVar31" * identifier) ;) (declaration "int *unaff_s7;" primitive_type (pointer_declarator "*unaff_s7" * identifier) ;) (declaration "double dVar32;" primitive_type identifier ;) (declaration "float fVar34;" primitive_type identifier ;) (declaration "double dVar33;" primitive_type identifier ;) (declaration "double in_f2_3;" primitive_type identifier ;) (declaration "double dVar35;" primitive_type identifier ;) (declaration "double dVar36;" primitive_type identifier ;) (declaration "double in_f20_21;" primitive_type identifier ;) (declaration "double in_f22_23;" primitive_type identifier ;) (declaration "double in_f24_25;" primitive_type identifier ;) (declaration "undefined8 uVar37;" type_identifier identifier ;) (declaration "int *local_10d8;" primitive_type (pointer_declarator "*local_10d8" * identifier) ;) (declaration "int local_10d4;" primitive_type identifier ;) (declaration "byte *local_10d0;" type_identifier (pointer_declarator "*local_10d0" * identifier) ;) (declaration "int local_10cc;" primitive_type identifier ;) (declaration "undefined *local_10c8;" type_identifier (pointer_declarator "*local_10c8" * identifier) ;) (declaration "short *local_10bc;" (sized_type_specifier "short" short) (pointer_declarator "*local_10bc" * identifier) ;) (declaration "int local_10b8;" primitive_type identifier ;) (declaration "int local_10b0;" primitive_type identifier ;) (declaration "undefined *local_10ac;" type_identifier (pointer_declarator "*local_10ac" * identifier) ;) (declaration "int local_1094;" primitive_type identifier ;) (declaration "short local_1090;" (sized_type_specifier "short" short) identifier ;) (declaration "short local_108e;" (sized_type_specifier "short" short) identifier ;) (declaration "short local_108c;" (sized_type_specifier "short" short) identifier ;) (declaration "short local_108a;" (sized_type_specifier "short" short) identifier ;) (declaration "undefined1 auStack_1088 [8];" type_identifier (array_declarator "auStack_1088 [8]" identifier [ number_literal ]) ;) (declaration "undefined4 local_1080;" type_identifier identifier ;) (declaration "undefined1 auStack_1078 [8];" type_identifier (array_declarator "auStack_1078 [8]" identifier [ number_literal ]) ;) (declaration "int local_1070;" primitive_type identifier ;) (declaration "int local_106c;" primitive_type identifier ;) (declaration "short local_1066;" (sized_type_specifier "short" short) identifier ;) (declaration "short local_1064;" (sized_type_specifier "short" short) identifier ;) (declaration "short local_1062;" (sized_type_specifier "short" short) identifier ;) (declaration "undefined1 auStack_1054 [4096];" type_identifier (array_declarator "auStack_1054 [4096]" identifier [ number_literal ]) ;) (declaration "int local_54;" primitive_type identifier ;) (expression_statement "puVar4 = PTR___stack_chk_guard_003a9230;" (assignment_expression "puVar4 = PTR___stack_chk_guard_003a9230" identifier = identifier) ;) (expression_statement "local_54 = *(int *)PTR___stack_chk_guard_003a9230;" (assignment_expression "local_54 = *(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 == (byte *)0x0) {\n    dVar33 = (double)(*(code *)PTR___assert_fail_003a9608)\n                               (PTR_LAB_003a88e0 + 0xd78,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,0x374,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\n    goto LAB_00275d54;\n  }" if (parenthesized_expression "(param_1 == (byte *)0x0)" ( (binary_expression "param_1 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    dVar33 = (double)(*(code *)PTR___assert_fail_003a9608)\n                               (PTR_LAB_003a88e0 + 0xd78,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,0x374,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\n    goto LAB_00275d54;\n  }" { (expression_statement "dVar33 = (double)(*(code *)PTR___assert_fail_003a9608)\n                               (PTR_LAB_003a88e0 + 0xd78,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,0x374,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);" (assignment_expression "dVar33 = (double)(*(code *)PTR___assert_fail_003a9608)\n                               (PTR_LAB_003a88e0 + 0xd78,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,0x374,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac)" identifier = (cast_expression "(double)(*(code *)PTR___assert_fail_003a9608)\n                               (PTR_LAB_003a88e0 + 0xd78,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,0x374,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac)" ( (type_descriptor "double" primitive_type) ) (call_expression "(*(code *)PTR___assert_fail_003a9608)\n                               (PTR_LAB_003a88e0 + 0xd78,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,0x374,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac)" (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 + -0x3d60,0x374,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac)" ( (binary_expression "PTR_LAB_003a88e0 + 0xd78" identifier + number_literal) , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier + number_literal) , number_literal , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac" identifier + number_literal) ))))) ;) (goto_statement "goto LAB_00275d54;" goto statement_identifier ;) })) (if_statement "if (*(int *)(param_1 + 0x3214) == -0x54535255) {\n    if (*(int *)(param_1 + 0x3210) != 0) {\n      (*(code *)PTR_LogMagickEvent_003a91e0)\n                (0x8000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x377,\n                 PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210);\n    }\n    if (param_2 == (int *)0x0) goto LAB_00275e6c;\n    if (param_2[7] == -0x54535255) {\n      unaff_s0 = (*(code *)PTR_AcquireImage_003a960c)(param_1,param_2);\n      iVar5 = (*(code *)PTR_OpenBlob_003a924c)(param_1,unaff_s0,2,param_2);\n      if (iVar5 == 0) {\n        (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n        uVar26 = 0;\n        goto LAB_00274228;\n      }\n      local_1066 = 0;\n      local_1064 = 0;\n      cVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar17 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar18 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar19 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      if ((((cVar16 != 'P') || (unaff_s3 = (byte *)0x1fc, cVar17 != 'I')) || (cVar18 != 'C')) ||\n         (cVar19 != 'T')) {\n        unaff_s3 = (byte *)0x1fc;\n        do {\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (iVar5 == -1) break;\n          unaff_s3 = unaff_s3 + -1;\n        } while (unaff_s3 != (byte *)0x0);\n      }\n      (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n      iVar5 = FUN_002739c8(unaff_s0,&local_1090);\n      if (iVar5 == 0) {\n        uVar26 = 0x397;\n      }\n      else {\n        do {\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n        } while (iVar5 == 0);\n        uVar26 = 0x39a;\n        if (iVar5 == 0x11) {\n          local_10d4 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (local_10d4 == 2) {\n            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n            if (iVar5 != 0xff) {\n              uVar26 = 0x3a0;\n              goto LAB_002741b8;\n            }\n          }\n          else if (local_10d4 != 1) {\n            uVar26 = 0x3a4;\n            goto LAB_002741b8;\n          }\n          iVar5 = (int)local_108e;\n          iVar13 = (int)local_108a;\n          if ((((-1 < iVar5) && (iVar9 = (int)local_1090, -1 < iVar13)) &&\n              ((iVar22 = (int)local_108c, -1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13)))))) &&\n             (iVar9 < iVar22)) {\n            iVar23 = *(int *)(param_1 + 0x1dc);\n            *(undefined4 *)(unaff_s0 + 0x200) = 0;\n            *(int *)(unaff_s0 + 0x18) = iVar13 - iVar5;\n            *(undefined4 *)(unaff_s0 + 0x20) = 8;\n            puVar12 = PTR_LAB_003a88e0;\n            *(int *)(unaff_s0 + 0x1c) = iVar22 - iVar9;\n            uVar37 = *(undefined8 *)(puVar12 + 0x13f0);\n            *(undefined8 *)(unaff_s0 + 0x218) = uVar37;\n            *(undefined8 *)(unaff_s0 + 0x220) = uVar37;\n            if (((iVar23 != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n               (pbVar31 = unaff_s3, piVar6 = unaff_s7,\n               (*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=\n               *(uint *)(unaff_s0 + 0x26c))) goto LAB_00274430;\n            iVar5 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar13 - iVar5,iVar22 - iVar9,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            local_10c8 = PTR_LAB_003a88e0;\n            unaff_s7 = (int *)0x0;\n            local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n            unaff_s3 = (byte *)0x0;\n            local_10b8 = 0;\n            in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418);\n            in_f22_23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n            in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58);\n            local_10cc = 0;\n            local_10bc = &local_1090;\n            local_10d0 = param_1;\n            local_10d8 = param_2;\nLAB_002744b8:\n            do {\n              piVar6 = (int *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pbVar31 = local_10d0;\n              if ((piVar6 != (int *)0x0) ||\n                 (((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pbVar31;\n                unaff_s7 = piVar6;\nLAB_00274228:\n                if (local_54 == *(int *)puVar4) {\n                  return uVar26;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (int *)((uint)piVar6 & 0xffff);\n              if (unaff_s7 == (int *)0x0) {\n                unaff_s7 = (int *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (int *)0xa2) {\n                if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (int *)0x78) {\n                  if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }\n                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                  puVar12 = PTR_SetImageExtent_003a94ac;\n                  if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;\n                  iVar5 = (int)local_108a - (int)local_108e;\n                  iVar13 = (int)local_108c - (int)local_1090;\n                  *(int *)(unaff_s0 + 0x18) = iVar5;\n                  *(int *)(unaff_s0 + 0x1c) = iVar13;\n                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);\n                  if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((int *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)) goto LAB_002752a0;\n                bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2;\n                if (bVar3) {\n                  uVar28 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                if (iVar5 != 0) {\n                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);\n                  if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);\n                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }\n                  piVar7[9] = 2;\nLAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);\n                  if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }\n                  iVar5 = piVar7[9];\n                  if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }\nLAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar26 = 0x4d7;\n                  unaff_s7 = piVar7;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (byte *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar26 = 0x491;\nLAB_002757bc:\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar12 = PTR_s_courses_003a88ec + -400;\n                piVar7 = unaff_s7;\nLAB_0027507c:\n                uVar8 = 0x1a9;\n                unaff_s7 = piVar7;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                uVar26 = 0;\n                goto LAB_00274228;\n              }\n              if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7);\n              }\n              if (unaff_s7 != (int *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7 + -0x2c) {\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar5 = 0x18;\n              do {\n                iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar13 == -1) break;\n                iVar5 = iVar5 + -1;\n              } while (iVar5 != 0);\n            } while( true );\n          }\n          uVar26 = 0x3a8;\n        }\n      }\nLAB_002741b8:\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,uVar26,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,param_1 + 0x2210);\n      if (unaff_s0 == 0) goto LAB_00274224;\n      goto LAB_00274208;\n    }\n  }\n  else {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0xda0,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n               0x375,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\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    if (*(int *)(param_1 + 0x3210) != 0) {\n      (*(code *)PTR_LogMagickEvent_003a91e0)\n                (0x8000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x377,\n                 PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210);\n    }\n    if (param_2 == (int *)0x0) goto LAB_00275e6c;\n    if (param_2[7] == -0x54535255) {\n      unaff_s0 = (*(code *)PTR_AcquireImage_003a960c)(param_1,param_2);\n      iVar5 = (*(code *)PTR_OpenBlob_003a924c)(param_1,unaff_s0,2,param_2);\n      if (iVar5 == 0) {\n        (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n        uVar26 = 0;\n        goto LAB_00274228;\n      }\n      local_1066 = 0;\n      local_1064 = 0;\n      cVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar17 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar18 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar19 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      if ((((cVar16 != 'P') || (unaff_s3 = (byte *)0x1fc, cVar17 != 'I')) || (cVar18 != 'C')) ||\n         (cVar19 != 'T')) {\n        unaff_s3 = (byte *)0x1fc;\n        do {\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (iVar5 == -1) break;\n          unaff_s3 = unaff_s3 + -1;\n        } while (unaff_s3 != (byte *)0x0);\n      }\n      (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n      iVar5 = FUN_002739c8(unaff_s0,&local_1090);\n      if (iVar5 == 0) {\n        uVar26 = 0x397;\n      }\n      else {\n        do {\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n        } while (iVar5 == 0);\n        uVar26 = 0x39a;\n        if (iVar5 == 0x11) {\n          local_10d4 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (local_10d4 == 2) {\n            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n            if (iVar5 != 0xff) {\n              uVar26 = 0x3a0;\n              goto LAB_002741b8;\n            }\n          }\n          else if (local_10d4 != 1) {\n            uVar26 = 0x3a4;\n            goto LAB_002741b8;\n          }\n          iVar5 = (int)local_108e;\n          iVar13 = (int)local_108a;\n          if ((((-1 < iVar5) && (iVar9 = (int)local_1090, -1 < iVar13)) &&\n              ((iVar22 = (int)local_108c, -1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13)))))) &&\n             (iVar9 < iVar22)) {\n            iVar23 = *(int *)(param_1 + 0x1dc);\n            *(undefined4 *)(unaff_s0 + 0x200) = 0;\n            *(int *)(unaff_s0 + 0x18) = iVar13 - iVar5;\n            *(undefined4 *)(unaff_s0 + 0x20) = 8;\n            puVar12 = PTR_LAB_003a88e0;\n            *(int *)(unaff_s0 + 0x1c) = iVar22 - iVar9;\n            uVar37 = *(undefined8 *)(puVar12 + 0x13f0);\n            *(undefined8 *)(unaff_s0 + 0x218) = uVar37;\n            *(undefined8 *)(unaff_s0 + 0x220) = uVar37;\n            if (((iVar23 != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n               (pbVar31 = unaff_s3, piVar6 = unaff_s7,\n               (*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=\n               *(uint *)(unaff_s0 + 0x26c))) goto LAB_00274430;\n            iVar5 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar13 - iVar5,iVar22 - iVar9,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            local_10c8 = PTR_LAB_003a88e0;\n            unaff_s7 = (int *)0x0;\n            local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n            unaff_s3 = (byte *)0x0;\n            local_10b8 = 0;\n            in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418);\n            in_f22_23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n            in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58);\n            local_10cc = 0;\n            local_10bc = &local_1090;\n            local_10d0 = param_1;\n            local_10d8 = param_2;\nLAB_002744b8:\n            do {\n              piVar6 = (int *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pbVar31 = local_10d0;\n              if ((piVar6 != (int *)0x0) ||\n                 (((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pbVar31;\n                unaff_s7 = piVar6;\nLAB_00274228:\n                if (local_54 == *(int *)puVar4) {\n                  return uVar26;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (int *)((uint)piVar6 & 0xffff);\n              if (unaff_s7 == (int *)0x0) {\n                unaff_s7 = (int *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (int *)0xa2) {\n                if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (int *)0x78) {\n                  if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }\n                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                  puVar12 = PTR_SetImageExtent_003a94ac;\n                  if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;\n                  iVar5 = (int)local_108a - (int)local_108e;\n                  iVar13 = (int)local_108c - (int)local_1090;\n                  *(int *)(unaff_s0 + 0x18) = iVar5;\n                  *(int *)(unaff_s0 + 0x1c) = iVar13;\n                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);\n                  if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((int *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)) goto LAB_002752a0;\n                bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2;\n                if (bVar3) {\n                  uVar28 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                if (iVar5 != 0) {\n                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);\n                  if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);\n                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }\n                  piVar7[9] = 2;\nLAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);\n                  if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }\n                  iVar5 = piVar7[9];\n                  if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }\nLAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar26 = 0x4d7;\n                  unaff_s7 = piVar7;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (byte *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar26 = 0x491;\nLAB_002757bc:\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar12 = PTR_s_courses_003a88ec + -400;\n                piVar7 = unaff_s7;\nLAB_0027507c:\n                uVar8 = 0x1a9;\n                unaff_s7 = piVar7;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                uVar26 = 0;\n                goto LAB_00274228;\n              }\n              if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7);\n              }\n              if (unaff_s7 != (int *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7 + -0x2c) {\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar5 = 0x18;\n              do {\n                iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar13 == -1) break;\n                iVar5 = iVar5 + -1;\n              } while (iVar5 != 0);\n            } while( true );\n          }\n          uVar26 = 0x3a8;\n        }\n      }\nLAB_002741b8:\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,uVar26,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,param_1 + 0x2210);\n      if (unaff_s0 == 0) goto LAB_00274224;\n      goto LAB_00274208;\n    }\n  }" { (if_statement "if (*(int *)(param_1 + 0x3210) != 0) {\n      (*(code *)PTR_LogMagickEvent_003a91e0)\n                (0x8000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x377,\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 + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x377,\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 + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x377,\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 + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x377,\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 + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x377,\n                 PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210)" ( number_literal , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier + number_literal) , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" 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) goto LAB_00275e6c;" 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)) )) (goto_statement "goto LAB_00275e6c;" goto statement_identifier ;)) (if_statement "if (param_2[7] == -0x54535255) {\n      unaff_s0 = (*(code *)PTR_AcquireImage_003a960c)(param_1,param_2);\n      iVar5 = (*(code *)PTR_OpenBlob_003a924c)(param_1,unaff_s0,2,param_2);\n      if (iVar5 == 0) {\n        (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n        uVar26 = 0;\n        goto LAB_00274228;\n      }\n      local_1066 = 0;\n      local_1064 = 0;\n      cVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar17 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar18 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar19 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      if ((((cVar16 != 'P') || (unaff_s3 = (byte *)0x1fc, cVar17 != 'I')) || (cVar18 != 'C')) ||\n         (cVar19 != 'T')) {\n        unaff_s3 = (byte *)0x1fc;\n        do {\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (iVar5 == -1) break;\n          unaff_s3 = unaff_s3 + -1;\n        } while (unaff_s3 != (byte *)0x0);\n      }\n      (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n      iVar5 = FUN_002739c8(unaff_s0,&local_1090);\n      if (iVar5 == 0) {\n        uVar26 = 0x397;\n      }\n      else {\n        do {\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n        } while (iVar5 == 0);\n        uVar26 = 0x39a;\n        if (iVar5 == 0x11) {\n          local_10d4 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (local_10d4 == 2) {\n            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n            if (iVar5 != 0xff) {\n              uVar26 = 0x3a0;\n              goto LAB_002741b8;\n            }\n          }\n          else if (local_10d4 != 1) {\n            uVar26 = 0x3a4;\n            goto LAB_002741b8;\n          }\n          iVar5 = (int)local_108e;\n          iVar13 = (int)local_108a;\n          if ((((-1 < iVar5) && (iVar9 = (int)local_1090, -1 < iVar13)) &&\n              ((iVar22 = (int)local_108c, -1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13)))))) &&\n             (iVar9 < iVar22)) {\n            iVar23 = *(int *)(param_1 + 0x1dc);\n            *(undefined4 *)(unaff_s0 + 0x200) = 0;\n            *(int *)(unaff_s0 + 0x18) = iVar13 - iVar5;\n            *(undefined4 *)(unaff_s0 + 0x20) = 8;\n            puVar12 = PTR_LAB_003a88e0;\n            *(int *)(unaff_s0 + 0x1c) = iVar22 - iVar9;\n            uVar37 = *(undefined8 *)(puVar12 + 0x13f0);\n            *(undefined8 *)(unaff_s0 + 0x218) = uVar37;\n            *(undefined8 *)(unaff_s0 + 0x220) = uVar37;\n            if (((iVar23 != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n               (pbVar31 = unaff_s3, piVar6 = unaff_s7,\n               (*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=\n               *(uint *)(unaff_s0 + 0x26c))) goto LAB_00274430;\n            iVar5 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar13 - iVar5,iVar22 - iVar9,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            local_10c8 = PTR_LAB_003a88e0;\n            unaff_s7 = (int *)0x0;\n            local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n            unaff_s3 = (byte *)0x0;\n            local_10b8 = 0;\n            in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418);\n            in_f22_23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n            in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58);\n            local_10cc = 0;\n            local_10bc = &local_1090;\n            local_10d0 = param_1;\n            local_10d8 = param_2;\nLAB_002744b8:\n            do {\n              piVar6 = (int *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pbVar31 = local_10d0;\n              if ((piVar6 != (int *)0x0) ||\n                 (((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pbVar31;\n                unaff_s7 = piVar6;\nLAB_00274228:\n                if (local_54 == *(int *)puVar4) {\n                  return uVar26;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (int *)((uint)piVar6 & 0xffff);\n              if (unaff_s7 == (int *)0x0) {\n                unaff_s7 = (int *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (int *)0xa2) {\n                if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (int *)0x78) {\n                  if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }\n                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                  puVar12 = PTR_SetImageExtent_003a94ac;\n                  if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;\n                  iVar5 = (int)local_108a - (int)local_108e;\n                  iVar13 = (int)local_108c - (int)local_1090;\n                  *(int *)(unaff_s0 + 0x18) = iVar5;\n                  *(int *)(unaff_s0 + 0x1c) = iVar13;\n                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);\n                  if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((int *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)) goto LAB_002752a0;\n                bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2;\n                if (bVar3) {\n                  uVar28 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                if (iVar5 != 0) {\n                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);\n                  if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);\n                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }\n                  piVar7[9] = 2;\nLAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);\n                  if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }\n                  iVar5 = piVar7[9];\n                  if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }\nLAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar26 = 0x4d7;\n                  unaff_s7 = piVar7;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (byte *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar26 = 0x491;\nLAB_002757bc:\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar12 = PTR_s_courses_003a88ec + -400;\n                piVar7 = unaff_s7;\nLAB_0027507c:\n                uVar8 = 0x1a9;\n                unaff_s7 = piVar7;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                uVar26 = 0;\n                goto LAB_00274228;\n              }\n              if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7);\n              }\n              if (unaff_s7 != (int *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7 + -0x2c) {\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar5 = 0x18;\n              do {\n                iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar13 == -1) break;\n                iVar5 = iVar5 + -1;\n              } while (iVar5 != 0);\n            } while( true );\n          }\n          uVar26 = 0x3a8;\n        }\n      }\nLAB_002741b8:\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,uVar26,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,param_1 + 0x2210);\n      if (unaff_s0 == 0) goto LAB_00274224;\n      goto LAB_00274208;\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      unaff_s0 = (*(code *)PTR_AcquireImage_003a960c)(param_1,param_2);\n      iVar5 = (*(code *)PTR_OpenBlob_003a924c)(param_1,unaff_s0,2,param_2);\n      if (iVar5 == 0) {\n        (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n        uVar26 = 0;\n        goto LAB_00274228;\n      }\n      local_1066 = 0;\n      local_1064 = 0;\n      cVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar17 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar18 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar19 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      if ((((cVar16 != 'P') || (unaff_s3 = (byte *)0x1fc, cVar17 != 'I')) || (cVar18 != 'C')) ||\n         (cVar19 != 'T')) {\n        unaff_s3 = (byte *)0x1fc;\n        do {\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (iVar5 == -1) break;\n          unaff_s3 = unaff_s3 + -1;\n        } while (unaff_s3 != (byte *)0x0);\n      }\n      (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n      iVar5 = FUN_002739c8(unaff_s0,&local_1090);\n      if (iVar5 == 0) {\n        uVar26 = 0x397;\n      }\n      else {\n        do {\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n        } while (iVar5 == 0);\n        uVar26 = 0x39a;\n        if (iVar5 == 0x11) {\n          local_10d4 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (local_10d4 == 2) {\n            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n            if (iVar5 != 0xff) {\n              uVar26 = 0x3a0;\n              goto LAB_002741b8;\n            }\n          }\n          else if (local_10d4 != 1) {\n            uVar26 = 0x3a4;\n            goto LAB_002741b8;\n          }\n          iVar5 = (int)local_108e;\n          iVar13 = (int)local_108a;\n          if ((((-1 < iVar5) && (iVar9 = (int)local_1090, -1 < iVar13)) &&\n              ((iVar22 = (int)local_108c, -1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13)))))) &&\n             (iVar9 < iVar22)) {\n            iVar23 = *(int *)(param_1 + 0x1dc);\n            *(undefined4 *)(unaff_s0 + 0x200) = 0;\n            *(int *)(unaff_s0 + 0x18) = iVar13 - iVar5;\n            *(undefined4 *)(unaff_s0 + 0x20) = 8;\n            puVar12 = PTR_LAB_003a88e0;\n            *(int *)(unaff_s0 + 0x1c) = iVar22 - iVar9;\n            uVar37 = *(undefined8 *)(puVar12 + 0x13f0);\n            *(undefined8 *)(unaff_s0 + 0x218) = uVar37;\n            *(undefined8 *)(unaff_s0 + 0x220) = uVar37;\n            if (((iVar23 != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n               (pbVar31 = unaff_s3, piVar6 = unaff_s7,\n               (*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=\n               *(uint *)(unaff_s0 + 0x26c))) goto LAB_00274430;\n            iVar5 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar13 - iVar5,iVar22 - iVar9,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            local_10c8 = PTR_LAB_003a88e0;\n            unaff_s7 = (int *)0x0;\n            local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n            unaff_s3 = (byte *)0x0;\n            local_10b8 = 0;\n            in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418);\n            in_f22_23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n            in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58);\n            local_10cc = 0;\n            local_10bc = &local_1090;\n            local_10d0 = param_1;\n            local_10d8 = param_2;\nLAB_002744b8:\n            do {\n              piVar6 = (int *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pbVar31 = local_10d0;\n              if ((piVar6 != (int *)0x0) ||\n                 (((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pbVar31;\n                unaff_s7 = piVar6;\nLAB_00274228:\n                if (local_54 == *(int *)puVar4) {\n                  return uVar26;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (int *)((uint)piVar6 & 0xffff);\n              if (unaff_s7 == (int *)0x0) {\n                unaff_s7 = (int *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (int *)0xa2) {\n                if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (int *)0x78) {\n                  if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }\n                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                  puVar12 = PTR_SetImageExtent_003a94ac;\n                  if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;\n                  iVar5 = (int)local_108a - (int)local_108e;\n                  iVar13 = (int)local_108c - (int)local_1090;\n                  *(int *)(unaff_s0 + 0x18) = iVar5;\n                  *(int *)(unaff_s0 + 0x1c) = iVar13;\n                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);\n                  if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((int *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)) goto LAB_002752a0;\n                bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2;\n                if (bVar3) {\n                  uVar28 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                if (iVar5 != 0) {\n                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);\n                  if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);\n                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }\n                  piVar7[9] = 2;\nLAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);\n                  if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }\n                  iVar5 = piVar7[9];\n                  if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }\nLAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar26 = 0x4d7;\n                  unaff_s7 = piVar7;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (byte *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar26 = 0x491;\nLAB_002757bc:\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar12 = PTR_s_courses_003a88ec + -400;\n                piVar7 = unaff_s7;\nLAB_0027507c:\n                uVar8 = 0x1a9;\n                unaff_s7 = piVar7;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                uVar26 = 0;\n                goto LAB_00274228;\n              }\n              if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7);\n              }\n              if (unaff_s7 != (int *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7 + -0x2c) {\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar5 = 0x18;\n              do {\n                iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar13 == -1) break;\n                iVar5 = iVar5 + -1;\n              } while (iVar5 != 0);\n            } while( true );\n          }\n          uVar26 = 0x3a8;\n        }\n      }\nLAB_002741b8:\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,uVar26,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,param_1 + 0x2210);\n      if (unaff_s0 == 0) goto LAB_00274224;\n      goto LAB_00274208;\n    }" { (expression_statement "unaff_s0 = (*(code *)PTR_AcquireImage_003a960c)(param_1,param_2);" (assignment_expression "unaff_s0 = (*(code *)PTR_AcquireImage_003a960c)(param_1,param_2)" identifier = (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,unaff_s0,2,param_2);" (assignment_expression "iVar5 = (*(code *)PTR_OpenBlob_003a924c)(param_1,unaff_s0,2,param_2)" identifier = (call_expression "(*(code *)PTR_OpenBlob_003a924c)(param_1,unaff_s0,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,unaff_s0,2,param_2)" ( identifier , identifier , number_literal , identifier )))) ;) (if_statement "if (iVar5 == 0) {\n        (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n        uVar26 = 0;\n        goto LAB_00274228;\n      }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n        (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n        uVar26 = 0;\n        goto LAB_00274228;\n      }" { (expression_statement "(*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);" (call_expression "(*(code *)PTR_DestroyImageList_003a9510)(unaff_s0)" (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 "(unaff_s0)" ( identifier ))) ;) (expression_statement "uVar26 = 0;" (assignment_expression "uVar26 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_00274228;" goto statement_identifier ;) })) (expression_statement "local_1066 = 0;" (assignment_expression "local_1066 = 0" identifier = number_literal) ;) (expression_statement "local_1064 = 0;" (assignment_expression "local_1064 = 0" identifier = number_literal) ;) (expression_statement "cVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "cVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (expression_statement "cVar17 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "cVar17 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (expression_statement "cVar18 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "cVar18 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (expression_statement "cVar19 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "cVar19 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if ((((cVar16 != 'P') || (unaff_s3 = (byte *)0x1fc, cVar17 != 'I')) || (cVar18 != 'C')) ||\n         (cVar19 != 'T')) {\n        unaff_s3 = (byte *)0x1fc;\n        do {\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (iVar5 == -1) break;\n          unaff_s3 = unaff_s3 + -1;\n        } while (unaff_s3 != (byte *)0x0);\n      }" if (parenthesized_expression "((((cVar16 != 'P') || (unaff_s3 = (byte *)0x1fc, cVar17 != 'I')) || (cVar18 != 'C')) ||\n         (cVar19 != 'T'))" ( (binary_expression "(((cVar16 != 'P') || (unaff_s3 = (byte *)0x1fc, cVar17 != 'I')) || (cVar18 != 'C')) ||\n         (cVar19 != 'T')" (parenthesized_expression "(((cVar16 != 'P') || (unaff_s3 = (byte *)0x1fc, cVar17 != 'I')) || (cVar18 != 'C'))" ( (binary_expression "((cVar16 != 'P') || (unaff_s3 = (byte *)0x1fc, cVar17 != 'I')) || (cVar18 != 'C')" (parenthesized_expression "((cVar16 != 'P') || (unaff_s3 = (byte *)0x1fc, cVar17 != 'I'))" ( (binary_expression "(cVar16 != 'P') || (unaff_s3 = (byte *)0x1fc, cVar17 != 'I')" (parenthesized_expression "(cVar16 != 'P')" ( (binary_expression "cVar16 != 'P'" identifier != (char_literal "'P'" ' character ')) )) || (parenthesized_expression "(unaff_s3 = (byte *)0x1fc, cVar17 != 'I')" ( (comma_expression "unaff_s3 = (byte *)0x1fc, cVar17 != 'I'" (assignment_expression "unaff_s3 = (byte *)0x1fc" identifier = (cast_expression "(byte *)0x1fc" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) , (binary_expression "cVar17 != 'I'" identifier != (char_literal "'I'" ' character '))) ))) )) || (parenthesized_expression "(cVar18 != 'C')" ( (binary_expression "cVar18 != 'C'" identifier != (char_literal "'C'" ' character ')) ))) )) || (parenthesized_expression "(cVar19 != 'T')" ( (binary_expression "cVar19 != 'T'" identifier != (char_literal "'T'" ' character ')) ))) )) (compound_statement "{\n        unaff_s3 = (byte *)0x1fc;\n        do {\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (iVar5 == -1) break;\n          unaff_s3 = unaff_s3 + -1;\n        } while (unaff_s3 != (byte *)0x0);\n      }" { (expression_statement "unaff_s3 = (byte *)0x1fc;" (assignment_expression "unaff_s3 = (byte *)0x1fc" identifier = (cast_expression "(byte *)0x1fc" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (do_statement "do {\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (iVar5 == -1) break;\n          unaff_s3 = unaff_s3 + -1;\n        } while (unaff_s3 != (byte *)0x0);" do (compound_statement "{\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (iVar5 == -1) break;\n          unaff_s3 = unaff_s3 + -1;\n        }" { (expression_statement "iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (iVar5 == -1) break;" if (parenthesized_expression "(iVar5 == -1)" ( (binary_expression "iVar5 == -1" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "unaff_s3 = unaff_s3 + -1;" (assignment_expression "unaff_s3 = unaff_s3 + -1" identifier = (binary_expression "unaff_s3 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(unaff_s3 != (byte *)0x0)" ( (binary_expression "unaff_s3 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) ;) })) (expression_statement "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier ))) ;) (expression_statement "iVar5 = FUN_002739c8(unaff_s0,&local_1090);" (assignment_expression "iVar5 = FUN_002739c8(unaff_s0,&local_1090)" identifier = (call_expression "FUN_002739c8(unaff_s0,&local_1090)" identifier (argument_list "(unaff_s0,&local_1090)" ( identifier , (pointer_expression "&local_1090" & identifier) )))) ;) (if_statement "if (iVar5 == 0) {\n        uVar26 = 0x397;\n      }\n      else {\n        do {\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n        } while (iVar5 == 0);\n        uVar26 = 0x39a;\n        if (iVar5 == 0x11) {\n          local_10d4 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (local_10d4 == 2) {\n            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n            if (iVar5 != 0xff) {\n              uVar26 = 0x3a0;\n              goto LAB_002741b8;\n            }\n          }\n          else if (local_10d4 != 1) {\n            uVar26 = 0x3a4;\n            goto LAB_002741b8;\n          }\n          iVar5 = (int)local_108e;\n          iVar13 = (int)local_108a;\n          if ((((-1 < iVar5) && (iVar9 = (int)local_1090, -1 < iVar13)) &&\n              ((iVar22 = (int)local_108c, -1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13)))))) &&\n             (iVar9 < iVar22)) {\n            iVar23 = *(int *)(param_1 + 0x1dc);\n            *(undefined4 *)(unaff_s0 + 0x200) = 0;\n            *(int *)(unaff_s0 + 0x18) = iVar13 - iVar5;\n            *(undefined4 *)(unaff_s0 + 0x20) = 8;\n            puVar12 = PTR_LAB_003a88e0;\n            *(int *)(unaff_s0 + 0x1c) = iVar22 - iVar9;\n            uVar37 = *(undefined8 *)(puVar12 + 0x13f0);\n            *(undefined8 *)(unaff_s0 + 0x218) = uVar37;\n            *(undefined8 *)(unaff_s0 + 0x220) = uVar37;\n            if (((iVar23 != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n               (pbVar31 = unaff_s3, piVar6 = unaff_s7,\n               (*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=\n               *(uint *)(unaff_s0 + 0x26c))) goto LAB_00274430;\n            iVar5 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar13 - iVar5,iVar22 - iVar9,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            local_10c8 = PTR_LAB_003a88e0;\n            unaff_s7 = (int *)0x0;\n            local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n            unaff_s3 = (byte *)0x0;\n            local_10b8 = 0;\n            in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418);\n            in_f22_23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n            in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58);\n            local_10cc = 0;\n            local_10bc = &local_1090;\n            local_10d0 = param_1;\n            local_10d8 = param_2;\nLAB_002744b8:\n            do {\n              piVar6 = (int *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pbVar31 = local_10d0;\n              if ((piVar6 != (int *)0x0) ||\n                 (((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pbVar31;\n                unaff_s7 = piVar6;\nLAB_00274228:\n                if (local_54 == *(int *)puVar4) {\n                  return uVar26;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (int *)((uint)piVar6 & 0xffff);\n              if (unaff_s7 == (int *)0x0) {\n                unaff_s7 = (int *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (int *)0xa2) {\n                if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (int *)0x78) {\n                  if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }\n                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                  puVar12 = PTR_SetImageExtent_003a94ac;\n                  if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;\n                  iVar5 = (int)local_108a - (int)local_108e;\n                  iVar13 = (int)local_108c - (int)local_1090;\n                  *(int *)(unaff_s0 + 0x18) = iVar5;\n                  *(int *)(unaff_s0 + 0x1c) = iVar13;\n                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);\n                  if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((int *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)) goto LAB_002752a0;\n                bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2;\n                if (bVar3) {\n                  uVar28 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                if (iVar5 != 0) {\n                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);\n                  if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);\n                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }\n                  piVar7[9] = 2;\nLAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);\n                  if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }\n                  iVar5 = piVar7[9];\n                  if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }\nLAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar26 = 0x4d7;\n                  unaff_s7 = piVar7;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (byte *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar26 = 0x491;\nLAB_002757bc:\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar12 = PTR_s_courses_003a88ec + -400;\n                piVar7 = unaff_s7;\nLAB_0027507c:\n                uVar8 = 0x1a9;\n                unaff_s7 = piVar7;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                uVar26 = 0;\n                goto LAB_00274228;\n              }\n              if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7);\n              }\n              if (unaff_s7 != (int *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7 + -0x2c) {\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar5 = 0x18;\n              do {\n                iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar13 == -1) break;\n                iVar5 = iVar5 + -1;\n              } while (iVar5 != 0);\n            } while( true );\n          }\n          uVar26 = 0x3a8;\n        }\n      }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n        uVar26 = 0x397;\n      }" { (expression_statement "uVar26 = 0x397;" (assignment_expression "uVar26 = 0x397" identifier = number_literal) ;) }) (else_clause "else {\n        do {\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n        } while (iVar5 == 0);\n        uVar26 = 0x39a;\n        if (iVar5 == 0x11) {\n          local_10d4 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (local_10d4 == 2) {\n            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n            if (iVar5 != 0xff) {\n              uVar26 = 0x3a0;\n              goto LAB_002741b8;\n            }\n          }\n          else if (local_10d4 != 1) {\n            uVar26 = 0x3a4;\n            goto LAB_002741b8;\n          }\n          iVar5 = (int)local_108e;\n          iVar13 = (int)local_108a;\n          if ((((-1 < iVar5) && (iVar9 = (int)local_1090, -1 < iVar13)) &&\n              ((iVar22 = (int)local_108c, -1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13)))))) &&\n             (iVar9 < iVar22)) {\n            iVar23 = *(int *)(param_1 + 0x1dc);\n            *(undefined4 *)(unaff_s0 + 0x200) = 0;\n            *(int *)(unaff_s0 + 0x18) = iVar13 - iVar5;\n            *(undefined4 *)(unaff_s0 + 0x20) = 8;\n            puVar12 = PTR_LAB_003a88e0;\n            *(int *)(unaff_s0 + 0x1c) = iVar22 - iVar9;\n            uVar37 = *(undefined8 *)(puVar12 + 0x13f0);\n            *(undefined8 *)(unaff_s0 + 0x218) = uVar37;\n            *(undefined8 *)(unaff_s0 + 0x220) = uVar37;\n            if (((iVar23 != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n               (pbVar31 = unaff_s3, piVar6 = unaff_s7,\n               (*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=\n               *(uint *)(unaff_s0 + 0x26c))) goto LAB_00274430;\n            iVar5 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar13 - iVar5,iVar22 - iVar9,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            local_10c8 = PTR_LAB_003a88e0;\n            unaff_s7 = (int *)0x0;\n            local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n            unaff_s3 = (byte *)0x0;\n            local_10b8 = 0;\n            in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418);\n            in_f22_23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n            in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58);\n            local_10cc = 0;\n            local_10bc = &local_1090;\n            local_10d0 = param_1;\n            local_10d8 = param_2;\nLAB_002744b8:\n            do {\n              piVar6 = (int *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pbVar31 = local_10d0;\n              if ((piVar6 != (int *)0x0) ||\n                 (((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pbVar31;\n                unaff_s7 = piVar6;\nLAB_00274228:\n                if (local_54 == *(int *)puVar4) {\n                  return uVar26;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (int *)((uint)piVar6 & 0xffff);\n              if (unaff_s7 == (int *)0x0) {\n                unaff_s7 = (int *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (int *)0xa2) {\n                if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (int *)0x78) {\n                  if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }\n                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                  puVar12 = PTR_SetImageExtent_003a94ac;\n                  if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;\n                  iVar5 = (int)local_108a - (int)local_108e;\n                  iVar13 = (int)local_108c - (int)local_1090;\n                  *(int *)(unaff_s0 + 0x18) = iVar5;\n                  *(int *)(unaff_s0 + 0x1c) = iVar13;\n                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);\n                  if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((int *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)) goto LAB_002752a0;\n                bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2;\n                if (bVar3) {\n                  uVar28 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                if (iVar5 != 0) {\n                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);\n                  if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);\n                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }\n                  piVar7[9] = 2;\nLAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);\n                  if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }\n                  iVar5 = piVar7[9];\n                  if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }\nLAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar26 = 0x4d7;\n                  unaff_s7 = piVar7;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (byte *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar26 = 0x491;\nLAB_002757bc:\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar12 = PTR_s_courses_003a88ec + -400;\n                piVar7 = unaff_s7;\nLAB_0027507c:\n                uVar8 = 0x1a9;\n                unaff_s7 = piVar7;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                uVar26 = 0;\n                goto LAB_00274228;\n              }\n              if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7);\n              }\n              if (unaff_s7 != (int *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7 + -0x2c) {\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar5 = 0x18;\n              do {\n                iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar13 == -1) break;\n                iVar5 = iVar5 + -1;\n              } while (iVar5 != 0);\n            } while( true );\n          }\n          uVar26 = 0x3a8;\n        }\n      }" else (compound_statement "{\n        do {\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n        } while (iVar5 == 0);\n        uVar26 = 0x39a;\n        if (iVar5 == 0x11) {\n          local_10d4 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (local_10d4 == 2) {\n            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n            if (iVar5 != 0xff) {\n              uVar26 = 0x3a0;\n              goto LAB_002741b8;\n            }\n          }\n          else if (local_10d4 != 1) {\n            uVar26 = 0x3a4;\n            goto LAB_002741b8;\n          }\n          iVar5 = (int)local_108e;\n          iVar13 = (int)local_108a;\n          if ((((-1 < iVar5) && (iVar9 = (int)local_1090, -1 < iVar13)) &&\n              ((iVar22 = (int)local_108c, -1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13)))))) &&\n             (iVar9 < iVar22)) {\n            iVar23 = *(int *)(param_1 + 0x1dc);\n            *(undefined4 *)(unaff_s0 + 0x200) = 0;\n            *(int *)(unaff_s0 + 0x18) = iVar13 - iVar5;\n            *(undefined4 *)(unaff_s0 + 0x20) = 8;\n            puVar12 = PTR_LAB_003a88e0;\n            *(int *)(unaff_s0 + 0x1c) = iVar22 - iVar9;\n            uVar37 = *(undefined8 *)(puVar12 + 0x13f0);\n            *(undefined8 *)(unaff_s0 + 0x218) = uVar37;\n            *(undefined8 *)(unaff_s0 + 0x220) = uVar37;\n            if (((iVar23 != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n               (pbVar31 = unaff_s3, piVar6 = unaff_s7,\n               (*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=\n               *(uint *)(unaff_s0 + 0x26c))) goto LAB_00274430;\n            iVar5 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar13 - iVar5,iVar22 - iVar9,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            local_10c8 = PTR_LAB_003a88e0;\n            unaff_s7 = (int *)0x0;\n            local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n            unaff_s3 = (byte *)0x0;\n            local_10b8 = 0;\n            in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418);\n            in_f22_23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n            in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58);\n            local_10cc = 0;\n            local_10bc = &local_1090;\n            local_10d0 = param_1;\n            local_10d8 = param_2;\nLAB_002744b8:\n            do {\n              piVar6 = (int *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pbVar31 = local_10d0;\n              if ((piVar6 != (int *)0x0) ||\n                 (((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pbVar31;\n                unaff_s7 = piVar6;\nLAB_00274228:\n                if (local_54 == *(int *)puVar4) {\n                  return uVar26;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (int *)((uint)piVar6 & 0xffff);\n              if (unaff_s7 == (int *)0x0) {\n                unaff_s7 = (int *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (int *)0xa2) {\n                if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (int *)0x78) {\n                  if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }\n                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                  puVar12 = PTR_SetImageExtent_003a94ac;\n                  if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;\n                  iVar5 = (int)local_108a - (int)local_108e;\n                  iVar13 = (int)local_108c - (int)local_1090;\n                  *(int *)(unaff_s0 + 0x18) = iVar5;\n                  *(int *)(unaff_s0 + 0x1c) = iVar13;\n                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);\n                  if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((int *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)) goto LAB_002752a0;\n                bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2;\n                if (bVar3) {\n                  uVar28 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                if (iVar5 != 0) {\n                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);\n                  if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);\n                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }\n                  piVar7[9] = 2;\nLAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);\n                  if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }\n                  iVar5 = piVar7[9];\n                  if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }\nLAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar26 = 0x4d7;\n                  unaff_s7 = piVar7;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (byte *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar26 = 0x491;\nLAB_002757bc:\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar12 = PTR_s_courses_003a88ec + -400;\n                piVar7 = unaff_s7;\nLAB_0027507c:\n                uVar8 = 0x1a9;\n                unaff_s7 = piVar7;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                uVar26 = 0;\n                goto LAB_00274228;\n              }\n              if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7);\n              }\n              if (unaff_s7 != (int *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7 + -0x2c) {\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar5 = 0x18;\n              do {\n                iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar13 == -1) break;\n                iVar5 = iVar5 + -1;\n              } while (iVar5 != 0);\n            } while( true );\n          }\n          uVar26 = 0x3a8;\n        }\n      }" { (do_statement "do {\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n        } while (iVar5 == 0);" do (compound_statement "{\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n        }" { (expression_statement "iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) }) while (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) ;) (expression_statement "uVar26 = 0x39a;" (assignment_expression "uVar26 = 0x39a" identifier = number_literal) ;) (if_statement "if (iVar5 == 0x11) {\n          local_10d4 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (local_10d4 == 2) {\n            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n            if (iVar5 != 0xff) {\n              uVar26 = 0x3a0;\n              goto LAB_002741b8;\n            }\n          }\n          else if (local_10d4 != 1) {\n            uVar26 = 0x3a4;\n            goto LAB_002741b8;\n          }\n          iVar5 = (int)local_108e;\n          iVar13 = (int)local_108a;\n          if ((((-1 < iVar5) && (iVar9 = (int)local_1090, -1 < iVar13)) &&\n              ((iVar22 = (int)local_108c, -1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13)))))) &&\n             (iVar9 < iVar22)) {\n            iVar23 = *(int *)(param_1 + 0x1dc);\n            *(undefined4 *)(unaff_s0 + 0x200) = 0;\n            *(int *)(unaff_s0 + 0x18) = iVar13 - iVar5;\n            *(undefined4 *)(unaff_s0 + 0x20) = 8;\n            puVar12 = PTR_LAB_003a88e0;\n            *(int *)(unaff_s0 + 0x1c) = iVar22 - iVar9;\n            uVar37 = *(undefined8 *)(puVar12 + 0x13f0);\n            *(undefined8 *)(unaff_s0 + 0x218) = uVar37;\n            *(undefined8 *)(unaff_s0 + 0x220) = uVar37;\n            if (((iVar23 != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n               (pbVar31 = unaff_s3, piVar6 = unaff_s7,\n               (*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=\n               *(uint *)(unaff_s0 + 0x26c))) goto LAB_00274430;\n            iVar5 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar13 - iVar5,iVar22 - iVar9,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            local_10c8 = PTR_LAB_003a88e0;\n            unaff_s7 = (int *)0x0;\n            local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n            unaff_s3 = (byte *)0x0;\n            local_10b8 = 0;\n            in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418);\n            in_f22_23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n            in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58);\n            local_10cc = 0;\n            local_10bc = &local_1090;\n            local_10d0 = param_1;\n            local_10d8 = param_2;\nLAB_002744b8:\n            do {\n              piVar6 = (int *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pbVar31 = local_10d0;\n              if ((piVar6 != (int *)0x0) ||\n                 (((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pbVar31;\n                unaff_s7 = piVar6;\nLAB_00274228:\n                if (local_54 == *(int *)puVar4) {\n                  return uVar26;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (int *)((uint)piVar6 & 0xffff);\n              if (unaff_s7 == (int *)0x0) {\n                unaff_s7 = (int *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (int *)0xa2) {\n                if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (int *)0x78) {\n                  if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }\n                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                  puVar12 = PTR_SetImageExtent_003a94ac;\n                  if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;\n                  iVar5 = (int)local_108a - (int)local_108e;\n                  iVar13 = (int)local_108c - (int)local_1090;\n                  *(int *)(unaff_s0 + 0x18) = iVar5;\n                  *(int *)(unaff_s0 + 0x1c) = iVar13;\n                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);\n                  if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((int *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)) goto LAB_002752a0;\n                bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2;\n                if (bVar3) {\n                  uVar28 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                if (iVar5 != 0) {\n                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);\n                  if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);\n                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }\n                  piVar7[9] = 2;\nLAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);\n                  if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }\n                  iVar5 = piVar7[9];\n                  if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }\nLAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar26 = 0x4d7;\n                  unaff_s7 = piVar7;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (byte *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar26 = 0x491;\nLAB_002757bc:\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar12 = PTR_s_courses_003a88ec + -400;\n                piVar7 = unaff_s7;\nLAB_0027507c:\n                uVar8 = 0x1a9;\n                unaff_s7 = piVar7;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                uVar26 = 0;\n                goto LAB_00274228;\n              }\n              if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7);\n              }\n              if (unaff_s7 != (int *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7 + -0x2c) {\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar5 = 0x18;\n              do {\n                iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar13 == -1) break;\n                iVar5 = iVar5 + -1;\n              } while (iVar5 != 0);\n            } while( true );\n          }\n          uVar26 = 0x3a8;\n        }" if (parenthesized_expression "(iVar5 == 0x11)" ( (binary_expression "iVar5 == 0x11" identifier == number_literal) )) (compound_statement "{\n          local_10d4 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (local_10d4 == 2) {\n            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n            if (iVar5 != 0xff) {\n              uVar26 = 0x3a0;\n              goto LAB_002741b8;\n            }\n          }\n          else if (local_10d4 != 1) {\n            uVar26 = 0x3a4;\n            goto LAB_002741b8;\n          }\n          iVar5 = (int)local_108e;\n          iVar13 = (int)local_108a;\n          if ((((-1 < iVar5) && (iVar9 = (int)local_1090, -1 < iVar13)) &&\n              ((iVar22 = (int)local_108c, -1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13)))))) &&\n             (iVar9 < iVar22)) {\n            iVar23 = *(int *)(param_1 + 0x1dc);\n            *(undefined4 *)(unaff_s0 + 0x200) = 0;\n            *(int *)(unaff_s0 + 0x18) = iVar13 - iVar5;\n            *(undefined4 *)(unaff_s0 + 0x20) = 8;\n            puVar12 = PTR_LAB_003a88e0;\n            *(int *)(unaff_s0 + 0x1c) = iVar22 - iVar9;\n            uVar37 = *(undefined8 *)(puVar12 + 0x13f0);\n            *(undefined8 *)(unaff_s0 + 0x218) = uVar37;\n            *(undefined8 *)(unaff_s0 + 0x220) = uVar37;\n            if (((iVar23 != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n               (pbVar31 = unaff_s3, piVar6 = unaff_s7,\n               (*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=\n               *(uint *)(unaff_s0 + 0x26c))) goto LAB_00274430;\n            iVar5 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar13 - iVar5,iVar22 - iVar9,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            local_10c8 = PTR_LAB_003a88e0;\n            unaff_s7 = (int *)0x0;\n            local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n            unaff_s3 = (byte *)0x0;\n            local_10b8 = 0;\n            in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418);\n            in_f22_23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n            in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58);\n            local_10cc = 0;\n            local_10bc = &local_1090;\n            local_10d0 = param_1;\n            local_10d8 = param_2;\nLAB_002744b8:\n            do {\n              piVar6 = (int *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pbVar31 = local_10d0;\n              if ((piVar6 != (int *)0x0) ||\n                 (((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pbVar31;\n                unaff_s7 = piVar6;\nLAB_00274228:\n                if (local_54 == *(int *)puVar4) {\n                  return uVar26;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (int *)((uint)piVar6 & 0xffff);\n              if (unaff_s7 == (int *)0x0) {\n                unaff_s7 = (int *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (int *)0xa2) {\n                if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (int *)0x78) {\n                  if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }\n                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                  puVar12 = PTR_SetImageExtent_003a94ac;\n                  if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;\n                  iVar5 = (int)local_108a - (int)local_108e;\n                  iVar13 = (int)local_108c - (int)local_1090;\n                  *(int *)(unaff_s0 + 0x18) = iVar5;\n                  *(int *)(unaff_s0 + 0x1c) = iVar13;\n                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);\n                  if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((int *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)) goto LAB_002752a0;\n                bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2;\n                if (bVar3) {\n                  uVar28 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                if (iVar5 != 0) {\n                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);\n                  if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);\n                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }\n                  piVar7[9] = 2;\nLAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);\n                  if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }\n                  iVar5 = piVar7[9];\n                  if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }\nLAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar26 = 0x4d7;\n                  unaff_s7 = piVar7;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (byte *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar26 = 0x491;\nLAB_002757bc:\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar12 = PTR_s_courses_003a88ec + -400;\n                piVar7 = unaff_s7;\nLAB_0027507c:\n                uVar8 = 0x1a9;\n                unaff_s7 = piVar7;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                uVar26 = 0;\n                goto LAB_00274228;\n              }\n              if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7);\n              }\n              if (unaff_s7 != (int *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7 + -0x2c) {\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar5 = 0x18;\n              do {\n                iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar13 == -1) break;\n                iVar5 = iVar5 + -1;\n              } while (iVar5 != 0);\n            } while( true );\n          }\n          uVar26 = 0x3a8;\n        }" { (expression_statement "local_10d4 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "local_10d4 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (local_10d4 == 2) {\n            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n            if (iVar5 != 0xff) {\n              uVar26 = 0x3a0;\n              goto LAB_002741b8;\n            }\n          }\n          else if (local_10d4 != 1) {\n            uVar26 = 0x3a4;\n            goto LAB_002741b8;\n          }" if (parenthesized_expression "(local_10d4 == 2)" ( (binary_expression "local_10d4 == 2" identifier == number_literal) )) (compound_statement "{\n            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n            if (iVar5 != 0xff) {\n              uVar26 = 0x3a0;\n              goto LAB_002741b8;\n            }\n          }" { (expression_statement "iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (iVar5 != 0xff) {\n              uVar26 = 0x3a0;\n              goto LAB_002741b8;\n            }" if (parenthesized_expression "(iVar5 != 0xff)" ( (binary_expression "iVar5 != 0xff" identifier != number_literal) )) (compound_statement "{\n              uVar26 = 0x3a0;\n              goto LAB_002741b8;\n            }" { (expression_statement "uVar26 = 0x3a0;" (assignment_expression "uVar26 = 0x3a0" identifier = number_literal) ;) (goto_statement "goto LAB_002741b8;" goto statement_identifier ;) })) }) (else_clause "else if (local_10d4 != 1) {\n            uVar26 = 0x3a4;\n            goto LAB_002741b8;\n          }" else (if_statement "if (local_10d4 != 1) {\n            uVar26 = 0x3a4;\n            goto LAB_002741b8;\n          }" if (parenthesized_expression "(local_10d4 != 1)" ( (binary_expression "local_10d4 != 1" identifier != number_literal) )) (compound_statement "{\n            uVar26 = 0x3a4;\n            goto LAB_002741b8;\n          }" { (expression_statement "uVar26 = 0x3a4;" (assignment_expression "uVar26 = 0x3a4" identifier = number_literal) ;) (goto_statement "goto LAB_002741b8;" goto statement_identifier ;) })))) (expression_statement "iVar5 = (int)local_108e;" (assignment_expression "iVar5 = (int)local_108e" identifier = (cast_expression "(int)local_108e" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "iVar13 = (int)local_108a;" (assignment_expression "iVar13 = (int)local_108a" identifier = (cast_expression "(int)local_108a" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (if_statement "if ((((-1 < iVar5) && (iVar9 = (int)local_1090, -1 < iVar13)) &&\n              ((iVar22 = (int)local_108c, -1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13)))))) &&\n             (iVar9 < iVar22)) {\n            iVar23 = *(int *)(param_1 + 0x1dc);\n            *(undefined4 *)(unaff_s0 + 0x200) = 0;\n            *(int *)(unaff_s0 + 0x18) = iVar13 - iVar5;\n            *(undefined4 *)(unaff_s0 + 0x20) = 8;\n            puVar12 = PTR_LAB_003a88e0;\n            *(int *)(unaff_s0 + 0x1c) = iVar22 - iVar9;\n            uVar37 = *(undefined8 *)(puVar12 + 0x13f0);\n            *(undefined8 *)(unaff_s0 + 0x218) = uVar37;\n            *(undefined8 *)(unaff_s0 + 0x220) = uVar37;\n            if (((iVar23 != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n               (pbVar31 = unaff_s3, piVar6 = unaff_s7,\n               (*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=\n               *(uint *)(unaff_s0 + 0x26c))) goto LAB_00274430;\n            iVar5 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar13 - iVar5,iVar22 - iVar9,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            local_10c8 = PTR_LAB_003a88e0;\n            unaff_s7 = (int *)0x0;\n            local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n            unaff_s3 = (byte *)0x0;\n            local_10b8 = 0;\n            in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418);\n            in_f22_23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n            in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58);\n            local_10cc = 0;\n            local_10bc = &local_1090;\n            local_10d0 = param_1;\n            local_10d8 = param_2;\nLAB_002744b8:\n            do {\n              piVar6 = (int *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pbVar31 = local_10d0;\n              if ((piVar6 != (int *)0x0) ||\n                 (((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pbVar31;\n                unaff_s7 = piVar6;\nLAB_00274228:\n                if (local_54 == *(int *)puVar4) {\n                  return uVar26;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (int *)((uint)piVar6 & 0xffff);\n              if (unaff_s7 == (int *)0x0) {\n                unaff_s7 = (int *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (int *)0xa2) {\n                if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (int *)0x78) {\n                  if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }\n                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                  puVar12 = PTR_SetImageExtent_003a94ac;\n                  if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;\n                  iVar5 = (int)local_108a - (int)local_108e;\n                  iVar13 = (int)local_108c - (int)local_1090;\n                  *(int *)(unaff_s0 + 0x18) = iVar5;\n                  *(int *)(unaff_s0 + 0x1c) = iVar13;\n                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);\n                  if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((int *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)) goto LAB_002752a0;\n                bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2;\n                if (bVar3) {\n                  uVar28 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                if (iVar5 != 0) {\n                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);\n                  if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);\n                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }\n                  piVar7[9] = 2;\nLAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);\n                  if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }\n                  iVar5 = piVar7[9];\n                  if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }\nLAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar26 = 0x4d7;\n                  unaff_s7 = piVar7;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (byte *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar26 = 0x491;\nLAB_002757bc:\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar12 = PTR_s_courses_003a88ec + -400;\n                piVar7 = unaff_s7;\nLAB_0027507c:\n                uVar8 = 0x1a9;\n                unaff_s7 = piVar7;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                uVar26 = 0;\n                goto LAB_00274228;\n              }\n              if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7);\n              }\n              if (unaff_s7 != (int *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7 + -0x2c) {\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar5 = 0x18;\n              do {\n                iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar13 == -1) break;\n                iVar5 = iVar5 + -1;\n              } while (iVar5 != 0);\n            } while( true );\n          }" if (parenthesized_expression "((((-1 < iVar5) && (iVar9 = (int)local_1090, -1 < iVar13)) &&\n              ((iVar22 = (int)local_108c, -1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13)))))) &&\n             (iVar9 < iVar22))" ( (binary_expression "(((-1 < iVar5) && (iVar9 = (int)local_1090, -1 < iVar13)) &&\n              ((iVar22 = (int)local_108c, -1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13)))))) &&\n             (iVar9 < iVar22)" (parenthesized_expression "(((-1 < iVar5) && (iVar9 = (int)local_1090, -1 < iVar13)) &&\n              ((iVar22 = (int)local_108c, -1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13))))))" ( (binary_expression "((-1 < iVar5) && (iVar9 = (int)local_1090, -1 < iVar13)) &&\n              ((iVar22 = (int)local_108c, -1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13)))))" (parenthesized_expression "((-1 < iVar5) && (iVar9 = (int)local_1090, -1 < iVar13))" ( (binary_expression "(-1 < iVar5) && (iVar9 = (int)local_1090, -1 < iVar13)" (parenthesized_expression "(-1 < iVar5)" ( (binary_expression "-1 < iVar5" number_literal < identifier) )) && (parenthesized_expression "(iVar9 = (int)local_1090, -1 < iVar13)" ( (comma_expression "iVar9 = (int)local_1090, -1 < iVar13" (assignment_expression "iVar9 = (int)local_1090" identifier = (cast_expression "(int)local_1090" ( (type_descriptor "int" primitive_type) ) identifier)) , (binary_expression "-1 < iVar13" number_literal < identifier)) ))) )) && (parenthesized_expression "((iVar22 = (int)local_108c, -1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13)))))" ( (parenthesized_expression "(iVar22 = (int)local_108c, -1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13))))" ( (comma_expression "iVar22 = (int)local_108c, -1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13)))" (assignment_expression "iVar22 = (int)local_108c" identifier = (cast_expression "(int)local_108c" ( (type_descriptor "int" primitive_type) ) identifier)) , (binary_expression "-1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13)))" (binary_expression "-1 < iVar9" number_literal < identifier) && (parenthesized_expression "((-1 < iVar22 && (iVar5 < iVar13)))" ( (parenthesized_expression "(-1 < iVar22 && (iVar5 < iVar13))" ( (binary_expression "-1 < iVar22 && (iVar5 < iVar13)" (binary_expression "-1 < iVar22" number_literal < identifier) && (parenthesized_expression "(iVar5 < iVar13)" ( (binary_expression "iVar5 < iVar13" identifier < identifier) ))) )) )))) )) ))) )) && (parenthesized_expression "(iVar9 < iVar22)" ( (binary_expression "iVar9 < iVar22" identifier < identifier) ))) )) (compound_statement "{\n            iVar23 = *(int *)(param_1 + 0x1dc);\n            *(undefined4 *)(unaff_s0 + 0x200) = 0;\n            *(int *)(unaff_s0 + 0x18) = iVar13 - iVar5;\n            *(undefined4 *)(unaff_s0 + 0x20) = 8;\n            puVar12 = PTR_LAB_003a88e0;\n            *(int *)(unaff_s0 + 0x1c) = iVar22 - iVar9;\n            uVar37 = *(undefined8 *)(puVar12 + 0x13f0);\n            *(undefined8 *)(unaff_s0 + 0x218) = uVar37;\n            *(undefined8 *)(unaff_s0 + 0x220) = uVar37;\n            if (((iVar23 != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n               (pbVar31 = unaff_s3, piVar6 = unaff_s7,\n               (*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=\n               *(uint *)(unaff_s0 + 0x26c))) goto LAB_00274430;\n            iVar5 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar13 - iVar5,iVar22 - iVar9,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            local_10c8 = PTR_LAB_003a88e0;\n            unaff_s7 = (int *)0x0;\n            local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n            unaff_s3 = (byte *)0x0;\n            local_10b8 = 0;\n            in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418);\n            in_f22_23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n            in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58);\n            local_10cc = 0;\n            local_10bc = &local_1090;\n            local_10d0 = param_1;\n            local_10d8 = param_2;\nLAB_002744b8:\n            do {\n              piVar6 = (int *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pbVar31 = local_10d0;\n              if ((piVar6 != (int *)0x0) ||\n                 (((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pbVar31;\n                unaff_s7 = piVar6;\nLAB_00274228:\n                if (local_54 == *(int *)puVar4) {\n                  return uVar26;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (int *)((uint)piVar6 & 0xffff);\n              if (unaff_s7 == (int *)0x0) {\n                unaff_s7 = (int *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (int *)0xa2) {\n                if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (int *)0x78) {\n                  if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }\n                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                  puVar12 = PTR_SetImageExtent_003a94ac;\n                  if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;\n                  iVar5 = (int)local_108a - (int)local_108e;\n                  iVar13 = (int)local_108c - (int)local_1090;\n                  *(int *)(unaff_s0 + 0x18) = iVar5;\n                  *(int *)(unaff_s0 + 0x1c) = iVar13;\n                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);\n                  if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((int *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)) goto LAB_002752a0;\n                bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2;\n                if (bVar3) {\n                  uVar28 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                if (iVar5 != 0) {\n                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);\n                  if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);\n                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }\n                  piVar7[9] = 2;\nLAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);\n                  if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }\n                  iVar5 = piVar7[9];\n                  if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }\nLAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar26 = 0x4d7;\n                  unaff_s7 = piVar7;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (byte *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar26 = 0x491;\nLAB_002757bc:\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar12 = PTR_s_courses_003a88ec + -400;\n                piVar7 = unaff_s7;\nLAB_0027507c:\n                uVar8 = 0x1a9;\n                unaff_s7 = piVar7;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                uVar26 = 0;\n                goto LAB_00274228;\n              }\n              if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7);\n              }\n              if (unaff_s7 != (int *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7 + -0x2c) {\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar5 = 0x18;\n              do {\n                iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar13 == -1) break;\n                iVar5 = iVar5 + -1;\n              } while (iVar5 != 0);\n            } while( true );\n          }" { (expression_statement "iVar23 = *(int *)(param_1 + 0x1dc);" (assignment_expression "iVar23 = *(int *)(param_1 + 0x1dc)" identifier = (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) ))))) ;) (expression_statement "*(undefined4 *)(unaff_s0 + 0x200) = 0;" (assignment_expression "*(undefined4 *)(unaff_s0 + 0x200) = 0" (pointer_expression "*(undefined4 *)(unaff_s0 + 0x200)" * (cast_expression "(undefined4 *)(unaff_s0 + 0x200)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x200)" ( (binary_expression "unaff_s0 + 0x200" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(int *)(unaff_s0 + 0x18) = iVar13 - iVar5;" (assignment_expression "*(int *)(unaff_s0 + 0x18) = iVar13 - iVar5" (pointer_expression "*(int *)(unaff_s0 + 0x18)" * (cast_expression "(int *)(unaff_s0 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x18)" ( (binary_expression "unaff_s0 + 0x18" identifier + number_literal) )))) = (binary_expression "iVar13 - iVar5" identifier - identifier)) ;) (expression_statement "*(undefined4 *)(unaff_s0 + 0x20) = 8;" (assignment_expression "*(undefined4 *)(unaff_s0 + 0x20) = 8" (pointer_expression "*(undefined4 *)(unaff_s0 + 0x20)" * (cast_expression "(undefined4 *)(unaff_s0 + 0x20)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x20)" ( (binary_expression "unaff_s0 + 0x20" identifier + number_literal) )))) = number_literal) ;) (expression_statement "puVar12 = PTR_LAB_003a88e0;" (assignment_expression "puVar12 = PTR_LAB_003a88e0" identifier = identifier) ;) (expression_statement "*(int *)(unaff_s0 + 0x1c) = iVar22 - iVar9;" (assignment_expression "*(int *)(unaff_s0 + 0x1c) = iVar22 - iVar9" (pointer_expression "*(int *)(unaff_s0 + 0x1c)" * (cast_expression "(int *)(unaff_s0 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x1c)" ( (binary_expression "unaff_s0 + 0x1c" identifier + number_literal) )))) = (binary_expression "iVar22 - iVar9" identifier - identifier)) ;) (expression_statement "uVar37 = *(undefined8 *)(puVar12 + 0x13f0);" (assignment_expression "uVar37 = *(undefined8 *)(puVar12 + 0x13f0)" identifier = (pointer_expression "*(undefined8 *)(puVar12 + 0x13f0)" * (cast_expression "(undefined8 *)(puVar12 + 0x13f0)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar12 + 0x13f0)" ( (binary_expression "puVar12 + 0x13f0" identifier + number_literal) ))))) ;) (expression_statement "*(undefined8 *)(unaff_s0 + 0x218) = uVar37;" (assignment_expression "*(undefined8 *)(unaff_s0 + 0x218) = uVar37" (pointer_expression "*(undefined8 *)(unaff_s0 + 0x218)" * (cast_expression "(undefined8 *)(unaff_s0 + 0x218)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x218)" ( (binary_expression "unaff_s0 + 0x218" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined8 *)(unaff_s0 + 0x220) = uVar37;" (assignment_expression "*(undefined8 *)(unaff_s0 + 0x220) = uVar37" (pointer_expression "*(undefined8 *)(unaff_s0 + 0x220)" * (cast_expression "(undefined8 *)(unaff_s0 + 0x220)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x220)" ( (binary_expression "unaff_s0 + 0x220" identifier + number_literal) )))) = identifier) ;) (if_statement "if (((iVar23 != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n               (pbVar31 = unaff_s3, piVar6 = unaff_s7,\n               (*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=\n               *(uint *)(unaff_s0 + 0x26c))) goto LAB_00274430;" if (parenthesized_expression "(((iVar23 != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n               (pbVar31 = unaff_s3, piVar6 = unaff_s7,\n               (*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=\n               *(uint *)(unaff_s0 + 0x26c)))" ( (binary_expression "((iVar23 != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n               (pbVar31 = unaff_s3, piVar6 = unaff_s7,\n               (*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=\n               *(uint *)(unaff_s0 + 0x26c))" (parenthesized_expression "((iVar23 != 0) && (*(int *)(param_1 + 0x2c) != 0))" ( (binary_expression "(iVar23 != 0) && (*(int *)(param_1 + 0x2c) != 0)" (parenthesized_expression "(iVar23 != 0)" ( (binary_expression "iVar23 != 0" identifier != 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 "(pbVar31 = unaff_s3, piVar6 = unaff_s7,\n               (*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=\n               *(uint *)(unaff_s0 + 0x26c))" ( (comma_expression "pbVar31 = unaff_s3, piVar6 = unaff_s7,\n               (*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=\n               *(uint *)(unaff_s0 + 0x26c)" (assignment_expression "pbVar31 = unaff_s3" identifier = identifier) , (comma_expression "piVar6 = unaff_s7,\n               (*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=\n               *(uint *)(unaff_s0 + 0x26c)" (assignment_expression "piVar6 = unaff_s7" identifier = identifier) , (binary_expression "(*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=\n               *(uint *)(unaff_s0 + 0x26c)" (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) <= (pointer_expression "*(uint *)(unaff_s0 + 0x26c)" * (cast_expression "(uint *)(unaff_s0 + 0x26c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x26c)" ( (binary_expression "unaff_s0 + 0x26c" identifier + number_literal) ))))))) ))) )) (goto_statement "goto LAB_00274430;" goto statement_identifier ;)) (expression_statement "iVar5 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar13 - iVar5,iVar22 - iVar9,param_2);" (assignment_expression "iVar5 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar13 - iVar5,iVar22 - iVar9,param_2)" identifier = (call_expression "(*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar13 - iVar5,iVar22 - iVar9,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 "(unaff_s0,iVar13 - iVar5,iVar22 - iVar9,param_2)" ( identifier , (binary_expression "iVar13 - iVar5" identifier - identifier) , (binary_expression "iVar22 - iVar9" identifier - identifier) , identifier )))) ;) (if_statement "if (iVar5 == 0) goto LAB_002743d4;" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (goto_statement "goto LAB_002743d4;" goto statement_identifier ;)) (expression_statement "iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,param_2);" (assignment_expression "iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,param_2)" identifier = (call_expression "(*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,param_2)" (parenthesized_expression "(*(code *)PTR_ResetImagePixels_003a9334)" ( (pointer_expression "*(code *)PTR_ResetImagePixels_003a9334" * (cast_expression "(code *)PTR_ResetImagePixels_003a9334" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0,param_2)" ( identifier , identifier )))) ;) (if_statement "if (iVar5 == 0) goto LAB_002743d4;" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (goto_statement "goto LAB_002743d4;" goto statement_identifier ;)) (expression_statement "local_10c8 = PTR_LAB_003a88e0;" (assignment_expression "local_10c8 = PTR_LAB_003a88e0" identifier = identifier) ;) (expression_statement "unaff_s7 = (int *)0x0;" (assignment_expression "unaff_s7 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;" (assignment_expression "local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8" identifier = identifier) ;) (expression_statement "unaff_s3 = (byte *)0x0;" (assignment_expression "unaff_s3 = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_10b8 = 0;" (assignment_expression "local_10b8 = 0" identifier = number_literal) ;) (expression_statement "in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418);" (assignment_expression "in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418)" identifier = (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1418)" * (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1418)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1418)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1418" identifier + number_literal) ))))) ;) (expression_statement "in_f22_23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);" (assignment_expression "in_f22_23 = *(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 "in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58);" (assignment_expression "in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58)" identifier = (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1a58)" * (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1a58)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1a58)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1a58" identifier + number_literal) ))))) ;) (expression_statement "local_10cc = 0;" (assignment_expression "local_10cc = 0" identifier = number_literal) ;) (expression_statement "local_10bc = &local_1090;" (assignment_expression "local_10bc = &local_1090" identifier = (pointer_expression "&local_1090" & identifier)) ;) (expression_statement "local_10d0 = param_1;" (assignment_expression "local_10d0 = param_1" identifier = identifier) ;) (expression_statement "local_10d8 = param_2;" (assignment_expression "local_10d8 = param_2" identifier = identifier) ;) (labeled_statement "LAB_002744b8:\n            do {\n              piVar6 = (int *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pbVar31 = local_10d0;\n              if ((piVar6 != (int *)0x0) ||\n                 (((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pbVar31;\n                unaff_s7 = piVar6;\nLAB_00274228:\n                if (local_54 == *(int *)puVar4) {\n                  return uVar26;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (int *)((uint)piVar6 & 0xffff);\n              if (unaff_s7 == (int *)0x0) {\n                unaff_s7 = (int *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (int *)0xa2) {\n                if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (int *)0x78) {\n                  if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }\n                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                  puVar12 = PTR_SetImageExtent_003a94ac;\n                  if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;\n                  iVar5 = (int)local_108a - (int)local_108e;\n                  iVar13 = (int)local_108c - (int)local_1090;\n                  *(int *)(unaff_s0 + 0x18) = iVar5;\n                  *(int *)(unaff_s0 + 0x1c) = iVar13;\n                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);\n                  if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((int *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)) goto LAB_002752a0;\n                bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2;\n                if (bVar3) {\n                  uVar28 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                if (iVar5 != 0) {\n                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);\n                  if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);\n                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }\n                  piVar7[9] = 2;\nLAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);\n                  if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }\n                  iVar5 = piVar7[9];\n                  if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }\nLAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar26 = 0x4d7;\n                  unaff_s7 = piVar7;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (byte *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar26 = 0x491;\nLAB_002757bc:\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar12 = PTR_s_courses_003a88ec + -400;\n                piVar7 = unaff_s7;\nLAB_0027507c:\n                uVar8 = 0x1a9;\n                unaff_s7 = piVar7;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                uVar26 = 0;\n                goto LAB_00274228;\n              }\n              if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7);\n              }\n              if (unaff_s7 != (int *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7 + -0x2c) {\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar5 = 0x18;\n              do {\n                iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar13 == -1) break;\n                iVar5 = iVar5 + -1;\n              } while (iVar5 != 0);\n            } while( true );" statement_identifier : (do_statement "do {\n              piVar6 = (int *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pbVar31 = local_10d0;\n              if ((piVar6 != (int *)0x0) ||\n                 (((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pbVar31;\n                unaff_s7 = piVar6;\nLAB_00274228:\n                if (local_54 == *(int *)puVar4) {\n                  return uVar26;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (int *)((uint)piVar6 & 0xffff);\n              if (unaff_s7 == (int *)0x0) {\n                unaff_s7 = (int *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (int *)0xa2) {\n                if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (int *)0x78) {\n                  if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }\n                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                  puVar12 = PTR_SetImageExtent_003a94ac;\n                  if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;\n                  iVar5 = (int)local_108a - (int)local_108e;\n                  iVar13 = (int)local_108c - (int)local_1090;\n                  *(int *)(unaff_s0 + 0x18) = iVar5;\n                  *(int *)(unaff_s0 + 0x1c) = iVar13;\n                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);\n                  if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((int *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)) goto LAB_002752a0;\n                bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2;\n                if (bVar3) {\n                  uVar28 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                if (iVar5 != 0) {\n                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);\n                  if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);\n                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }\n                  piVar7[9] = 2;\nLAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);\n                  if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }\n                  iVar5 = piVar7[9];\n                  if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }\nLAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar26 = 0x4d7;\n                  unaff_s7 = piVar7;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (byte *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar26 = 0x491;\nLAB_002757bc:\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar12 = PTR_s_courses_003a88ec + -400;\n                piVar7 = unaff_s7;\nLAB_0027507c:\n                uVar8 = 0x1a9;\n                unaff_s7 = piVar7;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                uVar26 = 0;\n                goto LAB_00274228;\n              }\n              if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7);\n              }\n              if (unaff_s7 != (int *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7 + -0x2c) {\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar5 = 0x18;\n              do {\n                iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar13 == -1) break;\n                iVar5 = iVar5 + -1;\n              } while (iVar5 != 0);\n            } while( true );" do (compound_statement "{\n              piVar6 = (int *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pbVar31 = local_10d0;\n              if ((piVar6 != (int *)0x0) ||\n                 (((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pbVar31;\n                unaff_s7 = piVar6;\nLAB_00274228:\n                if (local_54 == *(int *)puVar4) {\n                  return uVar26;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (int *)((uint)piVar6 & 0xffff);\n              if (unaff_s7 == (int *)0x0) {\n                unaff_s7 = (int *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (int *)0xa2) {\n                if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (int *)0x78) {\n                  if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }\n                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                  puVar12 = PTR_SetImageExtent_003a94ac;\n                  if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;\n                  iVar5 = (int)local_108a - (int)local_108e;\n                  iVar13 = (int)local_108c - (int)local_1090;\n                  *(int *)(unaff_s0 + 0x18) = iVar5;\n                  *(int *)(unaff_s0 + 0x1c) = iVar13;\n                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);\n                  if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((int *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)) goto LAB_002752a0;\n                bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2;\n                if (bVar3) {\n                  uVar28 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                if (iVar5 != 0) {\n                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);\n                  if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);\n                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }\n                  piVar7[9] = 2;\nLAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);\n                  if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }\n                  iVar5 = piVar7[9];\n                  if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }\nLAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar26 = 0x4d7;\n                  unaff_s7 = piVar7;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (byte *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar26 = 0x491;\nLAB_002757bc:\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar12 = PTR_s_courses_003a88ec + -400;\n                piVar7 = unaff_s7;\nLAB_0027507c:\n                uVar8 = 0x1a9;\n                unaff_s7 = piVar7;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                uVar26 = 0;\n                goto LAB_00274228;\n              }\n              if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7);\n              }\n              if (unaff_s7 != (int *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7 + -0x2c) {\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar5 = 0x18;\n              do {\n                iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar13 == -1) break;\n                iVar5 = iVar5 + -1;\n              } while (iVar5 != 0);\n            }" { (expression_statement "piVar6 = (int *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);" (assignment_expression "piVar6 = (int *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0)" identifier = (cast_expression "(int *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_EOFBlob_003a9748)(unaff_s0)" (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 "(unaff_s0)" ( identifier ))))) ;) (expression_statement "pbVar31 = local_10d0;" (assignment_expression "pbVar31 = local_10d0" identifier = identifier) ;) (if_statement "if ((piVar6 != (int *)0x0) ||\n                 (((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pbVar31;\n                unaff_s7 = piVar6;\nLAB_00274228:\n                if (local_54 == *(int *)puVar4) {\n                  return uVar26;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }" if (parenthesized_expression "((piVar6 != (int *)0x0) ||\n                 (((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c)))))" ( (binary_expression "(piVar6 != (int *)0x0) ||\n                 (((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))))" (parenthesized_expression "(piVar6 != (int *)0x0)" ( (binary_expression "piVar6 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))))" ( (parenthesized_expression "((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c)))" ( (binary_expression "(*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))" (parenthesized_expression "(*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0))" ( (binary_expression "*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)" (binary_expression "*(int *)(local_10d0 + 0x1dc) != 0" (pointer_expression "*(int *)(local_10d0 + 0x1dc)" * (cast_expression "(int *)(local_10d0 + 0x1dc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_10d0 + 0x1dc)" ( (binary_expression "local_10d0 + 0x1dc" identifier + number_literal) )))) != number_literal) && (parenthesized_expression "(*(int *)(local_10d0 + 0x2c) != 0)" ( (binary_expression "*(int *)(local_10d0 + 0x2c) != 0" (pointer_expression "*(int *)(local_10d0 + 0x2c)" * (cast_expression "(int *)(local_10d0 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_10d0 + 0x2c)" ( (binary_expression "local_10d0 + 0x2c" identifier + number_literal) )))) != number_literal) ))) )) && (parenthesized_expression "((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))" ( (binary_expression "(*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c)" (binary_expression "(*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U" (parenthesized_expression "(*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28))" ( (binary_expression "*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)" (pointer_expression "*(int *)(local_10d0 + 0x2c)" * (cast_expression "(int *)(local_10d0 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_10d0 + 0x2c)" ( (binary_expression "local_10d0 + 0x2c" identifier + number_literal) )))) + (pointer_expression "*(int *)(local_10d0 + 0x28)" * (cast_expression "(int *)(local_10d0 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_10d0 + 0x28)" ( (binary_expression "local_10d0 + 0x28" identifier + number_literal) ))))) )) - number_literal) <= (pointer_expression "*(uint *)(unaff_s0 + 0x26c)" * (cast_expression "(uint *)(unaff_s0 + 0x26c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x26c)" ( (binary_expression "unaff_s0 + 0x26c" identifier + number_literal) ))))) ))) )) ))) )) (compound_statement "{\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pbVar31;\n                unaff_s7 = piVar6;\nLAB_00274228:\n                if (local_54 == *(int *)puVar4) {\n                  return uVar26;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }" { (labeled_statement "LAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);" statement_identifier : (expression_statement "(*(code *)PTR_CloseBlob_003a9688)(unaff_s0);" (call_expression "(*(code *)PTR_CloseBlob_003a9688)(unaff_s0)" (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 "(unaff_s0)" ( identifier ))) ;)) (expression_statement "uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);" (assignment_expression "uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (expression_statement "unaff_s3 = pbVar31;" (assignment_expression "unaff_s3 = pbVar31" identifier = identifier) ;) (expression_statement "unaff_s7 = piVar6;" (assignment_expression "unaff_s7 = piVar6" identifier = identifier) ;) (labeled_statement "LAB_00274228:\n                if (local_54 == *(int *)puVar4) {\n                  return uVar26;\n                }" statement_identifier : (if_statement "if (local_54 == *(int *)puVar4) {\n                  return uVar26;\n                }" if (parenthesized_expression "(local_54 == *(int *)puVar4)" ( (binary_expression "local_54 == *(int *)puVar4" identifier == (pointer_expression "*(int *)puVar4" * (cast_expression "(int *)puVar4" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n                  return uVar26;\n                }" { (return_statement "return uVar26;" return identifier ;) }))) (labeled_statement "LAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();" statement_identifier : (expression_statement "local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();" (assignment_expression "local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)()" identifier = (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 "()" ( )))) ;)) (goto_statement "goto LAB_002744b8;" goto statement_identifier ;) })) (if_statement "if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }" if (parenthesized_expression "((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0))" ( (binary_expression "(local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0)" (parenthesized_expression "(local_10d4 == 1)" ( (binary_expression "local_10d4 == 1" identifier == number_literal) )) || (parenthesized_expression "((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0)" ( (comma_expression "(*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0" (call_expression "(*(code *)PTR_TellBlob_003a931c)(unaff_s0)" (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 "(unaff_s0)" ( identifier ))) , (comma_expression "piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0" (assignment_expression "piVar6 = unaff_s7" identifier = identifier) , (binary_expression "(extraout_v1 & 1) != 0" (parenthesized_expression "(extraout_v1 & 1)" ( (binary_expression "extraout_v1 & 1" identifier & number_literal) )) != number_literal))) ))) )) (compound_statement "{\n                piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }" { (expression_statement "piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (cast_expression "(int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier ))))) ;) })) (if_statement "if (local_10d4 == 2) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }" if (parenthesized_expression "(local_10d4 == 2)" ( (binary_expression "local_10d4 == 2" identifier == number_literal) )) (compound_statement "{\n                piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }" { (expression_statement "piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);" (assignment_expression "piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0)" identifier = (cast_expression "(int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBSignedShort_003a9600" * (cast_expression "(code *)PTR_ReadBlobMSBSignedShort_003a9600" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier ))))) ;) })) (expression_statement "unaff_s7 = (int *)((uint)piVar6 & 0xffff);" (assignment_expression "unaff_s7 = (int *)((uint)piVar6 & 0xffff)" identifier = (cast_expression "(int *)((uint)piVar6 & 0xffff)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)piVar6 & 0xffff)" ( (binary_expression "(uint)piVar6 & 0xffff" (cast_expression "(uint)piVar6" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) )))) ;) (if_statement "if (unaff_s7 == (int *)0x0) {\n                unaff_s7 = (int *)0x0;\n                goto LAB_002744b8;\n              }" if (parenthesized_expression "(unaff_s7 == (int *)0x0)" ( (binary_expression "unaff_s7 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                unaff_s7 = (int *)0x0;\n                goto LAB_002744b8;\n              }" { (expression_statement "unaff_s7 = (int *)0x0;" (assignment_expression "unaff_s7 = (int *)0x0" identifier = (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (goto_statement "goto LAB_002744b8;" goto statement_identifier ;) })) (if_statement "if (unaff_s7 < (int *)0xa2) {\n                if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (int *)0x78) {\n                  if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }\n                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                  puVar12 = PTR_SetImageExtent_003a94ac;\n                  if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;\n                  iVar5 = (int)local_108a - (int)local_108e;\n                  iVar13 = (int)local_108c - (int)local_1090;\n                  *(int *)(unaff_s0 + 0x18) = iVar5;\n                  *(int *)(unaff_s0 + 0x1c) = iVar13;\n                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);\n                  if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((int *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)) goto LAB_002752a0;\n                bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2;\n                if (bVar3) {\n                  uVar28 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                if (iVar5 != 0) {\n                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);\n                  if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);\n                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }\n                  piVar7[9] = 2;\nLAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);\n                  if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }\n                  iVar5 = piVar7[9];\n                  if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }\nLAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar26 = 0x4d7;\n                  unaff_s7 = piVar7;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (byte *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar26 = 0x491;\nLAB_002757bc:\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar12 = PTR_s_courses_003a88ec + -400;\n                piVar7 = unaff_s7;\nLAB_0027507c:\n                uVar8 = 0x1a9;\n                unaff_s7 = piVar7;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                uVar26 = 0;\n                goto LAB_00274228;\n              }" if (parenthesized_expression "(unaff_s7 < (int *)0xa2)" ( (binary_expression "unaff_s7 < (int *)0xa2" identifier < (cast_expression "(int *)0xa2" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (int *)0x78) {\n                  if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }\n                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                  puVar12 = PTR_SetImageExtent_003a94ac;\n                  if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;\n                  iVar5 = (int)local_108a - (int)local_108e;\n                  iVar13 = (int)local_108c - (int)local_1090;\n                  *(int *)(unaff_s0 + 0x18) = iVar5;\n                  *(int *)(unaff_s0 + 0x1c) = iVar13;\n                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);\n                  if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((int *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)) goto LAB_002752a0;\n                bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2;\n                if (bVar3) {\n                  uVar28 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                if (iVar5 != 0) {\n                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);\n                  if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);\n                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }\n                  piVar7[9] = 2;\nLAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);\n                  if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }\n                  iVar5 = piVar7[9];\n                  if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }\nLAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar26 = 0x4d7;\n                  unaff_s7 = piVar7;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (byte *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar26 = 0x491;\nLAB_002757bc:\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar12 = PTR_s_courses_003a88ec + -400;\n                piVar7 = unaff_s7;\nLAB_0027507c:\n                uVar8 = 0x1a9;\n                unaff_s7 = piVar7;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                uVar26 = 0;\n                goto LAB_00274228;\n              }" { (if_statement "if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }" if (parenthesized_expression "(*(int *)(unaff_s0 + 0x3350) != 0)" ( (binary_expression "*(int *)(unaff_s0 + 0x3350) != 0" (pointer_expression "*(int *)(unaff_s0 + 0x3350)" * (cast_expression "(int *)(unaff_s0 + 0x3350)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x3350)" ( (binary_expression "unaff_s0 + 0x3350" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }" { (expression_statement "(*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));" (call_expression "(*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8))" (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 "(0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8))" ( number_literal , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier + number_literal) , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier + number_literal) , number_literal , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24" identifier + number_literal) , identifier , (pointer_expression "*(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c)" * (cast_expression "(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c)" ( (binary_expression "PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c" (binary_expression "PTR_DAT_003a8948 + (int)unaff_s7 * 0xc" identifier + (binary_expression "(int)unaff_s7 * 0xc" (cast_expression "(int)unaff_s7" ( (type_descriptor "int" primitive_type) ) identifier) * number_literal)) + number_literal) )))) , (pointer_expression "*(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8)" * (cast_expression "(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8)" ( (binary_expression "(int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8" (cast_expression "(int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c)" ( (binary_expression "PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c" (binary_expression "PTR_DAT_003a8948 + (int)unaff_s7 * 0xc" identifier + (binary_expression "(int)unaff_s7 * 0xc" (cast_expression "(int)unaff_s7" ( (type_descriptor "int" primitive_type) ) identifier) * number_literal)) + number_literal) ))) + number_literal) )))) ))) ;) })) (if_statement "if (unaff_s7 < (int *)0x78) {\n                  if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }\n                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                  puVar12 = PTR_SetImageExtent_003a94ac;\n                  if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;\n                  iVar5 = (int)local_108a - (int)local_108e;\n                  iVar13 = (int)local_108c - (int)local_1090;\n                  *(int *)(unaff_s0 + 0x18) = iVar5;\n                  *(int *)(unaff_s0 + 0x1c) = iVar13;\n                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);\n                  if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }" if (parenthesized_expression "(unaff_s7 < (int *)0x78)" ( (binary_expression "unaff_s7 < (int *)0x78" identifier < (cast_expression "(int *)0x78" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                  if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }\n                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                  puVar12 = PTR_SetImageExtent_003a94ac;\n                  if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;\n                  iVar5 = (int)local_108a - (int)local_108e;\n                  iVar13 = (int)local_108c - (int)local_1090;\n                  *(int *)(unaff_s0 + 0x18) = iVar5;\n                  *(int *)(unaff_s0 + 0x1c) = iVar13;\n                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);\n                  if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }" { (if_statement "if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }" if (parenthesized_expression "((int *)0x6f < unaff_s7)" ( (binary_expression "(int *)0x6f < unaff_s7" (cast_expression "(int *)0x6f" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) < identifier) )) (compound_statement "{\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }" { (expression_statement "uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (assignment_expression "uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier )))) ;) (expression_statement "uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);" (assignment_expression "uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }" if (parenthesized_expression "(((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28))" ( (binary_expression "((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)" (parenthesized_expression "((int)((ulonglong)uVar37 >> 0x20) == 0)" ( (binary_expression "(int)((ulonglong)uVar37 >> 0x20) == 0" (cast_expression "(int)((ulonglong)uVar37 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar37 >> 0x20)" ( (binary_expression "(ulonglong)uVar37 >> 0x20" (cast_expression "(ulonglong)uVar37" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) == number_literal) )) && (parenthesized_expression "((uint)uVar37 < uVar28)" ( (binary_expression "(uint)uVar37 < uVar28" (cast_expression "(uint)uVar37" ( (type_descriptor "uint" type_identifier) ) identifier) < identifier) ))) )) (compound_statement "{\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }" { (if_statement "if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }" if (parenthesized_expression "(unaff_s3 != (byte *)0x0)" ( (binary_expression "unaff_s3 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3)" ( identifier ))) ;) })) (if_statement "if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar26 = 0x467;" (assignment_expression "uVar26 = 0x467" identifier = number_literal) ;) (goto_statement "goto LAB_00275880;" goto statement_identifier ;) })) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (if_statement "if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }" if (parenthesized_expression "(0 < (int)(uVar28 - 2))" ( (binary_expression "0 < (int)(uVar28 - 2)" number_literal < (cast_expression "(int)(uVar28 - 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar28 - 2)" ( (binary_expression "uVar28 - 2" identifier - number_literal) )))) )) (compound_statement "{\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }" { (do_statement "do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);" do (compound_statement "{\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      }" { (expression_statement "iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (iVar13 == -1) break;" if (parenthesized_expression "(iVar13 == -1)" ( (binary_expression "iVar13 == -1" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar5 != uVar28 - 2)" ( (binary_expression "iVar5 != uVar28 - 2" identifier != (binary_expression "uVar28 - 2" identifier - number_literal)) )) ;) })) (goto_statement "goto LAB_00274584;" goto statement_identifier ;) })) (if_statement "if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }" if (parenthesized_expression "((int *)0x14 < unaff_s7)" ( (binary_expression "(int *)0x14 < unaff_s7" (cast_expression "(int *)0x14" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) < identifier) )) (compound_statement "{\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }" { (if_statement "if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }" if (parenthesized_expression "(unaff_s7 == (int *)&DAT_0000001b)" ( (binary_expression "unaff_s7 == (int *)&DAT_0000001b" identifier == (cast_expression "(int *)&DAT_0000001b" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (pointer_expression "&DAT_0000001b" & identifier))) )) (compound_statement "{\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }" { (expression_statement "iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (assignment_expression "iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier )))) ;) (expression_statement "puVar12 = PTR_ReadBlobMSBShort_003a9160;" (assignment_expression "puVar12 = PTR_ReadBlobMSBShort_003a9160" identifier = identifier) ;) (expression_statement "*(double *)(unaff_s0 + 0xb0) = (double)iVar5;" (assignment_expression "*(double *)(unaff_s0 + 0xb0) = (double)iVar5" (pointer_expression "*(double *)(unaff_s0 + 0xb0)" * (cast_expression "(double *)(unaff_s0 + 0xb0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0xb0)" ( (binary_expression "unaff_s0 + 0xb0" identifier + number_literal) )))) = (cast_expression "(double)iVar5" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (expression_statement "iVar5 = (*(code *)puVar12)(unaff_s0);" (assignment_expression "iVar5 = (*(code *)puVar12)(unaff_s0)" identifier = (call_expression "(*(code *)puVar12)(unaff_s0)" (parenthesized_expression "(*(code *)puVar12)" ( (pointer_expression "*(code *)puVar12" * (cast_expression "(code *)puVar12" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier )))) ;) (expression_statement "puVar12 = PTR_ReadBlobMSBShort_003a9160;" (assignment_expression "puVar12 = PTR_ReadBlobMSBShort_003a9160" identifier = identifier) ;) (expression_statement "*(double *)(unaff_s0 + 0xb8) = (double)iVar5;" (assignment_expression "*(double *)(unaff_s0 + 0xb8) = (double)iVar5" (pointer_expression "*(double *)(unaff_s0 + 0xb8)" * (cast_expression "(double *)(unaff_s0 + 0xb8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0xb8)" ( (binary_expression "unaff_s0 + 0xb8" identifier + number_literal) )))) = (cast_expression "(double)iVar5" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (expression_statement "iVar5 = (*(code *)puVar12)(unaff_s0);" (assignment_expression "iVar5 = (*(code *)puVar12)(unaff_s0)" identifier = (call_expression "(*(code *)puVar12)(unaff_s0)" (parenthesized_expression "(*(code *)puVar12)" ( (pointer_expression "*(code *)puVar12" * (cast_expression "(code *)puVar12" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier )))) ;) (expression_statement "*(double *)(unaff_s0 + 0xc0) = (double)iVar5;" (assignment_expression "*(double *)(unaff_s0 + 0xc0) = (double)iVar5" (pointer_expression "*(double *)(unaff_s0 + 0xc0)" * (cast_expression "(double *)(unaff_s0 + 0xc0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0xc0)" ( (binary_expression "unaff_s0 + 0xc0" identifier + number_literal) )))) = (cast_expression "(double)iVar5" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (goto_statement "goto LAB_00274594;" goto statement_identifier ;) })) (goto_statement "goto LAB_002752a0;" goto statement_identifier ;) })) (if_statement "if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }" if (parenthesized_expression "(&DAT_00000011 < unaff_s7)" ( (binary_expression "&DAT_00000011 < unaff_s7" (pointer_expression "&DAT_00000011" & identifier) < identifier) )) (compound_statement "{\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }" { (expression_statement "iVar13 = 8;" (assignment_expression "iVar13 = 8" identifier = number_literal) ;) (expression_statement "iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (assignment_expression "iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier )))) ;) (do_statement "do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);" do (compound_statement "{\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    }" { (expression_statement "iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (iVar9 == -1) break;" if (parenthesized_expression "(iVar9 == -1)" ( (binary_expression "iVar9 == -1" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar13 = iVar13 + -1;" (assignment_expression "iVar13 = iVar13 + -1" identifier = (binary_expression "iVar13 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar13 != 0)" ( (binary_expression "iVar13 != 0" identifier != number_literal) )) ;) (if_statement "if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }" if (parenthesized_expression "(iVar5 == 2)" ( (binary_expression "iVar5 == 2" identifier == number_literal) )) (compound_statement "{\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }" { (expression_statement "iVar5 = 5;" (assignment_expression "iVar5 = 5" identifier = number_literal) ;) (do_statement "do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);" do (compound_statement "{\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      }" { (expression_statement "iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (iVar13 == -1) break;" if (parenthesized_expression "(iVar13 == -1)" ( (binary_expression "iVar13 == -1" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar5 = iVar5 + -1;" (assignment_expression "iVar5 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) ;) (goto_statement "goto LAB_00274584;" goto statement_identifier ;) })) (if_statement "if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }" if (parenthesized_expression "(iVar5 == 1)" ( (binary_expression "iVar5 == 1" identifier == number_literal) )) (compound_statement "{\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }" { (expression_statement "uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (assignment_expression "uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier )))) ;) (expression_statement "uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);" (assignment_expression "uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }" if (parenthesized_expression "(((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))" ( (binary_expression "((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)" (parenthesized_expression "((int)((ulonglong)uVar37 >> 0x20) != 0)" ( (binary_expression "(int)((ulonglong)uVar37 >> 0x20) != 0" (cast_expression "(int)((ulonglong)uVar37 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar37 >> 0x20)" ( (binary_expression "(ulonglong)uVar37 >> 0x20" (cast_expression "(ulonglong)uVar37" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) != number_literal) )) || (parenthesized_expression "(uVar28 <= (uint)uVar37)" ( (binary_expression "uVar28 <= (uint)uVar37" identifier <= (cast_expression "(uint)uVar37" ( (type_descriptor "uint" type_identifier) ) identifier)) ))) )) (compound_statement "{\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }" { (expression_statement "iVar5 = FUN_002739c8(unaff_s0,local_10bc);" (assignment_expression "iVar5 = FUN_002739c8(unaff_s0,local_10bc)" identifier = (call_expression "FUN_002739c8(unaff_s0,local_10bc)" identifier (argument_list "(unaff_s0,local_10bc)" ( identifier , identifier )))) ;) (if_statement "if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }" { (if_statement "if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }" if (parenthesized_expression "(unaff_s3 != (byte *)0x0)" ( (binary_expression "unaff_s3 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3)" ( identifier ))) ;) })) (if_statement "if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar26 = 0x419;" (assignment_expression "uVar26 = 0x419" identifier = number_literal) ;) }) (else_clause "else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }" else (compound_statement "{\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }" { (expression_statement "iVar5 = FUN_00273794(unaff_s0,auStack_1078);" (assignment_expression "iVar5 = FUN_00273794(unaff_s0,auStack_1078)" identifier = (call_expression "FUN_00273794(unaff_s0,auStack_1078)" identifier (argument_list "(unaff_s0,auStack_1078)" ( identifier , identifier )))) ;) (if_statement "if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }" { (expression_statement "*(int *)(unaff_s0 + 0x20) = (int)local_1062;" (assignment_expression "*(int *)(unaff_s0 + 0x20) = (int)local_1062" (pointer_expression "*(int *)(unaff_s0 + 0x20)" * (cast_expression "(int *)(unaff_s0 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x20)" ( (binary_expression "unaff_s0 + 0x20" identifier + number_literal) )))) = (cast_expression "(int)local_1062" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "dVar33 = (double)local_1070;" (assignment_expression "dVar33 = (double)local_1070" identifier = (cast_expression "(double)local_1070" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (if_statement "if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }" if (parenthesized_expression "(local_1070 < 0)" ( (binary_expression "local_1070 < 0" identifier < number_literal) )) (compound_statement "{\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }" { (expression_statement "dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);" (assignment_expression "dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418)" identifier = (binary_expression "dVar33 + *(double *)(local_10c8 + 0x1418)" identifier + (pointer_expression "*(double *)(local_10c8 + 0x1418)" * (cast_expression "(double *)(local_10c8 + 0x1418)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_10c8 + 0x1418)" ( (binary_expression "local_10c8 + 0x1418" identifier + number_literal) )))))) ;) })) (expression_statement "*(double *)(unaff_s0 + 0x218) = dVar33;" (assignment_expression "*(double *)(unaff_s0 + 0x218) = dVar33" (pointer_expression "*(double *)(unaff_s0 + 0x218)" * (cast_expression "(double *)(unaff_s0 + 0x218)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x218)" ( (binary_expression "unaff_s0 + 0x218" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar12 = PTR_ReadBlobMSBLong_003a8d98;" (assignment_expression "puVar12 = PTR_ReadBlobMSBLong_003a8d98" identifier = identifier) ;) (expression_statement "dVar33 = (double)local_106c;" (assignment_expression "dVar33 = (double)local_106c" identifier = (cast_expression "(double)local_106c" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (if_statement "if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }" if (parenthesized_expression "(local_106c < 0)" ( (binary_expression "local_106c < 0" identifier < number_literal) )) (compound_statement "{\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }" { (expression_statement "dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);" (assignment_expression "dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418)" identifier = (binary_expression "dVar33 + *(double *)(local_10c8 + 0x1418)" identifier + (pointer_expression "*(double *)(local_10c8 + 0x1418)" * (cast_expression "(double *)(local_10c8 + 0x1418)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_10c8 + 0x1418)" ( (binary_expression "local_10c8 + 0x1418" identifier + number_literal) )))))) ;) })) (expression_statement "*(double *)(unaff_s0 + 0x220) = dVar33;" (assignment_expression "*(double *)(unaff_s0 + 0x220) = dVar33" (pointer_expression "*(double *)(unaff_s0 + 0x220)" * (cast_expression "(double *)(unaff_s0 + 0x220)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x220)" ( (binary_expression "unaff_s0 + 0x220" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(undefined4 *)(unaff_s0 + 0x200) = 1;" (assignment_expression "*(undefined4 *)(unaff_s0 + 0x200) = 1" (pointer_expression "*(undefined4 *)(unaff_s0 + 0x200)" * (cast_expression "(undefined4 *)(unaff_s0 + 0x200)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x200)" ( (binary_expression "unaff_s0 + 0x200" identifier + number_literal) )))) = number_literal) ;) (expression_statement "(*(code *)puVar12)(unaff_s0);" (call_expression "(*(code *)puVar12)(unaff_s0)" (parenthesized_expression "(*(code *)puVar12)" ( (pointer_expression "*(code *)puVar12" * (cast_expression "(code *)puVar12" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier ))) ;) (expression_statement "uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (assignment_expression "uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier )))) ;) (expression_statement "uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);" (assignment_expression "uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }" if (parenthesized_expression "(((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))" ( (binary_expression "((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)" (parenthesized_expression "((int)((ulonglong)uVar37 >> 0x20) != 0)" ( (binary_expression "(int)((ulonglong)uVar37 >> 0x20) != 0" (cast_expression "(int)((ulonglong)uVar37 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar37 >> 0x20)" ( (binary_expression "(ulonglong)uVar37 >> 0x20" (cast_expression "(ulonglong)uVar37" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) != number_literal) )) || (parenthesized_expression "(uVar28 <= (uint)uVar37)" ( (binary_expression "uVar28 <= (uint)uVar37" identifier <= (cast_expression "(uint)uVar37" ( (type_descriptor "uint" type_identifier) ) identifier)) ))) )) (compound_statement "{\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }" { (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (do_statement "do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);" do (compound_statement "{\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              }" { (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "(*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);" (call_expression "(*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBLong_003a8d98)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBLong_003a8d98" * (cast_expression "(code *)PTR_ReadBlobMSBLong_003a8d98" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier ))) ;) }) while (parenthesized_expression "(iVar5 != uVar28 + 1)" ( (binary_expression "iVar5 != uVar28 + 1" identifier != (binary_expression "uVar28 + 1" identifier + number_literal)) )) ;) (expression_statement "uVar29 = (int)local_108c - (int)local_1090;" (assignment_expression "uVar29 = (int)local_108c - (int)local_1090" identifier = (binary_expression "(int)local_108c - (int)local_1090" (cast_expression "(int)local_108c" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)local_1090" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "iVar5 = (int)local_108a - (int)local_108e;" (assignment_expression "iVar5 = (int)local_108a - (int)local_108e" identifier = (binary_expression "(int)local_108a - (int)local_108e" (cast_expression "(int)local_108a" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)local_108e" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }" if (parenthesized_expression "(local_1066 < 9)" ( (binary_expression "local_1066 < 9" identifier < number_literal) )) (compound_statement "{\n                                uVar28 = uVar28 & 0x7fff;\n                              }" { (expression_statement "uVar28 = uVar28 & 0x7fff;" (assignment_expression "uVar28 = uVar28 & 0x7fff" identifier = (binary_expression "uVar28 & 0x7fff" identifier & number_literal)) ;) }) (else_clause "else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }" else (if_statement "if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }" if (parenthesized_expression "(local_1066 == 0x10)" ( (binary_expression "local_1066 == 0x10" identifier == number_literal) )) (compound_statement "{\n                                uVar29 = uVar29 * 2;\n                              }" { (expression_statement "uVar29 = uVar29 * 2;" (assignment_expression "uVar29 = uVar29 * 2" identifier = (binary_expression "uVar29 * 2" identifier * number_literal)) ;) })))) (if_statement "if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }" if (parenthesized_expression "(uVar28 != 0)" ( (binary_expression "uVar28 != 0" identifier != number_literal) )) (compound_statement "{\n                                uVar29 = uVar28;\n                              }" { (expression_statement "uVar29 = uVar28;" (assignment_expression "uVar29 = uVar28" identifier = identifier) ;) })) (if_statement "if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }" if (parenthesized_expression "(uVar29 < 8)" ( (binary_expression "uVar29 < 8" identifier < number_literal) )) (compound_statement "{\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }" { (if_statement "if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }" if (parenthesized_expression "(0 < (int)(uVar29 * iVar5))" ( (binary_expression "0 < (int)(uVar29 * iVar5)" number_literal < (cast_expression "(int)(uVar29 * iVar5)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar29 * iVar5)" ( (binary_expression "uVar29 * iVar5" identifier * identifier) )))) )) (compound_statement "{\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }" { (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" identifier = number_literal) ;) (do_statement "do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);" do (compound_statement "{\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  }" { (expression_statement "iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (iVar9 == -1) break;" if (parenthesized_expression "(iVar9 == -1)" ( (binary_expression "iVar9 == -1" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar13 = iVar13 + 1;" (assignment_expression "iVar13 = iVar13 + 1" identifier = (binary_expression "iVar13 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar29 * iVar5 != iVar13)" ( (binary_expression "uVar29 * iVar5 != iVar13" (binary_expression "uVar29 * iVar5" identifier * identifier) != identifier) )) ;) })) }) (else_clause "else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }" else (compound_statement "{\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }" { (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" identifier = number_literal) ;) (if_statement "if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }" if (parenthesized_expression "(0 < iVar5)" ( (binary_expression "0 < iVar5" number_literal < identifier) )) (compound_statement "{\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }" { (do_statement "do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);" do (compound_statement "{\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  }" { (expression_statement "iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);" (assignment_expression "iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_EOFBlob_003a9748)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (iVar9 != 0) break;" if (parenthesized_expression "(iVar9 != 0)" ( (binary_expression "iVar9 != 0" identifier != number_literal) )) (break_statement "break;" break ;)) (if_statement "if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }" if (parenthesized_expression "(uVar29 < 0xc9)" ( (binary_expression "uVar29 < 0xc9" identifier < number_literal) )) (compound_statement "{\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }" { (expression_statement "uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) }) (else_clause "else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }" else (compound_statement "{\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }" { (expression_statement "uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (assignment_expression "uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier )))) ;) }))) (expression_statement "uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);" (assignment_expression "uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }" if (parenthesized_expression "(((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28))" ( (binary_expression "((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)" (parenthesized_expression "((int)((ulonglong)uVar37 >> 0x20) == 0)" ( (binary_expression "(int)((ulonglong)uVar37 >> 0x20) == 0" (cast_expression "(int)((ulonglong)uVar37 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar37 >> 0x20)" ( (binary_expression "(ulonglong)uVar37 >> 0x20" (cast_expression "(ulonglong)uVar37" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) == number_literal) )) && (parenthesized_expression "((uint)uVar37 < uVar28)" ( (binary_expression "(uint)uVar37 < uVar28" (cast_expression "(uint)uVar37" ( (type_descriptor "uint" type_identifier) ) identifier) < identifier) ))) )) (compound_statement "{\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }" { (if_statement "if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }" if (parenthesized_expression "(unaff_s3 != (byte *)0x0)" ( (binary_expression "unaff_s3 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3)" ( identifier ))) ;) })) (if_statement "if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar26 = 0x444;" (assignment_expression "uVar26 = 0x444" identifier = number_literal) ;) (goto_statement "goto LAB_00275880;" goto statement_identifier ;) })) (expression_statement "uVar30 = 0;" (assignment_expression "uVar30 = 0" identifier = number_literal) ;) (if_statement "if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }" if (parenthesized_expression "(0 < (int)uVar28)" ( (binary_expression "0 < (int)uVar28" number_literal < (cast_expression "(int)uVar28" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }" { (do_statement "do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);" do (compound_statement "{\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      }" { (expression_statement "iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (iVar9 == -1) break;" if (parenthesized_expression "(iVar9 == -1)" ( (binary_expression "iVar9 == -1" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "uVar30 = uVar30 + 1;" (assignment_expression "uVar30 = uVar30 + 1" identifier = (binary_expression "uVar30 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar28 != uVar30)" ( (binary_expression "uVar28 != uVar30" identifier != identifier) )) ;) })) (expression_statement "iVar13 = iVar13 + 1;" (assignment_expression "iVar13 = iVar13 + 1" identifier = (binary_expression "iVar13 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar5 != iVar13)" ( (binary_expression "iVar5 != iVar13" identifier != identifier) )) ;) })) }))) (goto_statement "goto LAB_00274584;" goto statement_identifier ;) })) (if_statement "if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }" if (parenthesized_expression "(unaff_s3 != (byte *)0x0)" ( (binary_expression "unaff_s3 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3)" ( identifier ))) ;) })) (if_statement "if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar26 = 0x425;" (assignment_expression "uVar26 = 0x425" identifier = number_literal) ;) (goto_statement "goto LAB_00275880;" goto statement_identifier ;) })) (if_statement "if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }" if (parenthesized_expression "(unaff_s3 != (byte *)0x0)" ( (binary_expression "unaff_s3 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3)" ( identifier ))) ;) })) (if_statement "if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar26 = 0x41b;" (assignment_expression "uVar26 = 0x41b" identifier = number_literal) ;) }))) (goto_statement "goto LAB_002757bc;" goto statement_identifier ;) })) (if_statement "if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }" if (parenthesized_expression "(unaff_s3 != (byte *)0x0)" ( (binary_expression "unaff_s3 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3,local_10bc)" ( identifier , identifier ))) ;) })) (if_statement "if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar26 = 0x417;" (assignment_expression "uVar26 = 0x417" identifier = number_literal) ;) (goto_statement "goto LAB_00275880;" goto statement_identifier ;) })) (if_statement "if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }" if (parenthesized_expression "(unaff_s3 != (byte *)0x0)" ( (binary_expression "unaff_s3 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3)" ( identifier ))) ;) })) (if_statement "if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar26 = 0x413;" (assignment_expression "uVar26 = 0x413" identifier = number_literal) ;) (expression_statement "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;" (assignment_expression "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier + number_literal)) ;) (expression_statement "uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);" (assignment_expression "uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" identifier = (call_expression "CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" identifier (argument_list "(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" ( (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal) , (binary_expression "local_10d0 + 0x2210" identifier + number_literal) )))) ;) (expression_statement "puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;" (assignment_expression "puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier + number_literal)) ;) (expression_statement "puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;" (assignment_expression "puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14" identifier + number_literal)) ;) (expression_statement "piVar7 = unaff_s7;" (assignment_expression "piVar7 = unaff_s7" identifier = identifier) ;) (goto_statement "goto LAB_0027507c;" goto statement_identifier ;) })) (if_statement "if (unaff_s7 != (int *)0x1) goto LAB_002752a0;" if (parenthesized_expression "(unaff_s7 != (int *)0x1)" ( (binary_expression "unaff_s7 != (int *)0x1" identifier != (cast_expression "(int *)0x1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_002752a0;" goto statement_identifier ;)) (expression_statement "uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (assignment_expression "uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier )))) ;) (expression_statement "uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);" (assignment_expression "uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }" if (parenthesized_expression "(((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28))" ( (binary_expression "((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)" (parenthesized_expression "((int)((ulonglong)uVar37 >> 0x20) == 0)" ( (binary_expression "(int)((ulonglong)uVar37 >> 0x20) == 0" (cast_expression "(int)((ulonglong)uVar37 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar37 >> 0x20)" ( (binary_expression "(ulonglong)uVar37 >> 0x20" (cast_expression "(ulonglong)uVar37" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) == number_literal) )) && (parenthesized_expression "((uint)uVar37 < uVar28)" ( (binary_expression "(uint)uVar37 < uVar28" (cast_expression "(uint)uVar37" ( (type_descriptor "uint" type_identifier) ) identifier) < identifier) ))) )) (compound_statement "{\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }" { (if_statement "if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }" if (parenthesized_expression "(unaff_s3 != (byte *)0x0)" ( (binary_expression "unaff_s3 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3)" ( identifier ))) ;) })) (if_statement "if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar26 = 0x3e4;" (assignment_expression "uVar26 = 0x3e4" identifier = number_literal) ;) (goto_statement "goto LAB_00275880;" goto statement_identifier ;) })) (if_statement "if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }" if (parenthesized_expression "(uVar28 != 10)" ( (binary_expression "uVar28 != 10" identifier != number_literal) )) (compound_statement "{\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }" { (if_statement "if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }" if (parenthesized_expression "(0 < (int)(uVar28 - 2))" ( (binary_expression "0 < (int)(uVar28 - 2)" number_literal < (cast_expression "(int)(uVar28 - 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar28 - 2)" ( (binary_expression "uVar28 - 2" identifier - number_literal) )))) )) (compound_statement "{\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }" { (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (do_statement "do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);" do (compound_statement "{\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      }" { (expression_statement "iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (iVar13 == -1) break;" if (parenthesized_expression "(iVar13 == -1)" ( (binary_expression "iVar13 == -1" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar28 - 2 != iVar5)" ( (binary_expression "uVar28 - 2 != iVar5" (binary_expression "uVar28 - 2" identifier - number_literal) != identifier) )) ;) })) (goto_statement "goto LAB_00274594;" goto statement_identifier ;) })) (expression_statement "iVar5 = FUN_002739c8(unaff_s0,local_10bc);" (assignment_expression "iVar5 = FUN_002739c8(unaff_s0,local_10bc)" identifier = (call_expression "FUN_002739c8(unaff_s0,local_10bc)" identifier (argument_list "(unaff_s0,local_10bc)" ( identifier , identifier )))) ;) (expression_statement "puVar12 = PTR_SetImageExtent_003a94ac;" (assignment_expression "puVar12 = PTR_SetImageExtent_003a94ac" identifier = identifier) ;) (if_statement "if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }" { (if_statement "if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }" if (parenthesized_expression "(unaff_s3 != (byte *)0x0)" ( (binary_expression "unaff_s3 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3)" ( identifier ))) ;) })) (if_statement "if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar26 = 0x3ed;" (assignment_expression "uVar26 = 0x3ed" identifier = number_literal) ;) (goto_statement "goto LAB_002757bc;" goto statement_identifier ;) })) (if_statement "if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;" if (parenthesized_expression "((local_108e < 0) || (local_1090 < 0))" ( (binary_expression "(local_108e < 0) || (local_1090 < 0)" (parenthesized_expression "(local_108e < 0)" ( (binary_expression "local_108e < 0" identifier < number_literal) )) || (parenthesized_expression "(local_1090 < 0)" ( (binary_expression "local_1090 < 0" identifier < number_literal) ))) )) (goto_statement "goto LAB_00274594;" goto statement_identifier ;)) (expression_statement "iVar5 = (int)local_108a - (int)local_108e;" (assignment_expression "iVar5 = (int)local_108a - (int)local_108e" identifier = (binary_expression "(int)local_108a - (int)local_108e" (cast_expression "(int)local_108a" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)local_108e" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "iVar13 = (int)local_108c - (int)local_1090;" (assignment_expression "iVar13 = (int)local_108c - (int)local_1090" identifier = (binary_expression "(int)local_108c - (int)local_1090" (cast_expression "(int)local_108c" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)local_1090" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (expression_statement "*(int *)(unaff_s0 + 0x18) = iVar5;" (assignment_expression "*(int *)(unaff_s0 + 0x18) = iVar5" (pointer_expression "*(int *)(unaff_s0 + 0x18)" * (cast_expression "(int *)(unaff_s0 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x18)" ( (binary_expression "unaff_s0 + 0x18" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(int *)(unaff_s0 + 0x1c) = iVar13;" (assignment_expression "*(int *)(unaff_s0 + 0x1c) = iVar13" (pointer_expression "*(int *)(unaff_s0 + 0x1c)" * (cast_expression "(int *)(unaff_s0 + 0x1c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x1c)" ( (binary_expression "unaff_s0 + 0x1c" identifier + number_literal) )))) = identifier) ;) (expression_statement "iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);" (assignment_expression "iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8)" identifier = (call_expression "(*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8)" (parenthesized_expression "(*(code *)puVar12)" ( (pointer_expression "*(code *)puVar12" * (cast_expression "(code *)puVar12" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0,iVar5,iVar13,local_10d8)" ( identifier , identifier , identifier , identifier )))) ;) (if_statement "if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;" if (parenthesized_expression "((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0))" ( (binary_expression "(iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)" (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)" ( (comma_expression "iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0" (assignment_expression "iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8)" identifier = (call_expression "(*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8)" (parenthesized_expression "(*(code *)PTR_ResetImagePixels_003a9334)" ( (pointer_expression "*(code *)PTR_ResetImagePixels_003a9334" * (cast_expression "(code *)PTR_ResetImagePixels_003a9334" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0,local_10d8)" ( identifier , identifier )))) , (binary_expression "iVar5 != 0" identifier != number_literal)) ))) )) (goto_statement "goto LAB_00274594;" goto statement_identifier ;)) (labeled_statement "LAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);" statement_identifier : (expression_statement "uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);" (assignment_expression "uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_DestroyImageList_003a9510)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;)) (goto_statement "goto LAB_00274228;" goto statement_identifier ;) })) (if_statement "if ((int *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }\n                  goto LAB_00274584;\n                }" if (parenthesized_expression "((int *)0x9b < unaff_s7)" ( (binary_expression "(int *)0x9b < unaff_s7" (cast_expression "(int *)0x9b" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) < identifier) )) (compound_statement "{\n                  if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }\n                  goto LAB_00274584;\n                }" { (if_statement "if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }" if (parenthesized_expression "(unaff_s7 == (int *)0xa1)" ( (binary_expression "unaff_s7 == (int *)0xa1" identifier == (cast_expression "(int *)0xa1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }" { (expression_statement "iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (assignment_expression "iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier )))) ;) (expression_statement "uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (assignment_expression "uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier )))) ;) (expression_statement "uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);" (assignment_expression "uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }" if (parenthesized_expression "(((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28))" ( (binary_expression "((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)" (parenthesized_expression "((int)((ulonglong)uVar37 >> 0x20) == 0)" ( (binary_expression "(int)((ulonglong)uVar37 >> 0x20) == 0" (cast_expression "(int)((ulonglong)uVar37 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar37 >> 0x20)" ( (binary_expression "(ulonglong)uVar37 >> 0x20" (cast_expression "(ulonglong)uVar37" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) == number_literal) )) && (parenthesized_expression "((uint)uVar37 < uVar28)" ( (binary_expression "(uint)uVar37 < uVar28" (cast_expression "(uint)uVar37" ( (type_descriptor "uint" type_identifier) ) identifier) < identifier) ))) )) (compound_statement "{\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }" { (if_statement "if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }" if (parenthesized_expression "(unaff_s3 != (byte *)0x0)" ( (binary_expression "unaff_s3 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3)" ( identifier ))) ;) })) (if_statement "if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar26 = 0x562;" (assignment_expression "uVar26 = 0x562" identifier = number_literal) ;) (goto_statement "goto LAB_00275880;" goto statement_identifier ;) })) (if_statement "if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }" if (parenthesized_expression "(uVar28 != 0)" ( (binary_expression "uVar28 != 0" identifier != number_literal) )) (compound_statement "{\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }" { (expression_statement "(*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);" (call_expression "(*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBLong_003a8d98)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBLong_003a8d98" * (cast_expression "(code *)PTR_ReadBlobMSBLong_003a8d98" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier ))) ;) (expression_statement "uVar29 = 4;" (assignment_expression "uVar29 = 4" identifier = number_literal) ;) (if_statement "if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }" if (parenthesized_expression "(uVar28 < 5)" ( (binary_expression "uVar28 < 5" identifier < number_literal) )) (compound_statement "{\n                        uVar29 = uVar28;\n                      }" { (expression_statement "uVar29 = uVar28;" (assignment_expression "uVar29 = uVar28" identifier = identifier) ;) })) (expression_statement "iVar13 = uVar28 - uVar29;" (assignment_expression "iVar13 = uVar28 - uVar29" identifier = (binary_expression "uVar28 - uVar29" identifier - identifier)) ;) (if_statement "if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }" if (parenthesized_expression "((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         ))" ( (binary_expression "(iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )" (parenthesized_expression "(iVar13 != 0)" ( (binary_expression "iVar13 != 0" identifier != number_literal) )) && (parenthesized_expression "(iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )" ( (comma_expression "iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0" (assignment_expression "iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1)" identifier = (call_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,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 "(iVar13,1)" ( identifier , number_literal )))) , (binary_expression "iVar9 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }" { (expression_statement "iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);" (assignment_expression "iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9)" identifier = (call_expression "(*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9)" (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 "(unaff_s0,iVar13,iVar9)" ( identifier , identifier , identifier )))) ;) (if_statement "if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }" if (parenthesized_expression "(iVar13 != iVar22)" ( (binary_expression "iVar13 != iVar22" identifier != identifier) )) (compound_statement "{\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9)" (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 "(iVar9)" ( identifier ))) ;) (if_statement "if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }" if (parenthesized_expression "(unaff_s3 != (byte *)0x0)" ( (binary_expression "unaff_s3 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3)" ( identifier ))) ;) })) (if_statement "if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar26 = 0x570;" (assignment_expression "uVar26 = 0x570" identifier = number_literal) ;) (expression_statement "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;" (assignment_expression "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier + number_literal)) ;) (expression_statement "uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);" (assignment_expression "uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" identifier = (call_expression "CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" identifier (argument_list "(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" ( (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal) , (binary_expression "local_10d0 + 0x2210" identifier + number_literal) )))) ;) (expression_statement "puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;" (assignment_expression "puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier + number_literal)) ;) (expression_statement "puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;" (assignment_expression "puVar12 = 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 "uVar8 = 400;" (assignment_expression "uVar8 = 400" identifier = number_literal) ;) (goto_statement "goto LAB_00275084;" goto statement_identifier ;) })) (if_statement "if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }" if (parenthesized_expression "(iVar5 == 0xe0)" ( (binary_expression "iVar5 == 0xe0" identifier == number_literal) )) (compound_statement "{\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }" { (expression_statement "uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);" (assignment_expression "uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13)" identifier = (call_expression "(*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13)" (parenthesized_expression "(*(code *)PTR_BlobToStringInfo_003a96c4)" ( (pointer_expression "*(code *)PTR_BlobToStringInfo_003a96c4" * (cast_expression "(code *)PTR_BlobToStringInfo_003a96c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,iVar13)" ( number_literal , identifier )))) ;) (expression_statement "(*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);" (call_expression "(*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9)" (parenthesized_expression "(*(code *)PTR_SetStringInfoDatum_003a90e0)" ( (pointer_expression "*(code *)PTR_SetStringInfoDatum_003a90e0" * (cast_expression "(code *)PTR_SetStringInfoDatum_003a90e0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar26,iVar9)" ( identifier , identifier ))) ;) (expression_statement "iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);" (assignment_expression "iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8)" identifier = (call_expression "(*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8)" (parenthesized_expression "(*(code *)PTR_SetImageProfile_003a9698)" ( (pointer_expression "*(code *)PTR_SetImageProfile_003a9698" * (cast_expression "(code *)PTR_SetImageProfile_003a9698" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8)" ( identifier , (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890" identifier + number_literal) , identifier , identifier )))) ;) (expression_statement "(*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);" (call_expression "(*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26)" (parenthesized_expression "(*(code *)PTR_DestroyStringInfo_003a8dfc)" ( (pointer_expression "*(code *)PTR_DestroyStringInfo_003a8dfc" * (cast_expression "(code *)PTR_DestroyStringInfo_003a8dfc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar26)" ( identifier ))) ;) (if_statement "if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9)" (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 "(iVar9)" ( identifier ))) ;) (if_statement "if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }" if (parenthesized_expression "(unaff_s3 != (byte *)0x0)" ( (binary_expression "unaff_s3 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3)" ( identifier ))) ;) })) (if_statement "if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar26 = 0x57e;" (assignment_expression "uVar26 = 0x57e" identifier = number_literal) ;) (goto_statement "goto LAB_00275720;" goto statement_identifier ;) })) }) (else_clause "else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }" else (if_statement "if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }" if (parenthesized_expression "(iVar5 == 0x1f2)" ( (binary_expression "iVar5 == 0x1f2" identifier == number_literal) )) (compound_statement "{\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }" { (expression_statement "uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);" (assignment_expression "uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13)" identifier = (call_expression "(*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13)" (parenthesized_expression "(*(code *)PTR_BlobToStringInfo_003a96c4)" ( (pointer_expression "*(code *)PTR_BlobToStringInfo_003a96c4" * (cast_expression "(code *)PTR_BlobToStringInfo_003a96c4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0,iVar13)" ( number_literal , identifier )))) ;) (expression_statement "(*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);" (call_expression "(*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9)" (parenthesized_expression "(*(code *)PTR_SetStringInfoDatum_003a90e0)" ( (pointer_expression "*(code *)PTR_SetStringInfoDatum_003a90e0" * (cast_expression "(code *)PTR_SetStringInfoDatum_003a90e0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar26,iVar9)" ( identifier , identifier ))) ;) (expression_statement "iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);" (assignment_expression "iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8)" identifier = (call_expression "(*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8)" (parenthesized_expression "(*(code *)PTR_SetImageProfile_003a9698)" ( (pointer_expression "*(code *)PTR_SetImageProfile_003a9698" * (cast_expression "(code *)PTR_SetImageProfile_003a9698" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8)" ( identifier , (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918" identifier + number_literal) , identifier , identifier )))) ;) (if_statement "if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9)" (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 "(iVar9)" ( identifier ))) ;) (if_statement "if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }" if (parenthesized_expression "(unaff_s3 != (byte *)0x0)" ( (binary_expression "unaff_s3 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3)" ( identifier ))) ;) })) (if_statement "if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar26 = 0x58b;" (assignment_expression "uVar26 = 0x58b" identifier = number_literal) ;) (goto_statement "goto LAB_00275720;" goto statement_identifier ;) })) (expression_statement "(*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);" (call_expression "(*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26)" (parenthesized_expression "(*(code *)PTR_DestroyStringInfo_003a8dfc)" ( (pointer_expression "*(code *)PTR_DestroyStringInfo_003a8dfc" * (cast_expression "(code *)PTR_DestroyStringInfo_003a8dfc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar26)" ( identifier ))) ;) })))) (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9)" (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 "(iVar9)" ( identifier ))) ;) })) })) (goto_statement "goto LAB_00274594;" goto statement_identifier ;) })) (labeled_statement "LAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);" statement_identifier : (expression_statement "iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);" (assignment_expression "iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850)" identifier = (pointer_expression "*(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850)" * (cast_expression "(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850)" ( (binary_expression "PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850" (binary_expression "PTR_DAT_003a8948 + (int)unaff_s7 * 0xc" identifier + (binary_expression "(int)unaff_s7 * 0xc" (cast_expression "(int)unaff_s7" ( (type_descriptor "int" primitive_type) ) identifier) * number_literal)) + number_literal) ))))) ;)) (if_statement "if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }" if (parenthesized_expression "(iVar5 == -1)" ( (binary_expression "iVar5 == -1" identifier == number_literal) )) (compound_statement "{\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }" { (expression_statement "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier ))) ;) }) (else_clause "else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }" else (compound_statement "{\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }" { (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" identifier = number_literal) ;) (if_statement "if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }" if (parenthesized_expression "(0 < iVar5)" ( (binary_expression "0 < iVar5" number_literal < identifier) )) (compound_statement "{\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }" { (do_statement "do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);" do (compound_statement "{\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      }" { (expression_statement "iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (iVar9 == -1) break;" if (parenthesized_expression "(iVar9 == -1)" ( (binary_expression "iVar9 == -1" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar13 = iVar13 + 1;" (assignment_expression "iVar13 = iVar13 + 1" identifier = (binary_expression "iVar13 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar5 != iVar13)" ( (binary_expression "iVar5 != iVar13" identifier != identifier) )) ;) })) }))) (goto_statement "goto LAB_00274584;" goto statement_identifier ;) })) (if_statement "if ((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)) goto LAB_002752a0;" if (parenthesized_expression "((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24))" ( (binary_expression "(unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)" (parenthesized_expression "(unaff_s7 < (int *)0x98)" ( (binary_expression "unaff_s7 < (int *)0x98" identifier < (cast_expression "(int *)0x98" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "((int *)0x1 < unaff_s7 + -0x24)" ( (binary_expression "(int *)0x1 < unaff_s7 + -0x24" (cast_expression "(int *)0x1" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) < (binary_expression "unaff_s7 + -0x24" identifier + number_literal)) ))) )) (goto_statement "goto LAB_002752a0;" goto statement_identifier ;)) (expression_statement "bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2;" (assignment_expression "bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2" identifier = (binary_expression "(undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2" (cast_expression "(undefined1 *)((int)unaff_s7 + -0x9a)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)unaff_s7 + -0x9a)" ( (binary_expression "(int)unaff_s7 + -0x9a" (cast_expression "(int)unaff_s7" ( (type_descriptor "int" primitive_type) ) identifier) + number_literal) ))) < (cast_expression "(undefined1 *)0x2" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal))) ;) (if_statement "if (bVar3) {\n                  uVar28 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }" if (parenthesized_expression "(bVar3)" ( identifier )) (compound_statement "{\n                  uVar28 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }" { (expression_statement "uVar28 = 0;" (assignment_expression "uVar28 = 0" identifier = number_literal) ;) (expression_statement "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier ))) ;) }) (else_clause "else {\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }" else (compound_statement "{\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }" { (expression_statement "uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();" (assignment_expression "uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)()" identifier = (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)()" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) }))) (expression_statement "iVar5 = FUN_002739c8(unaff_s0,local_10bc);" (assignment_expression "iVar5 = FUN_002739c8(unaff_s0,local_10bc)" identifier = (call_expression "FUN_002739c8(unaff_s0,local_10bc)" identifier (argument_list "(unaff_s0,local_10bc)" ( identifier , identifier )))) ;) (if_statement "if (iVar5 != 0) {\n                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);\n                  if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);\n                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }\n                  piVar7[9] = 2;\nLAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);\n                  if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }\n                  iVar5 = piVar7[9];\n                  if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }\nLAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar26 = 0x4d7;\n                  unaff_s7 = piVar7;\n                  goto LAB_00275880;\n                }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);\n                  if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);\n                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }\n                  piVar7[9] = 2;\nLAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);\n                  if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }\n                  iVar5 = piVar7[9];\n                  if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }\nLAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar26 = 0x4d7;\n                  unaff_s7 = piVar7;\n                  goto LAB_00275880;\n                }" { (expression_statement "piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);" (assignment_expression "piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1)" identifier = (cast_expression "(int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1)" (parenthesized_expression "(*(code *)PTR_CloneImage_003a9830)" ( (pointer_expression "*(code *)PTR_CloneImage_003a9830" * (cast_expression "(code *)PTR_CloneImage_003a9830" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1)" ( identifier , (binary_expression "(int)local_108a - (int)local_108e" (cast_expression "(int)local_108a" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)local_108e" ( (type_descriptor "int" primitive_type) ) identifier)) , (binary_expression "(int)local_108c - (int)local_1090" (cast_expression "(int)local_108c" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)local_1090" ( (type_descriptor "int" primitive_type) ) identifier)) , number_literal ))))) ;) (if_statement "if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }" if (parenthesized_expression "(piVar7 == (int *)0x0)" ( (binary_expression "piVar7 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }" { (if_statement "if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar26 = 0x498;" (assignment_expression "uVar26 = 0x498" identifier = number_literal) ;) (goto_statement "goto LAB_002757bc;" goto statement_identifier ;) })) (expression_statement "(*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);" (call_expression "(*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8)" (parenthesized_expression "(*(code *)PTR_ResetImagePixels_003a9334)" ( (pointer_expression "*(code *)PTR_ResetImagePixels_003a9334" * (cast_expression "(code *)PTR_ResetImagePixels_003a9334" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar7,local_10d8)" ( identifier , identifier ))) ;) (if_statement "if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }" if (parenthesized_expression "((bVar3) || ((uVar28 & 0x8000) != 0))" ( (binary_expression "(bVar3) || ((uVar28 & 0x8000) != 0)" (parenthesized_expression "(bVar3)" ( identifier )) || (parenthesized_expression "((uVar28 & 0x8000) != 0)" ( (binary_expression "(uVar28 & 0x8000) != 0" (parenthesized_expression "(uVar28 & 0x8000)" ( (binary_expression "uVar28 & 0x8000" identifier & number_literal) )) != number_literal) ))) )) (compound_statement "{\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }" { (expression_statement "iVar5 = FUN_00273794(unaff_s0,auStack_1078);" (assignment_expression "iVar5 = FUN_00273794(unaff_s0,auStack_1078)" identifier = (call_expression "FUN_00273794(unaff_s0,auStack_1078)" identifier (argument_list "(unaff_s0,auStack_1078)" ( identifier , identifier )))) ;) (if_statement "if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }" { (expression_statement "piVar7[8] = (int)local_1062;" (assignment_expression "piVar7[8] = (int)local_1062" (subscript_expression "piVar7[8]" identifier [ number_literal ]) = (cast_expression "(int)local_1062" ( (type_descriptor "int" primitive_type) ) identifier)) ;) (expression_statement "puVar12 = PTR_SetImageAlpha_003a8c78;" (assignment_expression "puVar12 = PTR_SetImageAlpha_003a8c78" identifier = identifier) ;) (expression_statement "dVar33 = (double)local_1070;" (assignment_expression "dVar33 = (double)local_1070" identifier = (cast_expression "(double)local_1070" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (if_statement "if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }" if (parenthesized_expression "(local_1070 < 0)" ( (binary_expression "local_1070 < 0" identifier < number_literal) )) (compound_statement "{\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }" { (expression_statement "dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);" (assignment_expression "dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418)" identifier = (binary_expression "dVar33 + *(double *)(local_10c8 + 0x1418)" identifier + (pointer_expression "*(double *)(local_10c8 + 0x1418)" * (cast_expression "(double *)(local_10c8 + 0x1418)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_10c8 + 0x1418)" ( (binary_expression "local_10c8 + 0x1418" identifier + number_literal) )))))) ;) })) (expression_statement "dVar32 = (double)local_106c;" (assignment_expression "dVar32 = (double)local_106c" identifier = (cast_expression "(double)local_106c" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (if_statement "if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }" if (parenthesized_expression "(local_106c < 0)" ( (binary_expression "local_106c < 0" identifier < number_literal) )) (compound_statement "{\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }" { (expression_statement "dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);" (assignment_expression "dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418)" identifier = (binary_expression "dVar32 + *(double *)(local_10c8 + 0x1418)" identifier + (pointer_expression "*(double *)(local_10c8 + 0x1418)" * (cast_expression "(double *)(local_10c8 + 0x1418)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_10c8 + 0x1418)" ( (binary_expression "local_10c8 + 0x1418" identifier + number_literal) )))))) ;) })) (if_statement "if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }" if (parenthesized_expression "(local_1064 == 4)" ( (binary_expression "local_1064 == 4" identifier == number_literal) )) (compound_statement "{\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }" { (expression_statement "piVar7[0xaf] = 4;" (assignment_expression "piVar7[0xaf] = 4" (subscript_expression "piVar7[0xaf]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "piVar7[0x80] = 1;" (assignment_expression "piVar7[0x80] = 1" (subscript_expression "piVar7[0x80]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "puVar21 = PTR_LAB_003a88e0;" (assignment_expression "puVar21 = PTR_LAB_003a88e0" identifier = identifier) ;) (expression_statement "*(double *)(piVar7 + 0x86) = dVar33;" (assignment_expression "*(double *)(piVar7 + 0x86) = dVar33" (pointer_expression "*(double *)(piVar7 + 0x86)" * (cast_expression "(double *)(piVar7 + 0x86)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 0x86)" ( (binary_expression "piVar7 + 0x86" identifier + number_literal) )))) = identifier) ;) (expression_statement "*(double *)(piVar7 + 0x88) = dVar32;" (assignment_expression "*(double *)(piVar7 + 0x88) = dVar32" (pointer_expression "*(double *)(piVar7 + 0x88)" * (cast_expression "(double *)(piVar7 + 0x88)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 0x88)" ( (binary_expression "piVar7 + 0x88" identifier + number_literal) )))) = identifier) ;) (expression_statement "(*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);" (call_expression "(*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8)" (parenthesized_expression "(*(code *)puVar12)" ( (pointer_expression "*(code *)puVar12" * (cast_expression "(code *)puVar12" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8)" ( identifier , (pointer_expression "*(undefined4 *)(puVar21 + 0x1a50)" * (cast_expression "(undefined4 *)(puVar21 + 0x1a50)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar21 + 0x1a50)" ( (binary_expression "puVar21 + 0x1a50" identifier + number_literal) )))) , identifier ))) ;) }) (else_clause "else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }" else (compound_statement "{\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }" { (expression_statement "*(double *)(piVar7 + 0x86) = dVar33;" (assignment_expression "*(double *)(piVar7 + 0x86) = dVar33" (pointer_expression "*(double *)(piVar7 + 0x86)" * (cast_expression "(double *)(piVar7 + 0x86)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 0x86)" ( (binary_expression "piVar7 + 0x86" identifier + number_literal) )))) = identifier) ;) (expression_statement "piVar7[0xaf] = 0;" (assignment_expression "piVar7[0xaf] = 0" (subscript_expression "piVar7[0xaf]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*(double *)(piVar7 + 0x88) = dVar32;" (assignment_expression "*(double *)(piVar7 + 0x88) = dVar32" (pointer_expression "*(double *)(piVar7 + 0x88)" * (cast_expression "(double *)(piVar7 + 0x88)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7 + 0x88)" ( (binary_expression "piVar7 + 0x88" identifier + number_literal) )))) = identifier) ;) (expression_statement "piVar7[0x80] = 1;" (assignment_expression "piVar7[0x80] = 1" (subscript_expression "piVar7[0x80]" identifier [ number_literal ]) = number_literal) ;) }))) (if_statement "if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }" if (parenthesized_expression "(!bVar3)" ( (unary_expression "!bVar3" ! identifier) )) (compound_statement "{\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }" { (expression_statement "piVar7[9] = 2;" (assignment_expression "piVar7[9] = 2" (subscript_expression "piVar7[9]" identifier [ number_literal ]) = number_literal) ;) (if_statement "if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;" if (parenthesized_expression "((uVar28 & 0x8000) == 0)" ( (binary_expression "(uVar28 & 0x8000) == 0" (parenthesized_expression "(uVar28 & 0x8000)" ( (binary_expression "uVar28 & 0x8000" identifier & number_literal) )) == number_literal) )) (goto_statement "goto LAB_0027565c;" goto statement_identifier ;)) (expression_statement "(*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);" (call_expression "(*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBLong_003a8d98)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBLong_003a8d98" * (cast_expression "(code *)PTR_ReadBlobMSBLong_003a8d98" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier ))) ;) (expression_statement "sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (assignment_expression "sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier )))) ;) (expression_statement "iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (assignment_expression "iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier )))) ;) (expression_statement "puVar12 = PTR_AcquireImageColormap_003a9194;" (assignment_expression "puVar12 = PTR_AcquireImageColormap_003a9194" identifier = identifier) ;) (expression_statement "piVar7[9] = iVar5 + 1;" (assignment_expression "piVar7[9] = iVar5 + 1" (subscript_expression "piVar7[9]" identifier [ number_literal ]) = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) (expression_statement "iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);" (assignment_expression "iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8)" identifier = (call_expression "(*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8)" (parenthesized_expression "(*(code *)puVar12)" ( (pointer_expression "*(code *)puVar12" * (cast_expression "(code *)puVar12" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar7,iVar5 + 1,local_10d8)" ( identifier , (binary_expression "iVar5 + 1" identifier + number_literal) , identifier )))) ;) (if_statement "if (iVar5 == 0) goto LAB_002756e4;" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (goto_statement "goto LAB_002756e4;" goto statement_identifier ;)) (if_statement "if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }" if (parenthesized_expression "(0 < piVar7[9])" ( (binary_expression "0 < piVar7[9]" number_literal < (subscript_expression "piVar7[9]" identifier [ number_literal ])) )) (compound_statement "{\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }" { (expression_statement "uVar29 = 0;" (assignment_expression "uVar29 = 0" identifier = number_literal) ;) (do_statement "do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);" do (compound_statement "{\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          }" { (expression_statement "uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (assignment_expression "uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier )))) ;) (expression_statement "uVar30 = uVar29;" (assignment_expression "uVar30 = uVar29" identifier = identifier) ;) (if_statement "if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }" if (parenthesized_expression "(-1 < sVar15)" ( (binary_expression "-1 < sVar15" number_literal < identifier) )) (compound_statement "{\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }" { (if_statement "if (piVar7[9] == 0) {\n                                trap(7);\n                              }" if (parenthesized_expression "(piVar7[9] == 0)" ( (binary_expression "piVar7[9] == 0" (subscript_expression "piVar7[9]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n                                trap(7);\n                              }" { (expression_statement "trap(7);" (call_expression "trap(7)" identifier (argument_list "(7)" ( number_literal ))) ;) })) (expression_statement "uVar30 = uVar14 % (uint)piVar7[9];" (assignment_expression "uVar30 = uVar14 % (uint)piVar7[9]" identifier = (binary_expression "uVar14 % (uint)piVar7[9]" identifier % (cast_expression "(uint)piVar7[9]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "piVar7[9]" identifier [ number_literal ])))) ;) })) (expression_statement "uVar29 = uVar29 + 1;" (assignment_expression "uVar29 = uVar29 + 1" identifier = (binary_expression "uVar29 + 1" identifier + number_literal)) ;) (expression_statement "iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (assignment_expression "iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier )))) ;) (expression_statement "puVar12 = PTR_ReadBlobMSBShort_003a9160;" (assignment_expression "puVar12 = PTR_ReadBlobMSBShort_003a9160" identifier = identifier) ;) (expression_statement "iVar9 = uVar30 * 0x58;" (assignment_expression "iVar9 = uVar30 * 0x58" identifier = (binary_expression "uVar30 * 0x58" identifier * number_literal)) ;) (expression_statement "*(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;" (assignment_expression "*(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5" (pointer_expression "*(double *)(piVar7[10] + iVar9 + 0x28)" * (cast_expression "(double *)(piVar7[10] + iVar9 + 0x28)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7[10] + iVar9 + 0x28)" ( (binary_expression "piVar7[10] + iVar9 + 0x28" (binary_expression "piVar7[10] + iVar9" (subscript_expression "piVar7[10]" identifier [ number_literal ]) + identifier) + number_literal) )))) = (cast_expression "(double)iVar5" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (expression_statement "iVar5 = (*(code *)puVar12)(unaff_s0);" (assignment_expression "iVar5 = (*(code *)puVar12)(unaff_s0)" identifier = (call_expression "(*(code *)puVar12)(unaff_s0)" (parenthesized_expression "(*(code *)puVar12)" ( (pointer_expression "*(code *)puVar12" * (cast_expression "(code *)puVar12" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier )))) ;) (expression_statement "puVar12 = PTR_ReadBlobMSBShort_003a9160;" (assignment_expression "puVar12 = PTR_ReadBlobMSBShort_003a9160" identifier = identifier) ;) (expression_statement "*(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;" (assignment_expression "*(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5" (pointer_expression "*(double *)(piVar7[10] + iVar9 + 0x30)" * (cast_expression "(double *)(piVar7[10] + iVar9 + 0x30)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7[10] + iVar9 + 0x30)" ( (binary_expression "piVar7[10] + iVar9 + 0x30" (binary_expression "piVar7[10] + iVar9" (subscript_expression "piVar7[10]" identifier [ number_literal ]) + identifier) + number_literal) )))) = (cast_expression "(double)iVar5" ( (type_descriptor "double" primitive_type) ) identifier)) ;) (expression_statement "iVar5 = (*(code *)puVar12)(unaff_s0);" (assignment_expression "iVar5 = (*(code *)puVar12)(unaff_s0)" identifier = (call_expression "(*(code *)puVar12)(unaff_s0)" (parenthesized_expression "(*(code *)puVar12)" ( (pointer_expression "*(code *)puVar12" * (cast_expression "(code *)puVar12" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier )))) ;) (expression_statement "iVar13 = piVar7[9];" (assignment_expression "iVar13 = piVar7[9]" identifier = (subscript_expression "piVar7[9]" identifier [ number_literal ])) ;) (expression_statement "unaff_s3 = (byte *)(piVar7[10] + iVar9);" (assignment_expression "unaff_s3 = (byte *)(piVar7[10] + iVar9)" identifier = (cast_expression "(byte *)(piVar7[10] + iVar9)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(piVar7[10] + iVar9)" ( (binary_expression "piVar7[10] + iVar9" (subscript_expression "piVar7[10]" identifier [ number_literal ]) + identifier) )))) ;) (expression_statement "*(double *)(unaff_s3 + 0x38) = (double)iVar5;" (assignment_expression "*(double *)(unaff_s3 + 0x38) = (double)iVar5" (pointer_expression "*(double *)(unaff_s3 + 0x38)" * (cast_expression "(double *)(unaff_s3 + 0x38)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s3 + 0x38)" ( (binary_expression "unaff_s3 + 0x38" identifier + number_literal) )))) = (cast_expression "(double)iVar5" ( (type_descriptor "double" primitive_type) ) identifier)) ;) }) while (parenthesized_expression "((int)uVar29 < iVar13)" ( (binary_expression "(int)uVar29 < iVar13" (cast_expression "(int)uVar29" ( (type_descriptor "int" primitive_type) ) identifier) < identifier) )) ;) })) })) (goto_statement "goto LAB_00274838;" goto statement_identifier ;) })) (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(piVar7)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar7)" ( identifier ))) ;) (if_statement "if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar26 = 0x49e;" (assignment_expression "uVar26 = 0x49e" identifier = number_literal) ;) (expression_statement "unaff_s7 = piVar7;" (assignment_expression "unaff_s7 = piVar7" identifier = identifier) ;) (goto_statement "goto LAB_002757bc;" goto statement_identifier ;) })) (expression_statement "piVar7[9] = 2;" (assignment_expression "piVar7[9] = 2" (subscript_expression "piVar7[9]" identifier [ number_literal ]) = number_literal) ;) (labeled_statement "LAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);" statement_identifier : (expression_statement "iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);" (assignment_expression "iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8)" identifier = (call_expression "(*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8)" (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 "(piVar7,2,local_10d8)" ( identifier , number_literal , identifier )))) ;)) (if_statement "if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }" { (labeled_statement "LAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);" statement_identifier : (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(piVar7)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar7)" ( identifier ))) ;)) (if_statement "if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar26 = 0x4b8;" (assignment_expression "uVar26 = 0x4b8" identifier = number_literal) ;) (expression_statement "unaff_s7 = piVar7;" (assignment_expression "unaff_s7 = piVar7" identifier = identifier) ;) (labeled_statement "LAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;" statement_identifier : (expression_statement "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;" (assignment_expression "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier + number_literal)) ;)) (expression_statement "uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);" (assignment_expression "uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" identifier = (call_expression "CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" identifier (argument_list "(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" ( (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal) , (binary_expression "local_10d0 + 0x2210" identifier + number_literal) )))) ;) (expression_statement "puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;" (assignment_expression "puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier + number_literal)) ;) (expression_statement "puVar12 = PTR_LAB_003a88e0 + 0x16f8;" (assignment_expression "puVar12 = PTR_LAB_003a88e0 + 0x16f8" identifier = (binary_expression "PTR_LAB_003a88e0 + 0x16f8" identifier + number_literal)) ;) (expression_statement "uVar8 = 400;" (assignment_expression "uVar8 = 400" identifier = number_literal) ;) (goto_statement "goto LAB_00275084;" goto statement_identifier ;) })) (expression_statement "iVar5 = piVar7[9];" (assignment_expression "iVar5 = piVar7[9]" identifier = (subscript_expression "piVar7[9]" identifier [ number_literal ])) ;) (if_statement "if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }" if (parenthesized_expression "(0 < iVar5)" ( (binary_expression "0 < iVar5" number_literal < identifier) )) (compound_statement "{\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }" { (expression_statement "iVar13 = piVar7[10];" (assignment_expression "iVar13 = piVar7[10]" identifier = (subscript_expression "piVar7[10]" identifier [ number_literal ])) ;) (expression_statement "pdVar10 = (double *)(iVar13 + 0x28);" (assignment_expression "pdVar10 = (double *)(iVar13 + 0x28)" identifier = (cast_expression "(double *)(iVar13 + 0x28)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + 0x28)" ( (binary_expression "iVar13 + 0x28" identifier + number_literal) )))) ;) (do_statement "do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));" do (compound_statement "{\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    }" { (expression_statement "pdVar11 = pdVar10 + 0xb;" (assignment_expression "pdVar11 = pdVar10 + 0xb" identifier = (binary_expression "pdVar10 + 0xb" identifier + number_literal)) ;) (expression_statement "*pdVar10 = (double)(float)(in_f20_21 - *pdVar10);" (assignment_expression "*pdVar10 = (double)(float)(in_f20_21 - *pdVar10)" (pointer_expression "*pdVar10" * identifier) = (cast_expression "(double)(float)(in_f20_21 - *pdVar10)" ( (type_descriptor "double" primitive_type) ) (cast_expression "(float)(in_f20_21 - *pdVar10)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "(in_f20_21 - *pdVar10)" ( (binary_expression "in_f20_21 - *pdVar10" identifier - (pointer_expression "*pdVar10" * identifier)) ))))) ;) (expression_statement "pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);" (assignment_expression "pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1])" (subscript_expression "pdVar10[1]" identifier [ number_literal ]) = (cast_expression "(double)(float)(in_f20_21 - pdVar10[1])" ( (type_descriptor "double" primitive_type) ) (cast_expression "(float)(in_f20_21 - pdVar10[1])" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "(in_f20_21 - pdVar10[1])" ( (binary_expression "in_f20_21 - pdVar10[1]" identifier - (subscript_expression "pdVar10[1]" identifier [ number_literal ])) ))))) ;) (expression_statement "pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);" (assignment_expression "pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2])" (subscript_expression "pdVar10[2]" identifier [ number_literal ]) = (cast_expression "(double)(float)(in_f20_21 - pdVar10[2])" ( (type_descriptor "double" primitive_type) ) (cast_expression "(float)(in_f20_21 - pdVar10[2])" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "(in_f20_21 - pdVar10[2])" ( (binary_expression "in_f20_21 - pdVar10[2]" identifier - (subscript_expression "pdVar10[2]" identifier [ number_literal ])) ))))) ;) (expression_statement "pdVar10 = pdVar11;" (assignment_expression "pdVar10 = pdVar11" identifier = identifier) ;) }) while (parenthesized_expression "(pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28))" ( (binary_expression "pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28)" identifier != (cast_expression "(double *)(iVar5 * 0x58 + iVar13 + 0x28)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 * 0x58 + iVar13 + 0x28)" ( (binary_expression "iVar5 * 0x58 + iVar13 + 0x28" (binary_expression "iVar5 * 0x58 + iVar13" (binary_expression "iVar5 * 0x58" identifier * number_literal) + identifier) + number_literal) )))) )) ;) })) (labeled_statement "LAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);" statement_identifier : (expression_statement "iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);" (assignment_expression "iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_EOFBlob_003a9748)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;)) (if_statement "if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }" { (expression_statement "iVar5 = FUN_002739c8(unaff_s0,auStack_1088);" (assignment_expression "iVar5 = FUN_002739c8(unaff_s0,auStack_1088)" identifier = (call_expression "FUN_002739c8(unaff_s0,auStack_1088)" identifier (argument_list "(unaff_s0,auStack_1088)" ( identifier , identifier )))) ;) (if_statement "if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(piVar7)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar7)" ( identifier ))) ;) (if_statement "if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar26 = 0x4d9;" (assignment_expression "uVar26 = 0x4d9" identifier = number_literal) ;) (expression_statement "unaff_s7 = piVar7;" (assignment_expression "unaff_s7 = piVar7" identifier = identifier) ;) }) (else_clause "else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }" else (compound_statement "{\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }" { (expression_statement "iVar5 = FUN_002739c8(unaff_s0,&local_1080);" (assignment_expression "iVar5 = FUN_002739c8(unaff_s0,&local_1080)" identifier = (call_expression "FUN_002739c8(unaff_s0,&local_1080)" identifier (argument_list "(unaff_s0,&local_1080)" ( identifier , (pointer_expression "&local_1080" & identifier) )))) ;) (if_statement "if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }" { (expression_statement "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier ))) ;) (if_statement "if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }" if (parenthesized_expression "((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b))" ( (binary_expression "(((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)" (parenthesized_expression "(((uint)piVar6 & 0xfff7) == 0x91)" ( (binary_expression "((uint)piVar6 & 0xfff7) == 0x91" (parenthesized_expression "((uint)piVar6 & 0xfff7)" ( (binary_expression "(uint)piVar6 & 0xfff7" (cast_expression "(uint)piVar6" ( (type_descriptor "uint" type_identifier) ) identifier) & number_literal) )) == number_literal) )) || (parenthesized_expression "(unaff_s7 == (int *)0x9b)" ( (binary_expression "unaff_s7 == (int *)0x9b" identifier == (cast_expression "(int *)0x9b" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }" { (expression_statement "uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (assignment_expression "uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier )))) ;) (expression_statement "uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);" (assignment_expression "uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }" if (parenthesized_expression "(((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29))" ( (binary_expression "((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)" (parenthesized_expression "((int)((ulonglong)uVar37 >> 0x20) == 0)" ( (binary_expression "(int)((ulonglong)uVar37 >> 0x20) == 0" (cast_expression "(int)((ulonglong)uVar37 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar37 >> 0x20)" ( (binary_expression "(ulonglong)uVar37 >> 0x20" (cast_expression "(ulonglong)uVar37" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) == number_literal) )) && (parenthesized_expression "((uint)uVar37 < uVar29)" ( (binary_expression "(uint)uVar37 < uVar29" (cast_expression "(uint)uVar37" ( (type_descriptor "uint" type_identifier) ) identifier) < identifier) ))) )) (compound_statement "{\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(piVar7)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar7)" ( identifier ))) ;) (if_statement "if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar26 = 0x4e5;" (assignment_expression "uVar26 = 0x4e5" identifier = number_literal) ;) (expression_statement "unaff_s7 = piVar7;" (assignment_expression "unaff_s7 = piVar7" identifier = identifier) ;) (goto_statement "goto LAB_00275880;" goto statement_identifier ;) })) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" identifier = number_literal) ;) (if_statement "if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }" if (parenthesized_expression "(0 < (int)(uVar29 - 2))" ( (binary_expression "0 < (int)(uVar29 - 2)" number_literal < (cast_expression "(int)(uVar29 - 2)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar29 - 2)" ( (binary_expression "uVar29 - 2" identifier - number_literal) )))) )) (compound_statement "{\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }" { (do_statement "do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);" do (compound_statement "{\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            }" { (expression_statement "iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (iVar13 == -1) break;" if (parenthesized_expression "(iVar13 == -1)" ( (binary_expression "iVar13 == -1" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" identifier = (binary_expression "iVar5 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar29 - 2 != iVar5)" ( (binary_expression "uVar29 - 2 != iVar5" (binary_expression "uVar29 - 2" identifier - number_literal) != identifier) )) ;) })) })) (if_statement "if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }" if (parenthesized_expression "((bVar3) || ((uVar28 & 0x8000) != 0))" ( (binary_expression "(bVar3) || ((uVar28 & 0x8000) != 0)" (parenthesized_expression "(bVar3)" ( identifier )) || (parenthesized_expression "((uVar28 & 0x8000) != 0)" ( (binary_expression "(uVar28 & 0x8000) != 0" (parenthesized_expression "(uVar28 & 0x8000)" ( (binary_expression "uVar28 & 0x8000" identifier & number_literal) )) != number_literal) ))) )) (compound_statement "{\n                          iVar5 = (int)local_1066;\n                        }" { (expression_statement "iVar5 = (int)local_1066;" (assignment_expression "iVar5 = (int)local_1066" identifier = (cast_expression "(int)local_1066" ( (type_descriptor "int" primitive_type) ) identifier)) ;) }) (else_clause "else {\n                          iVar5 = 1;\n                        }" else (compound_statement "{\n                          iVar5 = 1;\n                        }" { (expression_statement "iVar5 = 1;" (assignment_expression "iVar5 = 1" identifier = number_literal) ;) }))) (expression_statement "unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);" (assignment_expression "unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5)" identifier = (cast_expression "(byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5)" identifier (argument_list "(unaff_s0,piVar7,uVar28,iVar5)" ( identifier , identifier , identifier , identifier ))))) ;) (if_statement "if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }" if (parenthesized_expression "(unaff_s3 == (byte *)0x0)" ( (binary_expression "unaff_s3 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(piVar7)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar7)" ( identifier ))) ;) (if_statement "if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar26 = 0x4f2;" (assignment_expression "uVar26 = 0x4f2" identifier = number_literal) ;) (expression_statement "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;" (assignment_expression "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier + number_literal)) ;) (expression_statement "uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);" (assignment_expression "uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" identifier = (call_expression "CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" identifier (argument_list "(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" ( (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal) , (binary_expression "local_10d0 + 0x2210" identifier + number_literal) )))) ;) (expression_statement "puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;" (assignment_expression "puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier + number_literal)) ;) (expression_statement "puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;" (assignment_expression "puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00" identifier + number_literal)) ;) }) (else_clause "else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }" else (compound_statement "{\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }" { (if_statement "if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }" if (parenthesized_expression "(piVar7[7] < 1)" ( (binary_expression "piVar7[7] < 1" (subscript_expression "piVar7[7]" identifier [ number_literal ]) < number_literal) )) (compound_statement "{\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }" { (labeled_statement "LAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);" statement_identifier : (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3)" (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 "(unaff_s3)" ( identifier ))) ;)) (if_statement "if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }" if (parenthesized_expression "(((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0))))" ( (binary_expression "((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))" (parenthesized_expression "((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0))" ( (binary_expression "(local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)" (parenthesized_expression "(local_10b8 == 0)" ( (binary_expression "local_10b8 == 0" identifier == number_literal) )) && (parenthesized_expression "(iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)" ( (comma_expression "iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0" (assignment_expression "iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_EOFBlob_003a9748)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) , (binary_expression "iVar5 == 0" identifier == number_literal)) ))) )) && (parenthesized_expression "((bVar3 || ((uVar28 & 0x8000) != 0)))" ( (parenthesized_expression "(bVar3 || ((uVar28 & 0x8000) != 0))" ( (binary_expression "bVar3 || ((uVar28 & 0x8000) != 0)" identifier || (parenthesized_expression "((uVar28 & 0x8000) != 0)" ( (binary_expression "(uVar28 & 0x8000) != 0" (parenthesized_expression "(uVar28 & 0x8000)" ( (binary_expression "uVar28 & 0x8000" identifier & number_literal) )) != number_literal) ))) )) ))) )) (compound_statement "{\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }" { (expression_statement "(*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);" (call_expression "(*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_)" (parenthesized_expression "(*(code *)PTR_CompositeImage_003a8cc4)" ( (pointer_expression "*(code *)PTR_CompositeImage_003a8cc4" * (cast_expression "(code *)PTR_CompositeImage_003a8cc4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_)" ( identifier , identifier , number_literal , number_literal , (cast_expression "(int)local_1080._2_2_" ( (type_descriptor "int" primitive_type) ) (field_expression "local_1080._2_2_" identifier . field_identifier)) , (cast_expression "(int)local_1080._0_2_" ( (type_descriptor "int" primitive_type) ) (field_expression "local_1080._0_2_" identifier . field_identifier)) ))) ;) })) (expression_statement "unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);" (assignment_expression "unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7)" identifier = (cast_expression "(byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(piVar7)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar7)" ( identifier ))))) ;) (goto_statement "goto LAB_00274584;" goto statement_identifier ;) })) (if_statement "if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }" if (parenthesized_expression "(unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094)" ( (binary_expression "unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094" identifier <= (binary_expression "unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094" (binary_expression "unaff_s3 + *(int *)(unaff_s0 + 0x18)" identifier + (pointer_expression "*(int *)(unaff_s0 + 0x18)" * (cast_expression "(int *)(unaff_s0 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x18)" ( (binary_expression "unaff_s0 + 0x18" identifier + number_literal) ))))) + identifier)) )) (compound_statement "{\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }" { (expression_statement "local_10b0 = 0;" (assignment_expression "local_10b0 = 0" identifier = number_literal) ;) (expression_statement "puVar12 = PTR_LAB_003a88e0 + 0x3e28;" (assignment_expression "puVar12 = PTR_LAB_003a88e0 + 0x3e28" identifier = (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal)) ;) (expression_statement "puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;" (assignment_expression "puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990" identifier = (binary_expression "PTR_s_t_to_left_003a88e4 + -0x5990" identifier + number_literal)) ;) (expression_statement "uVar29 = 0;" (assignment_expression "uVar29 = 0" identifier = number_literal) ;) (expression_statement "pbVar31 = unaff_s3;" (assignment_expression "pbVar31 = unaff_s3" identifier = identifier) ;) (do_statement "do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);" do (compound_statement "{\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            }" { (expression_statement "iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);" (assignment_expression "iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8)" identifier = (call_expression "(*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8)" (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 "(piVar7,0,uVar29,piVar7[6],1,local_10d8)" ( identifier , number_literal , identifier , (subscript_expression "piVar7[6]" identifier [ number_literal ]) , number_literal , identifier )))) ;) (if_statement "if (iVar5 == 0) goto LAB_00276500;" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00276500;" goto statement_identifier ;)) (expression_statement "iVar13 = piVar7[6];" (assignment_expression "iVar13 = piVar7[6]" identifier = (subscript_expression "piVar7[6]" identifier [ number_literal ])) ;) (if_statement "if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }" if (parenthesized_expression "(0 < iVar13)" ( (binary_expression "0 < iVar13" number_literal < identifier) )) (compound_statement "{\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }" { (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" identifier = number_literal) ;) (expression_statement "dVar32 = *(double *)(local_10ac + -0x5af0);" (assignment_expression "dVar32 = *(double *)(local_10ac + -0x5af0)" identifier = (pointer_expression "*(double *)(local_10ac + -0x5af0)" * (cast_expression "(double *)(local_10ac + -0x5af0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_10ac + -0x5af0)" ( (binary_expression "local_10ac + -0x5af0" identifier + number_literal) ))))) ;) (expression_statement "dVar33 = dVar32;" (assignment_expression "dVar33 = dVar32" identifier = identifier) ;) (do_statement "do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);" do (compound_statement "{\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                }" { (if_statement "if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }" if (parenthesized_expression "(*piVar7 == 2)" ( (binary_expression "*piVar7 == 2" (pointer_expression "*piVar7" * identifier) == number_literal) )) (compound_statement "{\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }" { (if_statement "if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }" if (parenthesized_expression "((int)(uint)*pbVar31 < piVar7[9])" ( (binary_expression "(int)(uint)*pbVar31 < piVar7[9]" (binary_expression "(int)(uint)*pbVar31" (cast_expression "(int)(uint)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uint)" ( identifier ))) * identifier) < (subscript_expression "piVar7[9]" identifier [ number_literal ])) )) (compound_statement "{\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }" { (expression_statement "fVar34 = (float)*pbVar31;" (assignment_expression "fVar34 = (float)*pbVar31" identifier = (cast_expression "(float)*pbVar31" ( (type_descriptor "float" primitive_type) ) (pointer_expression "*pbVar31" * identifier))) ;) (expression_statement "iVar22 = (int)fVar34 * 0x58;" (assignment_expression "iVar22 = (int)fVar34 * 0x58" identifier = (binary_expression "(int)fVar34 * 0x58" (cast_expression "(int)fVar34" ( (type_descriptor "int" primitive_type) ) identifier) * number_literal)) ;) }) (else_clause "else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }" else (if_statement "if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }" if (parenthesized_expression "(*local_10d8 == 0x1a9)" ( (binary_expression "*local_10d8 == 0x1a9" (pointer_expression "*local_10d8" * identifier) == number_literal) )) (compound_statement "{\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }" { (expression_statement "fVar34 = 0.0;" (assignment_expression "fVar34 = 0.0" identifier = number_literal) ;) (expression_statement "iVar22 = 0;" (assignment_expression "iVar22 = 0" identifier = number_literal) ;) }) (else_clause "else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }" else (compound_statement "{\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }" { (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 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 "(local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0)" ( identifier , (binary_expression "PTR_s_courses_003a88ec + 0x6f4" identifier + number_literal) , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4" identifier + number_literal) , number_literal , number_literal , identifier , identifier , (binary_expression "piVar7 + 0xd0" identifier + number_literal) ))) ;) (expression_statement "fVar34 = 0.0;" (assignment_expression "fVar34 = 0.0" identifier = number_literal) ;) (expression_statement "iVar22 = 0;" (assignment_expression "iVar22 = 0" identifier = number_literal) ;) (expression_statement "iVar13 = piVar7[6];" (assignment_expression "iVar13 = piVar7[6]" identifier = (subscript_expression "piVar7[6]" identifier [ number_literal ])) ;) }))))) (expression_statement "iVar23 = piVar7[0xb4];" (assignment_expression "iVar23 = piVar7[0xb4]" identifier = (subscript_expression "piVar7[0xb4]" identifier [ number_literal ])) ;) (if_statement "if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }" if (parenthesized_expression "(*(int *)(iVar23 + 0x40) != 0)" ( (binary_expression "*(int *)(iVar23 + 0x40) != 0" (pointer_expression "*(int *)(iVar23 + 0x40)" * (cast_expression "(int *)(iVar23 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar23 + 0x40)" ( (binary_expression "iVar23 + 0x40" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }" { (expression_statement "*(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;" (assignment_expression "*(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34" (pointer_expression "*(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4)" * (cast_expression "(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + *(int *)(iVar23 + 0x44) * 4)" ( (binary_expression "iVar5 + *(int *)(iVar23 + 0x44) * 4" identifier + (binary_expression "*(int *)(iVar23 + 0x44) * 4" (pointer_expression "*(int *)(iVar23 + 0x44)" * (cast_expression "(int *)(iVar23 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar23 + 0x44)" ( (binary_expression "iVar23 + 0x44" identifier + number_literal) )))) * number_literal)) )))) = identifier) ;) })) (expression_statement "iVar20 = *(int *)(iVar23 + 0x14);" (assignment_expression "iVar20 = *(int *)(iVar23 + 0x14)" identifier = (pointer_expression "*(int *)(iVar23 + 0x14)" * (cast_expression "(int *)(iVar23 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar23 + 0x14)" ( (binary_expression "iVar23 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar22 = piVar7[10] + iVar22;" (assignment_expression "iVar22 = piVar7[10] + iVar22" identifier = (binary_expression "piVar7[10] + iVar22" (subscript_expression "piVar7[10]" identifier [ number_literal ]) + identifier)) ;) (expression_statement "iVar27 = *(int *)(iVar23 + 0x20);" (assignment_expression "iVar27 = *(int *)(iVar23 + 0x20)" identifier = (pointer_expression "*(int *)(iVar23 + 0x20)" * (cast_expression "(int *)(iVar23 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar23 + 0x20)" ( (binary_expression "iVar23 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "dVar36 = *(double *)(iVar22 + 0x30);" (assignment_expression "dVar36 = *(double *)(iVar22 + 0x30)" identifier = (pointer_expression "*(double *)(iVar22 + 0x30)" * (cast_expression "(double *)(iVar22 + 0x30)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar22 + 0x30)" ( (binary_expression "iVar22 + 0x30" identifier + number_literal) ))))) ;) (expression_statement "dVar35 = *(double *)(iVar22 + 0x38);" (assignment_expression "dVar35 = *(double *)(iVar22 + 0x38)" identifier = (pointer_expression "*(double *)(iVar22 + 0x38)" * (cast_expression "(double *)(iVar22 + 0x38)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar22 + 0x38)" ( (binary_expression "iVar22 + 0x38" identifier + number_literal) ))))) ;) (expression_statement "*(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);" (assignment_expression "*(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28)" (pointer_expression "*(float *)(iVar5 + *(int *)(iVar23 + 8) * 4)" * (cast_expression "(float *)(iVar5 + *(int *)(iVar23 + 8) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + *(int *)(iVar23 + 8) * 4)" ( (binary_expression "iVar5 + *(int *)(iVar23 + 8) * 4" identifier + (binary_expression "*(int *)(iVar23 + 8) * 4" (pointer_expression "*(int *)(iVar23 + 8)" * (cast_expression "(int *)(iVar23 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar23 + 8)" ( (binary_expression "iVar23 + 8" identifier + number_literal) )))) * number_literal)) )))) = (cast_expression "(float)*(double *)(iVar22 + 0x28)" ( (type_descriptor "float" primitive_type) ) (pointer_expression "*(double *)(iVar22 + 0x28)" * (cast_expression "(double *)(iVar22 + 0x28)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar22 + 0x28)" ( (binary_expression "iVar22 + 0x28" identifier + number_literal) )))))) ;) (expression_statement "*(float *)(iVar5 + iVar20 * 4) = (float)dVar36;" (assignment_expression "*(float *)(iVar5 + iVar20 * 4) = (float)dVar36" (pointer_expression "*(float *)(iVar5 + iVar20 * 4)" * (cast_expression "(float *)(iVar5 + iVar20 * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + iVar20 * 4)" ( (binary_expression "iVar5 + iVar20 * 4" identifier + (binary_expression "iVar20 * 4" identifier * number_literal)) )))) = (cast_expression "(float)dVar36" ( (type_descriptor "float" primitive_type) ) identifier)) ;) (expression_statement "*(float *)(iVar5 + iVar27 * 4) = (float)dVar35;" (assignment_expression "*(float *)(iVar5 + iVar27 * 4) = (float)dVar35" (pointer_expression "*(float *)(iVar5 + iVar27 * 4)" * (cast_expression "(float *)(iVar5 + iVar27 * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + iVar27 * 4)" ( (binary_expression "iVar5 + iVar27 * 4" identifier + (binary_expression "iVar27 * 4" identifier * number_literal)) )))) = (cast_expression "(float)dVar35" ( (type_descriptor "float" primitive_type) ) identifier)) ;) }) (else_clause "else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }" else (if_statement "if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }" if (parenthesized_expression "(local_1066 == 0x10)" ( (binary_expression "local_1066 == 0x10" identifier == number_literal) )) (compound_statement "{\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }" { (expression_statement "bVar1 = pbVar31[1];" (assignment_expression "bVar1 = pbVar31[1]" identifier = (subscript_expression "pbVar31[1]" identifier [ number_literal ])) ;) (expression_statement "iVar22 = piVar7[0xb4];" (assignment_expression "iVar22 = piVar7[0xb4]" identifier = (subscript_expression "piVar7[0xb4]" identifier [ number_literal ])) ;) (expression_statement "bVar2 = *pbVar31;" (assignment_expression "bVar2 = *pbVar31" identifier = (pointer_expression "*pbVar31" * identifier)) ;) (expression_statement "iVar27 = *(int *)(iVar22 + 0x14);" (assignment_expression "iVar27 = *(int *)(iVar22 + 0x14)" identifier = (pointer_expression "*(int *)(iVar22 + 0x14)" * (cast_expression "(int *)(iVar22 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar22 + 0x14)" ( (binary_expression "iVar22 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar23 = *(int *)(iVar22 + 0x20);" (assignment_expression "iVar23 = *(int *)(iVar22 + 0x20)" identifier = (pointer_expression "*(int *)(iVar22 + 0x20)" * (cast_expression "(int *)(iVar22 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar22 + 0x20)" ( (binary_expression "iVar22 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "*(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);" (assignment_expression "*(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33)" (pointer_expression "*(float *)(iVar5 + *(int *)(iVar22 + 8) * 4)" * (cast_expression "(float *)(iVar5 + *(int *)(iVar22 + 8) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + *(int *)(iVar22 + 8) * 4)" ( (binary_expression "iVar5 + *(int *)(iVar22 + 8) * 4" identifier + (binary_expression "*(int *)(iVar22 + 8) * 4" (pointer_expression "*(int *)(iVar22 + 8)" * (cast_expression "(int *)(iVar22 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar22 + 8)" ( (binary_expression "iVar22 + 8" identifier + number_literal) )))) * number_literal)) )))) = (cast_expression "(float)((double)((bVar2 & 0x7c) << 1) * dVar33)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "((double)((bVar2 & 0x7c) << 1) * dVar33)" ( (binary_expression "(double)((bVar2 & 0x7c) << 1) * dVar33" (cast_expression "(double)((bVar2 & 0x7c) << 1)" ( (type_descriptor "double" primitive_type) ) (parenthesized_expression "((bVar2 & 0x7c) << 1)" ( (binary_expression "(bVar2 & 0x7c) << 1" (parenthesized_expression "(bVar2 & 0x7c)" ( (binary_expression "bVar2 & 0x7c" identifier & number_literal) )) << number_literal) ))) * identifier) )))) ;) (expression_statement "*(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);" (assignment_expression "*(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33)" (pointer_expression "*(float *)(iVar5 + iVar27 * 4)" * (cast_expression "(float *)(iVar5 + iVar27 * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + iVar27 * 4)" ( (binary_expression "iVar5 + iVar27 * 4" identifier + (binary_expression "iVar27 * 4" identifier * number_literal)) )))) = (cast_expression "(float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33)" ( (binary_expression "(double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33" (cast_expression "(double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6)" ( (type_descriptor "double" primitive_type) ) (parenthesized_expression "(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6)" ( (binary_expression "bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6" (binary_expression "bVar1 >> 2 & 0x38" (binary_expression "bVar1 >> 2" identifier >> number_literal) & number_literal) | (binary_expression "(bVar2 & 3) << 6" (parenthesized_expression "(bVar2 & 3)" ( (binary_expression "bVar2 & 3" identifier & number_literal) )) << number_literal)) ))) * identifier) )))) ;) (expression_statement "*(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);" (assignment_expression "*(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33)" (pointer_expression "*(float *)(iVar5 + iVar23 * 4)" * (cast_expression "(float *)(iVar5 + iVar23 * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + iVar23 * 4)" ( (binary_expression "iVar5 + iVar23 * 4" identifier + (binary_expression "iVar23 * 4" identifier * number_literal)) )))) = (cast_expression "(float)((double)((bVar1 & 0x1f) << 3) * dVar33)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "((double)((bVar1 & 0x1f) << 3) * dVar33)" ( (binary_expression "(double)((bVar1 & 0x1f) << 3) * dVar33" (cast_expression "(double)((bVar1 & 0x1f) << 3)" ( (type_descriptor "double" primitive_type) ) (parenthesized_expression "((bVar1 & 0x1f) << 3)" ( (binary_expression "(bVar1 & 0x1f) << 3" (parenthesized_expression "(bVar1 & 0x1f)" ( (binary_expression "bVar1 & 0x1f" identifier & number_literal) )) << number_literal) ))) * identifier) )))) ;) (expression_statement "pbVar31 = pbVar31 + 1;" (assignment_expression "pbVar31 = pbVar31 + 1" identifier = (binary_expression "pbVar31 + 1" identifier + number_literal)) ;) }) (else_clause "else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }" else (if_statement "if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }" if (parenthesized_expression "(piVar7[0xaf] == 0)" ( (binary_expression "piVar7[0xaf] == 0" (subscript_expression "piVar7[0xaf]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }" { (if_statement "if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }" if (parenthesized_expression "(unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31)" ( (binary_expression "unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31" (binary_expression "unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094" (binary_expression "unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2" identifier + (binary_expression "*(int *)(unaff_s0 + 0x18) * 2" (pointer_expression "*(int *)(unaff_s0 + 0x18)" * (cast_expression "(int *)(unaff_s0 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x18)" ( (binary_expression "unaff_s0 + 0x18" identifier + number_literal) )))) * number_literal)) + identifier) < identifier) )) (compound_statement "{\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(piVar7)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar7)" ( identifier ))) ;) (if_statement "if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar26 = 0x523;" (assignment_expression "uVar26 = 0x523" identifier = number_literal) ;) (goto_statement "goto LAB_0027504c;" goto statement_identifier ;) })) (expression_statement "iVar22 = piVar7[0xb4];" (assignment_expression "iVar22 = piVar7[0xb4]" identifier = (subscript_expression "piVar7[0xb4]" identifier [ number_literal ])) ;) (expression_statement "iVar27 = *(int *)(iVar22 + 0x14);" (assignment_expression "iVar27 = *(int *)(iVar22 + 0x14)" identifier = (pointer_expression "*(int *)(iVar22 + 0x14)" * (cast_expression "(int *)(iVar22 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar22 + 0x14)" ( (binary_expression "iVar22 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar23 = *(int *)(iVar22 + 0x20);" (assignment_expression "iVar23 = *(int *)(iVar22 + 0x20)" identifier = (pointer_expression "*(int *)(iVar22 + 0x20)" * (cast_expression "(int *)(iVar22 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar22 + 0x20)" ( (binary_expression "iVar22 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "*(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);" (assignment_expression "*(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32)" (pointer_expression "*(float *)(iVar5 + *(int *)(iVar22 + 8) * 4)" * (cast_expression "(float *)(iVar5 + *(int *)(iVar22 + 8) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + *(int *)(iVar22 + 8) * 4)" ( (binary_expression "iVar5 + *(int *)(iVar22 + 8) * 4" identifier + (binary_expression "*(int *)(iVar22 + 8) * 4" (pointer_expression "*(int *)(iVar22 + 8)" * (cast_expression "(int *)(iVar22 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar22 + 8)" ( (binary_expression "iVar22 + 8" identifier + number_literal) )))) * number_literal)) )))) = (cast_expression "(float)((double)*pbVar31 * dVar32)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "((double)*pbVar31 * dVar32)" ( (binary_expression "(double)*pbVar31 * dVar32" (cast_expression "(double)*pbVar31" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*pbVar31" * identifier)) * identifier) )))) ;) (expression_statement "*(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);" (assignment_expression "*(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32)" (pointer_expression "*(float *)(iVar5 + iVar27 * 4)" * (cast_expression "(float *)(iVar5 + iVar27 * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + iVar27 * 4)" ( (binary_expression "iVar5 + iVar27 * 4" identifier + (binary_expression "iVar27 * 4" identifier * number_literal)) )))) = (cast_expression "(float)((double)pbVar31[iVar13] * dVar32)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "((double)pbVar31[iVar13] * dVar32)" ( (binary_expression "(double)pbVar31[iVar13] * dVar32" (cast_expression "(double)pbVar31[iVar13]" ( (type_descriptor "double" primitive_type) ) (subscript_expression "pbVar31[iVar13]" identifier [ identifier ])) * identifier) )))) ;) (expression_statement "*(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);" (assignment_expression "*(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32)" (pointer_expression "*(float *)(iVar5 + iVar23 * 4)" * (cast_expression "(float *)(iVar5 + iVar23 * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + iVar23 * 4)" ( (binary_expression "iVar5 + iVar23 * 4" identifier + (binary_expression "iVar23 * 4" identifier * number_literal)) )))) = (cast_expression "(float)((double)(pbVar31 + iVar13)[iVar13] * dVar32)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "((double)(pbVar31 + iVar13)[iVar13] * dVar32)" ( (binary_expression "(double)(pbVar31 + iVar13)[iVar13] * dVar32" (cast_expression "(double)(pbVar31 + iVar13)[iVar13]" ( (type_descriptor "double" primitive_type) ) (subscript_expression "(pbVar31 + iVar13)[iVar13]" (parenthesized_expression "(pbVar31 + iVar13)" ( (binary_expression "pbVar31 + iVar13" identifier + identifier) )) [ identifier ])) * identifier) )))) ;) }) (else_clause "else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }" else (compound_statement "{\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }" { (if_statement "if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }" if (parenthesized_expression "(unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31)" ( (binary_expression "unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31" (binary_expression "unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094" (binary_expression "unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3" identifier + (binary_expression "*(int *)(unaff_s0 + 0x18) * 3" (pointer_expression "*(int *)(unaff_s0 + 0x18)" * (cast_expression "(int *)(unaff_s0 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x18)" ( (binary_expression "unaff_s0 + 0x18" identifier + number_literal) )))) * number_literal)) + identifier) < identifier) )) (compound_statement "{\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(piVar7)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar7)" ( identifier ))) ;) (if_statement "if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar26 = 0x52e;" (assignment_expression "uVar26 = 0x52e" identifier = number_literal) ;) (goto_statement "goto LAB_0027504c;" goto statement_identifier ;) })) (expression_statement "iVar22 = piVar7[0xb4];" (assignment_expression "iVar22 = piVar7[0xb4]" identifier = (subscript_expression "piVar7[0xb4]" identifier [ number_literal ])) ;) (expression_statement "pbVar24 = pbVar31 + iVar13;" (assignment_expression "pbVar24 = pbVar31 + iVar13" identifier = (binary_expression "pbVar31 + iVar13" identifier + identifier)) ;) (if_statement "if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }" if (parenthesized_expression "(*(int *)(iVar22 + 0x34) != 0)" ( (binary_expression "*(int *)(iVar22 + 0x34) != 0" (pointer_expression "*(int *)(iVar22 + 0x34)" * (cast_expression "(int *)(iVar22 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar22 + 0x34)" ( (binary_expression "iVar22 + 0x34" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }" { (expression_statement "*(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);" (assignment_expression "*(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23)" (pointer_expression "*(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4)" * (cast_expression "(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + *(int *)(iVar22 + 0x38) * 4)" ( (binary_expression "iVar5 + *(int *)(iVar22 + 0x38) * 4" identifier + (binary_expression "*(int *)(iVar22 + 0x38) * 4" (pointer_expression "*(int *)(iVar22 + 0x38)" * (cast_expression "(int *)(iVar22 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar22 + 0x38)" ( (binary_expression "iVar22 + 0x38" identifier + number_literal) )))) * number_literal)) )))) = (cast_expression "(float)((double)*pbVar31 * in_f22_23)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "((double)*pbVar31 * in_f22_23)" ( (binary_expression "(double)*pbVar31 * in_f22_23" (cast_expression "(double)*pbVar31" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*pbVar31" * identifier)) * identifier) )))) ;) })) (expression_statement "dVar35 = *(double *)(local_10ac + -0x5af0);" (assignment_expression "dVar35 = *(double *)(local_10ac + -0x5af0)" identifier = (pointer_expression "*(double *)(local_10ac + -0x5af0)" * (cast_expression "(double *)(local_10ac + -0x5af0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_10ac + -0x5af0)" ( (binary_expression "local_10ac + -0x5af0" identifier + number_literal) ))))) ;) (expression_statement "iVar27 = *(int *)(iVar22 + 0x14);" (assignment_expression "iVar27 = *(int *)(iVar22 + 0x14)" identifier = (pointer_expression "*(int *)(iVar22 + 0x14)" * (cast_expression "(int *)(iVar22 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar22 + 0x14)" ( (binary_expression "iVar22 + 0x14" identifier + number_literal) ))))) ;) (expression_statement "iVar23 = *(int *)(iVar22 + 0x20);" (assignment_expression "iVar23 = *(int *)(iVar22 + 0x20)" identifier = (pointer_expression "*(int *)(iVar22 + 0x20)" * (cast_expression "(int *)(iVar22 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar22 + 0x20)" ( (binary_expression "iVar22 + 0x20" identifier + number_literal) ))))) ;) (expression_statement "*(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);" (assignment_expression "*(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35)" (pointer_expression "*(float *)(iVar5 + *(int *)(iVar22 + 8) * 4)" * (cast_expression "(float *)(iVar5 + *(int *)(iVar22 + 8) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + *(int *)(iVar22 + 8) * 4)" ( (binary_expression "iVar5 + *(int *)(iVar22 + 8) * 4" identifier + (binary_expression "*(int *)(iVar22 + 8) * 4" (pointer_expression "*(int *)(iVar22 + 8)" * (cast_expression "(int *)(iVar22 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar22 + 8)" ( (binary_expression "iVar22 + 8" identifier + number_literal) )))) * number_literal)) )))) = (cast_expression "(float)((double)*pbVar24 * dVar35)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "((double)*pbVar24 * dVar35)" ( (binary_expression "(double)*pbVar24 * dVar35" (cast_expression "(double)*pbVar24" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*pbVar24" * identifier)) * identifier) )))) ;) (expression_statement "*(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);" (assignment_expression "*(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35)" (pointer_expression "*(float *)(iVar5 + iVar27 * 4)" * (cast_expression "(float *)(iVar5 + iVar27 * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + iVar27 * 4)" ( (binary_expression "iVar5 + iVar27 * 4" identifier + (binary_expression "iVar27 * 4" identifier * number_literal)) )))) = (cast_expression "(float)((double)pbVar24[iVar13] * dVar35)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "((double)pbVar24[iVar13] * dVar35)" ( (binary_expression "(double)pbVar24[iVar13] * dVar35" (cast_expression "(double)pbVar24[iVar13]" ( (type_descriptor "double" primitive_type) ) (subscript_expression "pbVar24[iVar13]" identifier [ identifier ])) * identifier) )))) ;) (expression_statement "*(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);" (assignment_expression "*(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35)" (pointer_expression "*(float *)(iVar5 + iVar23 * 4)" * (cast_expression "(float *)(iVar5 + iVar23 * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar5 + iVar23 * 4)" ( (binary_expression "iVar5 + iVar23 * 4" identifier + (binary_expression "iVar23 * 4" identifier * number_literal)) )))) = (cast_expression "(float)((double)(pbVar24 + iVar13)[iVar13] * dVar35)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "((double)(pbVar24 + iVar13)[iVar13] * dVar35)" ( (binary_expression "(double)(pbVar24 + iVar13)[iVar13] * dVar35" (cast_expression "(double)(pbVar24 + iVar13)[iVar13]" ( (type_descriptor "double" primitive_type) ) (subscript_expression "(pbVar24 + iVar13)[iVar13]" (parenthesized_expression "(pbVar24 + iVar13)" ( (binary_expression "pbVar24 + iVar13" identifier + identifier) )) [ identifier ])) * identifier) )))) ;) }))))))) (expression_statement "iVar9 = iVar9 + 1;" (assignment_expression "iVar9 = iVar9 + 1" identifier = (binary_expression "iVar9 + 1" identifier + number_literal)) ;) (expression_statement "pbVar31 = pbVar31 + 1;" (assignment_expression "pbVar31 = pbVar31 + 1" identifier = (binary_expression "pbVar31 + 1" identifier + number_literal)) ;) (expression_statement "iVar5 = iVar5 + piVar7[0xb0] * 4;" (assignment_expression "iVar5 = iVar5 + piVar7[0xb0] * 4" identifier = (binary_expression "iVar5 + piVar7[0xb0] * 4" identifier + (binary_expression "piVar7[0xb0] * 4" (subscript_expression "piVar7[0xb0]" identifier [ number_literal ]) * number_literal))) ;) }) while (parenthesized_expression "(iVar9 < iVar13)" ( (binary_expression "iVar9 < iVar13" identifier < identifier) )) ;) })) (expression_statement "iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;" (assignment_expression "iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)" identifier = (call_expression "(*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)" (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 "(piVar7,local_10d8)" ( identifier , identifier )))) ;) (if_statement "if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;" if (parenthesized_expression "(((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))" ( (binary_expression "((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30)))" (parenthesized_expression "((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3))))" ( (binary_expression "(iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))" (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) || (parenthesized_expression "(((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))" ( (parenthesized_expression "((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3))" ( (binary_expression "(*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)" (parenthesized_expression "(*piVar7 == 1 && (local_1066 != 0x10))" ( (binary_expression "*piVar7 == 1 && (local_1066 != 0x10)" (binary_expression "*piVar7 == 1" (pointer_expression "*piVar7" * identifier) == number_literal) && (parenthesized_expression "(local_1066 != 0x10)" ( (binary_expression "local_1066 != 0x10" identifier != number_literal) ))) )) && (parenthesized_expression "(pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)" ( (comma_expression "pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3" (assignment_expression "pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6]" identifier = (binary_expression "pbVar31 + (local_1064 + -1) * piVar7[6]" identifier + (binary_expression "(local_1064 + -1) * piVar7[6]" (parenthesized_expression "(local_1064 + -1)" ( (binary_expression "local_1064 + -1" identifier + number_literal) )) * (subscript_expression "piVar7[6]" identifier [ number_literal ])))) , (binary_expression "pbVar31 < unaff_s3" identifier < identifier)) ))) )) ))) )) || (parenthesized_expression "((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30)))" ( (parenthesized_expression "(iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))" ( (comma_expression "iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30)" (assignment_expression "iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7])" identifier = (call_expression "(*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7])" (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 "(unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7])" ( identifier , (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0" identifier + number_literal) , identifier , identifier , number_literal , (subscript_expression "piVar7[7]" identifier [ number_literal ]) )))) , (binary_expression "iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30)" (binary_expression "iVar5 == 0" identifier == number_literal) || (parenthesized_expression "(uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30)" ( (comma_expression "uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30" (assignment_expression "uVar30 = uVar29 + 1" identifier = (binary_expression "uVar29 + 1" identifier + number_literal)) , (binary_expression "piVar7[7] <= (int)uVar30" (subscript_expression "piVar7[7]" identifier [ number_literal ]) <= (cast_expression "(int)uVar30" ( (type_descriptor "int" primitive_type) ) identifier))) )))) )) ))) )) (goto_statement "goto LAB_00276500;" goto statement_identifier ;)) (expression_statement "local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;" (assignment_expression "local_10b0 = (uint)(uVar30 < uVar29) + local_10b0" identifier = (binary_expression "(uint)(uVar30 < uVar29) + local_10b0" (call_expression "(uint)(uVar30 < uVar29)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar30 < uVar29)" ( (binary_expression "uVar30 < uVar29" identifier < identifier) ))) + identifier)) ;) (expression_statement "uVar29 = uVar30;" (assignment_expression "uVar29 = uVar30" identifier = identifier) ;) }) while (parenthesized_expression "(pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094)" ( (binary_expression "pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094" identifier <= (binary_expression "unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094" (binary_expression "unaff_s3 + *(int *)(unaff_s0 + 0x18)" identifier + (pointer_expression "*(int *)(unaff_s0 + 0x18)" * (cast_expression "(int *)(unaff_s0 + 0x18)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x18)" ( (binary_expression "unaff_s0 + 0x18" identifier + number_literal) ))))) + identifier)) )) ;) })) (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3)" (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 "(unaff_s3)" ( identifier ))) ;) (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(piVar7)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar7)" ( identifier ))) ;) (if_statement "if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar26 = 0x4fc;" (assignment_expression "uVar26 = 0x4fc" identifier = number_literal) ;) (expression_statement "unaff_s7 = piVar7;" (assignment_expression "unaff_s7 = piVar7" identifier = identifier) ;) (labeled_statement "LAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;" statement_identifier : (expression_statement "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;" (assignment_expression "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier + number_literal)) ;)) (expression_statement "uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);" (assignment_expression "uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" identifier = (call_expression "CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" identifier (argument_list "(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" ( (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal) , (binary_expression "local_10d0 + 0x2210" identifier + number_literal) )))) ;) (expression_statement "puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;" (assignment_expression "puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier + number_literal)) ;) (expression_statement "puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;" (assignment_expression "puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8" identifier + number_literal)) ;) (expression_statement "piVar7 = unaff_s7;" (assignment_expression "piVar7 = unaff_s7" identifier = identifier) ;) }))) (goto_statement "goto LAB_0027507c;" goto statement_identifier ;) })) (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(piVar7)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar7)" ( identifier ))) ;) (if_statement "if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar26 = 0x4db;" (assignment_expression "uVar26 = 0x4db" identifier = number_literal) ;) (expression_statement "unaff_s7 = piVar7;" (assignment_expression "unaff_s7 = piVar7" identifier = identifier) ;) }))) (goto_statement "goto LAB_002757bc;" goto statement_identifier ;) })) (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(piVar7)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(piVar7)" ( identifier ))) ;) (if_statement "if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar26 = 0x4d7;" (assignment_expression "uVar26 = 0x4d7" identifier = number_literal) ;) (expression_statement "unaff_s7 = piVar7;" (assignment_expression "unaff_s7 = piVar7" identifier = identifier) ;) (goto_statement "goto LAB_00275880;" goto statement_identifier ;) })) (if_statement "if (unaff_s3 != (byte *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }" if (parenthesized_expression "(unaff_s3 != (byte *)0x0)" ( (binary_expression "unaff_s3 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3)" ( identifier ))) ;) })) (if_statement "if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar26 = 0x491;" (assignment_expression "uVar26 = 0x491" identifier = number_literal) ;) (labeled_statement "LAB_002757bc:\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;" statement_identifier : (expression_statement "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;" (assignment_expression "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier + number_literal)) ;)) (expression_statement "uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);" (assignment_expression "uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" identifier = (call_expression "CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" identifier (argument_list "(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" ( (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal) , (binary_expression "local_10d0 + 0x2210" identifier + number_literal) )))) ;) (expression_statement "puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;" (assignment_expression "puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier + number_literal)) ;) (expression_statement "puVar12 = PTR_s_courses_003a88ec + -400;" (assignment_expression "puVar12 = PTR_s_courses_003a88ec + -400" identifier = (binary_expression "PTR_s_courses_003a88ec + -400" identifier + number_literal)) ;) (expression_statement "piVar7 = unaff_s7;" (assignment_expression "piVar7 = unaff_s7" identifier = identifier) ;) (labeled_statement "LAB_0027507c:\n                uVar8 = 0x1a9;" statement_identifier : (expression_statement "uVar8 = 0x1a9;" (assignment_expression "uVar8 = 0x1a9" identifier = number_literal) ;)) (expression_statement "unaff_s7 = piVar7;" (assignment_expression "unaff_s7 = piVar7" identifier = identifier) ;) (labeled_statement "LAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);" statement_identifier : (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37)" (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_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37)" ( identifier , identifier , identifier , identifier , identifier , identifier , identifier ))) ;)) (labeled_statement "LAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);" statement_identifier : (expression_statement "(*(code *)PTR_CloseBlob_003a9688)(unaff_s0);" (call_expression "(*(code *)PTR_CloseBlob_003a9688)(unaff_s0)" (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 "(unaff_s0)" ( identifier ))) ;)) (expression_statement "(*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);" (call_expression "(*(code *)PTR_DestroyImageList_003a9510)(unaff_s0)" (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 "(unaff_s0)" ( identifier ))) ;) (labeled_statement "LAB_00274224:\n                uVar26 = 0;" statement_identifier : (expression_statement "uVar26 = 0;" (assignment_expression "uVar26 = 0" identifier = number_literal) ;)) (goto_statement "goto LAB_00274228;" goto statement_identifier ;) })) (if_statement "if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7);\n              }" if (parenthesized_expression "(*(int *)(unaff_s0 + 0x3350) != 0)" ( (binary_expression "*(int *)(unaff_s0 + 0x3350) != 0" (pointer_expression "*(int *)(unaff_s0 + 0x3350)" * (cast_expression "(int *)(unaff_s0 + 0x3350)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x3350)" ( (binary_expression "unaff_s0 + 0x3350" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7);\n              }" { (expression_statement "(*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7);" (call_expression "(*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7)" (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 "(0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7)" ( number_literal , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier + number_literal) , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier + number_literal) , number_literal , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c" identifier + number_literal) , identifier ))) ;) })) (if_statement "if (unaff_s7 != (int *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7 + -0x2c) {\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }" if (parenthesized_expression "(unaff_s7 != (int *)0xc00)" ( (binary_expression "unaff_s7 != (int *)0xc00" identifier != (cast_expression "(int *)0xc00" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7 + -0x2c) {\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }" { (labeled_statement "LAB_00274584:\n                if (&DAT_0000001f < unaff_s7 + -0x2c) {\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }" statement_identifier : (if_statement "if (&DAT_0000001f < unaff_s7 + -0x2c) {\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }" if (parenthesized_expression "(&DAT_0000001f < unaff_s7 + -0x2c)" ( (binary_expression "&DAT_0000001f < unaff_s7 + -0x2c" (pointer_expression "&DAT_0000001f" & identifier) < (binary_expression "unaff_s7 + -0x2c" identifier + number_literal)) )) (compound_statement "{\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }" { (labeled_statement "LAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }" statement_identifier : (if_statement "if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }" if (parenthesized_expression "((int *)0xff < unaff_s7 + -0x2000)" ( (binary_expression "(int *)0xff < unaff_s7 + -0x2000" (cast_expression "(int *)0xff" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) < (binary_expression "unaff_s7 + -0x2000" identifier + number_literal)) )) (compound_statement "{\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }" { (if_statement "if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }" if (parenthesized_expression "(unaff_s7 == (int *)0x8200)" ( (binary_expression "unaff_s7 == (int *)0x8200" identifier == (cast_expression "(int *)0x8200" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }" { (expression_statement "uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);" (assignment_expression "uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBLong_003a8d98)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBLong_003a8d98" * (cast_expression "(code *)PTR_ReadBlobMSBLong_003a8d98" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier )))) ;) (expression_statement "uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);" (assignment_expression "uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }" if (parenthesized_expression "(((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28))" ( (binary_expression "((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)" (parenthesized_expression "((int)((ulonglong)uVar37 >> 0x20) == 0)" ( (binary_expression "(int)((ulonglong)uVar37 >> 0x20) == 0" (cast_expression "(int)((ulonglong)uVar37 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar37 >> 0x20)" ( (binary_expression "(ulonglong)uVar37 >> 0x20" (cast_expression "(ulonglong)uVar37" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) == number_literal) )) && (parenthesized_expression "((uint)uVar37 < uVar28)" ( (binary_expression "(uint)uVar37 < uVar28" (cast_expression "(uint)uVar37" ( (type_descriptor "uint" type_identifier) ) identifier) < identifier) ))) )) (compound_statement "{\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }" { (if_statement "if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }" if (parenthesized_expression "(unaff_s3 != (byte *)0x0)" ( (binary_expression "unaff_s3 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3)" ( identifier ))) ;) })) (if_statement "if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar26 = 0x5b9;" (assignment_expression "uVar26 = 0x5b9" identifier = number_literal) ;) (goto_statement "goto LAB_00275880;" goto statement_identifier ;) })) (expression_statement "iVar5 = 6;" (assignment_expression "iVar5 = 6" identifier = number_literal) ;) (if_statement "if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }" if (parenthesized_expression "(0x9a < uVar28)" ( (binary_expression "0x9a < uVar28" number_literal < identifier) )) (compound_statement "{\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }" { (do_statement "do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);" do (compound_statement "{\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        }" { (expression_statement "iVar5 = iVar5 + -1;" (assignment_expression "iVar5 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ;) (expression_statement "(*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);" (call_expression "(*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBLong_003a8d98)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBLong_003a8d98" * (cast_expression "(code *)PTR_ReadBlobMSBLong_003a8d98" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier ))) ;) }) while (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) ;) (expression_statement "iVar5 = FUN_002739c8(unaff_s0,local_10bc);" (assignment_expression "iVar5 = FUN_002739c8(unaff_s0,local_10bc)" identifier = (call_expression "FUN_002739c8(unaff_s0,local_10bc)" identifier (argument_list "(unaff_s0,local_10bc)" ( identifier , identifier )))) ;) (if_statement "if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }" { (if_statement "if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }" if (parenthesized_expression "(unaff_s3 != (byte *)0x0)" ( (binary_expression "unaff_s3 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3)" ( identifier ))) ;) })) (if_statement "if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar26 = 0x5c8;" (assignment_expression "uVar26 = 0x5c8" identifier = number_literal) ;) (expression_statement "uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);" (assignment_expression "uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" identifier = (call_expression "CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" identifier (argument_list "(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" ( (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal) , (binary_expression "local_10d0 + 0x2210" identifier + number_literal) )))) ;) (labeled_statement "LAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;" statement_identifier : (expression_statement "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;" (assignment_expression "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier + number_literal)) ;)) (expression_statement "puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;" (assignment_expression "puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier + number_literal)) ;) (expression_statement "puVar12 = PTR_s_courses_003a88ec + -400;" (assignment_expression "puVar12 = PTR_s_courses_003a88ec + -400" identifier = (binary_expression "PTR_s_courses_003a88ec + -400" identifier + number_literal)) ;) (expression_statement "uVar8 = 0x1a9;" (assignment_expression "uVar8 = 0x1a9" identifier = number_literal) ;) }) (else_clause "else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }" else (compound_statement "{\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }" { (expression_statement "iVar5 = 0x7a;" (assignment_expression "iVar5 = 0x7a" identifier = number_literal) ;) (do_statement "do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);" do (compound_statement "{\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          }" { (expression_statement "iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (iVar13 == -1) break;" if (parenthesized_expression "(iVar13 == -1)" ( (binary_expression "iVar13 == -1" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar5 = iVar5 + -1;" (assignment_expression "iVar5 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) ;) (expression_statement "iVar5 = uVar28 - 0x9a;" (assignment_expression "iVar5 = uVar28 - 0x9a" identifier = (binary_expression "uVar28 - 0x9a" identifier - number_literal)) ;) (expression_statement "piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);" (assignment_expression "piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1)" identifier = (cast_expression "(int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,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 "(iVar5,1)" ( identifier , number_literal ))))) ;) (expression_statement "pbVar31 = local_10d0 + 0x2210;" (assignment_expression "pbVar31 = local_10d0 + 0x2210" identifier = (binary_expression "local_10d0 + 0x2210" identifier + number_literal)) ;) (if_statement "if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }" if (parenthesized_expression "(piVar6 != (int *)0x0)" ( (binary_expression "piVar6 != (int *)0x0" identifier != (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }" { (expression_statement "uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);" (assignment_expression "uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080)" identifier = (call_expression "(*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080)" (parenthesized_expression "(*(code *)PTR_ReadBlobStream_003a9098)" ( (pointer_expression "*(code *)PTR_ReadBlobStream_003a9098" * (cast_expression "(code *)PTR_ReadBlobStream_003a9098" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0,iVar5,piVar6,&local_1080)" ( identifier , identifier , identifier , (pointer_expression "&local_1080" & identifier) )))) ;) (if_statement "if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }" if (parenthesized_expression "(local_1080 == iVar5)" ( (binary_expression "local_1080 == iVar5" identifier == identifier) )) (compound_statement "{\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }" { (expression_statement "iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();" (assignment_expression "iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)()" identifier = (call_expression "(*(code *)PTR_AcquireImageInfo_003a91d0)()" (parenthesized_expression "(*(code *)PTR_AcquireImageInfo_003a91d0)" ( (pointer_expression "*(code *)PTR_AcquireImageInfo_003a91d0" * (cast_expression "(code *)PTR_AcquireImageInfo_003a91d0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "(*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);" (call_expression "(*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31)" (parenthesized_expression "(*(code *)PTR_FormatLocaleString_003a8d7c)" ( (pointer_expression "*(code *)PTR_FormatLocaleString_003a8d7c" * (cast_expression "(code *)PTR_FormatLocaleString_003a8d7c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31)" ( (binary_expression "iVar5 + 0x2210" identifier + number_literal) , number_literal , (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c" identifier + number_literal) , identifier ))) ;) (expression_statement "unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);" (assignment_expression "unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8)" identifier = (cast_expression "(byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8)" (parenthesized_expression "(*(code *)PTR_BlobToImage_003a9330)" ( (pointer_expression "*(code *)PTR_BlobToImage_003a9330" * (cast_expression "(code *)PTR_BlobToImage_003a9330" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar5,uVar26,local_1080,local_10d8)" ( identifier , identifier , identifier , identifier ))))) ;) (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6)" (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 "(piVar6)" ( identifier ))) ;) (expression_statement "local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);" (assignment_expression "local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5)" identifier = (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5)" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar5)" ( identifier )))) ;) (goto_statement "goto LAB_00274de8;" goto statement_identifier ;) })) (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6)" (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 "(piVar6)" ( identifier ))) ;) (if_statement "if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }" if (parenthesized_expression "(unaff_s3 != (byte *)0x0)" ( (binary_expression "unaff_s3 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3)" ( identifier ))) ;) })) (if_statement "if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar26 = 0x5d5;" (assignment_expression "uVar26 = 0x5d5" identifier = number_literal) ;) (expression_statement "uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);" (assignment_expression "uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31)" identifier = (call_expression "CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31)" identifier (argument_list "(PTR_LAB_003a88e0 + 0x3e28,pbVar31)" ( (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal) , identifier )))) ;) (expression_statement "unaff_s7 = piVar6;" (assignment_expression "unaff_s7 = piVar6" identifier = identifier) ;) (goto_statement "goto LAB_00275b88;" goto statement_identifier ;) })) (if_statement "if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }" if (parenthesized_expression "(unaff_s3 != (byte *)0x0)" ( (binary_expression "unaff_s3 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3)" ( identifier ))) ;) })) (if_statement "if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar26 = 0x5d0;" (assignment_expression "uVar26 = 0x5d0" identifier = number_literal) ;) (expression_statement "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;" (assignment_expression "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier + number_literal)) ;) (expression_statement "uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);" (assignment_expression "uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31)" identifier = (call_expression "CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31)" identifier (argument_list "(PTR_LAB_003a88e0 + 0x3e28,pbVar31)" ( (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal) , identifier )))) ;) (expression_statement "puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;" (assignment_expression "puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier + number_literal)) ;) (expression_statement "puVar12 = PTR_LAB_003a88e0 + 0x16f8;" (assignment_expression "puVar12 = PTR_LAB_003a88e0 + 0x16f8" identifier = (binary_expression "PTR_LAB_003a88e0 + 0x16f8" identifier + number_literal)) ;) (expression_statement "uVar8 = 400;" (assignment_expression "uVar8 = 400" identifier = number_literal) ;) }))) (goto_statement "goto LAB_00275084;" goto statement_identifier ;) })) (labeled_statement "LAB_00274de8:\n                      local_10b8 = 1;" statement_identifier : (expression_statement "local_10b8 = 1;" (assignment_expression "local_10b8 = 1" identifier = number_literal) ;)) (if_statement "if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }" if (parenthesized_expression "(unaff_s3 != (byte *)0x0)" ( (binary_expression "unaff_s3 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }" { (expression_statement "uVar28 = *(uint *)(unaff_s3 + 0x18);" (assignment_expression "uVar28 = *(uint *)(unaff_s3 + 0x18)" identifier = (pointer_expression "*(uint *)(unaff_s3 + 0x18)" * (cast_expression "(uint *)(unaff_s3 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s3 + 0x18)" ( (binary_expression "unaff_s3 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }" if (parenthesized_expression "(uVar28 < *(uint *)(unaff_s0 + 0x18))" ( (binary_expression "uVar28 < *(uint *)(unaff_s0 + 0x18)" identifier < (pointer_expression "*(uint *)(unaff_s0 + 0x18)" * (cast_expression "(uint *)(unaff_s0 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x18)" ( (binary_expression "unaff_s0 + 0x18" identifier + number_literal) ))))) )) (compound_statement "{\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }" { (expression_statement "uVar28 = *(uint *)(unaff_s0 + 0x18);" (assignment_expression "uVar28 = *(uint *)(unaff_s0 + 0x18)" identifier = (pointer_expression "*(uint *)(unaff_s0 + 0x18)" * (cast_expression "(uint *)(unaff_s0 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x18)" ( (binary_expression "unaff_s0 + 0x18" identifier + number_literal) ))))) ;) })) (expression_statement "dVar33 = (double)(int)uVar28;" (assignment_expression "dVar33 = (double)(int)uVar28" identifier = (cast_expression "(double)(int)uVar28" ( (type_descriptor "double" primitive_type) ) (cast_expression "(int)uVar28" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }" if (parenthesized_expression "((int)uVar28 < 0)" ( (binary_expression "(int)uVar28 < 0" (cast_expression "(int)uVar28" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }" { (expression_statement "dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);" (assignment_expression "dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418)" identifier = (binary_expression "dVar33 + *(double *)(local_10c8 + 0x1418)" identifier + (pointer_expression "*(double *)(local_10c8 + 0x1418)" * (cast_expression "(double *)(local_10c8 + 0x1418)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_10c8 + 0x1418)" ( (binary_expression "local_10c8 + 0x1418" identifier + number_literal) )))))) ;) })) (expression_statement "uVar29 = *(uint *)(unaff_s0 + 0x1c);" (assignment_expression "uVar29 = *(uint *)(unaff_s0 + 0x1c)" identifier = (pointer_expression "*(uint *)(unaff_s0 + 0x1c)" * (cast_expression "(uint *)(unaff_s0 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x1c)" ( (binary_expression "unaff_s0 + 0x1c" identifier + number_literal) ))))) ;) (expression_statement "uVar28 = *(uint *)(unaff_s3 + 0x1c);" (assignment_expression "uVar28 = *(uint *)(unaff_s3 + 0x1c)" identifier = (pointer_expression "*(uint *)(unaff_s3 + 0x1c)" * (cast_expression "(uint *)(unaff_s3 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s3 + 0x1c)" ( (binary_expression "unaff_s3 + 0x1c" identifier + number_literal) ))))) ;) (if_statement "if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }" if (parenthesized_expression "(uVar28 < uVar29)" ( (binary_expression "uVar28 < uVar29" identifier < identifier) )) (compound_statement "{\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }" { (expression_statement "in_f2_3 = (double)(int)uVar29;" (assignment_expression "in_f2_3 = (double)(int)uVar29" identifier = (cast_expression "(double)(int)uVar29" ( (type_descriptor "double" primitive_type) ) (cast_expression "(int)uVar29" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }" if (parenthesized_expression "((int)uVar29 < 0)" ( (binary_expression "(int)uVar29 < 0" (cast_expression "(int)uVar29" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }" { (labeled_statement "LAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);" statement_identifier : (expression_statement "in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);" (assignment_expression "in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418)" identifier = (binary_expression "in_f2_3 + *(double *)(local_10c8 + 0x1418)" identifier + (pointer_expression "*(double *)(local_10c8 + 0x1418)" * (cast_expression "(double *)(local_10c8 + 0x1418)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(local_10c8 + 0x1418)" ( (binary_expression "local_10c8 + 0x1418" identifier + number_literal) )))))) ;)) })) }) (else_clause "else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }" else (compound_statement "{\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }" { (expression_statement "in_f2_3 = (double)(int)uVar28;" (assignment_expression "in_f2_3 = (double)(int)uVar28" identifier = (cast_expression "(double)(int)uVar28" ( (type_descriptor "double" primitive_type) ) (cast_expression "(int)uVar28" ( (type_descriptor "int" primitive_type) ) identifier))) ;) (if_statement "if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }" if (parenthesized_expression "((int)uVar28 < 0)" ( (binary_expression "(int)uVar28 < 0" (cast_expression "(int)uVar28" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }" { (expression_statement "in_f2_3 = in_f2_3 + in_f24_25;" (assignment_expression "in_f2_3 = in_f2_3 + in_f24_25" identifier = (binary_expression "in_f2_3 + in_f24_25" identifier + identifier)) ;) })) }))) (expression_statement "(*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);" (call_expression "(*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494)" (parenthesized_expression "(*(code *)PTR_FormatLocaleString_003a8d7c)" ( (pointer_expression "*(code *)PTR_FormatLocaleString_003a8d7c" * (cast_expression "(code *)PTR_FormatLocaleString_003a8d7c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494)" ( identifier , number_literal , (binary_expression "PTR_s_courses_003a88ec + 0x494" identifier + number_literal) ))) ;) (expression_statement "uVar28 = *(uint *)(unaff_s0 + 0x18);" (assignment_expression "uVar28 = *(uint *)(unaff_s0 + 0x18)" identifier = (pointer_expression "*(uint *)(unaff_s0 + 0x18)" * (cast_expression "(uint *)(unaff_s0 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x18)" ( (binary_expression "unaff_s0 + 0x18" identifier + number_literal) ))))) ;) (if_statement "if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }" if (parenthesized_expression "(*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18))" ( (binary_expression "*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)" (pointer_expression "*(uint *)(unaff_s0 + 0x18)" * (cast_expression "(uint *)(unaff_s0 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x18)" ( (binary_expression "unaff_s0 + 0x18" identifier + number_literal) )))) <= (pointer_expression "*(uint *)(unaff_s3 + 0x18)" * (cast_expression "(uint *)(unaff_s3 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s3 + 0x18)" ( (binary_expression "unaff_s3 + 0x18" identifier + number_literal) ))))) )) (compound_statement "{\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }" { (expression_statement "uVar28 = *(uint *)(unaff_s3 + 0x18);" (assignment_expression "uVar28 = *(uint *)(unaff_s3 + 0x18)" identifier = (pointer_expression "*(uint *)(unaff_s3 + 0x18)" * (cast_expression "(uint *)(unaff_s3 + 0x18)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s3 + 0x18)" ( (binary_expression "unaff_s3 + 0x18" identifier + number_literal) ))))) ;) })) (expression_statement "uVar29 = *(uint *)(unaff_s3 + 0x1c);" (assignment_expression "uVar29 = *(uint *)(unaff_s3 + 0x1c)" identifier = (pointer_expression "*(uint *)(unaff_s3 + 0x1c)" * (cast_expression "(uint *)(unaff_s3 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s3 + 0x1c)" ( (binary_expression "unaff_s3 + 0x1c" identifier + number_literal) ))))) ;) (if_statement "if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }" if (parenthesized_expression "(*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c))" ( (binary_expression "*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)" (pointer_expression "*(uint *)(unaff_s3 + 0x1c)" * (cast_expression "(uint *)(unaff_s3 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s3 + 0x1c)" ( (binary_expression "unaff_s3 + 0x1c" identifier + number_literal) )))) < (pointer_expression "*(uint *)(unaff_s0 + 0x1c)" * (cast_expression "(uint *)(unaff_s0 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x1c)" ( (binary_expression "unaff_s0 + 0x1c" identifier + number_literal) ))))) )) (compound_statement "{\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }" { (expression_statement "uVar29 = *(uint *)(unaff_s0 + 0x1c);" (assignment_expression "uVar29 = *(uint *)(unaff_s0 + 0x1c)" identifier = (pointer_expression "*(uint *)(unaff_s0 + 0x1c)" * (cast_expression "(uint *)(unaff_s0 + 0x1c)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 0x1c)" ( (binary_expression "unaff_s0 + 0x1c" identifier + number_literal) ))))) ;) })) (expression_statement "(*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);" (call_expression "(*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3)" (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 "(unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3)" ( identifier , identifier , identifier , identifier , identifier , identifier ))) ;) (expression_statement "(*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);" (call_expression "(*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8)" (parenthesized_expression "(*(code *)PTR_TransformImageColorspace_003a9180)" ( (pointer_expression "*(code *)PTR_TransformImageColorspace_003a9180" * (cast_expression "(code *)PTR_TransformImageColorspace_003a9180" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8)" ( identifier , (pointer_expression "*(undefined4 *)(unaff_s3 + 4)" * (cast_expression "(undefined4 *)(unaff_s3 + 4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s3 + 4)" ( (binary_expression "unaff_s3 + 4" identifier + number_literal) )))) , identifier ))) ;) (expression_statement "(*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);" (call_expression "(*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a)" (parenthesized_expression "(*(code *)PTR_CompositeImage_003a8cc4)" ( (pointer_expression "*(code *)PTR_CompositeImage_003a8cc4" * (cast_expression "(code *)PTR_CompositeImage_003a8cc4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a)" ( identifier , identifier , number_literal , number_literal , (cast_expression "(int)local_108e" ( (type_descriptor "int" primitive_type) ) identifier) , (cast_expression "(int)local_108a" ( (type_descriptor "int" primitive_type) ) identifier) ))) ;) (expression_statement "puVar12 = PTR_DestroyImage_003a8f4c;" (assignment_expression "puVar12 = PTR_DestroyImage_003a8f4c" identifier = identifier) ;) (expression_statement "*(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);" (assignment_expression "*(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8)" (pointer_expression "*(undefined4 *)(unaff_s0 + 8)" * (cast_expression "(undefined4 *)(unaff_s0 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s0 + 8)" ( (binary_expression "unaff_s0 + 8" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)(unaff_s3 + 8)" * (cast_expression "(undefined4 *)(unaff_s3 + 8)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s3 + 8)" ( (binary_expression "unaff_s3 + 8" identifier + number_literal) ))))) ;) (expression_statement "unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);" (assignment_expression "unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3)" identifier = (cast_expression "(byte *)(*(code *)puVar12)(unaff_s3)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)puVar12)(unaff_s3)" (parenthesized_expression "(*(code *)puVar12)" ( (pointer_expression "*(code *)puVar12" * (cast_expression "(code *)puVar12" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3)" ( identifier ))))) ;) (expression_statement "local_10b8 = 1;" (assignment_expression "local_10b8 = 1" identifier = number_literal) ;) })) (goto_statement "goto LAB_002744b8;" goto statement_identifier ;) })) (expression_statement "pbVar31 = unaff_s3;" (assignment_expression "pbVar31 = unaff_s3" identifier = identifier) ;) (expression_statement "piVar6 = unaff_s7;" (assignment_expression "piVar6 = unaff_s7" identifier = identifier) ;) (if_statement "if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;" if (parenthesized_expression "((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       )" ( (binary_expression "(unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)" (parenthesized_expression "(unaff_s7 == (int *)0xff)" ( (binary_expression "unaff_s7 == (int *)0xff" identifier == (cast_expression "(int *)0xff" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)" ( (comma_expression "pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff" (assignment_expression "pbVar31 = unaff_s3" identifier = identifier) , (binary_expression "unaff_s7 == (int *)0xffff" identifier == (cast_expression "(int *)0xffff" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal))) ))) )) (goto_statement "goto LAB_00274430;" goto statement_identifier ;)) (if_statement "if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }" if (parenthesized_expression "((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00))" ( (binary_expression "(unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)" (parenthesized_expression "(unaff_s7 + -0x34 < (int *)0x2f)" ( (binary_expression "unaff_s7 + -0x34 < (int *)0x2f" (binary_expression "unaff_s7 + -0x34" identifier + number_literal) < (cast_expression "(int *)0x2f" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) || (parenthesized_expression "(unaff_s7 + -0x2040 < (int *)0x7f00)" ( (binary_expression "unaff_s7 + -0x2040 < (int *)0x7f00" (binary_expression "unaff_s7 + -0x2040" identifier + number_literal) < (cast_expression "(int *)0x7f00" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) (compound_statement "{\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }" { (expression_statement "uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (assignment_expression "uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" ( (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" * (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s0)" ( identifier )))) ;) (expression_statement "uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);" (assignment_expression "uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }" if (parenthesized_expression "(((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))" ( (binary_expression "((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)" (parenthesized_expression "((int)((ulonglong)uVar37 >> 0x20) != 0)" ( (binary_expression "(int)((ulonglong)uVar37 >> 0x20) != 0" (cast_expression "(int)((ulonglong)uVar37 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar37 >> 0x20)" ( (binary_expression "(ulonglong)uVar37 >> 0x20" (cast_expression "(ulonglong)uVar37" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) != number_literal) )) || (parenthesized_expression "(uVar28 <= (uint)uVar37)" ( (binary_expression "uVar28 <= (uint)uVar37" identifier <= (cast_expression "(uint)uVar37" ( (type_descriptor "uint" type_identifier) ) identifier)) ))) )) (compound_statement "{\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }" { (if_statement "if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }" if (parenthesized_expression "(uVar28 != 0)" ( (binary_expression "uVar28 != 0" identifier != number_literal) )) (compound_statement "{\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }" { (expression_statement "uVar29 = 0;" (assignment_expression "uVar29 = 0" identifier = number_literal) ;) (do_statement "do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);" do (compound_statement "{\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          }" { (expression_statement "iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (iVar5 == -1) break;" if (parenthesized_expression "(iVar5 == -1)" ( (binary_expression "iVar5 == -1" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "uVar29 = uVar29 + 1;" (assignment_expression "uVar29 = uVar29 + 1" identifier = (binary_expression "uVar29 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar28 != uVar29)" ( (binary_expression "uVar28 != uVar29" identifier != identifier) )) ;) })) (goto_statement "goto LAB_002744b8;" goto statement_identifier ;) })) (if_statement "if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }" if (parenthesized_expression "(unaff_s3 != (byte *)0x0)" ( (binary_expression "unaff_s3 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3)" ( identifier ))) ;) })) (if_statement "if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar26 = 0x5f8;" (assignment_expression "uVar26 = 0x5f8" identifier = number_literal) ;) }) (else_clause "else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }" else (compound_statement "{\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }" { (if_statement "if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;" if (parenthesized_expression "((int *)0x7eff < unaff_s7 + -0x40)" ( (binary_expression "(int *)0x7eff < unaff_s7 + -0x40" (cast_expression "(int *)0x7eff" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal) < (binary_expression "unaff_s7 + -0x40" identifier + number_literal)) )) (goto_statement "goto LAB_002744b8;" goto statement_identifier ;)) (expression_statement "uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);" (assignment_expression "uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }" if (parenthesized_expression "(((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37))" ( (binary_expression "((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)" (parenthesized_expression "((int)((ulonglong)uVar37 >> 0x20) != 0)" ( (binary_expression "(int)((ulonglong)uVar37 >> 0x20) != 0" (cast_expression "(int)((ulonglong)uVar37 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar37 >> 0x20)" ( (binary_expression "(ulonglong)uVar37 >> 0x20" (cast_expression "(ulonglong)uVar37" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) != number_literal) )) || (parenthesized_expression "((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)" ( (binary_expression "(uint)((int)unaff_s7 >> 7) <= (uint)uVar37" (call_expression "(uint)((int)unaff_s7 >> 7)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "((int)unaff_s7 >> 7)" ( (binary_expression "(int)unaff_s7 >> 7" (cast_expression "(int)unaff_s7" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) ))) <= (cast_expression "(uint)uVar37" ( (type_descriptor "uint" type_identifier) ) identifier)) ))) )) (compound_statement "{\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }" { (expression_statement "uVar28 = 0;" (assignment_expression "uVar28 = 0" identifier = number_literal) ;) (do_statement "do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);" do (compound_statement "{\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        }" { (expression_statement "iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (iVar5 == -1) break;" if (parenthesized_expression "(iVar5 == -1)" ( (binary_expression "iVar5 == -1" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "uVar28 = uVar28 + 1;" (assignment_expression "uVar28 = uVar28 + 1" identifier = (binary_expression "uVar28 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "((int)unaff_s7 >> 7 != uVar28)" ( (binary_expression "(int)unaff_s7 >> 7 != uVar28" (binary_expression "(int)unaff_s7 >> 7" (cast_expression "(int)unaff_s7" ( (type_descriptor "int" primitive_type) ) identifier) >> number_literal) != identifier) )) ;) (goto_statement "goto LAB_002744b8;" goto statement_identifier ;) })) (if_statement "if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }" if (parenthesized_expression "(unaff_s3 != (byte *)0x0)" ( (binary_expression "unaff_s3 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }" { (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" ( (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" * (cast_expression "(code *)PTR_DestroyImage_003a8f4c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s3)" ( identifier ))) ;) })) (if_statement "if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }" if (parenthesized_expression "(local_10cc != 0)" ( (binary_expression "local_10cc != 0" identifier != number_literal) )) (compound_statement "{\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }" { (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" ( (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" * (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar26 = 0x606;" (assignment_expression "uVar26 = 0x606" identifier = number_literal) ;) }))) (labeled_statement "LAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;" statement_identifier : (expression_statement "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;" (assignment_expression "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier + number_literal)) ;)) (expression_statement "uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);" (assignment_expression "uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" identifier = (call_expression "CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" identifier (argument_list "(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" ( (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal) , (binary_expression "local_10d0 + 0x2210" identifier + number_literal) )))) ;) (expression_statement "puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;" (assignment_expression "puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier + number_literal)) ;) (expression_statement "puVar12 = PTR_s_courses_003a88ec + 0x4a0;" (assignment_expression "puVar12 = PTR_s_courses_003a88ec + 0x4a0" identifier = (binary_expression "PTR_s_courses_003a88ec + 0x4a0" identifier + number_literal)) ;) (expression_statement "piVar7 = unaff_s7;" (assignment_expression "piVar7 = unaff_s7" identifier = identifier) ;) (goto_statement "goto LAB_0027507c;" goto statement_identifier ;) }))) }))) (goto_statement "goto LAB_002744b8;" goto statement_identifier ;) })) (expression_statement "iVar5 = 0x18;" (assignment_expression "iVar5 = 0x18" identifier = number_literal) ;) (do_statement "do {\n                iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar13 == -1) break;\n                iVar5 = iVar5 + -1;\n              } while (iVar5 != 0);" do (compound_statement "{\n                iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar13 == -1) break;\n                iVar5 = iVar5 + -1;\n              }" { (expression_statement "iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" ( identifier )))) ;) (if_statement "if (iVar13 == -1) break;" if (parenthesized_expression "(iVar13 == -1)" ( (binary_expression "iVar13 == -1" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar5 = iVar5 + -1;" (assignment_expression "iVar5 = iVar5 + -1" identifier = (binary_expression "iVar5 + -1" identifier + number_literal)) ;) }) while (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) ;) }) while (parenthesized_expression "( true )" ( true )) ;)) })) (expression_statement "uVar26 = 0x3a8;" (assignment_expression "uVar26 = 0x3a8" identifier = number_literal) ;) })) }))) (labeled_statement "LAB_002741b8:\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,uVar26,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,param_1 + 0x2210);" statement_identifier : (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,uVar26,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 + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,uVar26,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 + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,uVar26,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 + -0x3d60" identifier + number_literal) , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" identifier + number_literal) , identifier , 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) ))) ;)) (if_statement "if (unaff_s0 == 0) goto LAB_00274224;" if (parenthesized_expression "(unaff_s0 == 0)" ( (binary_expression "unaff_s0 == 0" identifier == number_literal) )) (goto_statement "goto LAB_00274224;" goto statement_identifier ;)) (goto_statement "goto LAB_00274208;" goto statement_identifier ;) })) }) (else_clause "else {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0xda0,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n               0x375,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\n  }" else (compound_statement "{\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0xda0,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n               0x375,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\n  }" { (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0xda0,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n               0x375,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0xda0,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n               0x375,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac)" (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,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n               0x375,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac)" ( (binary_expression "PTR_LAB_003a88e0 + 0xda0" identifier + number_literal) , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier + number_literal) , number_literal , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac" identifier + number_literal) ))) ;) }))) (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n            (PTR_LAB_003a88e0 + 0x294c,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n             0x37a,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n            (PTR_LAB_003a88e0 + 0x294c,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n             0x37a,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac)" (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,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n             0x37a,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac)" ( (binary_expression "PTR_LAB_003a88e0 + 0x294c" identifier + number_literal) , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier + number_literal) , number_literal , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac" identifier + number_literal) ))) ;) (labeled_statement "LAB_00275e6c:\n  (*(code *)PTR___assert_fail_003a9608)\n            (PTR_LAB_003a88e0 + 0x1cac,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n             0x379,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);" statement_identifier : (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n            (PTR_LAB_003a88e0 + 0x1cac,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n             0x379,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n            (PTR_LAB_003a88e0 + 0x1cac,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n             0x379,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac)" (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,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n             0x379,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1cac" identifier + number_literal) , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" identifier + number_literal) , number_literal , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac" identifier + number_literal) ))) ;)) (goto_statement "goto LAB_00275e90;" goto statement_identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE (pointer_declarator * IDENT)) ))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier short) 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 (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE 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 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 IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration (sized_type_specifier short) (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier short) IDENT ;) (declaration (sized_type_specifier short) IDENT ;) (declaration (sized_type_specifier short) IDENT ;) (declaration (sized_type_specifier short) IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier short) IDENT ;) (declaration (sized_type_specifier short) IDENT ;) (declaration (sized_type_specifier short) IDENT ;) (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 == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (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) ))))) ;) (goto_statement goto statement_identifier ;) })) (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 { (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)) )) (goto_statement goto statement_identifier ;)) (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 )))) ;) (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 )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_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 )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (char_literal ' character ')) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) , (binary_expression IDENT != (char_literal ' character '))) ))) )) || (parenthesized_expression ( (binary_expression IDENT != (char_literal ' character ')) ))) )) || (parenthesized_expression ( (binary_expression IDENT != (char_literal ' character ')) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) 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 )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_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 ))) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (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 )))) ;) }) while (parenthesized_expression ( (binary_expression IDENT == LIT) )) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (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 )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < IDENT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) , (binary_expression LIT < IDENT)) ))) )) && (parenthesized_expression ( (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) , (binary_expression (binary_expression LIT < IDENT) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression LIT < IDENT) && (parenthesized_expression ( (binary_expression IDENT < IDENT) ))) )) )))) )) ))) )) && (parenthesized_expression ( (binary_expression IDENT < IDENT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (binary_expression IDENT - IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (comma_expression (assignment_expression IDENT = IDENT) , (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) <= (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_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 , (binary_expression IDENT - IDENT) , (binary_expression IDENT - IDENT) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_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 , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (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 = (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) ))))) ;) (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) ;) (expression_statement (assignment_expression IDENT = (pointer_expression & IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (labeled_statement statement_identifier : (do_statement do (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 ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) || (parenthesized_expression ( (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + 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) <= (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (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 ))) ;)) (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) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (return_statement return IDENT ;) }))) (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 ( )))) ;)) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (comma_expression (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) , (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression (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 ( 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 ( IDENT ))))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) 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 *)) ) LIT)) ;) (goto_statement goto statement_identifier ;) })) (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 (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) , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT) )))) , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT) ))) + 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 (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) < IDENT) )) (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 = (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 (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ))) == LIT) )) && (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < 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 ( 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 ( ))) ;) })) (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 < (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT - LIT) )))) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (binary_expression IDENT - LIT)) )) ;) })) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) < IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (pointer_expression & IDENT))) )) (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (cast_expression ( (type_descriptor TYPE) ) 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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (cast_expression ( (type_descriptor TYPE) ) 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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (goto_statement goto statement_identifier ;) })) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) < IDENT) )) (compound_statement { (expression_statement (assignment_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 )))) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (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 { (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 )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (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 = (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 (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 IDENT <= (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( 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 ( 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 ( ))) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (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 + LIT) )))) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) })) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (expression_statement (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 ))) ;) (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 )))) ;) (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 IDENT <= (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (binary_expression IDENT + LIT)) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (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 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) ) (parenthesized_expression ( (binary_expression IDENT * IDENT) )))) )) (compound_statement { (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 )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (binary_expression IDENT * IDENT) != IDENT) )) ;) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (break_statement break ;)) (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 )))) ;) }) (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 )))) ;) }))) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ))) == LIT) )) && (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < 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 ( 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 ( ))) ;) })) (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 < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) }))) (goto_statement goto 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 != 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 != (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 != 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 != (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 , 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 ( ))) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto 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 != 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) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , (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) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (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 (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 (cast_expression ( (type_descriptor TYPE) ) IDENT) < 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 ( 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 ( ))) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT - LIT) )))) )) (compound_statement { (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 )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) != IDENT) )) ;) })) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , 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 ( 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 ( ))) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < LIT) )) || (parenthesized_expression ( (binary_expression IDENT < LIT) ))) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_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 , IDENT , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT )))) , (binary_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 )))) ;)) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) 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 (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 )))) ;) (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 (cast_expression ( (type_descriptor TYPE) ) IDENT) < 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 ( 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 ( ))) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT )))) , (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 , IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (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 ( 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 ( ))) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , (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 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 ( LIT , IDENT )))) ;) (expression_statement (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 , (binary_expression IDENT + LIT) , 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 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 ( 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 ( ))) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) }) (else_clause else (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 ( LIT , IDENT )))) ;) (expression_statement (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 , (binary_expression IDENT + LIT) , IDENT , 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 ( 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 ( ))) ;) })) (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 ))) ;) })))) (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 ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT) ))))) ;)) (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 ))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) }))) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT < (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) && (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) < (binary_expression IDENT + LIT)) ))) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) + LIT) ))) < (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ;) (if_statement if (parenthesized_expression ( IDENT )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (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 ))) ;) (expression_statement (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 (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( )))) ;) }))) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( 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 ( IDENT , (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) , (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) 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 != 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 , IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( IDENT )) || (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (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 , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) , IDENT ))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) }))) (if_statement if (parenthesized_expression ( (unary_expression ! IDENT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_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 ))) ;) (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 (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 , (binary_expression IDENT + LIT) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression LIT < (subscript_expression IDENT [ LIT ])) )) (compound_statement { (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 )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (expression_statement (call_expression IDENT (argument_list ( LIT ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT % (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])))) ;) })) (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) ;) (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 (binary_expression (subscript_expression IDENT [ LIT ]) + IDENT) + LIT) )))) = (cast_expression ( (type_descriptor TYPE) ) 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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) + IDENT) + LIT) )))) = (cast_expression ( (type_descriptor TYPE) ) 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 = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + IDENT) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) }) while (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < IDENT) )) ;) })) })) (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 ))) ;) (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 ( ))) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , 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 ))) ;)) (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 ( ))) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , (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 = (subscript_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 = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ;) (do_statement do (compound_statement { (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 IDENT - (pointer_expression * IDENT)) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT - (subscript_expression IDENT [ LIT ])) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT - (subscript_expression IDENT [ LIT ])) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression (binary_expression IDENT * LIT) + IDENT) + LIT) )))) )) ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , 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 != 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) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( IDENT , (pointer_expression & 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 (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) & LIT) )) == LIT) )) || (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (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 (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 (cast_expression ( (type_descriptor TYPE) ) IDENT) < IDENT) ))) )) (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 != 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) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT - LIT) )))) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) != IDENT) )) ;) })) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( IDENT )) || (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression IDENT (argument_list ( IDENT , IDENT , IDENT , 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 ( 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 ( ))) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) < 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 ))) ;)) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) , (binary_expression IDENT == LIT)) ))) )) && (parenthesized_expression ( (parenthesized_expression ( (binary_expression IDENT || (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 , IDENT , LIT , LIT , (cast_expression ( (type_descriptor TYPE) ) (field_expression IDENT . field_identifier)) , (cast_expression ( (type_descriptor TYPE) ) (field_expression IDENT . field_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 ))))) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT <= (binary_expression (binary_expression IDENT + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) + IDENT)) )) (compound_statement { (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 = 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 )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (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 = IDENT) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( IDENT ))) * IDENT) < (subscript_expression IDENT [ LIT ])) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (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) , (binary_expression IDENT + LIT) , LIT , LIT , IDENT , IDENT , (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_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 ])) ;) (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)) )))) = 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 = (binary_expression (subscript_expression IDENT [ LIT ]) + IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (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 (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 IDENT + LIT) )))))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_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 * IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (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) ) (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT) ))) * IDENT) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (binary_expression (binary_expression IDENT >> LIT) & LIT) | (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT)) ))) * IDENT) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) << LIT) ))) * IDENT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT)) + IDENT) < IDENT) )) (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 != 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 = (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) ))))) ;) (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) ) (pointer_expression * IDENT)) * IDENT) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ IDENT ])) * IDENT) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression (parenthesized_expression ( (binary_expression IDENT + IDENT) )) [ IDENT ])) * IDENT) )))) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT)) + IDENT) < IDENT) )) (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 != 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 = (binary_expression IDENT + 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 (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) ) (pointer_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 = (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) ))))) ;) (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) ) (pointer_expression * IDENT)) * IDENT) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ IDENT ])) * IDENT) )))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression IDENT * LIT)) )))) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression (parenthesized_expression ( (binary_expression IDENT + IDENT) )) [ IDENT ])) * IDENT) )))) ;) }))))))) (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 + (binary_expression (subscript_expression IDENT [ LIT ]) * LIT))) ;) }) 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 (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (pointer_expression * IDENT) == LIT) && (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression IDENT + (binary_expression (parenthesized_expression ( (binary_expression IDENT + LIT) )) * (subscript_expression IDENT [ LIT ])))) , (binary_expression IDENT < IDENT)) ))) )) ))) )) || (parenthesized_expression ( (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) , IDENT , IDENT , LIT , (subscript_expression IDENT [ LIT ]) )))) , (binary_expression (binary_expression IDENT == LIT) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (binary_expression IDENT + LIT)) , (binary_expression (subscript_expression IDENT [ LIT ]) <= (cast_expression ( (type_descriptor TYPE) ) IDENT))) )))) )) ))) )) (goto_statement goto statement_identifier ;)) (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 IDENT <= (binary_expression (binary_expression IDENT + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (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 ))) ;) (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) )) (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) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , (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) ;) }))) (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 ))) ;) (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 ( ))) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }))) (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 ))) ;) (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 ( ))) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (goto_statement goto 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 != 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 = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , (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) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (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 , IDENT , IDENT , IDENT , IDENT , 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 (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 = LIT) ;)) (goto_statement goto statement_identifier ;) })) (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) , IDENT ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) < (binary_expression IDENT + LIT)) )) (compound_statement { (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) < (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 (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 )))) ;) (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 (cast_expression ( (type_descriptor TYPE) ) IDENT) < 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 ( 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 ( ))) ;) })) (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 { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( 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 ( 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 ( ))) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , (binary_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 = LIT) ;) }) (else_clause else (compound_statement { (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 )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (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 *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT ))))) ;) (expression_statement (assignment_expression IDENT = (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 = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , IDENT , (pointer_expression & IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (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 ( (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) , 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 , IDENT , IDENT ))))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (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 ))) ;) (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 != 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) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (goto_statement goto 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 != 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) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , IDENT )))) ;) (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 ;) })) (labeled_statement statement_identifier : (expression_statement (assignment_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 = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))))) ;)) })) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (expression_statement (assignment_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 , LIT , (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (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) ))))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (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) ))))) )) (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 (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , IDENT , IDENT , IDENT , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (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 , IDENT , LIT , LIT , (cast_expression ( (type_descriptor TYPE) ) IDENT) , (cast_expression ( (type_descriptor TYPE) ) IDENT) ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (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 = LIT) ;) })) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) || (parenthesized_expression ( (comma_expression (assignment_expression IDENT = IDENT) , (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT))) ))) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) < (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) || (parenthesized_expression ( (binary_expression (binary_expression IDENT + LIT) < (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) 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 )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ))) != LIT) )) || (parenthesized_expression ( (binary_expression IDENT <= (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (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 )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (goto_statement goto 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 != 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) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT) < (binary_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 (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 (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ))) <= (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) )) (compound_statement { (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 )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) != IDENT) )) ;) (goto_statement goto 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 != 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 = (call_expression IDENT (argument_list ( (binary_expression IDENT + LIT) , (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) ;) (goto_statement goto statement_identifier ;) }))) }))) (goto_statement goto statement_identifier ;) })) (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 )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != LIT) )) ;) }) while (parenthesized_expression ( BOOL )) ;)) })) (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 , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , IDENT , LIT , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) ))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (goto_statement goto statement_identifier ;) })) }) (else_clause else (compound_statement { (expression_statement (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) ))) ;) }))) (expression_statement (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) ))) ;) (labeled_statement statement_identifier : (expression_statement (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) ))) ;)) (goto_statement goto statement_identifier ;) })))
(function_definition "undefined4 FUN_00274008(byte *param_1,int *param_2)\n\n{\n  byte bVar1;\n  byte bVar2;\n  bool bVar3;\n  undefined *puVar4;\n  int iVar5;\n  char cVar16;\n  char cVar17;\n  char cVar18;\n  char cVar19;\n  int *piVar6;\n  int *piVar7;\n  undefined4 uVar8;\n  int iVar9;\n  double *pdVar10;\n  double *pdVar11;\n  undefined *puVar12;\n  int iVar13;\n  short sVar15;\n  uint uVar14;\n  uint extraout_v1;\n  int iVar20;\n  undefined *puVar21;\n  int iVar22;\n  int iVar23;\n  byte *pbVar24;\n  undefined *puVar25;\n  undefined4 uVar26;\n  int iVar27;\n  int unaff_s0;\n  byte *unaff_s3;\n  uint uVar28;\n  uint uVar29;\n  uint uVar30;\n  byte *pbVar31;\n  int *unaff_s7;\n  double dVar32;\n  float fVar34;\n  double dVar33;\n  double in_f2_3;\n  double dVar35;\n  double dVar36;\n  double in_f20_21;\n  double in_f22_23;\n  double in_f24_25;\n  undefined8 uVar37;\n  int *local_10d8;\n  int local_10d4;\n  byte *local_10d0;\n  int local_10cc;\n  undefined *local_10c8;\n  short *local_10bc;\n  int local_10b8;\n  int local_10b0;\n  undefined *local_10ac;\n  int local_1094;\n  short local_1090;\n  short local_108e;\n  short local_108c;\n  short local_108a;\n  undefined1 auStack_1088 [8];\n  undefined4 local_1080;\n  undefined1 auStack_1078 [8];\n  int local_1070;\n  int local_106c;\n  short local_1066;\n  short local_1064;\n  short local_1062;\n  undefined1 auStack_1054 [4096];\n  int local_54;\n  \n  puVar4 = PTR___stack_chk_guard_003a9230;\n  local_54 = *(int *)PTR___stack_chk_guard_003a9230;\n  if (param_1 == (byte *)0x0) {\n    dVar33 = (double)(*(code *)PTR___assert_fail_003a9608)\n                               (PTR_LAB_003a88e0 + 0xd78,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,0x374,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\n    goto LAB_00275d54;\n  }\n  if (*(int *)(param_1 + 0x3214) == -0x54535255) {\n    if (*(int *)(param_1 + 0x3210) != 0) {\n      (*(code *)PTR_LogMagickEvent_003a91e0)\n                (0x8000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x377,\n                 PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210);\n    }\n    if (param_2 == (int *)0x0) goto LAB_00275e6c;\n    if (param_2[7] == -0x54535255) {\n      unaff_s0 = (*(code *)PTR_AcquireImage_003a960c)(param_1,param_2);\n      iVar5 = (*(code *)PTR_OpenBlob_003a924c)(param_1,unaff_s0,2,param_2);\n      if (iVar5 == 0) {\n        (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n        uVar26 = 0;\n        goto LAB_00274228;\n      }\n      local_1066 = 0;\n      local_1064 = 0;\n      cVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar17 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar18 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar19 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      if ((((cVar16 != 'P') || (unaff_s3 = (byte *)0x1fc, cVar17 != 'I')) || (cVar18 != 'C')) ||\n         (cVar19 != 'T')) {\n        unaff_s3 = (byte *)0x1fc;\n        do {\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (iVar5 == -1) break;\n          unaff_s3 = unaff_s3 + -1;\n        } while (unaff_s3 != (byte *)0x0);\n      }\n      (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n      iVar5 = FUN_002739c8(unaff_s0,&local_1090);\n      if (iVar5 == 0) {\n        uVar26 = 0x397;\n      }\n      else {\n        do {\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n        } while (iVar5 == 0);\n        uVar26 = 0x39a;\n        if (iVar5 == 0x11) {\n          local_10d4 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (local_10d4 == 2) {\n            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n            if (iVar5 != 0xff) {\n              uVar26 = 0x3a0;\n              goto LAB_002741b8;\n            }\n          }\n          else if (local_10d4 != 1) {\n            uVar26 = 0x3a4;\n            goto LAB_002741b8;\n          }\n          iVar5 = (int)local_108e;\n          iVar13 = (int)local_108a;\n          if ((((-1 < iVar5) && (iVar9 = (int)local_1090, -1 < iVar13)) &&\n              ((iVar22 = (int)local_108c, -1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13)))))) &&\n             (iVar9 < iVar22)) {\n            iVar23 = *(int *)(param_1 + 0x1dc);\n            *(undefined4 *)(unaff_s0 + 0x200) = 0;\n            *(int *)(unaff_s0 + 0x18) = iVar13 - iVar5;\n            *(undefined4 *)(unaff_s0 + 0x20) = 8;\n            puVar12 = PTR_LAB_003a88e0;\n            *(int *)(unaff_s0 + 0x1c) = iVar22 - iVar9;\n            uVar37 = *(undefined8 *)(puVar12 + 0x13f0);\n            *(undefined8 *)(unaff_s0 + 0x218) = uVar37;\n            *(undefined8 *)(unaff_s0 + 0x220) = uVar37;\n            if (((iVar23 != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n               (pbVar31 = unaff_s3, piVar6 = unaff_s7,\n               (*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=\n               *(uint *)(unaff_s0 + 0x26c))) goto LAB_00274430;\n            iVar5 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar13 - iVar5,iVar22 - iVar9,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            local_10c8 = PTR_LAB_003a88e0;\n            unaff_s7 = (int *)0x0;\n            local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n            unaff_s3 = (byte *)0x0;\n            local_10b8 = 0;\n            in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418);\n            in_f22_23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n            in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58);\n            local_10cc = 0;\n            local_10bc = &local_1090;\n            local_10d0 = param_1;\n            local_10d8 = param_2;\nLAB_002744b8:\n            do {\n              piVar6 = (int *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pbVar31 = local_10d0;\n              if ((piVar6 != (int *)0x0) ||\n                 (((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pbVar31;\n                unaff_s7 = piVar6;\nLAB_00274228:\n                if (local_54 == *(int *)puVar4) {\n                  return uVar26;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (int *)((uint)piVar6 & 0xffff);\n              if (unaff_s7 == (int *)0x0) {\n                unaff_s7 = (int *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (int *)0xa2) {\n                if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (int *)0x78) {\n                  if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }\n                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                  puVar12 = PTR_SetImageExtent_003a94ac;\n                  if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;\n                  iVar5 = (int)local_108a - (int)local_108e;\n                  iVar13 = (int)local_108c - (int)local_1090;\n                  *(int *)(unaff_s0 + 0x18) = iVar5;\n                  *(int *)(unaff_s0 + 0x1c) = iVar13;\n                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);\n                  if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((int *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)) goto LAB_002752a0;\n                bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2;\n                if (bVar3) {\n                  uVar28 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                if (iVar5 != 0) {\n                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);\n                  if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);\n                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }\n                  piVar7[9] = 2;\nLAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);\n                  if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }\n                  iVar5 = piVar7[9];\n                  if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }\nLAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar26 = 0x4d7;\n                  unaff_s7 = piVar7;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (byte *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar26 = 0x491;\nLAB_002757bc:\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar12 = PTR_s_courses_003a88ec + -400;\n                piVar7 = unaff_s7;\nLAB_0027507c:\n                uVar8 = 0x1a9;\n                unaff_s7 = piVar7;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                uVar26 = 0;\n                goto LAB_00274228;\n              }\n              if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7);\n              }\n              if (unaff_s7 != (int *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7 + -0x2c) {\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar5 = 0x18;\n              do {\n                iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar13 == -1) break;\n                iVar5 = iVar5 + -1;\n              } while (iVar5 != 0);\n            } while( true );\n          }\n          uVar26 = 0x3a8;\n        }\n      }\nLAB_002741b8:\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,uVar26,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,param_1 + 0x2210);\n      if (unaff_s0 == 0) goto LAB_00274224;\n      goto LAB_00274208;\n    }\n  }\n  else {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0xda0,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n               0x375,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\n  }\n  (*(code *)PTR___assert_fail_003a9608)\n            (PTR_LAB_003a88e0 + 0x294c,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n             0x37a,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\nLAB_00275e6c:\n  (*(code *)PTR___assert_fail_003a9608)\n            (PTR_LAB_003a88e0 + 0x1cac,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n             0x379,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\n  goto LAB_00275e90;\n}" (type_identifier "undefined4") (function_declarator "FUN_00274008(byte *param_1,int *param_2)" (identifier "FUN_00274008") (parameter_list "(byte *param_1,int *param_2)" (( "(") (parameter_declaration "byte *param_1" (type_identifier "byte") (pointer_declarator "*param_1" (* "*") (identifier "param_1"))) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")"))) (compound_statement "{\n  byte bVar1;\n  byte bVar2;\n  bool bVar3;\n  undefined *puVar4;\n  int iVar5;\n  char cVar16;\n  char cVar17;\n  char cVar18;\n  char cVar19;\n  int *piVar6;\n  int *piVar7;\n  undefined4 uVar8;\n  int iVar9;\n  double *pdVar10;\n  double *pdVar11;\n  undefined *puVar12;\n  int iVar13;\n  short sVar15;\n  uint uVar14;\n  uint extraout_v1;\n  int iVar20;\n  undefined *puVar21;\n  int iVar22;\n  int iVar23;\n  byte *pbVar24;\n  undefined *puVar25;\n  undefined4 uVar26;\n  int iVar27;\n  int unaff_s0;\n  byte *unaff_s3;\n  uint uVar28;\n  uint uVar29;\n  uint uVar30;\n  byte *pbVar31;\n  int *unaff_s7;\n  double dVar32;\n  float fVar34;\n  double dVar33;\n  double in_f2_3;\n  double dVar35;\n  double dVar36;\n  double in_f20_21;\n  double in_f22_23;\n  double in_f24_25;\n  undefined8 uVar37;\n  int *local_10d8;\n  int local_10d4;\n  byte *local_10d0;\n  int local_10cc;\n  undefined *local_10c8;\n  short *local_10bc;\n  int local_10b8;\n  int local_10b0;\n  undefined *local_10ac;\n  int local_1094;\n  short local_1090;\n  short local_108e;\n  short local_108c;\n  short local_108a;\n  undefined1 auStack_1088 [8];\n  undefined4 local_1080;\n  undefined1 auStack_1078 [8];\n  int local_1070;\n  int local_106c;\n  short local_1066;\n  short local_1064;\n  short local_1062;\n  undefined1 auStack_1054 [4096];\n  int local_54;\n  \n  puVar4 = PTR___stack_chk_guard_003a9230;\n  local_54 = *(int *)PTR___stack_chk_guard_003a9230;\n  if (param_1 == (byte *)0x0) {\n    dVar33 = (double)(*(code *)PTR___assert_fail_003a9608)\n                               (PTR_LAB_003a88e0 + 0xd78,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,0x374,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\n    goto LAB_00275d54;\n  }\n  if (*(int *)(param_1 + 0x3214) == -0x54535255) {\n    if (*(int *)(param_1 + 0x3210) != 0) {\n      (*(code *)PTR_LogMagickEvent_003a91e0)\n                (0x8000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x377,\n                 PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210);\n    }\n    if (param_2 == (int *)0x0) goto LAB_00275e6c;\n    if (param_2[7] == -0x54535255) {\n      unaff_s0 = (*(code *)PTR_AcquireImage_003a960c)(param_1,param_2);\n      iVar5 = (*(code *)PTR_OpenBlob_003a924c)(param_1,unaff_s0,2,param_2);\n      if (iVar5 == 0) {\n        (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n        uVar26 = 0;\n        goto LAB_00274228;\n      }\n      local_1066 = 0;\n      local_1064 = 0;\n      cVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar17 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar18 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar19 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      if ((((cVar16 != 'P') || (unaff_s3 = (byte *)0x1fc, cVar17 != 'I')) || (cVar18 != 'C')) ||\n         (cVar19 != 'T')) {\n        unaff_s3 = (byte *)0x1fc;\n        do {\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (iVar5 == -1) break;\n          unaff_s3 = unaff_s3 + -1;\n        } while (unaff_s3 != (byte *)0x0);\n      }\n      (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n      iVar5 = FUN_002739c8(unaff_s0,&local_1090);\n      if (iVar5 == 0) {\n        uVar26 = 0x397;\n      }\n      else {\n        do {\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n        } while (iVar5 == 0);\n        uVar26 = 0x39a;\n        if (iVar5 == 0x11) {\n          local_10d4 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (local_10d4 == 2) {\n            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n            if (iVar5 != 0xff) {\n              uVar26 = 0x3a0;\n              goto LAB_002741b8;\n            }\n          }\n          else if (local_10d4 != 1) {\n            uVar26 = 0x3a4;\n            goto LAB_002741b8;\n          }\n          iVar5 = (int)local_108e;\n          iVar13 = (int)local_108a;\n          if ((((-1 < iVar5) && (iVar9 = (int)local_1090, -1 < iVar13)) &&\n              ((iVar22 = (int)local_108c, -1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13)))))) &&\n             (iVar9 < iVar22)) {\n            iVar23 = *(int *)(param_1 + 0x1dc);\n            *(undefined4 *)(unaff_s0 + 0x200) = 0;\n            *(int *)(unaff_s0 + 0x18) = iVar13 - iVar5;\n            *(undefined4 *)(unaff_s0 + 0x20) = 8;\n            puVar12 = PTR_LAB_003a88e0;\n            *(int *)(unaff_s0 + 0x1c) = iVar22 - iVar9;\n            uVar37 = *(undefined8 *)(puVar12 + 0x13f0);\n            *(undefined8 *)(unaff_s0 + 0x218) = uVar37;\n            *(undefined8 *)(unaff_s0 + 0x220) = uVar37;\n            if (((iVar23 != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n               (pbVar31 = unaff_s3, piVar6 = unaff_s7,\n               (*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=\n               *(uint *)(unaff_s0 + 0x26c))) goto LAB_00274430;\n            iVar5 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar13 - iVar5,iVar22 - iVar9,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            local_10c8 = PTR_LAB_003a88e0;\n            unaff_s7 = (int *)0x0;\n            local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n            unaff_s3 = (byte *)0x0;\n            local_10b8 = 0;\n            in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418);\n            in_f22_23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n            in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58);\n            local_10cc = 0;\n            local_10bc = &local_1090;\n            local_10d0 = param_1;\n            local_10d8 = param_2;\nLAB_002744b8:\n            do {\n              piVar6 = (int *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pbVar31 = local_10d0;\n              if ((piVar6 != (int *)0x0) ||\n                 (((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pbVar31;\n                unaff_s7 = piVar6;\nLAB_00274228:\n                if (local_54 == *(int *)puVar4) {\n                  return uVar26;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (int *)((uint)piVar6 & 0xffff);\n              if (unaff_s7 == (int *)0x0) {\n                unaff_s7 = (int *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (int *)0xa2) {\n                if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (int *)0x78) {\n                  if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }\n                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                  puVar12 = PTR_SetImageExtent_003a94ac;\n                  if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;\n                  iVar5 = (int)local_108a - (int)local_108e;\n                  iVar13 = (int)local_108c - (int)local_1090;\n                  *(int *)(unaff_s0 + 0x18) = iVar5;\n                  *(int *)(unaff_s0 + 0x1c) = iVar13;\n                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);\n                  if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((int *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)) goto LAB_002752a0;\n                bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2;\n                if (bVar3) {\n                  uVar28 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                if (iVar5 != 0) {\n                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);\n                  if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);\n                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }\n                  piVar7[9] = 2;\nLAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);\n                  if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }\n                  iVar5 = piVar7[9];\n                  if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }\nLAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar26 = 0x4d7;\n                  unaff_s7 = piVar7;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (byte *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar26 = 0x491;\nLAB_002757bc:\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar12 = PTR_s_courses_003a88ec + -400;\n                piVar7 = unaff_s7;\nLAB_0027507c:\n                uVar8 = 0x1a9;\n                unaff_s7 = piVar7;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                uVar26 = 0;\n                goto LAB_00274228;\n              }\n              if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7);\n              }\n              if (unaff_s7 != (int *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7 + -0x2c) {\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar5 = 0x18;\n              do {\n                iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar13 == -1) break;\n                iVar5 = iVar5 + -1;\n              } while (iVar5 != 0);\n            } while( true );\n          }\n          uVar26 = 0x3a8;\n        }\n      }\nLAB_002741b8:\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,uVar26,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,param_1 + 0x2210);\n      if (unaff_s0 == 0) goto LAB_00274224;\n      goto LAB_00274208;\n    }\n  }\n  else {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0xda0,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n               0x375,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\n  }\n  (*(code *)PTR___assert_fail_003a9608)\n            (PTR_LAB_003a88e0 + 0x294c,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n             0x37a,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\nLAB_00275e6c:\n  (*(code *)PTR___assert_fail_003a9608)\n            (PTR_LAB_003a88e0 + 0x1cac,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n             0x379,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\n  goto LAB_00275e90;\n}" ({ "{") (declaration "byte bVar1;" (type_identifier "byte") (identifier "bVar1") (; ";")) (declaration "byte bVar2;" (type_identifier "byte") (identifier "bVar2") (; ";")) (declaration "bool bVar3;" (primitive_type "bool") (identifier "bVar3") (; ";")) (declaration "undefined *puVar4;" (type_identifier "undefined") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "char cVar16;" (primitive_type "char") (identifier "cVar16") (; ";")) (declaration "char cVar17;" (primitive_type "char") (identifier "cVar17") (; ";")) (declaration "char cVar18;" (primitive_type "char") (identifier "cVar18") (; ";")) (declaration "char cVar19;" (primitive_type "char") (identifier "cVar19") (; ";")) (declaration "int *piVar6;" (primitive_type "int") (pointer_declarator "*piVar6" (* "*") (identifier "piVar6")) (; ";")) (declaration "int *piVar7;" (primitive_type "int") (pointer_declarator "*piVar7" (* "*") (identifier "piVar7")) (; ";")) (declaration "undefined4 uVar8;" (type_identifier "undefined4") (identifier "uVar8") (; ";")) (declaration "int iVar9;" (primitive_type "int") (identifier "iVar9") (; ";")) (declaration "double *pdVar10;" (primitive_type "double") (pointer_declarator "*pdVar10" (* "*") (identifier "pdVar10")) (; ";")) (declaration "double *pdVar11;" (primitive_type "double") (pointer_declarator "*pdVar11" (* "*") (identifier "pdVar11")) (; ";")) (declaration "undefined *puVar12;" (type_identifier "undefined") (pointer_declarator "*puVar12" (* "*") (identifier "puVar12")) (; ";")) (declaration "int iVar13;" (primitive_type "int") (identifier "iVar13") (; ";")) (declaration "short sVar15;" (sized_type_specifier "short" (short "short")) (identifier "sVar15") (; ";")) (declaration "uint uVar14;" (type_identifier "uint") (identifier "uVar14") (; ";")) (declaration "uint extraout_v1;" (type_identifier "uint") (identifier "extraout_v1") (; ";")) (declaration "int iVar20;" (primitive_type "int") (identifier "iVar20") (; ";")) (declaration "undefined *puVar21;" (type_identifier "undefined") (pointer_declarator "*puVar21" (* "*") (identifier "puVar21")) (; ";")) (declaration "int iVar22;" (primitive_type "int") (identifier "iVar22") (; ";")) (declaration "int iVar23;" (primitive_type "int") (identifier "iVar23") (; ";")) (declaration "byte *pbVar24;" (type_identifier "byte") (pointer_declarator "*pbVar24" (* "*") (identifier "pbVar24")) (; ";")) (declaration "undefined *puVar25;" (type_identifier "undefined") (pointer_declarator "*puVar25" (* "*") (identifier "puVar25")) (; ";")) (declaration "undefined4 uVar26;" (type_identifier "undefined4") (identifier "uVar26") (; ";")) (declaration "int iVar27;" (primitive_type "int") (identifier "iVar27") (; ";")) (declaration "int unaff_s0;" (primitive_type "int") (identifier "unaff_s0") (; ";")) (declaration "byte *unaff_s3;" (type_identifier "byte") (pointer_declarator "*unaff_s3" (* "*") (identifier "unaff_s3")) (; ";")) (declaration "uint uVar28;" (type_identifier "uint") (identifier "uVar28") (; ";")) (declaration "uint uVar29;" (type_identifier "uint") (identifier "uVar29") (; ";")) (declaration "uint uVar30;" (type_identifier "uint") (identifier "uVar30") (; ";")) (declaration "byte *pbVar31;" (type_identifier "byte") (pointer_declarator "*pbVar31" (* "*") (identifier "pbVar31")) (; ";")) (declaration "int *unaff_s7;" (primitive_type "int") (pointer_declarator "*unaff_s7" (* "*") (identifier "unaff_s7")) (; ";")) (declaration "double dVar32;" (primitive_type "double") (identifier "dVar32") (; ";")) (declaration "float fVar34;" (primitive_type "float") (identifier "fVar34") (; ";")) (declaration "double dVar33;" (primitive_type "double") (identifier "dVar33") (; ";")) (declaration "double in_f2_3;" (primitive_type "double") (identifier "in_f2_3") (; ";")) (declaration "double dVar35;" (primitive_type "double") (identifier "dVar35") (; ";")) (declaration "double dVar36;" (primitive_type "double") (identifier "dVar36") (; ";")) (declaration "double in_f20_21;" (primitive_type "double") (identifier "in_f20_21") (; ";")) (declaration "double in_f22_23;" (primitive_type "double") (identifier "in_f22_23") (; ";")) (declaration "double in_f24_25;" (primitive_type "double") (identifier "in_f24_25") (; ";")) (declaration "undefined8 uVar37;" (type_identifier "undefined8") (identifier "uVar37") (; ";")) (declaration "int *local_10d8;" (primitive_type "int") (pointer_declarator "*local_10d8" (* "*") (identifier "local_10d8")) (; ";")) (declaration "int local_10d4;" (primitive_type "int") (identifier "local_10d4") (; ";")) (declaration "byte *local_10d0;" (type_identifier "byte") (pointer_declarator "*local_10d0" (* "*") (identifier "local_10d0")) (; ";")) (declaration "int local_10cc;" (primitive_type "int") (identifier "local_10cc") (; ";")) (declaration "undefined *local_10c8;" (type_identifier "undefined") (pointer_declarator "*local_10c8" (* "*") (identifier "local_10c8")) (; ";")) (declaration "short *local_10bc;" (sized_type_specifier "short" (short "short")) (pointer_declarator "*local_10bc" (* "*") (identifier "local_10bc")) (; ";")) (declaration "int local_10b8;" (primitive_type "int") (identifier "local_10b8") (; ";")) (declaration "int local_10b0;" (primitive_type "int") (identifier "local_10b0") (; ";")) (declaration "undefined *local_10ac;" (type_identifier "undefined") (pointer_declarator "*local_10ac" (* "*") (identifier "local_10ac")) (; ";")) (declaration "int local_1094;" (primitive_type "int") (identifier "local_1094") (; ";")) (declaration "short local_1090;" (sized_type_specifier "short" (short "short")) (identifier "local_1090") (; ";")) (declaration "short local_108e;" (sized_type_specifier "short" (short "short")) (identifier "local_108e") (; ";")) (declaration "short local_108c;" (sized_type_specifier "short" (short "short")) (identifier "local_108c") (; ";")) (declaration "short local_108a;" (sized_type_specifier "short" (short "short")) (identifier "local_108a") (; ";")) (declaration "undefined1 auStack_1088 [8];" (type_identifier "undefined1") (array_declarator "auStack_1088 [8]" (identifier "auStack_1088") ([ "[") (number_literal "8") (] "]")) (; ";")) (declaration "undefined4 local_1080;" (type_identifier "undefined4") (identifier "local_1080") (; ";")) (declaration "undefined1 auStack_1078 [8];" (type_identifier "undefined1") (array_declarator "auStack_1078 [8]" (identifier "auStack_1078") ([ "[") (number_literal "8") (] "]")) (; ";")) (declaration "int local_1070;" (primitive_type "int") (identifier "local_1070") (; ";")) (declaration "int local_106c;" (primitive_type "int") (identifier "local_106c") (; ";")) (declaration "short local_1066;" (sized_type_specifier "short" (short "short")) (identifier "local_1066") (; ";")) (declaration "short local_1064;" (sized_type_specifier "short" (short "short")) (identifier "local_1064") (; ";")) (declaration "short local_1062;" (sized_type_specifier "short" (short "short")) (identifier "local_1062") (; ";")) (declaration "undefined1 auStack_1054 [4096];" (type_identifier "undefined1") (array_declarator "auStack_1054 [4096]" (identifier "auStack_1054") ([ "[") (number_literal "4096") (] "]")) (; ";")) (declaration "int local_54;" (primitive_type "int") (identifier "local_54") (; ";")) (expression_statement "puVar4 = PTR___stack_chk_guard_003a9230;" (assignment_expression "puVar4 = PTR___stack_chk_guard_003a9230" (identifier "puVar4") (= "=") (identifier "PTR___stack_chk_guard_003a9230")) (; ";")) (expression_statement "local_54 = *(int *)PTR___stack_chk_guard_003a9230;" (assignment_expression "local_54 = *(int *)PTR___stack_chk_guard_003a9230" (identifier "local_54") (= "=") (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 == (byte *)0x0) {\n    dVar33 = (double)(*(code *)PTR___assert_fail_003a9608)\n                               (PTR_LAB_003a88e0 + 0xd78,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,0x374,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\n    goto LAB_00275d54;\n  }" (if "if") (parenthesized_expression "(param_1 == (byte *)0x0)" (( "(") (binary_expression "param_1 == (byte *)0x0" (identifier "param_1") (== "==") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    dVar33 = (double)(*(code *)PTR___assert_fail_003a9608)\n                               (PTR_LAB_003a88e0 + 0xd78,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,0x374,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\n    goto LAB_00275d54;\n  }" ({ "{") (expression_statement "dVar33 = (double)(*(code *)PTR___assert_fail_003a9608)\n                               (PTR_LAB_003a88e0 + 0xd78,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,0x374,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);" (assignment_expression "dVar33 = (double)(*(code *)PTR___assert_fail_003a9608)\n                               (PTR_LAB_003a88e0 + 0xd78,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,0x374,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac)" (identifier "dVar33") (= "=") (cast_expression "(double)(*(code *)PTR___assert_fail_003a9608)\n                               (PTR_LAB_003a88e0 + 0xd78,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,0x374,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (call_expression "(*(code *)PTR___assert_fail_003a9608)\n                               (PTR_LAB_003a88e0 + 0xd78,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,0x374,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac)" (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 + -0x3d60,0x374,\n                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac)" (( "(") (binary_expression "PTR_LAB_003a88e0 + 0xd78" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0xd78")) (, ",") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "-0x3d60")) (, ",") (number_literal "0x374") (, ",") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "-0x3dac")) () ")"))))) (; ";")) (goto_statement "goto LAB_00275d54;" (goto "goto") (statement_identifier "LAB_00275d54") (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 0x3214) == -0x54535255) {\n    if (*(int *)(param_1 + 0x3210) != 0) {\n      (*(code *)PTR_LogMagickEvent_003a91e0)\n                (0x8000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x377,\n                 PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210);\n    }\n    if (param_2 == (int *)0x0) goto LAB_00275e6c;\n    if (param_2[7] == -0x54535255) {\n      unaff_s0 = (*(code *)PTR_AcquireImage_003a960c)(param_1,param_2);\n      iVar5 = (*(code *)PTR_OpenBlob_003a924c)(param_1,unaff_s0,2,param_2);\n      if (iVar5 == 0) {\n        (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n        uVar26 = 0;\n        goto LAB_00274228;\n      }\n      local_1066 = 0;\n      local_1064 = 0;\n      cVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar17 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar18 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar19 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      if ((((cVar16 != 'P') || (unaff_s3 = (byte *)0x1fc, cVar17 != 'I')) || (cVar18 != 'C')) ||\n         (cVar19 != 'T')) {\n        unaff_s3 = (byte *)0x1fc;\n        do {\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (iVar5 == -1) break;\n          unaff_s3 = unaff_s3 + -1;\n        } while (unaff_s3 != (byte *)0x0);\n      }\n      (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n      iVar5 = FUN_002739c8(unaff_s0,&local_1090);\n      if (iVar5 == 0) {\n        uVar26 = 0x397;\n      }\n      else {\n        do {\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n        } while (iVar5 == 0);\n        uVar26 = 0x39a;\n        if (iVar5 == 0x11) {\n          local_10d4 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (local_10d4 == 2) {\n            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n            if (iVar5 != 0xff) {\n              uVar26 = 0x3a0;\n              goto LAB_002741b8;\n            }\n          }\n          else if (local_10d4 != 1) {\n            uVar26 = 0x3a4;\n            goto LAB_002741b8;\n          }\n          iVar5 = (int)local_108e;\n          iVar13 = (int)local_108a;\n          if ((((-1 < iVar5) && (iVar9 = (int)local_1090, -1 < iVar13)) &&\n              ((iVar22 = (int)local_108c, -1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13)))))) &&\n             (iVar9 < iVar22)) {\n            iVar23 = *(int *)(param_1 + 0x1dc);\n            *(undefined4 *)(unaff_s0 + 0x200) = 0;\n            *(int *)(unaff_s0 + 0x18) = iVar13 - iVar5;\n            *(undefined4 *)(unaff_s0 + 0x20) = 8;\n            puVar12 = PTR_LAB_003a88e0;\n            *(int *)(unaff_s0 + 0x1c) = iVar22 - iVar9;\n            uVar37 = *(undefined8 *)(puVar12 + 0x13f0);\n            *(undefined8 *)(unaff_s0 + 0x218) = uVar37;\n            *(undefined8 *)(unaff_s0 + 0x220) = uVar37;\n            if (((iVar23 != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n               (pbVar31 = unaff_s3, piVar6 = unaff_s7,\n               (*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=\n               *(uint *)(unaff_s0 + 0x26c))) goto LAB_00274430;\n            iVar5 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar13 - iVar5,iVar22 - iVar9,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            local_10c8 = PTR_LAB_003a88e0;\n            unaff_s7 = (int *)0x0;\n            local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n            unaff_s3 = (byte *)0x0;\n            local_10b8 = 0;\n            in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418);\n            in_f22_23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n            in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58);\n            local_10cc = 0;\n            local_10bc = &local_1090;\n            local_10d0 = param_1;\n            local_10d8 = param_2;\nLAB_002744b8:\n            do {\n              piVar6 = (int *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pbVar31 = local_10d0;\n              if ((piVar6 != (int *)0x0) ||\n                 (((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pbVar31;\n                unaff_s7 = piVar6;\nLAB_00274228:\n                if (local_54 == *(int *)puVar4) {\n                  return uVar26;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (int *)((uint)piVar6 & 0xffff);\n              if (unaff_s7 == (int *)0x0) {\n                unaff_s7 = (int *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (int *)0xa2) {\n                if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (int *)0x78) {\n                  if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }\n                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                  puVar12 = PTR_SetImageExtent_003a94ac;\n                  if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;\n                  iVar5 = (int)local_108a - (int)local_108e;\n                  iVar13 = (int)local_108c - (int)local_1090;\n                  *(int *)(unaff_s0 + 0x18) = iVar5;\n                  *(int *)(unaff_s0 + 0x1c) = iVar13;\n                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);\n                  if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((int *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)) goto LAB_002752a0;\n                bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2;\n                if (bVar3) {\n                  uVar28 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                if (iVar5 != 0) {\n                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);\n                  if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);\n                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }\n                  piVar7[9] = 2;\nLAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);\n                  if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }\n                  iVar5 = piVar7[9];\n                  if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }\nLAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar26 = 0x4d7;\n                  unaff_s7 = piVar7;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (byte *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar26 = 0x491;\nLAB_002757bc:\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar12 = PTR_s_courses_003a88ec + -400;\n                piVar7 = unaff_s7;\nLAB_0027507c:\n                uVar8 = 0x1a9;\n                unaff_s7 = piVar7;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                uVar26 = 0;\n                goto LAB_00274228;\n              }\n              if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7);\n              }\n              if (unaff_s7 != (int *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7 + -0x2c) {\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar5 = 0x18;\n              do {\n                iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar13 == -1) break;\n                iVar5 = iVar5 + -1;\n              } while (iVar5 != 0);\n            } while( true );\n          }\n          uVar26 = 0x3a8;\n        }\n      }\nLAB_002741b8:\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,uVar26,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,param_1 + 0x2210);\n      if (unaff_s0 == 0) goto LAB_00274224;\n      goto LAB_00274208;\n    }\n  }\n  else {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0xda0,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n               0x375,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\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    if (*(int *)(param_1 + 0x3210) != 0) {\n      (*(code *)PTR_LogMagickEvent_003a91e0)\n                (0x8000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x377,\n                 PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210);\n    }\n    if (param_2 == (int *)0x0) goto LAB_00275e6c;\n    if (param_2[7] == -0x54535255) {\n      unaff_s0 = (*(code *)PTR_AcquireImage_003a960c)(param_1,param_2);\n      iVar5 = (*(code *)PTR_OpenBlob_003a924c)(param_1,unaff_s0,2,param_2);\n      if (iVar5 == 0) {\n        (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n        uVar26 = 0;\n        goto LAB_00274228;\n      }\n      local_1066 = 0;\n      local_1064 = 0;\n      cVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar17 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar18 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar19 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      if ((((cVar16 != 'P') || (unaff_s3 = (byte *)0x1fc, cVar17 != 'I')) || (cVar18 != 'C')) ||\n         (cVar19 != 'T')) {\n        unaff_s3 = (byte *)0x1fc;\n        do {\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (iVar5 == -1) break;\n          unaff_s3 = unaff_s3 + -1;\n        } while (unaff_s3 != (byte *)0x0);\n      }\n      (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n      iVar5 = FUN_002739c8(unaff_s0,&local_1090);\n      if (iVar5 == 0) {\n        uVar26 = 0x397;\n      }\n      else {\n        do {\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n        } while (iVar5 == 0);\n        uVar26 = 0x39a;\n        if (iVar5 == 0x11) {\n          local_10d4 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (local_10d4 == 2) {\n            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n            if (iVar5 != 0xff) {\n              uVar26 = 0x3a0;\n              goto LAB_002741b8;\n            }\n          }\n          else if (local_10d4 != 1) {\n            uVar26 = 0x3a4;\n            goto LAB_002741b8;\n          }\n          iVar5 = (int)local_108e;\n          iVar13 = (int)local_108a;\n          if ((((-1 < iVar5) && (iVar9 = (int)local_1090, -1 < iVar13)) &&\n              ((iVar22 = (int)local_108c, -1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13)))))) &&\n             (iVar9 < iVar22)) {\n            iVar23 = *(int *)(param_1 + 0x1dc);\n            *(undefined4 *)(unaff_s0 + 0x200) = 0;\n            *(int *)(unaff_s0 + 0x18) = iVar13 - iVar5;\n            *(undefined4 *)(unaff_s0 + 0x20) = 8;\n            puVar12 = PTR_LAB_003a88e0;\n            *(int *)(unaff_s0 + 0x1c) = iVar22 - iVar9;\n            uVar37 = *(undefined8 *)(puVar12 + 0x13f0);\n            *(undefined8 *)(unaff_s0 + 0x218) = uVar37;\n            *(undefined8 *)(unaff_s0 + 0x220) = uVar37;\n            if (((iVar23 != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n               (pbVar31 = unaff_s3, piVar6 = unaff_s7,\n               (*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=\n               *(uint *)(unaff_s0 + 0x26c))) goto LAB_00274430;\n            iVar5 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar13 - iVar5,iVar22 - iVar9,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            local_10c8 = PTR_LAB_003a88e0;\n            unaff_s7 = (int *)0x0;\n            local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n            unaff_s3 = (byte *)0x0;\n            local_10b8 = 0;\n            in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418);\n            in_f22_23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n            in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58);\n            local_10cc = 0;\n            local_10bc = &local_1090;\n            local_10d0 = param_1;\n            local_10d8 = param_2;\nLAB_002744b8:\n            do {\n              piVar6 = (int *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pbVar31 = local_10d0;\n              if ((piVar6 != (int *)0x0) ||\n                 (((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pbVar31;\n                unaff_s7 = piVar6;\nLAB_00274228:\n                if (local_54 == *(int *)puVar4) {\n                  return uVar26;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (int *)((uint)piVar6 & 0xffff);\n              if (unaff_s7 == (int *)0x0) {\n                unaff_s7 = (int *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (int *)0xa2) {\n                if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (int *)0x78) {\n                  if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }\n                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                  puVar12 = PTR_SetImageExtent_003a94ac;\n                  if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;\n                  iVar5 = (int)local_108a - (int)local_108e;\n                  iVar13 = (int)local_108c - (int)local_1090;\n                  *(int *)(unaff_s0 + 0x18) = iVar5;\n                  *(int *)(unaff_s0 + 0x1c) = iVar13;\n                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);\n                  if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((int *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)) goto LAB_002752a0;\n                bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2;\n                if (bVar3) {\n                  uVar28 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                if (iVar5 != 0) {\n                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);\n                  if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);\n                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }\n                  piVar7[9] = 2;\nLAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);\n                  if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }\n                  iVar5 = piVar7[9];\n                  if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }\nLAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar26 = 0x4d7;\n                  unaff_s7 = piVar7;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (byte *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar26 = 0x491;\nLAB_002757bc:\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar12 = PTR_s_courses_003a88ec + -400;\n                piVar7 = unaff_s7;\nLAB_0027507c:\n                uVar8 = 0x1a9;\n                unaff_s7 = piVar7;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                uVar26 = 0;\n                goto LAB_00274228;\n              }\n              if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7);\n              }\n              if (unaff_s7 != (int *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7 + -0x2c) {\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar5 = 0x18;\n              do {\n                iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar13 == -1) break;\n                iVar5 = iVar5 + -1;\n              } while (iVar5 != 0);\n            } while( true );\n          }\n          uVar26 = 0x3a8;\n        }\n      }\nLAB_002741b8:\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,uVar26,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,param_1 + 0x2210);\n      if (unaff_s0 == 0) goto LAB_00274224;\n      goto LAB_00274208;\n    }\n  }" ({ "{") (if_statement "if (*(int *)(param_1 + 0x3210) != 0) {\n      (*(code *)PTR_LogMagickEvent_003a91e0)\n                (0x8000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x377,\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 + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x377,\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 + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x377,\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 + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x377,\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 + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x377,\n                 PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210)" (( "(") (number_literal "0x8000") (, ",") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "-0x3d60")) (, ",") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "-0x3dbc")) (, ",") (number_literal "0x377") (, ",") (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) goto LAB_00275e6c;" (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"))) () ")")) (goto_statement "goto LAB_00275e6c;" (goto "goto") (statement_identifier "LAB_00275e6c") (; ";"))) (if_statement "if (param_2[7] == -0x54535255) {\n      unaff_s0 = (*(code *)PTR_AcquireImage_003a960c)(param_1,param_2);\n      iVar5 = (*(code *)PTR_OpenBlob_003a924c)(param_1,unaff_s0,2,param_2);\n      if (iVar5 == 0) {\n        (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n        uVar26 = 0;\n        goto LAB_00274228;\n      }\n      local_1066 = 0;\n      local_1064 = 0;\n      cVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar17 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar18 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar19 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      if ((((cVar16 != 'P') || (unaff_s3 = (byte *)0x1fc, cVar17 != 'I')) || (cVar18 != 'C')) ||\n         (cVar19 != 'T')) {\n        unaff_s3 = (byte *)0x1fc;\n        do {\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (iVar5 == -1) break;\n          unaff_s3 = unaff_s3 + -1;\n        } while (unaff_s3 != (byte *)0x0);\n      }\n      (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n      iVar5 = FUN_002739c8(unaff_s0,&local_1090);\n      if (iVar5 == 0) {\n        uVar26 = 0x397;\n      }\n      else {\n        do {\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n        } while (iVar5 == 0);\n        uVar26 = 0x39a;\n        if (iVar5 == 0x11) {\n          local_10d4 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (local_10d4 == 2) {\n            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n            if (iVar5 != 0xff) {\n              uVar26 = 0x3a0;\n              goto LAB_002741b8;\n            }\n          }\n          else if (local_10d4 != 1) {\n            uVar26 = 0x3a4;\n            goto LAB_002741b8;\n          }\n          iVar5 = (int)local_108e;\n          iVar13 = (int)local_108a;\n          if ((((-1 < iVar5) && (iVar9 = (int)local_1090, -1 < iVar13)) &&\n              ((iVar22 = (int)local_108c, -1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13)))))) &&\n             (iVar9 < iVar22)) {\n            iVar23 = *(int *)(param_1 + 0x1dc);\n            *(undefined4 *)(unaff_s0 + 0x200) = 0;\n            *(int *)(unaff_s0 + 0x18) = iVar13 - iVar5;\n            *(undefined4 *)(unaff_s0 + 0x20) = 8;\n            puVar12 = PTR_LAB_003a88e0;\n            *(int *)(unaff_s0 + 0x1c) = iVar22 - iVar9;\n            uVar37 = *(undefined8 *)(puVar12 + 0x13f0);\n            *(undefined8 *)(unaff_s0 + 0x218) = uVar37;\n            *(undefined8 *)(unaff_s0 + 0x220) = uVar37;\n            if (((iVar23 != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n               (pbVar31 = unaff_s3, piVar6 = unaff_s7,\n               (*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=\n               *(uint *)(unaff_s0 + 0x26c))) goto LAB_00274430;\n            iVar5 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar13 - iVar5,iVar22 - iVar9,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            local_10c8 = PTR_LAB_003a88e0;\n            unaff_s7 = (int *)0x0;\n            local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n            unaff_s3 = (byte *)0x0;\n            local_10b8 = 0;\n            in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418);\n            in_f22_23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n            in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58);\n            local_10cc = 0;\n            local_10bc = &local_1090;\n            local_10d0 = param_1;\n            local_10d8 = param_2;\nLAB_002744b8:\n            do {\n              piVar6 = (int *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pbVar31 = local_10d0;\n              if ((piVar6 != (int *)0x0) ||\n                 (((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pbVar31;\n                unaff_s7 = piVar6;\nLAB_00274228:\n                if (local_54 == *(int *)puVar4) {\n                  return uVar26;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (int *)((uint)piVar6 & 0xffff);\n              if (unaff_s7 == (int *)0x0) {\n                unaff_s7 = (int *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (int *)0xa2) {\n                if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (int *)0x78) {\n                  if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }\n                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                  puVar12 = PTR_SetImageExtent_003a94ac;\n                  if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;\n                  iVar5 = (int)local_108a - (int)local_108e;\n                  iVar13 = (int)local_108c - (int)local_1090;\n                  *(int *)(unaff_s0 + 0x18) = iVar5;\n                  *(int *)(unaff_s0 + 0x1c) = iVar13;\n                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);\n                  if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((int *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)) goto LAB_002752a0;\n                bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2;\n                if (bVar3) {\n                  uVar28 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                if (iVar5 != 0) {\n                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);\n                  if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);\n                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }\n                  piVar7[9] = 2;\nLAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);\n                  if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }\n                  iVar5 = piVar7[9];\n                  if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }\nLAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar26 = 0x4d7;\n                  unaff_s7 = piVar7;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (byte *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar26 = 0x491;\nLAB_002757bc:\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar12 = PTR_s_courses_003a88ec + -400;\n                piVar7 = unaff_s7;\nLAB_0027507c:\n                uVar8 = 0x1a9;\n                unaff_s7 = piVar7;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                uVar26 = 0;\n                goto LAB_00274228;\n              }\n              if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7);\n              }\n              if (unaff_s7 != (int *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7 + -0x2c) {\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar5 = 0x18;\n              do {\n                iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar13 == -1) break;\n                iVar5 = iVar5 + -1;\n              } while (iVar5 != 0);\n            } while( true );\n          }\n          uVar26 = 0x3a8;\n        }\n      }\nLAB_002741b8:\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,uVar26,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,param_1 + 0x2210);\n      if (unaff_s0 == 0) goto LAB_00274224;\n      goto LAB_00274208;\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      unaff_s0 = (*(code *)PTR_AcquireImage_003a960c)(param_1,param_2);\n      iVar5 = (*(code *)PTR_OpenBlob_003a924c)(param_1,unaff_s0,2,param_2);\n      if (iVar5 == 0) {\n        (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n        uVar26 = 0;\n        goto LAB_00274228;\n      }\n      local_1066 = 0;\n      local_1064 = 0;\n      cVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar17 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar18 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      cVar19 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n      if ((((cVar16 != 'P') || (unaff_s3 = (byte *)0x1fc, cVar17 != 'I')) || (cVar18 != 'C')) ||\n         (cVar19 != 'T')) {\n        unaff_s3 = (byte *)0x1fc;\n        do {\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (iVar5 == -1) break;\n          unaff_s3 = unaff_s3 + -1;\n        } while (unaff_s3 != (byte *)0x0);\n      }\n      (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n      iVar5 = FUN_002739c8(unaff_s0,&local_1090);\n      if (iVar5 == 0) {\n        uVar26 = 0x397;\n      }\n      else {\n        do {\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n        } while (iVar5 == 0);\n        uVar26 = 0x39a;\n        if (iVar5 == 0x11) {\n          local_10d4 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (local_10d4 == 2) {\n            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n            if (iVar5 != 0xff) {\n              uVar26 = 0x3a0;\n              goto LAB_002741b8;\n            }\n          }\n          else if (local_10d4 != 1) {\n            uVar26 = 0x3a4;\n            goto LAB_002741b8;\n          }\n          iVar5 = (int)local_108e;\n          iVar13 = (int)local_108a;\n          if ((((-1 < iVar5) && (iVar9 = (int)local_1090, -1 < iVar13)) &&\n              ((iVar22 = (int)local_108c, -1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13)))))) &&\n             (iVar9 < iVar22)) {\n            iVar23 = *(int *)(param_1 + 0x1dc);\n            *(undefined4 *)(unaff_s0 + 0x200) = 0;\n            *(int *)(unaff_s0 + 0x18) = iVar13 - iVar5;\n            *(undefined4 *)(unaff_s0 + 0x20) = 8;\n            puVar12 = PTR_LAB_003a88e0;\n            *(int *)(unaff_s0 + 0x1c) = iVar22 - iVar9;\n            uVar37 = *(undefined8 *)(puVar12 + 0x13f0);\n            *(undefined8 *)(unaff_s0 + 0x218) = uVar37;\n            *(undefined8 *)(unaff_s0 + 0x220) = uVar37;\n            if (((iVar23 != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n               (pbVar31 = unaff_s3, piVar6 = unaff_s7,\n               (*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=\n               *(uint *)(unaff_s0 + 0x26c))) goto LAB_00274430;\n            iVar5 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar13 - iVar5,iVar22 - iVar9,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            local_10c8 = PTR_LAB_003a88e0;\n            unaff_s7 = (int *)0x0;\n            local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n            unaff_s3 = (byte *)0x0;\n            local_10b8 = 0;\n            in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418);\n            in_f22_23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n            in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58);\n            local_10cc = 0;\n            local_10bc = &local_1090;\n            local_10d0 = param_1;\n            local_10d8 = param_2;\nLAB_002744b8:\n            do {\n              piVar6 = (int *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pbVar31 = local_10d0;\n              if ((piVar6 != (int *)0x0) ||\n                 (((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pbVar31;\n                unaff_s7 = piVar6;\nLAB_00274228:\n                if (local_54 == *(int *)puVar4) {\n                  return uVar26;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (int *)((uint)piVar6 & 0xffff);\n              if (unaff_s7 == (int *)0x0) {\n                unaff_s7 = (int *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (int *)0xa2) {\n                if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (int *)0x78) {\n                  if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }\n                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                  puVar12 = PTR_SetImageExtent_003a94ac;\n                  if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;\n                  iVar5 = (int)local_108a - (int)local_108e;\n                  iVar13 = (int)local_108c - (int)local_1090;\n                  *(int *)(unaff_s0 + 0x18) = iVar5;\n                  *(int *)(unaff_s0 + 0x1c) = iVar13;\n                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);\n                  if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((int *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)) goto LAB_002752a0;\n                bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2;\n                if (bVar3) {\n                  uVar28 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                if (iVar5 != 0) {\n                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);\n                  if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);\n                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }\n                  piVar7[9] = 2;\nLAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);\n                  if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }\n                  iVar5 = piVar7[9];\n                  if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }\nLAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar26 = 0x4d7;\n                  unaff_s7 = piVar7;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (byte *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar26 = 0x491;\nLAB_002757bc:\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar12 = PTR_s_courses_003a88ec + -400;\n                piVar7 = unaff_s7;\nLAB_0027507c:\n                uVar8 = 0x1a9;\n                unaff_s7 = piVar7;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                uVar26 = 0;\n                goto LAB_00274228;\n              }\n              if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7);\n              }\n              if (unaff_s7 != (int *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7 + -0x2c) {\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar5 = 0x18;\n              do {\n                iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar13 == -1) break;\n                iVar5 = iVar5 + -1;\n              } while (iVar5 != 0);\n            } while( true );\n          }\n          uVar26 = 0x3a8;\n        }\n      }\nLAB_002741b8:\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,uVar26,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,param_1 + 0x2210);\n      if (unaff_s0 == 0) goto LAB_00274224;\n      goto LAB_00274208;\n    }" ({ "{") (expression_statement "unaff_s0 = (*(code *)PTR_AcquireImage_003a960c)(param_1,param_2);" (assignment_expression "unaff_s0 = (*(code *)PTR_AcquireImage_003a960c)(param_1,param_2)" (identifier "unaff_s0") (= "=") (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,unaff_s0,2,param_2);" (assignment_expression "iVar5 = (*(code *)PTR_OpenBlob_003a924c)(param_1,unaff_s0,2,param_2)" (identifier "iVar5") (= "=") (call_expression "(*(code *)PTR_OpenBlob_003a924c)(param_1,unaff_s0,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,unaff_s0,2,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "unaff_s0") (, ",") (number_literal "2") (, ",") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (iVar5 == 0) {\n        (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n        uVar26 = 0;\n        goto LAB_00274228;\n      }" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n        uVar26 = 0;\n        goto LAB_00274228;\n      }" ({ "{") (expression_statement "(*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);" (call_expression "(*(code *)PTR_DestroyImageList_003a9510)(unaff_s0)" (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 "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")"))) (; ";")) (expression_statement "uVar26 = 0;" (assignment_expression "uVar26 = 0" (identifier "uVar26") (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_00274228;" (goto "goto") (statement_identifier "LAB_00274228") (; ";")) (} "}"))) (expression_statement "local_1066 = 0;" (assignment_expression "local_1066 = 0" (identifier "local_1066") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_1064 = 0;" (assignment_expression "local_1064 = 0" (identifier "local_1064") (= "=") (number_literal "0")) (; ";")) (expression_statement "cVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "cVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (identifier "cVar16") (= "=") (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")")))) (; ";")) (expression_statement "cVar17 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "cVar17 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (identifier "cVar17") (= "=") (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")")))) (; ";")) (expression_statement "cVar18 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "cVar18 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (identifier "cVar18") (= "=") (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")")))) (; ";")) (expression_statement "cVar19 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "cVar19 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (identifier "cVar19") (= "=") (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")")))) (; ";")) (if_statement "if ((((cVar16 != 'P') || (unaff_s3 = (byte *)0x1fc, cVar17 != 'I')) || (cVar18 != 'C')) ||\n         (cVar19 != 'T')) {\n        unaff_s3 = (byte *)0x1fc;\n        do {\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (iVar5 == -1) break;\n          unaff_s3 = unaff_s3 + -1;\n        } while (unaff_s3 != (byte *)0x0);\n      }" (if "if") (parenthesized_expression "((((cVar16 != 'P') || (unaff_s3 = (byte *)0x1fc, cVar17 != 'I')) || (cVar18 != 'C')) ||\n         (cVar19 != 'T'))" (( "(") (binary_expression "(((cVar16 != 'P') || (unaff_s3 = (byte *)0x1fc, cVar17 != 'I')) || (cVar18 != 'C')) ||\n         (cVar19 != 'T')" (parenthesized_expression "(((cVar16 != 'P') || (unaff_s3 = (byte *)0x1fc, cVar17 != 'I')) || (cVar18 != 'C'))" (( "(") (binary_expression "((cVar16 != 'P') || (unaff_s3 = (byte *)0x1fc, cVar17 != 'I')) || (cVar18 != 'C')" (parenthesized_expression "((cVar16 != 'P') || (unaff_s3 = (byte *)0x1fc, cVar17 != 'I'))" (( "(") (binary_expression "(cVar16 != 'P') || (unaff_s3 = (byte *)0x1fc, cVar17 != 'I')" (parenthesized_expression "(cVar16 != 'P')" (( "(") (binary_expression "cVar16 != 'P'" (identifier "cVar16") (!= "!=") (char_literal "'P'" (' "'") (character "P") (' "'"))) () ")")) (|| "||") (parenthesized_expression "(unaff_s3 = (byte *)0x1fc, cVar17 != 'I')" (( "(") (comma_expression "unaff_s3 = (byte *)0x1fc, cVar17 != 'I'" (assignment_expression "unaff_s3 = (byte *)0x1fc" (identifier "unaff_s3") (= "=") (cast_expression "(byte *)0x1fc" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x1fc"))) (, ",") (binary_expression "cVar17 != 'I'" (identifier "cVar17") (!= "!=") (char_literal "'I'" (' "'") (character "I") (' "'")))) () ")"))) () ")")) (|| "||") (parenthesized_expression "(cVar18 != 'C')" (( "(") (binary_expression "cVar18 != 'C'" (identifier "cVar18") (!= "!=") (char_literal "'C'" (' "'") (character "C") (' "'"))) () ")"))) () ")")) (|| "||") (parenthesized_expression "(cVar19 != 'T')" (( "(") (binary_expression "cVar19 != 'T'" (identifier "cVar19") (!= "!=") (char_literal "'T'" (' "'") (character "T") (' "'"))) () ")"))) () ")")) (compound_statement "{\n        unaff_s3 = (byte *)0x1fc;\n        do {\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (iVar5 == -1) break;\n          unaff_s3 = unaff_s3 + -1;\n        } while (unaff_s3 != (byte *)0x0);\n      }" ({ "{") (expression_statement "unaff_s3 = (byte *)0x1fc;" (assignment_expression "unaff_s3 = (byte *)0x1fc" (identifier "unaff_s3") (= "=") (cast_expression "(byte *)0x1fc" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x1fc"))) (; ";")) (do_statement "do {\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (iVar5 == -1) break;\n          unaff_s3 = unaff_s3 + -1;\n        } while (unaff_s3 != (byte *)0x0);" (do "do") (compound_statement "{\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (iVar5 == -1) break;\n          unaff_s3 = unaff_s3 + -1;\n        }" ({ "{") (expression_statement "iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (identifier "iVar5") (= "=") (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")")))) (; ";")) (if_statement "if (iVar5 == -1) break;" (if "if") (parenthesized_expression "(iVar5 == -1)" (( "(") (binary_expression "iVar5 == -1" (identifier "iVar5") (== "==") (number_literal "-1")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "unaff_s3 = unaff_s3 + -1;" (assignment_expression "unaff_s3 = unaff_s3 + -1" (identifier "unaff_s3") (= "=") (binary_expression "unaff_s3 + -1" (identifier "unaff_s3") (+ "+") (number_literal "-1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(unaff_s3 != (byte *)0x0)" (( "(") (binary_expression "unaff_s3 != (byte *)0x0" (identifier "unaff_s3") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" (( "(") (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" (* "*") (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ReadBlobMSBShort_003a9160"))) () ")")) (argument_list "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")"))) (; ";")) (expression_statement "iVar5 = FUN_002739c8(unaff_s0,&local_1090);" (assignment_expression "iVar5 = FUN_002739c8(unaff_s0,&local_1090)" (identifier "iVar5") (= "=") (call_expression "FUN_002739c8(unaff_s0,&local_1090)" (identifier "FUN_002739c8") (argument_list "(unaff_s0,&local_1090)" (( "(") (identifier "unaff_s0") (, ",") (pointer_expression "&local_1090" (& "&") (identifier "local_1090")) () ")")))) (; ";")) (if_statement "if (iVar5 == 0) {\n        uVar26 = 0x397;\n      }\n      else {\n        do {\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n        } while (iVar5 == 0);\n        uVar26 = 0x39a;\n        if (iVar5 == 0x11) {\n          local_10d4 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (local_10d4 == 2) {\n            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n            if (iVar5 != 0xff) {\n              uVar26 = 0x3a0;\n              goto LAB_002741b8;\n            }\n          }\n          else if (local_10d4 != 1) {\n            uVar26 = 0x3a4;\n            goto LAB_002741b8;\n          }\n          iVar5 = (int)local_108e;\n          iVar13 = (int)local_108a;\n          if ((((-1 < iVar5) && (iVar9 = (int)local_1090, -1 < iVar13)) &&\n              ((iVar22 = (int)local_108c, -1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13)))))) &&\n             (iVar9 < iVar22)) {\n            iVar23 = *(int *)(param_1 + 0x1dc);\n            *(undefined4 *)(unaff_s0 + 0x200) = 0;\n            *(int *)(unaff_s0 + 0x18) = iVar13 - iVar5;\n            *(undefined4 *)(unaff_s0 + 0x20) = 8;\n            puVar12 = PTR_LAB_003a88e0;\n            *(int *)(unaff_s0 + 0x1c) = iVar22 - iVar9;\n            uVar37 = *(undefined8 *)(puVar12 + 0x13f0);\n            *(undefined8 *)(unaff_s0 + 0x218) = uVar37;\n            *(undefined8 *)(unaff_s0 + 0x220) = uVar37;\n            if (((iVar23 != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n               (pbVar31 = unaff_s3, piVar6 = unaff_s7,\n               (*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=\n               *(uint *)(unaff_s0 + 0x26c))) goto LAB_00274430;\n            iVar5 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar13 - iVar5,iVar22 - iVar9,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            local_10c8 = PTR_LAB_003a88e0;\n            unaff_s7 = (int *)0x0;\n            local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n            unaff_s3 = (byte *)0x0;\n            local_10b8 = 0;\n            in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418);\n            in_f22_23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n            in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58);\n            local_10cc = 0;\n            local_10bc = &local_1090;\n            local_10d0 = param_1;\n            local_10d8 = param_2;\nLAB_002744b8:\n            do {\n              piVar6 = (int *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pbVar31 = local_10d0;\n              if ((piVar6 != (int *)0x0) ||\n                 (((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pbVar31;\n                unaff_s7 = piVar6;\nLAB_00274228:\n                if (local_54 == *(int *)puVar4) {\n                  return uVar26;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (int *)((uint)piVar6 & 0xffff);\n              if (unaff_s7 == (int *)0x0) {\n                unaff_s7 = (int *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (int *)0xa2) {\n                if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (int *)0x78) {\n                  if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }\n                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                  puVar12 = PTR_SetImageExtent_003a94ac;\n                  if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;\n                  iVar5 = (int)local_108a - (int)local_108e;\n                  iVar13 = (int)local_108c - (int)local_1090;\n                  *(int *)(unaff_s0 + 0x18) = iVar5;\n                  *(int *)(unaff_s0 + 0x1c) = iVar13;\n                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);\n                  if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((int *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)) goto LAB_002752a0;\n                bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2;\n                if (bVar3) {\n                  uVar28 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                if (iVar5 != 0) {\n                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);\n                  if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);\n                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }\n                  piVar7[9] = 2;\nLAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);\n                  if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }\n                  iVar5 = piVar7[9];\n                  if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }\nLAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar26 = 0x4d7;\n                  unaff_s7 = piVar7;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (byte *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar26 = 0x491;\nLAB_002757bc:\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar12 = PTR_s_courses_003a88ec + -400;\n                piVar7 = unaff_s7;\nLAB_0027507c:\n                uVar8 = 0x1a9;\n                unaff_s7 = piVar7;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                uVar26 = 0;\n                goto LAB_00274228;\n              }\n              if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7);\n              }\n              if (unaff_s7 != (int *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7 + -0x2c) {\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar5 = 0x18;\n              do {\n                iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar13 == -1) break;\n                iVar5 = iVar5 + -1;\n              } while (iVar5 != 0);\n            } while( true );\n          }\n          uVar26 = 0x3a8;\n        }\n      }" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        uVar26 = 0x397;\n      }" ({ "{") (expression_statement "uVar26 = 0x397;" (assignment_expression "uVar26 = 0x397" (identifier "uVar26") (= "=") (number_literal "0x397")) (; ";")) (} "}")) (else_clause "else {\n        do {\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n        } while (iVar5 == 0);\n        uVar26 = 0x39a;\n        if (iVar5 == 0x11) {\n          local_10d4 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (local_10d4 == 2) {\n            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n            if (iVar5 != 0xff) {\n              uVar26 = 0x3a0;\n              goto LAB_002741b8;\n            }\n          }\n          else if (local_10d4 != 1) {\n            uVar26 = 0x3a4;\n            goto LAB_002741b8;\n          }\n          iVar5 = (int)local_108e;\n          iVar13 = (int)local_108a;\n          if ((((-1 < iVar5) && (iVar9 = (int)local_1090, -1 < iVar13)) &&\n              ((iVar22 = (int)local_108c, -1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13)))))) &&\n             (iVar9 < iVar22)) {\n            iVar23 = *(int *)(param_1 + 0x1dc);\n            *(undefined4 *)(unaff_s0 + 0x200) = 0;\n            *(int *)(unaff_s0 + 0x18) = iVar13 - iVar5;\n            *(undefined4 *)(unaff_s0 + 0x20) = 8;\n            puVar12 = PTR_LAB_003a88e0;\n            *(int *)(unaff_s0 + 0x1c) = iVar22 - iVar9;\n            uVar37 = *(undefined8 *)(puVar12 + 0x13f0);\n            *(undefined8 *)(unaff_s0 + 0x218) = uVar37;\n            *(undefined8 *)(unaff_s0 + 0x220) = uVar37;\n            if (((iVar23 != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n               (pbVar31 = unaff_s3, piVar6 = unaff_s7,\n               (*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=\n               *(uint *)(unaff_s0 + 0x26c))) goto LAB_00274430;\n            iVar5 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar13 - iVar5,iVar22 - iVar9,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            local_10c8 = PTR_LAB_003a88e0;\n            unaff_s7 = (int *)0x0;\n            local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n            unaff_s3 = (byte *)0x0;\n            local_10b8 = 0;\n            in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418);\n            in_f22_23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n            in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58);\n            local_10cc = 0;\n            local_10bc = &local_1090;\n            local_10d0 = param_1;\n            local_10d8 = param_2;\nLAB_002744b8:\n            do {\n              piVar6 = (int *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pbVar31 = local_10d0;\n              if ((piVar6 != (int *)0x0) ||\n                 (((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pbVar31;\n                unaff_s7 = piVar6;\nLAB_00274228:\n                if (local_54 == *(int *)puVar4) {\n                  return uVar26;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (int *)((uint)piVar6 & 0xffff);\n              if (unaff_s7 == (int *)0x0) {\n                unaff_s7 = (int *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (int *)0xa2) {\n                if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (int *)0x78) {\n                  if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }\n                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                  puVar12 = PTR_SetImageExtent_003a94ac;\n                  if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;\n                  iVar5 = (int)local_108a - (int)local_108e;\n                  iVar13 = (int)local_108c - (int)local_1090;\n                  *(int *)(unaff_s0 + 0x18) = iVar5;\n                  *(int *)(unaff_s0 + 0x1c) = iVar13;\n                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);\n                  if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((int *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)) goto LAB_002752a0;\n                bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2;\n                if (bVar3) {\n                  uVar28 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                if (iVar5 != 0) {\n                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);\n                  if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);\n                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }\n                  piVar7[9] = 2;\nLAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);\n                  if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }\n                  iVar5 = piVar7[9];\n                  if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }\nLAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar26 = 0x4d7;\n                  unaff_s7 = piVar7;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (byte *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar26 = 0x491;\nLAB_002757bc:\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar12 = PTR_s_courses_003a88ec + -400;\n                piVar7 = unaff_s7;\nLAB_0027507c:\n                uVar8 = 0x1a9;\n                unaff_s7 = piVar7;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                uVar26 = 0;\n                goto LAB_00274228;\n              }\n              if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7);\n              }\n              if (unaff_s7 != (int *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7 + -0x2c) {\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar5 = 0x18;\n              do {\n                iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar13 == -1) break;\n                iVar5 = iVar5 + -1;\n              } while (iVar5 != 0);\n            } while( true );\n          }\n          uVar26 = 0x3a8;\n        }\n      }" (else "else") (compound_statement "{\n        do {\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n        } while (iVar5 == 0);\n        uVar26 = 0x39a;\n        if (iVar5 == 0x11) {\n          local_10d4 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (local_10d4 == 2) {\n            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n            if (iVar5 != 0xff) {\n              uVar26 = 0x3a0;\n              goto LAB_002741b8;\n            }\n          }\n          else if (local_10d4 != 1) {\n            uVar26 = 0x3a4;\n            goto LAB_002741b8;\n          }\n          iVar5 = (int)local_108e;\n          iVar13 = (int)local_108a;\n          if ((((-1 < iVar5) && (iVar9 = (int)local_1090, -1 < iVar13)) &&\n              ((iVar22 = (int)local_108c, -1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13)))))) &&\n             (iVar9 < iVar22)) {\n            iVar23 = *(int *)(param_1 + 0x1dc);\n            *(undefined4 *)(unaff_s0 + 0x200) = 0;\n            *(int *)(unaff_s0 + 0x18) = iVar13 - iVar5;\n            *(undefined4 *)(unaff_s0 + 0x20) = 8;\n            puVar12 = PTR_LAB_003a88e0;\n            *(int *)(unaff_s0 + 0x1c) = iVar22 - iVar9;\n            uVar37 = *(undefined8 *)(puVar12 + 0x13f0);\n            *(undefined8 *)(unaff_s0 + 0x218) = uVar37;\n            *(undefined8 *)(unaff_s0 + 0x220) = uVar37;\n            if (((iVar23 != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n               (pbVar31 = unaff_s3, piVar6 = unaff_s7,\n               (*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=\n               *(uint *)(unaff_s0 + 0x26c))) goto LAB_00274430;\n            iVar5 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar13 - iVar5,iVar22 - iVar9,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            local_10c8 = PTR_LAB_003a88e0;\n            unaff_s7 = (int *)0x0;\n            local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n            unaff_s3 = (byte *)0x0;\n            local_10b8 = 0;\n            in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418);\n            in_f22_23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n            in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58);\n            local_10cc = 0;\n            local_10bc = &local_1090;\n            local_10d0 = param_1;\n            local_10d8 = param_2;\nLAB_002744b8:\n            do {\n              piVar6 = (int *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pbVar31 = local_10d0;\n              if ((piVar6 != (int *)0x0) ||\n                 (((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pbVar31;\n                unaff_s7 = piVar6;\nLAB_00274228:\n                if (local_54 == *(int *)puVar4) {\n                  return uVar26;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (int *)((uint)piVar6 & 0xffff);\n              if (unaff_s7 == (int *)0x0) {\n                unaff_s7 = (int *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (int *)0xa2) {\n                if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (int *)0x78) {\n                  if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }\n                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                  puVar12 = PTR_SetImageExtent_003a94ac;\n                  if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;\n                  iVar5 = (int)local_108a - (int)local_108e;\n                  iVar13 = (int)local_108c - (int)local_1090;\n                  *(int *)(unaff_s0 + 0x18) = iVar5;\n                  *(int *)(unaff_s0 + 0x1c) = iVar13;\n                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);\n                  if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((int *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)) goto LAB_002752a0;\n                bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2;\n                if (bVar3) {\n                  uVar28 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                if (iVar5 != 0) {\n                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);\n                  if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);\n                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }\n                  piVar7[9] = 2;\nLAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);\n                  if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }\n                  iVar5 = piVar7[9];\n                  if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }\nLAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar26 = 0x4d7;\n                  unaff_s7 = piVar7;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (byte *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar26 = 0x491;\nLAB_002757bc:\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar12 = PTR_s_courses_003a88ec + -400;\n                piVar7 = unaff_s7;\nLAB_0027507c:\n                uVar8 = 0x1a9;\n                unaff_s7 = piVar7;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                uVar26 = 0;\n                goto LAB_00274228;\n              }\n              if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7);\n              }\n              if (unaff_s7 != (int *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7 + -0x2c) {\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar5 = 0x18;\n              do {\n                iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar13 == -1) break;\n                iVar5 = iVar5 + -1;\n              } while (iVar5 != 0);\n            } while( true );\n          }\n          uVar26 = 0x3a8;\n        }\n      }" ({ "{") (do_statement "do {\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n        } while (iVar5 == 0);" (do "do") (compound_statement "{\n          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n        }" ({ "{") (expression_statement "iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (identifier "iVar5") (= "=") (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (; ";")) (expression_statement "uVar26 = 0x39a;" (assignment_expression "uVar26 = 0x39a" (identifier "uVar26") (= "=") (number_literal "0x39a")) (; ";")) (if_statement "if (iVar5 == 0x11) {\n          local_10d4 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (local_10d4 == 2) {\n            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n            if (iVar5 != 0xff) {\n              uVar26 = 0x3a0;\n              goto LAB_002741b8;\n            }\n          }\n          else if (local_10d4 != 1) {\n            uVar26 = 0x3a4;\n            goto LAB_002741b8;\n          }\n          iVar5 = (int)local_108e;\n          iVar13 = (int)local_108a;\n          if ((((-1 < iVar5) && (iVar9 = (int)local_1090, -1 < iVar13)) &&\n              ((iVar22 = (int)local_108c, -1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13)))))) &&\n             (iVar9 < iVar22)) {\n            iVar23 = *(int *)(param_1 + 0x1dc);\n            *(undefined4 *)(unaff_s0 + 0x200) = 0;\n            *(int *)(unaff_s0 + 0x18) = iVar13 - iVar5;\n            *(undefined4 *)(unaff_s0 + 0x20) = 8;\n            puVar12 = PTR_LAB_003a88e0;\n            *(int *)(unaff_s0 + 0x1c) = iVar22 - iVar9;\n            uVar37 = *(undefined8 *)(puVar12 + 0x13f0);\n            *(undefined8 *)(unaff_s0 + 0x218) = uVar37;\n            *(undefined8 *)(unaff_s0 + 0x220) = uVar37;\n            if (((iVar23 != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n               (pbVar31 = unaff_s3, piVar6 = unaff_s7,\n               (*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=\n               *(uint *)(unaff_s0 + 0x26c))) goto LAB_00274430;\n            iVar5 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar13 - iVar5,iVar22 - iVar9,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            local_10c8 = PTR_LAB_003a88e0;\n            unaff_s7 = (int *)0x0;\n            local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n            unaff_s3 = (byte *)0x0;\n            local_10b8 = 0;\n            in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418);\n            in_f22_23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n            in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58);\n            local_10cc = 0;\n            local_10bc = &local_1090;\n            local_10d0 = param_1;\n            local_10d8 = param_2;\nLAB_002744b8:\n            do {\n              piVar6 = (int *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pbVar31 = local_10d0;\n              if ((piVar6 != (int *)0x0) ||\n                 (((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pbVar31;\n                unaff_s7 = piVar6;\nLAB_00274228:\n                if (local_54 == *(int *)puVar4) {\n                  return uVar26;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (int *)((uint)piVar6 & 0xffff);\n              if (unaff_s7 == (int *)0x0) {\n                unaff_s7 = (int *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (int *)0xa2) {\n                if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (int *)0x78) {\n                  if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }\n                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                  puVar12 = PTR_SetImageExtent_003a94ac;\n                  if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;\n                  iVar5 = (int)local_108a - (int)local_108e;\n                  iVar13 = (int)local_108c - (int)local_1090;\n                  *(int *)(unaff_s0 + 0x18) = iVar5;\n                  *(int *)(unaff_s0 + 0x1c) = iVar13;\n                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);\n                  if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((int *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)) goto LAB_002752a0;\n                bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2;\n                if (bVar3) {\n                  uVar28 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                if (iVar5 != 0) {\n                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);\n                  if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);\n                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }\n                  piVar7[9] = 2;\nLAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);\n                  if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }\n                  iVar5 = piVar7[9];\n                  if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }\nLAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar26 = 0x4d7;\n                  unaff_s7 = piVar7;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (byte *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar26 = 0x491;\nLAB_002757bc:\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar12 = PTR_s_courses_003a88ec + -400;\n                piVar7 = unaff_s7;\nLAB_0027507c:\n                uVar8 = 0x1a9;\n                unaff_s7 = piVar7;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                uVar26 = 0;\n                goto LAB_00274228;\n              }\n              if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7);\n              }\n              if (unaff_s7 != (int *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7 + -0x2c) {\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar5 = 0x18;\n              do {\n                iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar13 == -1) break;\n                iVar5 = iVar5 + -1;\n              } while (iVar5 != 0);\n            } while( true );\n          }\n          uVar26 = 0x3a8;\n        }" (if "if") (parenthesized_expression "(iVar5 == 0x11)" (( "(") (binary_expression "iVar5 == 0x11" (identifier "iVar5") (== "==") (number_literal "0x11")) () ")")) (compound_statement "{\n          local_10d4 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n          if (local_10d4 == 2) {\n            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n            if (iVar5 != 0xff) {\n              uVar26 = 0x3a0;\n              goto LAB_002741b8;\n            }\n          }\n          else if (local_10d4 != 1) {\n            uVar26 = 0x3a4;\n            goto LAB_002741b8;\n          }\n          iVar5 = (int)local_108e;\n          iVar13 = (int)local_108a;\n          if ((((-1 < iVar5) && (iVar9 = (int)local_1090, -1 < iVar13)) &&\n              ((iVar22 = (int)local_108c, -1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13)))))) &&\n             (iVar9 < iVar22)) {\n            iVar23 = *(int *)(param_1 + 0x1dc);\n            *(undefined4 *)(unaff_s0 + 0x200) = 0;\n            *(int *)(unaff_s0 + 0x18) = iVar13 - iVar5;\n            *(undefined4 *)(unaff_s0 + 0x20) = 8;\n            puVar12 = PTR_LAB_003a88e0;\n            *(int *)(unaff_s0 + 0x1c) = iVar22 - iVar9;\n            uVar37 = *(undefined8 *)(puVar12 + 0x13f0);\n            *(undefined8 *)(unaff_s0 + 0x218) = uVar37;\n            *(undefined8 *)(unaff_s0 + 0x220) = uVar37;\n            if (((iVar23 != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n               (pbVar31 = unaff_s3, piVar6 = unaff_s7,\n               (*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=\n               *(uint *)(unaff_s0 + 0x26c))) goto LAB_00274430;\n            iVar5 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar13 - iVar5,iVar22 - iVar9,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            local_10c8 = PTR_LAB_003a88e0;\n            unaff_s7 = (int *)0x0;\n            local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n            unaff_s3 = (byte *)0x0;\n            local_10b8 = 0;\n            in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418);\n            in_f22_23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n            in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58);\n            local_10cc = 0;\n            local_10bc = &local_1090;\n            local_10d0 = param_1;\n            local_10d8 = param_2;\nLAB_002744b8:\n            do {\n              piVar6 = (int *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pbVar31 = local_10d0;\n              if ((piVar6 != (int *)0x0) ||\n                 (((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pbVar31;\n                unaff_s7 = piVar6;\nLAB_00274228:\n                if (local_54 == *(int *)puVar4) {\n                  return uVar26;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (int *)((uint)piVar6 & 0xffff);\n              if (unaff_s7 == (int *)0x0) {\n                unaff_s7 = (int *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (int *)0xa2) {\n                if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (int *)0x78) {\n                  if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }\n                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                  puVar12 = PTR_SetImageExtent_003a94ac;\n                  if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;\n                  iVar5 = (int)local_108a - (int)local_108e;\n                  iVar13 = (int)local_108c - (int)local_1090;\n                  *(int *)(unaff_s0 + 0x18) = iVar5;\n                  *(int *)(unaff_s0 + 0x1c) = iVar13;\n                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);\n                  if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((int *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)) goto LAB_002752a0;\n                bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2;\n                if (bVar3) {\n                  uVar28 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                if (iVar5 != 0) {\n                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);\n                  if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);\n                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }\n                  piVar7[9] = 2;\nLAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);\n                  if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }\n                  iVar5 = piVar7[9];\n                  if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }\nLAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar26 = 0x4d7;\n                  unaff_s7 = piVar7;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (byte *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar26 = 0x491;\nLAB_002757bc:\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar12 = PTR_s_courses_003a88ec + -400;\n                piVar7 = unaff_s7;\nLAB_0027507c:\n                uVar8 = 0x1a9;\n                unaff_s7 = piVar7;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                uVar26 = 0;\n                goto LAB_00274228;\n              }\n              if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7);\n              }\n              if (unaff_s7 != (int *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7 + -0x2c) {\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar5 = 0x18;\n              do {\n                iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar13 == -1) break;\n                iVar5 = iVar5 + -1;\n              } while (iVar5 != 0);\n            } while( true );\n          }\n          uVar26 = 0x3a8;\n        }" ({ "{") (expression_statement "local_10d4 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "local_10d4 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (identifier "local_10d4") (= "=") (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")")))) (; ";")) (if_statement "if (local_10d4 == 2) {\n            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n            if (iVar5 != 0xff) {\n              uVar26 = 0x3a0;\n              goto LAB_002741b8;\n            }\n          }\n          else if (local_10d4 != 1) {\n            uVar26 = 0x3a4;\n            goto LAB_002741b8;\n          }" (if "if") (parenthesized_expression "(local_10d4 == 2)" (( "(") (binary_expression "local_10d4 == 2" (identifier "local_10d4") (== "==") (number_literal "2")) () ")")) (compound_statement "{\n            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n            if (iVar5 != 0xff) {\n              uVar26 = 0x3a0;\n              goto LAB_002741b8;\n            }\n          }" ({ "{") (expression_statement "iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (identifier "iVar5") (= "=") (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")")))) (; ";")) (if_statement "if (iVar5 != 0xff) {\n              uVar26 = 0x3a0;\n              goto LAB_002741b8;\n            }" (if "if") (parenthesized_expression "(iVar5 != 0xff)" (( "(") (binary_expression "iVar5 != 0xff" (identifier "iVar5") (!= "!=") (number_literal "0xff")) () ")")) (compound_statement "{\n              uVar26 = 0x3a0;\n              goto LAB_002741b8;\n            }" ({ "{") (expression_statement "uVar26 = 0x3a0;" (assignment_expression "uVar26 = 0x3a0" (identifier "uVar26") (= "=") (number_literal "0x3a0")) (; ";")) (goto_statement "goto LAB_002741b8;" (goto "goto") (statement_identifier "LAB_002741b8") (; ";")) (} "}"))) (} "}")) (else_clause "else if (local_10d4 != 1) {\n            uVar26 = 0x3a4;\n            goto LAB_002741b8;\n          }" (else "else") (if_statement "if (local_10d4 != 1) {\n            uVar26 = 0x3a4;\n            goto LAB_002741b8;\n          }" (if "if") (parenthesized_expression "(local_10d4 != 1)" (( "(") (binary_expression "local_10d4 != 1" (identifier "local_10d4") (!= "!=") (number_literal "1")) () ")")) (compound_statement "{\n            uVar26 = 0x3a4;\n            goto LAB_002741b8;\n          }" ({ "{") (expression_statement "uVar26 = 0x3a4;" (assignment_expression "uVar26 = 0x3a4" (identifier "uVar26") (= "=") (number_literal "0x3a4")) (; ";")) (goto_statement "goto LAB_002741b8;" (goto "goto") (statement_identifier "LAB_002741b8") (; ";")) (} "}"))))) (expression_statement "iVar5 = (int)local_108e;" (assignment_expression "iVar5 = (int)local_108e" (identifier "iVar5") (= "=") (cast_expression "(int)local_108e" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_108e"))) (; ";")) (expression_statement "iVar13 = (int)local_108a;" (assignment_expression "iVar13 = (int)local_108a" (identifier "iVar13") (= "=") (cast_expression "(int)local_108a" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_108a"))) (; ";")) (if_statement "if ((((-1 < iVar5) && (iVar9 = (int)local_1090, -1 < iVar13)) &&\n              ((iVar22 = (int)local_108c, -1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13)))))) &&\n             (iVar9 < iVar22)) {\n            iVar23 = *(int *)(param_1 + 0x1dc);\n            *(undefined4 *)(unaff_s0 + 0x200) = 0;\n            *(int *)(unaff_s0 + 0x18) = iVar13 - iVar5;\n            *(undefined4 *)(unaff_s0 + 0x20) = 8;\n            puVar12 = PTR_LAB_003a88e0;\n            *(int *)(unaff_s0 + 0x1c) = iVar22 - iVar9;\n            uVar37 = *(undefined8 *)(puVar12 + 0x13f0);\n            *(undefined8 *)(unaff_s0 + 0x218) = uVar37;\n            *(undefined8 *)(unaff_s0 + 0x220) = uVar37;\n            if (((iVar23 != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n               (pbVar31 = unaff_s3, piVar6 = unaff_s7,\n               (*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=\n               *(uint *)(unaff_s0 + 0x26c))) goto LAB_00274430;\n            iVar5 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar13 - iVar5,iVar22 - iVar9,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            local_10c8 = PTR_LAB_003a88e0;\n            unaff_s7 = (int *)0x0;\n            local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n            unaff_s3 = (byte *)0x0;\n            local_10b8 = 0;\n            in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418);\n            in_f22_23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n            in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58);\n            local_10cc = 0;\n            local_10bc = &local_1090;\n            local_10d0 = param_1;\n            local_10d8 = param_2;\nLAB_002744b8:\n            do {\n              piVar6 = (int *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pbVar31 = local_10d0;\n              if ((piVar6 != (int *)0x0) ||\n                 (((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pbVar31;\n                unaff_s7 = piVar6;\nLAB_00274228:\n                if (local_54 == *(int *)puVar4) {\n                  return uVar26;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (int *)((uint)piVar6 & 0xffff);\n              if (unaff_s7 == (int *)0x0) {\n                unaff_s7 = (int *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (int *)0xa2) {\n                if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (int *)0x78) {\n                  if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }\n                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                  puVar12 = PTR_SetImageExtent_003a94ac;\n                  if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;\n                  iVar5 = (int)local_108a - (int)local_108e;\n                  iVar13 = (int)local_108c - (int)local_1090;\n                  *(int *)(unaff_s0 + 0x18) = iVar5;\n                  *(int *)(unaff_s0 + 0x1c) = iVar13;\n                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);\n                  if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((int *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)) goto LAB_002752a0;\n                bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2;\n                if (bVar3) {\n                  uVar28 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                if (iVar5 != 0) {\n                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);\n                  if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);\n                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }\n                  piVar7[9] = 2;\nLAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);\n                  if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }\n                  iVar5 = piVar7[9];\n                  if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }\nLAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar26 = 0x4d7;\n                  unaff_s7 = piVar7;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (byte *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar26 = 0x491;\nLAB_002757bc:\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar12 = PTR_s_courses_003a88ec + -400;\n                piVar7 = unaff_s7;\nLAB_0027507c:\n                uVar8 = 0x1a9;\n                unaff_s7 = piVar7;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                uVar26 = 0;\n                goto LAB_00274228;\n              }\n              if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7);\n              }\n              if (unaff_s7 != (int *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7 + -0x2c) {\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar5 = 0x18;\n              do {\n                iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar13 == -1) break;\n                iVar5 = iVar5 + -1;\n              } while (iVar5 != 0);\n            } while( true );\n          }" (if "if") (parenthesized_expression "((((-1 < iVar5) && (iVar9 = (int)local_1090, -1 < iVar13)) &&\n              ((iVar22 = (int)local_108c, -1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13)))))) &&\n             (iVar9 < iVar22))" (( "(") (binary_expression "(((-1 < iVar5) && (iVar9 = (int)local_1090, -1 < iVar13)) &&\n              ((iVar22 = (int)local_108c, -1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13)))))) &&\n             (iVar9 < iVar22)" (parenthesized_expression "(((-1 < iVar5) && (iVar9 = (int)local_1090, -1 < iVar13)) &&\n              ((iVar22 = (int)local_108c, -1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13))))))" (( "(") (binary_expression "((-1 < iVar5) && (iVar9 = (int)local_1090, -1 < iVar13)) &&\n              ((iVar22 = (int)local_108c, -1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13)))))" (parenthesized_expression "((-1 < iVar5) && (iVar9 = (int)local_1090, -1 < iVar13))" (( "(") (binary_expression "(-1 < iVar5) && (iVar9 = (int)local_1090, -1 < iVar13)" (parenthesized_expression "(-1 < iVar5)" (( "(") (binary_expression "-1 < iVar5" (number_literal "-1") (< "<") (identifier "iVar5")) () ")")) (&& "&&") (parenthesized_expression "(iVar9 = (int)local_1090, -1 < iVar13)" (( "(") (comma_expression "iVar9 = (int)local_1090, -1 < iVar13" (assignment_expression "iVar9 = (int)local_1090" (identifier "iVar9") (= "=") (cast_expression "(int)local_1090" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_1090"))) (, ",") (binary_expression "-1 < iVar13" (number_literal "-1") (< "<") (identifier "iVar13"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "((iVar22 = (int)local_108c, -1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13)))))" (( "(") (parenthesized_expression "(iVar22 = (int)local_108c, -1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13))))" (( "(") (comma_expression "iVar22 = (int)local_108c, -1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13)))" (assignment_expression "iVar22 = (int)local_108c" (identifier "iVar22") (= "=") (cast_expression "(int)local_108c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_108c"))) (, ",") (binary_expression "-1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13)))" (binary_expression "-1 < iVar9" (number_literal "-1") (< "<") (identifier "iVar9")) (&& "&&") (parenthesized_expression "((-1 < iVar22 && (iVar5 < iVar13)))" (( "(") (parenthesized_expression "(-1 < iVar22 && (iVar5 < iVar13))" (( "(") (binary_expression "-1 < iVar22 && (iVar5 < iVar13)" (binary_expression "-1 < iVar22" (number_literal "-1") (< "<") (identifier "iVar22")) (&& "&&") (parenthesized_expression "(iVar5 < iVar13)" (( "(") (binary_expression "iVar5 < iVar13" (identifier "iVar5") (< "<") (identifier "iVar13")) () ")"))) () ")")) () ")")))) () ")")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(iVar9 < iVar22)" (( "(") (binary_expression "iVar9 < iVar22" (identifier "iVar9") (< "<") (identifier "iVar22")) () ")"))) () ")")) (compound_statement "{\n            iVar23 = *(int *)(param_1 + 0x1dc);\n            *(undefined4 *)(unaff_s0 + 0x200) = 0;\n            *(int *)(unaff_s0 + 0x18) = iVar13 - iVar5;\n            *(undefined4 *)(unaff_s0 + 0x20) = 8;\n            puVar12 = PTR_LAB_003a88e0;\n            *(int *)(unaff_s0 + 0x1c) = iVar22 - iVar9;\n            uVar37 = *(undefined8 *)(puVar12 + 0x13f0);\n            *(undefined8 *)(unaff_s0 + 0x218) = uVar37;\n            *(undefined8 *)(unaff_s0 + 0x220) = uVar37;\n            if (((iVar23 != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n               (pbVar31 = unaff_s3, piVar6 = unaff_s7,\n               (*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=\n               *(uint *)(unaff_s0 + 0x26c))) goto LAB_00274430;\n            iVar5 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar13 - iVar5,iVar22 - iVar9,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,param_2);\n            if (iVar5 == 0) goto LAB_002743d4;\n            local_10c8 = PTR_LAB_003a88e0;\n            unaff_s7 = (int *)0x0;\n            local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n            unaff_s3 = (byte *)0x0;\n            local_10b8 = 0;\n            in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418);\n            in_f22_23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n            in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58);\n            local_10cc = 0;\n            local_10bc = &local_1090;\n            local_10d0 = param_1;\n            local_10d8 = param_2;\nLAB_002744b8:\n            do {\n              piVar6 = (int *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pbVar31 = local_10d0;\n              if ((piVar6 != (int *)0x0) ||\n                 (((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pbVar31;\n                unaff_s7 = piVar6;\nLAB_00274228:\n                if (local_54 == *(int *)puVar4) {\n                  return uVar26;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (int *)((uint)piVar6 & 0xffff);\n              if (unaff_s7 == (int *)0x0) {\n                unaff_s7 = (int *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (int *)0xa2) {\n                if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (int *)0x78) {\n                  if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }\n                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                  puVar12 = PTR_SetImageExtent_003a94ac;\n                  if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;\n                  iVar5 = (int)local_108a - (int)local_108e;\n                  iVar13 = (int)local_108c - (int)local_1090;\n                  *(int *)(unaff_s0 + 0x18) = iVar5;\n                  *(int *)(unaff_s0 + 0x1c) = iVar13;\n                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);\n                  if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((int *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)) goto LAB_002752a0;\n                bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2;\n                if (bVar3) {\n                  uVar28 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                if (iVar5 != 0) {\n                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);\n                  if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);\n                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }\n                  piVar7[9] = 2;\nLAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);\n                  if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }\n                  iVar5 = piVar7[9];\n                  if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }\nLAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar26 = 0x4d7;\n                  unaff_s7 = piVar7;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (byte *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar26 = 0x491;\nLAB_002757bc:\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar12 = PTR_s_courses_003a88ec + -400;\n                piVar7 = unaff_s7;\nLAB_0027507c:\n                uVar8 = 0x1a9;\n                unaff_s7 = piVar7;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                uVar26 = 0;\n                goto LAB_00274228;\n              }\n              if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7);\n              }\n              if (unaff_s7 != (int *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7 + -0x2c) {\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar5 = 0x18;\n              do {\n                iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar13 == -1) break;\n                iVar5 = iVar5 + -1;\n              } while (iVar5 != 0);\n            } while( true );\n          }" ({ "{") (expression_statement "iVar23 = *(int *)(param_1 + 0x1dc);" (assignment_expression "iVar23 = *(int *)(param_1 + 0x1dc)" (identifier "iVar23") (= "=") (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")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(unaff_s0 + 0x200) = 0;" (assignment_expression "*(undefined4 *)(unaff_s0 + 0x200) = 0" (pointer_expression "*(undefined4 *)(unaff_s0 + 0x200)" (* "*") (cast_expression "(undefined4 *)(unaff_s0 + 0x200)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s0 + 0x200)" (( "(") (binary_expression "unaff_s0 + 0x200" (identifier "unaff_s0") (+ "+") (number_literal "0x200")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(int *)(unaff_s0 + 0x18) = iVar13 - iVar5;" (assignment_expression "*(int *)(unaff_s0 + 0x18) = iVar13 - iVar5" (pointer_expression "*(int *)(unaff_s0 + 0x18)" (* "*") (cast_expression "(int *)(unaff_s0 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s0 + 0x18)" (( "(") (binary_expression "unaff_s0 + 0x18" (identifier "unaff_s0") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (binary_expression "iVar13 - iVar5" (identifier "iVar13") (- "-") (identifier "iVar5"))) (; ";")) (expression_statement "*(undefined4 *)(unaff_s0 + 0x20) = 8;" (assignment_expression "*(undefined4 *)(unaff_s0 + 0x20) = 8" (pointer_expression "*(undefined4 *)(unaff_s0 + 0x20)" (* "*") (cast_expression "(undefined4 *)(unaff_s0 + 0x20)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s0 + 0x20)" (( "(") (binary_expression "unaff_s0 + 0x20" (identifier "unaff_s0") (+ "+") (number_literal "0x20")) () ")")))) (= "=") (number_literal "8")) (; ";")) (expression_statement "puVar12 = PTR_LAB_003a88e0;" (assignment_expression "puVar12 = PTR_LAB_003a88e0" (identifier "puVar12") (= "=") (identifier "PTR_LAB_003a88e0")) (; ";")) (expression_statement "*(int *)(unaff_s0 + 0x1c) = iVar22 - iVar9;" (assignment_expression "*(int *)(unaff_s0 + 0x1c) = iVar22 - iVar9" (pointer_expression "*(int *)(unaff_s0 + 0x1c)" (* "*") (cast_expression "(int *)(unaff_s0 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s0 + 0x1c)" (( "(") (binary_expression "unaff_s0 + 0x1c" (identifier "unaff_s0") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (binary_expression "iVar22 - iVar9" (identifier "iVar22") (- "-") (identifier "iVar9"))) (; ";")) (expression_statement "uVar37 = *(undefined8 *)(puVar12 + 0x13f0);" (assignment_expression "uVar37 = *(undefined8 *)(puVar12 + 0x13f0)" (identifier "uVar37") (= "=") (pointer_expression "*(undefined8 *)(puVar12 + 0x13f0)" (* "*") (cast_expression "(undefined8 *)(puVar12 + 0x13f0)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar12 + 0x13f0)" (( "(") (binary_expression "puVar12 + 0x13f0" (identifier "puVar12") (+ "+") (number_literal "0x13f0")) () ")"))))) (; ";")) (expression_statement "*(undefined8 *)(unaff_s0 + 0x218) = uVar37;" (assignment_expression "*(undefined8 *)(unaff_s0 + 0x218) = uVar37" (pointer_expression "*(undefined8 *)(unaff_s0 + 0x218)" (* "*") (cast_expression "(undefined8 *)(unaff_s0 + 0x218)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s0 + 0x218)" (( "(") (binary_expression "unaff_s0 + 0x218" (identifier "unaff_s0") (+ "+") (number_literal "0x218")) () ")")))) (= "=") (identifier "uVar37")) (; ";")) (expression_statement "*(undefined8 *)(unaff_s0 + 0x220) = uVar37;" (assignment_expression "*(undefined8 *)(unaff_s0 + 0x220) = uVar37" (pointer_expression "*(undefined8 *)(unaff_s0 + 0x220)" (* "*") (cast_expression "(undefined8 *)(unaff_s0 + 0x220)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s0 + 0x220)" (( "(") (binary_expression "unaff_s0 + 0x220" (identifier "unaff_s0") (+ "+") (number_literal "0x220")) () ")")))) (= "=") (identifier "uVar37")) (; ";")) (if_statement "if (((iVar23 != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n               (pbVar31 = unaff_s3, piVar6 = unaff_s7,\n               (*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=\n               *(uint *)(unaff_s0 + 0x26c))) goto LAB_00274430;" (if "if") (parenthesized_expression "(((iVar23 != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n               (pbVar31 = unaff_s3, piVar6 = unaff_s7,\n               (*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=\n               *(uint *)(unaff_s0 + 0x26c)))" (( "(") (binary_expression "((iVar23 != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n               (pbVar31 = unaff_s3, piVar6 = unaff_s7,\n               (*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=\n               *(uint *)(unaff_s0 + 0x26c))" (parenthesized_expression "((iVar23 != 0) && (*(int *)(param_1 + 0x2c) != 0))" (( "(") (binary_expression "(iVar23 != 0) && (*(int *)(param_1 + 0x2c) != 0)" (parenthesized_expression "(iVar23 != 0)" (( "(") (binary_expression "iVar23 != 0" (identifier "iVar23") (!= "!=") (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 "(pbVar31 = unaff_s3, piVar6 = unaff_s7,\n               (*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=\n               *(uint *)(unaff_s0 + 0x26c))" (( "(") (comma_expression "pbVar31 = unaff_s3, piVar6 = unaff_s7,\n               (*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=\n               *(uint *)(unaff_s0 + 0x26c)" (assignment_expression "pbVar31 = unaff_s3" (identifier "pbVar31") (= "=") (identifier "unaff_s3")) (, ",") (comma_expression "piVar6 = unaff_s7,\n               (*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=\n               *(uint *)(unaff_s0 + 0x26c)" (assignment_expression "piVar6 = unaff_s7" (identifier "piVar6") (= "=") (identifier "unaff_s7")) (, ",") (binary_expression "(*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=\n               *(uint *)(unaff_s0 + 0x26c)" (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")) (<= "<=") (pointer_expression "*(uint *)(unaff_s0 + 0x26c)" (* "*") (cast_expression "(uint *)(unaff_s0 + 0x26c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s0 + 0x26c)" (( "(") (binary_expression "unaff_s0 + 0x26c" (identifier "unaff_s0") (+ "+") (number_literal "0x26c")) () ")"))))))) () ")"))) () ")")) (goto_statement "goto LAB_00274430;" (goto "goto") (statement_identifier "LAB_00274430") (; ";"))) (expression_statement "iVar5 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar13 - iVar5,iVar22 - iVar9,param_2);" (assignment_expression "iVar5 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar13 - iVar5,iVar22 - iVar9,param_2)" (identifier "iVar5") (= "=") (call_expression "(*(code *)PTR_SetImageExtent_003a94ac)\n                              (unaff_s0,iVar13 - iVar5,iVar22 - iVar9,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 "(unaff_s0,iVar13 - iVar5,iVar22 - iVar9,param_2)" (( "(") (identifier "unaff_s0") (, ",") (binary_expression "iVar13 - iVar5" (identifier "iVar13") (- "-") (identifier "iVar5")) (, ",") (binary_expression "iVar22 - iVar9" (identifier "iVar22") (- "-") (identifier "iVar9")) (, ",") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (iVar5 == 0) goto LAB_002743d4;" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_002743d4;" (goto "goto") (statement_identifier "LAB_002743d4") (; ";"))) (expression_statement "iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,param_2);" (assignment_expression "iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,param_2)" (identifier "iVar5") (= "=") (call_expression "(*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,param_2)" (parenthesized_expression "(*(code *)PTR_ResetImagePixels_003a9334)" (( "(") (pointer_expression "*(code *)PTR_ResetImagePixels_003a9334" (* "*") (cast_expression "(code *)PTR_ResetImagePixels_003a9334" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ResetImagePixels_003a9334"))) () ")")) (argument_list "(unaff_s0,param_2)" (( "(") (identifier "unaff_s0") (, ",") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (iVar5 == 0) goto LAB_002743d4;" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_002743d4;" (goto "goto") (statement_identifier "LAB_002743d4") (; ";"))) (expression_statement "local_10c8 = PTR_LAB_003a88e0;" (assignment_expression "local_10c8 = PTR_LAB_003a88e0" (identifier "local_10c8") (= "=") (identifier "PTR_LAB_003a88e0")) (; ";")) (expression_statement "unaff_s7 = (int *)0x0;" (assignment_expression "unaff_s7 = (int *)0x0" (identifier "unaff_s7") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;" (assignment_expression "local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8" (identifier "local_10ac") (= "=") (identifier "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8")) (; ";")) (expression_statement "unaff_s3 = (byte *)0x0;" (assignment_expression "unaff_s3 = (byte *)0x0" (identifier "unaff_s3") (= "=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "local_10b8 = 0;" (assignment_expression "local_10b8 = 0" (identifier "local_10b8") (= "=") (number_literal "0")) (; ";")) (expression_statement "in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418);" (assignment_expression "in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418)" (identifier "in_f24_25") (= "=") (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1418)" (* "*") (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1418)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1418)" (( "(") (binary_expression "PTR_LAB_003a88e0 + 0x1418" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x1418")) () ")"))))) (; ";")) (expression_statement "in_f22_23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);" (assignment_expression "in_f22_23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" (identifier "in_f22_23") (= "=") (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 "in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58);" (assignment_expression "in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58)" (identifier "in_f20_21") (= "=") (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1a58)" (* "*") (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1a58)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1a58)" (( "(") (binary_expression "PTR_LAB_003a88e0 + 0x1a58" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x1a58")) () ")"))))) (; ";")) (expression_statement "local_10cc = 0;" (assignment_expression "local_10cc = 0" (identifier "local_10cc") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_10bc = &local_1090;" (assignment_expression "local_10bc = &local_1090" (identifier "local_10bc") (= "=") (pointer_expression "&local_1090" (& "&") (identifier "local_1090"))) (; ";")) (expression_statement "local_10d0 = param_1;" (assignment_expression "local_10d0 = param_1" (identifier "local_10d0") (= "=") (identifier "param_1")) (; ";")) (expression_statement "local_10d8 = param_2;" (assignment_expression "local_10d8 = param_2" (identifier "local_10d8") (= "=") (identifier "param_2")) (; ";")) (labeled_statement "LAB_002744b8:\n            do {\n              piVar6 = (int *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pbVar31 = local_10d0;\n              if ((piVar6 != (int *)0x0) ||\n                 (((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pbVar31;\n                unaff_s7 = piVar6;\nLAB_00274228:\n                if (local_54 == *(int *)puVar4) {\n                  return uVar26;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (int *)((uint)piVar6 & 0xffff);\n              if (unaff_s7 == (int *)0x0) {\n                unaff_s7 = (int *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (int *)0xa2) {\n                if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (int *)0x78) {\n                  if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }\n                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                  puVar12 = PTR_SetImageExtent_003a94ac;\n                  if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;\n                  iVar5 = (int)local_108a - (int)local_108e;\n                  iVar13 = (int)local_108c - (int)local_1090;\n                  *(int *)(unaff_s0 + 0x18) = iVar5;\n                  *(int *)(unaff_s0 + 0x1c) = iVar13;\n                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);\n                  if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((int *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)) goto LAB_002752a0;\n                bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2;\n                if (bVar3) {\n                  uVar28 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                if (iVar5 != 0) {\n                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);\n                  if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);\n                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }\n                  piVar7[9] = 2;\nLAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);\n                  if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }\n                  iVar5 = piVar7[9];\n                  if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }\nLAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar26 = 0x4d7;\n                  unaff_s7 = piVar7;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (byte *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar26 = 0x491;\nLAB_002757bc:\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar12 = PTR_s_courses_003a88ec + -400;\n                piVar7 = unaff_s7;\nLAB_0027507c:\n                uVar8 = 0x1a9;\n                unaff_s7 = piVar7;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                uVar26 = 0;\n                goto LAB_00274228;\n              }\n              if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7);\n              }\n              if (unaff_s7 != (int *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7 + -0x2c) {\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar5 = 0x18;\n              do {\n                iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar13 == -1) break;\n                iVar5 = iVar5 + -1;\n              } while (iVar5 != 0);\n            } while( true );" (statement_identifier "LAB_002744b8") (: ":") (do_statement "do {\n              piVar6 = (int *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pbVar31 = local_10d0;\n              if ((piVar6 != (int *)0x0) ||\n                 (((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pbVar31;\n                unaff_s7 = piVar6;\nLAB_00274228:\n                if (local_54 == *(int *)puVar4) {\n                  return uVar26;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (int *)((uint)piVar6 & 0xffff);\n              if (unaff_s7 == (int *)0x0) {\n                unaff_s7 = (int *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (int *)0xa2) {\n                if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (int *)0x78) {\n                  if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }\n                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                  puVar12 = PTR_SetImageExtent_003a94ac;\n                  if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;\n                  iVar5 = (int)local_108a - (int)local_108e;\n                  iVar13 = (int)local_108c - (int)local_1090;\n                  *(int *)(unaff_s0 + 0x18) = iVar5;\n                  *(int *)(unaff_s0 + 0x1c) = iVar13;\n                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);\n                  if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((int *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)) goto LAB_002752a0;\n                bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2;\n                if (bVar3) {\n                  uVar28 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                if (iVar5 != 0) {\n                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);\n                  if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);\n                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }\n                  piVar7[9] = 2;\nLAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);\n                  if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }\n                  iVar5 = piVar7[9];\n                  if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }\nLAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar26 = 0x4d7;\n                  unaff_s7 = piVar7;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (byte *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar26 = 0x491;\nLAB_002757bc:\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar12 = PTR_s_courses_003a88ec + -400;\n                piVar7 = unaff_s7;\nLAB_0027507c:\n                uVar8 = 0x1a9;\n                unaff_s7 = piVar7;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                uVar26 = 0;\n                goto LAB_00274228;\n              }\n              if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7);\n              }\n              if (unaff_s7 != (int *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7 + -0x2c) {\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar5 = 0x18;\n              do {\n                iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar13 == -1) break;\n                iVar5 = iVar5 + -1;\n              } while (iVar5 != 0);\n            } while( true );" (do "do") (compound_statement "{\n              piVar6 = (int *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n              pbVar31 = local_10d0;\n              if ((piVar6 != (int *)0x0) ||\n                 (((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pbVar31;\n                unaff_s7 = piVar6;\nLAB_00274228:\n                if (local_54 == *(int *)puVar4) {\n                  return uVar26;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }\n              if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }\n              if (local_10d4 == 2) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }\n              unaff_s7 = (int *)((uint)piVar6 & 0xffff);\n              if (unaff_s7 == (int *)0x0) {\n                unaff_s7 = (int *)0x0;\n                goto LAB_002744b8;\n              }\n              if (unaff_s7 < (int *)0xa2) {\n                if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (int *)0x78) {\n                  if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }\n                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                  puVar12 = PTR_SetImageExtent_003a94ac;\n                  if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;\n                  iVar5 = (int)local_108a - (int)local_108e;\n                  iVar13 = (int)local_108c - (int)local_1090;\n                  *(int *)(unaff_s0 + 0x18) = iVar5;\n                  *(int *)(unaff_s0 + 0x1c) = iVar13;\n                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);\n                  if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((int *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)) goto LAB_002752a0;\n                bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2;\n                if (bVar3) {\n                  uVar28 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                if (iVar5 != 0) {\n                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);\n                  if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);\n                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }\n                  piVar7[9] = 2;\nLAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);\n                  if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }\n                  iVar5 = piVar7[9];\n                  if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }\nLAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar26 = 0x4d7;\n                  unaff_s7 = piVar7;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (byte *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar26 = 0x491;\nLAB_002757bc:\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar12 = PTR_s_courses_003a88ec + -400;\n                piVar7 = unaff_s7;\nLAB_0027507c:\n                uVar8 = 0x1a9;\n                unaff_s7 = piVar7;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                uVar26 = 0;\n                goto LAB_00274228;\n              }\n              if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7);\n              }\n              if (unaff_s7 != (int *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7 + -0x2c) {\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }\n              iVar5 = 0x18;\n              do {\n                iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar13 == -1) break;\n                iVar5 = iVar5 + -1;\n              } while (iVar5 != 0);\n            }" ({ "{") (expression_statement "piVar6 = (int *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);" (assignment_expression "piVar6 = (int *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0)" (identifier "piVar6") (= "=") (cast_expression "(int *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_EOFBlob_003a9748)(unaff_s0)" (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 "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")"))))) (; ";")) (expression_statement "pbVar31 = local_10d0;" (assignment_expression "pbVar31 = local_10d0" (identifier "pbVar31") (= "=") (identifier "local_10d0")) (; ";")) (if_statement "if ((piVar6 != (int *)0x0) ||\n                 (((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))))) {\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pbVar31;\n                unaff_s7 = piVar6;\nLAB_00274228:\n                if (local_54 == *(int *)puVar4) {\n                  return uVar26;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }" (if "if") (parenthesized_expression "((piVar6 != (int *)0x0) ||\n                 (((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c)))))" (( "(") (binary_expression "(piVar6 != (int *)0x0) ||\n                 (((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))))" (parenthesized_expression "(piVar6 != (int *)0x0)" (( "(") (binary_expression "piVar6 != (int *)0x0" (identifier "piVar6") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (|| "||") (parenthesized_expression "(((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))))" (( "(") (parenthesized_expression "((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c)))" (( "(") (binary_expression "(*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&\n                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))" (parenthesized_expression "(*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0))" (( "(") (binary_expression "*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)" (binary_expression "*(int *)(local_10d0 + 0x1dc) != 0" (pointer_expression "*(int *)(local_10d0 + 0x1dc)" (* "*") (cast_expression "(int *)(local_10d0 + 0x1dc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_10d0 + 0x1dc)" (( "(") (binary_expression "local_10d0 + 0x1dc" (identifier "local_10d0") (+ "+") (number_literal "0x1dc")) () ")")))) (!= "!=") (number_literal "0")) (&& "&&") (parenthesized_expression "(*(int *)(local_10d0 + 0x2c) != 0)" (( "(") (binary_expression "*(int *)(local_10d0 + 0x2c) != 0" (pointer_expression "*(int *)(local_10d0 + 0x2c)" (* "*") (cast_expression "(int *)(local_10d0 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_10d0 + 0x2c)" (( "(") (binary_expression "local_10d0 + 0x2c" (identifier "local_10d0") (+ "+") (number_literal "0x2c")) () ")")))) (!= "!=") (number_literal "0")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c))" (( "(") (binary_expression "(*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=\n                   *(uint *)(unaff_s0 + 0x26c)" (binary_expression "(*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U" (parenthesized_expression "(*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28))" (( "(") (binary_expression "*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)" (pointer_expression "*(int *)(local_10d0 + 0x2c)" (* "*") (cast_expression "(int *)(local_10d0 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_10d0 + 0x2c)" (( "(") (binary_expression "local_10d0 + 0x2c" (identifier "local_10d0") (+ "+") (number_literal "0x2c")) () ")")))) (+ "+") (pointer_expression "*(int *)(local_10d0 + 0x28)" (* "*") (cast_expression "(int *)(local_10d0 + 0x28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_10d0 + 0x28)" (( "(") (binary_expression "local_10d0 + 0x28" (identifier "local_10d0") (+ "+") (number_literal "0x28")) () ")"))))) () ")")) (- "-") (number_literal "1U")) (<= "<=") (pointer_expression "*(uint *)(unaff_s0 + 0x26c)" (* "*") (cast_expression "(uint *)(unaff_s0 + 0x26c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s0 + 0x26c)" (( "(") (binary_expression "unaff_s0 + 0x26c" (identifier "unaff_s0") (+ "+") (number_literal "0x26c")) () ")"))))) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\nLAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);\n                unaff_s3 = pbVar31;\n                unaff_s7 = piVar6;\nLAB_00274228:\n                if (local_54 == *(int *)puVar4) {\n                  return uVar26;\n                }\nLAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();\n                goto LAB_002744b8;\n              }" ({ "{") (labeled_statement "LAB_00274430:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);" (statement_identifier "LAB_00274430") (: ":") (expression_statement "(*(code *)PTR_CloseBlob_003a9688)(unaff_s0);" (call_expression "(*(code *)PTR_CloseBlob_003a9688)(unaff_s0)" (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 "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")"))) (; ";"))) (expression_statement "uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);" (assignment_expression "uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0)" (identifier "uVar26") (= "=") (call_expression "(*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0)" (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 "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")")))) (; ";")) (expression_statement "unaff_s3 = pbVar31;" (assignment_expression "unaff_s3 = pbVar31" (identifier "unaff_s3") (= "=") (identifier "pbVar31")) (; ";")) (expression_statement "unaff_s7 = piVar6;" (assignment_expression "unaff_s7 = piVar6" (identifier "unaff_s7") (= "=") (identifier "piVar6")) (; ";")) (labeled_statement "LAB_00274228:\n                if (local_54 == *(int *)puVar4) {\n                  return uVar26;\n                }" (statement_identifier "LAB_00274228") (: ":") (if_statement "if (local_54 == *(int *)puVar4) {\n                  return uVar26;\n                }" (if "if") (parenthesized_expression "(local_54 == *(int *)puVar4)" (( "(") (binary_expression "local_54 == *(int *)puVar4" (identifier "local_54") (== "==") (pointer_expression "*(int *)puVar4" (* "*") (cast_expression "(int *)puVar4" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar4")))) () ")")) (compound_statement "{\n                  return uVar26;\n                }" ({ "{") (return_statement "return uVar26;" (return "return") (identifier "uVar26") (; ";")) (} "}")))) (labeled_statement "LAB_00275e90:\n                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();" (statement_identifier "LAB_00275e90") (: ":") (expression_statement "local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();" (assignment_expression "local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)()" (identifier "local_10b8") (= "=") (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 "()" (( "(") () ")")))) (; ";"))) (goto_statement "goto LAB_002744b8;" (goto "goto") (statement_identifier "LAB_002744b8") (; ";")) (} "}"))) (if_statement "if ((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0)) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }" (if "if") (parenthesized_expression "((local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0))" (( "(") (binary_expression "(local_10d4 == 1) ||\n                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0)" (parenthesized_expression "(local_10d4 == 1)" (( "(") (binary_expression "local_10d4 == 1" (identifier "local_10d4") (== "==") (number_literal "1")) () ")")) (|| "||") (parenthesized_expression "((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0)" (( "(") (comma_expression "(*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0" (call_expression "(*(code *)PTR_TellBlob_003a931c)(unaff_s0)" (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 "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")"))) (, ",") (comma_expression "piVar6 = unaff_s7,\n                 (extraout_v1 & 1) != 0" (assignment_expression "piVar6 = unaff_s7" (identifier "piVar6") (= "=") (identifier "unaff_s7")) (, ",") (binary_expression "(extraout_v1 & 1) != 0" (parenthesized_expression "(extraout_v1 & 1)" (( "(") (binary_expression "extraout_v1 & 1" (identifier "extraout_v1") (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")))) () ")"))) () ")")) (compound_statement "{\n                piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n              }" ({ "{") (expression_statement "piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (identifier "piVar6") (= "=") (cast_expression "(int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")"))))) (; ";")) (} "}"))) (if_statement "if (local_10d4 == 2) {\n                piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }" (if "if") (parenthesized_expression "(local_10d4 == 2)" (( "(") (binary_expression "local_10d4 == 2" (identifier "local_10d4") (== "==") (number_literal "2")) () ")")) (compound_statement "{\n                piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);\n              }" ({ "{") (expression_statement "piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);" (assignment_expression "piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0)" (identifier "piVar6") (= "=") (cast_expression "(int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)" (( "(") (pointer_expression "*(code *)PTR_ReadBlobMSBSignedShort_003a9600" (* "*") (cast_expression "(code *)PTR_ReadBlobMSBSignedShort_003a9600" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ReadBlobMSBSignedShort_003a9600"))) () ")")) (argument_list "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")"))))) (; ";")) (} "}"))) (expression_statement "unaff_s7 = (int *)((uint)piVar6 & 0xffff);" (assignment_expression "unaff_s7 = (int *)((uint)piVar6 & 0xffff)" (identifier "unaff_s7") (= "=") (cast_expression "(int *)((uint)piVar6 & 0xffff)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((uint)piVar6 & 0xffff)" (( "(") (binary_expression "(uint)piVar6 & 0xffff" (cast_expression "(uint)piVar6" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "piVar6")) (& "&") (number_literal "0xffff")) () ")")))) (; ";")) (if_statement "if (unaff_s7 == (int *)0x0) {\n                unaff_s7 = (int *)0x0;\n                goto LAB_002744b8;\n              }" (if "if") (parenthesized_expression "(unaff_s7 == (int *)0x0)" (( "(") (binary_expression "unaff_s7 == (int *)0x0" (identifier "unaff_s7") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                unaff_s7 = (int *)0x0;\n                goto LAB_002744b8;\n              }" ({ "{") (expression_statement "unaff_s7 = (int *)0x0;" (assignment_expression "unaff_s7 = (int *)0x0" (identifier "unaff_s7") (= "=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (goto_statement "goto LAB_002744b8;" (goto "goto") (statement_identifier "LAB_002744b8") (; ";")) (} "}"))) (if_statement "if (unaff_s7 < (int *)0xa2) {\n                if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (int *)0x78) {\n                  if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }\n                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                  puVar12 = PTR_SetImageExtent_003a94ac;\n                  if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;\n                  iVar5 = (int)local_108a - (int)local_108e;\n                  iVar13 = (int)local_108c - (int)local_1090;\n                  *(int *)(unaff_s0 + 0x18) = iVar5;\n                  *(int *)(unaff_s0 + 0x1c) = iVar13;\n                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);\n                  if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((int *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)) goto LAB_002752a0;\n                bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2;\n                if (bVar3) {\n                  uVar28 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                if (iVar5 != 0) {\n                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);\n                  if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);\n                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }\n                  piVar7[9] = 2;\nLAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);\n                  if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }\n                  iVar5 = piVar7[9];\n                  if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }\nLAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar26 = 0x4d7;\n                  unaff_s7 = piVar7;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (byte *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar26 = 0x491;\nLAB_002757bc:\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar12 = PTR_s_courses_003a88ec + -400;\n                piVar7 = unaff_s7;\nLAB_0027507c:\n                uVar8 = 0x1a9;\n                unaff_s7 = piVar7;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                uVar26 = 0;\n                goto LAB_00274228;\n              }" (if "if") (parenthesized_expression "(unaff_s7 < (int *)0xa2)" (( "(") (binary_expression "unaff_s7 < (int *)0xa2" (identifier "unaff_s7") (< "<") (cast_expression "(int *)0xa2" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0xa2"))) () ")")) (compound_statement "{\n                if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }\n                if (unaff_s7 < (int *)0x78) {\n                  if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }\n                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                  puVar12 = PTR_SetImageExtent_003a94ac;\n                  if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;\n                  iVar5 = (int)local_108a - (int)local_108e;\n                  iVar13 = (int)local_108c - (int)local_1090;\n                  *(int *)(unaff_s0 + 0x18) = iVar5;\n                  *(int *)(unaff_s0 + 0x1c) = iVar13;\n                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);\n                  if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }\n                if ((int *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }\n                  goto LAB_00274584;\n                }\n                if ((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)) goto LAB_002752a0;\n                bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2;\n                if (bVar3) {\n                  uVar28 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }\n                iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                if (iVar5 != 0) {\n                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);\n                  if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);\n                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }\n                  piVar7[9] = 2;\nLAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);\n                  if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }\n                  iVar5 = piVar7[9];\n                  if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }\nLAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar26 = 0x4d7;\n                  unaff_s7 = piVar7;\n                  goto LAB_00275880;\n                }\n                if (unaff_s3 != (byte *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }\n                if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }\n                uVar26 = 0x491;\nLAB_002757bc:\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                puVar12 = PTR_s_courses_003a88ec + -400;\n                piVar7 = unaff_s7;\nLAB_0027507c:\n                uVar8 = 0x1a9;\n                unaff_s7 = piVar7;\nLAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);\nLAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);\n                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\nLAB_00274224:\n                uVar26 = 0;\n                goto LAB_00274228;\n              }" ({ "{") (if_statement "if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }" (if "if") (parenthesized_expression "(*(int *)(unaff_s0 + 0x3350) != 0)" (( "(") (binary_expression "*(int *)(unaff_s0 + 0x3350) != 0" (pointer_expression "*(int *)(unaff_s0 + 0x3350)" (* "*") (cast_expression "(int *)(unaff_s0 + 0x3350)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s0 + 0x3350)" (( "(") (binary_expression "unaff_s0 + 0x3350" (identifier "unaff_s0") (+ "+") (number_literal "0x3350")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                  (*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));\n                }" ({ "{") (expression_statement "(*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));" (call_expression "(*(code *)PTR_LogMagickEvent_003a91e0)\n                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8))" (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 "(0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,\n                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,\n                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),\n                             *(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8))" (( "(") (number_literal "0x10") (, ",") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "-0x3d60")) (, ",") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "-0x3dbc")) (, ",") (number_literal "0x3d8") (, ",") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "-0x3d24")) (, ",") (identifier "unaff_s7") (, ",") (pointer_expression "*(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c)" (* "*") (cast_expression "(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c)" (( "(") (binary_expression "PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c" (binary_expression "PTR_DAT_003a8948 + (int)unaff_s7 * 0xc" (identifier "PTR_DAT_003a8948") (+ "+") (binary_expression "(int)unaff_s7 * 0xc" (cast_expression "(int)unaff_s7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "unaff_s7")) (* "*") (number_literal "0xc"))) (+ "+") (number_literal "0x584c")) () ")")))) (, ",") (pointer_expression "*(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8)" (* "*") (cast_expression "(undefined4 *)\n                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8)" (( "(") (binary_expression "(int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8" (cast_expression "(int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c)" (( "(") (binary_expression "PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c" (binary_expression "PTR_DAT_003a8948 + (int)unaff_s7 * 0xc" (identifier "PTR_DAT_003a8948") (+ "+") (binary_expression "(int)unaff_s7 * 0xc" (cast_expression "(int)unaff_s7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "unaff_s7")) (* "*") (number_literal "0xc"))) (+ "+") (number_literal "0x584c")) () ")"))) (+ "+") (number_literal "8")) () ")")))) () ")"))) (; ";")) (} "}"))) (if_statement "if (unaff_s7 < (int *)0x78) {\n                  if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }\n                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                  puVar12 = PTR_SetImageExtent_003a94ac;\n                  if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;\n                  iVar5 = (int)local_108a - (int)local_108e;\n                  iVar13 = (int)local_108c - (int)local_1090;\n                  *(int *)(unaff_s0 + 0x18) = iVar5;\n                  *(int *)(unaff_s0 + 0x1c) = iVar13;\n                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);\n                  if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }" (if "if") (parenthesized_expression "(unaff_s7 < (int *)0x78)" (( "(") (binary_expression "unaff_s7 < (int *)0x78" (identifier "unaff_s7") (< "<") (cast_expression "(int *)0x78" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x78"))) () ")")) (compound_statement "{\n                  if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }\n                  if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }\n                  if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }\n                  if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }\n                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                  puVar12 = PTR_SetImageExtent_003a94ac;\n                  if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }\n                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;\n                  iVar5 = (int)local_108a - (int)local_108e;\n                  iVar13 = (int)local_108c - (int)local_1090;\n                  *(int *)(unaff_s0 + 0x18) = iVar5;\n                  *(int *)(unaff_s0 + 0x1c) = iVar13;\n                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);\n                  if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;\nLAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);\n                  goto LAB_00274228;\n                }" ({ "{") (if_statement "if ((int *)0x6f < unaff_s7) {\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }" (if "if") (parenthesized_expression "((int *)0x6f < unaff_s7)" (( "(") (binary_expression "(int *)0x6f < unaff_s7" (cast_expression "(int *)0x6f" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x6f")) (< "<") (identifier "unaff_s7")) () ")")) (compound_statement "{\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }\n                    iVar5 = 0;\n                    if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }\n                    goto LAB_00274584;\n                  }" ({ "{") (expression_statement "uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (assignment_expression "uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (identifier "uVar28") (= "=") (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" (( "(") (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" (* "*") (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ReadBlobMSBShort_003a9160"))) () ")")) (argument_list "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")")))) (; ";")) (expression_statement "uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);" (assignment_expression "uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" (identifier "uVar37") (= "=") (call_expression "(*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" (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 "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")")))) (; ";")) (if_statement "if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }" (if "if") (parenthesized_expression "(((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28))" (( "(") (binary_expression "((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)" (parenthesized_expression "((int)((ulonglong)uVar37 >> 0x20) == 0)" (( "(") (binary_expression "(int)((ulonglong)uVar37 >> 0x20) == 0" (cast_expression "(int)((ulonglong)uVar37 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)uVar37 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar37 >> 0x20" (cast_expression "(ulonglong)uVar37" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar37")) (>> ">>") (number_literal "0x20")) () ")"))) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((uint)uVar37 < uVar28)" (( "(") (binary_expression "(uint)uVar37 < uVar28" (cast_expression "(uint)uVar37" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "uVar37")) (< "<") (identifier "uVar28")) () ")"))) () ")")) (compound_statement "{\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x467;\n                      goto LAB_00275880;\n                    }" ({ "{") (if_statement "if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }" (if "if") (parenthesized_expression "(unaff_s3 != (byte *)0x0)" (( "(") (binary_expression "unaff_s3 != (byte *)0x0" (identifier "unaff_s3") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }" ({ "{") (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" (( "(") (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" (* "*") (cast_expression "(code *)PTR_DestroyImage_003a8f4c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImage_003a8f4c"))) () ")")) (argument_list "(unaff_s3)" (( "(") (identifier "unaff_s3") () ")"))) (; ";")) (} "}"))) (if_statement "if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }" (if "if") (parenthesized_expression "(local_10cc != 0)" (( "(") (binary_expression "local_10cc != 0" (identifier "local_10cc") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }" ({ "{") (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" (( "(") (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" (* "*") (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImageInfo_003a95e8"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar26 = 0x467;" (assignment_expression "uVar26 = 0x467" (identifier "uVar26") (= "=") (number_literal "0x467")) (; ";")) (goto_statement "goto LAB_00275880;" (goto "goto") (statement_identifier "LAB_00275880") (; ";")) (} "}"))) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (; ";")) (if_statement "if (0 < (int)(uVar28 - 2)) {\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }" (if "if") (parenthesized_expression "(0 < (int)(uVar28 - 2))" (( "(") (binary_expression "0 < (int)(uVar28 - 2)" (number_literal "0") (< "<") (cast_expression "(int)(uVar28 - 2)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(uVar28 - 2)" (( "(") (binary_expression "uVar28 - 2" (identifier "uVar28") (- "-") (number_literal "2")) () ")")))) () ")")) (compound_statement "{\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);\n                    }" ({ "{") (do_statement "do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (iVar5 != uVar28 - 2);" (do "do") (compound_statement "{\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      }" ({ "{") (expression_statement "iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (identifier "iVar13") (= "=") (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")")))) (; ";")) (if_statement "if (iVar13 == -1) break;" (if "if") (parenthesized_expression "(iVar13 == -1)" (( "(") (binary_expression "iVar13 == -1" (identifier "iVar13") (== "==") (number_literal "-1")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" (identifier "iVar5") (= "=") (binary_expression "iVar5 + 1" (identifier "iVar5") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar5 != uVar28 - 2)" (( "(") (binary_expression "iVar5 != uVar28 - 2" (identifier "iVar5") (!= "!=") (binary_expression "uVar28 - 2" (identifier "uVar28") (- "-") (number_literal "2"))) () ")")) (; ";")) (} "}"))) (goto_statement "goto LAB_00274584;" (goto "goto") (statement_identifier "LAB_00274584") (; ";")) (} "}"))) (if_statement "if ((int *)0x14 < unaff_s7) {\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }" (if "if") (parenthesized_expression "((int *)0x14 < unaff_s7)" (( "(") (binary_expression "(int *)0x14 < unaff_s7" (cast_expression "(int *)0x14" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x14")) (< "<") (identifier "unaff_s7")) () ")")) (compound_statement "{\n                    if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }\n                    goto LAB_002752a0;\n                  }" ({ "{") (if_statement "if (unaff_s7 == (int *)&DAT_0000001b) {\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }" (if "if") (parenthesized_expression "(unaff_s7 == (int *)&DAT_0000001b)" (( "(") (binary_expression "unaff_s7 == (int *)&DAT_0000001b" (identifier "unaff_s7") (== "==") (cast_expression "(int *)&DAT_0000001b" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (pointer_expression "&DAT_0000001b" (& "&") (identifier "DAT_0000001b")))) () ")")) (compound_statement "{\n                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;\n                      iVar5 = (*(code *)puVar12)(unaff_s0);\n                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;\n                      goto LAB_00274594;\n                    }" ({ "{") (expression_statement "iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (assignment_expression "iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (identifier "iVar5") (= "=") (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" (( "(") (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" (* "*") (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ReadBlobMSBShort_003a9160"))) () ")")) (argument_list "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")")))) (; ";")) (expression_statement "puVar12 = PTR_ReadBlobMSBShort_003a9160;" (assignment_expression "puVar12 = PTR_ReadBlobMSBShort_003a9160" (identifier "puVar12") (= "=") (identifier "PTR_ReadBlobMSBShort_003a9160")) (; ";")) (expression_statement "*(double *)(unaff_s0 + 0xb0) = (double)iVar5;" (assignment_expression "*(double *)(unaff_s0 + 0xb0) = (double)iVar5" (pointer_expression "*(double *)(unaff_s0 + 0xb0)" (* "*") (cast_expression "(double *)(unaff_s0 + 0xb0)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s0 + 0xb0)" (( "(") (binary_expression "unaff_s0 + 0xb0" (identifier "unaff_s0") (+ "+") (number_literal "0xb0")) () ")")))) (= "=") (cast_expression "(double)iVar5" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "iVar5"))) (; ";")) (expression_statement "iVar5 = (*(code *)puVar12)(unaff_s0);" (assignment_expression "iVar5 = (*(code *)puVar12)(unaff_s0)" (identifier "iVar5") (= "=") (call_expression "(*(code *)puVar12)(unaff_s0)" (parenthesized_expression "(*(code *)puVar12)" (( "(") (pointer_expression "*(code *)puVar12" (* "*") (cast_expression "(code *)puVar12" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar12"))) () ")")) (argument_list "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")")))) (; ";")) (expression_statement "puVar12 = PTR_ReadBlobMSBShort_003a9160;" (assignment_expression "puVar12 = PTR_ReadBlobMSBShort_003a9160" (identifier "puVar12") (= "=") (identifier "PTR_ReadBlobMSBShort_003a9160")) (; ";")) (expression_statement "*(double *)(unaff_s0 + 0xb8) = (double)iVar5;" (assignment_expression "*(double *)(unaff_s0 + 0xb8) = (double)iVar5" (pointer_expression "*(double *)(unaff_s0 + 0xb8)" (* "*") (cast_expression "(double *)(unaff_s0 + 0xb8)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s0 + 0xb8)" (( "(") (binary_expression "unaff_s0 + 0xb8" (identifier "unaff_s0") (+ "+") (number_literal "0xb8")) () ")")))) (= "=") (cast_expression "(double)iVar5" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "iVar5"))) (; ";")) (expression_statement "iVar5 = (*(code *)puVar12)(unaff_s0);" (assignment_expression "iVar5 = (*(code *)puVar12)(unaff_s0)" (identifier "iVar5") (= "=") (call_expression "(*(code *)puVar12)(unaff_s0)" (parenthesized_expression "(*(code *)puVar12)" (( "(") (pointer_expression "*(code *)puVar12" (* "*") (cast_expression "(code *)puVar12" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar12"))) () ")")) (argument_list "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")")))) (; ";")) (expression_statement "*(double *)(unaff_s0 + 0xc0) = (double)iVar5;" (assignment_expression "*(double *)(unaff_s0 + 0xc0) = (double)iVar5" (pointer_expression "*(double *)(unaff_s0 + 0xc0)" (* "*") (cast_expression "(double *)(unaff_s0 + 0xc0)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s0 + 0xc0)" (( "(") (binary_expression "unaff_s0 + 0xc0" (identifier "unaff_s0") (+ "+") (number_literal "0xc0")) () ")")))) (= "=") (cast_expression "(double)iVar5" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "iVar5"))) (; ";")) (goto_statement "goto LAB_00274594;" (goto "goto") (statement_identifier "LAB_00274594") (; ";")) (} "}"))) (goto_statement "goto LAB_002752a0;" (goto "goto") (statement_identifier "LAB_002752a0") (; ";")) (} "}"))) (if_statement "if (&DAT_00000011 < unaff_s7) {\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }" (if "if") (parenthesized_expression "(&DAT_00000011 < unaff_s7)" (( "(") (binary_expression "&DAT_00000011 < unaff_s7" (pointer_expression "&DAT_00000011" (& "&") (identifier "DAT_00000011")) (< "<") (identifier "unaff_s7")) () ")")) (compound_statement "{\n                    iVar13 = 8;\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);\n                    if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }\n                    if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x413;\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }" ({ "{") (expression_statement "iVar13 = 8;" (assignment_expression "iVar13 = 8" (identifier "iVar13") (= "=") (number_literal "8")) (; ";")) (expression_statement "iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (assignment_expression "iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (identifier "iVar5") (= "=") (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" (( "(") (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" (* "*") (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ReadBlobMSBShort_003a9160"))) () ")")) (argument_list "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")")))) (; ";")) (do_statement "do {\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    } while (iVar13 != 0);" (do "do") (compound_statement "{\n                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                      if (iVar9 == -1) break;\n                      iVar13 = iVar13 + -1;\n                    }" ({ "{") (expression_statement "iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (identifier "iVar9") (= "=") (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")")))) (; ";")) (if_statement "if (iVar9 == -1) break;" (if "if") (parenthesized_expression "(iVar9 == -1)" (( "(") (binary_expression "iVar9 == -1" (identifier "iVar9") (== "==") (number_literal "-1")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar13 = iVar13 + -1;" (assignment_expression "iVar13 = iVar13 + -1" (identifier "iVar13") (= "=") (binary_expression "iVar13 + -1" (identifier "iVar13") (+ "+") (number_literal "-1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar13 != 0)" (( "(") (binary_expression "iVar13 != 0" (identifier "iVar13") (!= "!=") (number_literal "0")) () ")")) (; ";")) (if_statement "if (iVar5 == 2) {\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }" (if "if") (parenthesized_expression "(iVar5 == 2)" (( "(") (binary_expression "iVar5 == 2" (identifier "iVar5") (== "==") (number_literal "2")) () ")")) (compound_statement "{\n                      iVar5 = 5;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);\n                      goto LAB_00274584;\n                    }" ({ "{") (expression_statement "iVar5 = 5;" (assignment_expression "iVar5 = 5" (identifier "iVar5") (= "=") (number_literal "5")) (; ";")) (do_statement "do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      } while (iVar5 != 0);" (do "do") (compound_statement "{\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + -1;\n                      }" ({ "{") (expression_statement "iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (identifier "iVar13") (= "=") (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")")))) (; ";")) (if_statement "if (iVar13 == -1) break;" (if "if") (parenthesized_expression "(iVar13 == -1)" (( "(") (binary_expression "iVar13 == -1" (identifier "iVar13") (== "==") (number_literal "-1")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar5 = iVar5 + -1;" (assignment_expression "iVar5 = iVar5 + -1" (identifier "iVar5") (= "=") (binary_expression "iVar5 + -1" (identifier "iVar5") (+ "+") (number_literal "-1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar5 != 0)" (( "(") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0")) () ")")) (; ";")) (goto_statement "goto LAB_00274584;" (goto "goto") (statement_identifier "LAB_00274584") (; ";")) (} "}"))) (if_statement "if (iVar5 == 1) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }" (if "if") (parenthesized_expression "(iVar5 == 1)" (( "(") (binary_expression "iVar5 == 1" (identifier "iVar5") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x417;\n                      goto LAB_00275880;\n                    }" ({ "{") (expression_statement "uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (assignment_expression "uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (identifier "uVar28") (= "=") (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" (( "(") (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" (* "*") (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ReadBlobMSBShort_003a9160"))) () ")")) (argument_list "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")")))) (; ";")) (expression_statement "uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);" (assignment_expression "uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" (identifier "uVar37") (= "=") (call_expression "(*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" (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 "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")")))) (; ";")) (if_statement "if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }" (if "if") (parenthesized_expression "(((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))" (( "(") (binary_expression "((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)" (parenthesized_expression "((int)((ulonglong)uVar37 >> 0x20) != 0)" (( "(") (binary_expression "(int)((ulonglong)uVar37 >> 0x20) != 0" (cast_expression "(int)((ulonglong)uVar37 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)uVar37 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar37 >> 0x20" (cast_expression "(ulonglong)uVar37" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar37")) (>> ">>") (number_literal "0x20")) () ")"))) (!= "!=") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(uVar28 <= (uint)uVar37)" (( "(") (binary_expression "uVar28 <= (uint)uVar37" (identifier "uVar28") (<= "<=") (cast_expression "(uint)uVar37" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "uVar37"))) () ")"))) () ")")) (compound_statement "{\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }\n                        goto LAB_002757bc;\n                      }" ({ "{") (expression_statement "iVar5 = FUN_002739c8(unaff_s0,local_10bc);" (assignment_expression "iVar5 = FUN_002739c8(unaff_s0,local_10bc)" (identifier "iVar5") (= "=") (call_expression "FUN_002739c8(unaff_s0,local_10bc)" (identifier "FUN_002739c8") (argument_list "(unaff_s0,local_10bc)" (( "(") (identifier "unaff_s0") (, ",") (identifier "local_10bc") () ")")))) (; ";")) (if_statement "if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }\n                        else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x419;\n                        }" ({ "{") (if_statement "if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }" (if "if") (parenthesized_expression "(unaff_s3 != (byte *)0x0)" (( "(") (binary_expression "unaff_s3 != (byte *)0x0" (identifier "unaff_s3") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }" ({ "{") (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" (( "(") (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" (* "*") (cast_expression "(code *)PTR_DestroyImage_003a8f4c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImage_003a8f4c"))) () ")")) (argument_list "(unaff_s3)" (( "(") (identifier "unaff_s3") () ")"))) (; ";")) (} "}"))) (if_statement "if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }" (if "if") (parenthesized_expression "(local_10cc != 0)" (( "(") (binary_expression "local_10cc != 0" (identifier "local_10cc") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }" ({ "{") (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" (( "(") (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" (* "*") (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImageInfo_003a95e8"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar26 = 0x419;" (assignment_expression "uVar26 = 0x419" (identifier "uVar26") (= "=") (number_literal "0x419")) (; ";")) (} "}")) (else_clause "else {\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }" (else "else") (compound_statement "{\n                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                          if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x41b;\n                        }" ({ "{") (expression_statement "iVar5 = FUN_00273794(unaff_s0,auStack_1078);" (assignment_expression "iVar5 = FUN_00273794(unaff_s0,auStack_1078)" (identifier "iVar5") (= "=") (call_expression "FUN_00273794(unaff_s0,auStack_1078)" (identifier "FUN_00273794") (argument_list "(unaff_s0,auStack_1078)" (( "(") (identifier "unaff_s0") (, ",") (identifier "auStack_1078") () ")")))) (; ";")) (if_statement "if (iVar5 != 0) {\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }" (if "if") (parenthesized_expression "(iVar5 != 0)" (( "(") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;\n                            dVar33 = (double)local_1070;\n                            if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x218) = dVar33;\n                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;\n                            dVar33 = (double)local_106c;\n                            if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }\n                            *(double *)(unaff_s0 + 0x220) = dVar33;\n                            *(undefined4 *)(unaff_s0 + 0x200) = 1;\n                            (*(code *)puVar12)(unaff_s0);\n                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x425;\n                            goto LAB_00275880;\n                          }" ({ "{") (expression_statement "*(int *)(unaff_s0 + 0x20) = (int)local_1062;" (assignment_expression "*(int *)(unaff_s0 + 0x20) = (int)local_1062" (pointer_expression "*(int *)(unaff_s0 + 0x20)" (* "*") (cast_expression "(int *)(unaff_s0 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s0 + 0x20)" (( "(") (binary_expression "unaff_s0 + 0x20" (identifier "unaff_s0") (+ "+") (number_literal "0x20")) () ")")))) (= "=") (cast_expression "(int)local_1062" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_1062"))) (; ";")) (expression_statement "dVar33 = (double)local_1070;" (assignment_expression "dVar33 = (double)local_1070" (identifier "dVar33") (= "=") (cast_expression "(double)local_1070" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "local_1070"))) (; ";")) (if_statement "if (local_1070 < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }" (if "if") (parenthesized_expression "(local_1070 < 0)" (( "(") (binary_expression "local_1070 < 0" (identifier "local_1070") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }" ({ "{") (expression_statement "dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);" (assignment_expression "dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418)" (identifier "dVar33") (= "=") (binary_expression "dVar33 + *(double *)(local_10c8 + 0x1418)" (identifier "dVar33") (+ "+") (pointer_expression "*(double *)(local_10c8 + 0x1418)" (* "*") (cast_expression "(double *)(local_10c8 + 0x1418)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_10c8 + 0x1418)" (( "(") (binary_expression "local_10c8 + 0x1418" (identifier "local_10c8") (+ "+") (number_literal "0x1418")) () ")")))))) (; ";")) (} "}"))) (expression_statement "*(double *)(unaff_s0 + 0x218) = dVar33;" (assignment_expression "*(double *)(unaff_s0 + 0x218) = dVar33" (pointer_expression "*(double *)(unaff_s0 + 0x218)" (* "*") (cast_expression "(double *)(unaff_s0 + 0x218)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s0 + 0x218)" (( "(") (binary_expression "unaff_s0 + 0x218" (identifier "unaff_s0") (+ "+") (number_literal "0x218")) () ")")))) (= "=") (identifier "dVar33")) (; ";")) (expression_statement "puVar12 = PTR_ReadBlobMSBLong_003a8d98;" (assignment_expression "puVar12 = PTR_ReadBlobMSBLong_003a8d98" (identifier "puVar12") (= "=") (identifier "PTR_ReadBlobMSBLong_003a8d98")) (; ";")) (expression_statement "dVar33 = (double)local_106c;" (assignment_expression "dVar33 = (double)local_106c" (identifier "dVar33") (= "=") (cast_expression "(double)local_106c" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "local_106c"))) (; ";")) (if_statement "if (local_106c < 0) {\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }" (if "if") (parenthesized_expression "(local_106c < 0)" (( "(") (binary_expression "local_106c < 0" (identifier "local_106c") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                            }" ({ "{") (expression_statement "dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);" (assignment_expression "dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418)" (identifier "dVar33") (= "=") (binary_expression "dVar33 + *(double *)(local_10c8 + 0x1418)" (identifier "dVar33") (+ "+") (pointer_expression "*(double *)(local_10c8 + 0x1418)" (* "*") (cast_expression "(double *)(local_10c8 + 0x1418)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_10c8 + 0x1418)" (( "(") (binary_expression "local_10c8 + 0x1418" (identifier "local_10c8") (+ "+") (number_literal "0x1418")) () ")")))))) (; ";")) (} "}"))) (expression_statement "*(double *)(unaff_s0 + 0x220) = dVar33;" (assignment_expression "*(double *)(unaff_s0 + 0x220) = dVar33" (pointer_expression "*(double *)(unaff_s0 + 0x220)" (* "*") (cast_expression "(double *)(unaff_s0 + 0x220)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s0 + 0x220)" (( "(") (binary_expression "unaff_s0 + 0x220" (identifier "unaff_s0") (+ "+") (number_literal "0x220")) () ")")))) (= "=") (identifier "dVar33")) (; ";")) (expression_statement "*(undefined4 *)(unaff_s0 + 0x200) = 1;" (assignment_expression "*(undefined4 *)(unaff_s0 + 0x200) = 1" (pointer_expression "*(undefined4 *)(unaff_s0 + 0x200)" (* "*") (cast_expression "(undefined4 *)(unaff_s0 + 0x200)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s0 + 0x200)" (( "(") (binary_expression "unaff_s0 + 0x200" (identifier "unaff_s0") (+ "+") (number_literal "0x200")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "(*(code *)puVar12)(unaff_s0);" (call_expression "(*(code *)puVar12)(unaff_s0)" (parenthesized_expression "(*(code *)puVar12)" (( "(") (pointer_expression "*(code *)puVar12" (* "*") (cast_expression "(code *)puVar12" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar12"))) () ")")) (argument_list "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" (( "(") (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" (* "*") (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ReadBlobMSBShort_003a9160"))) () ")")) (argument_list "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")"))) (; ";")) (expression_statement "uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (assignment_expression "uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (identifier "uVar28") (= "=") (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" (( "(") (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" (* "*") (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ReadBlobMSBShort_003a9160"))) () ")")) (argument_list "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")")))) (; ";")) (expression_statement "uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);" (assignment_expression "uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" (identifier "uVar37") (= "=") (call_expression "(*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" (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 "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")")))) (; ";")) (if_statement "if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))\n                            {\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }" (if "if") (parenthesized_expression "(((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))" (( "(") (binary_expression "((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)" (parenthesized_expression "((int)((ulonglong)uVar37 >> 0x20) != 0)" (( "(") (binary_expression "(int)((ulonglong)uVar37 >> 0x20) != 0" (cast_expression "(int)((ulonglong)uVar37 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)uVar37 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar37 >> 0x20" (cast_expression "(ulonglong)uVar37" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar37")) (>> ">>") (number_literal "0x20")) () ")"))) (!= "!=") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(uVar28 <= (uint)uVar37)" (( "(") (binary_expression "uVar28 <= (uint)uVar37" (identifier "uVar28") (<= "<=") (cast_expression "(uint)uVar37" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "uVar37"))) () ")"))) () ")")) (compound_statement "{\n                              iVar5 = 0;\n                              do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);\n                              uVar29 = (int)local_108c - (int)local_1090;\n                              iVar5 = (int)local_108a - (int)local_108e;\n                              if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }\n                              if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }\n                              if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }\n                              goto LAB_00274584;\n                            }" ({ "{") (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              } while (iVar5 != uVar28 + 1);" (do "do") (compound_statement "{\n                                iVar5 = iVar5 + 1;\n                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                              }" ({ "{") (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" (identifier "iVar5") (= "=") (binary_expression "iVar5 + 1" (identifier "iVar5") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "(*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);" (call_expression "(*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBLong_003a8d98)" (( "(") (pointer_expression "*(code *)PTR_ReadBlobMSBLong_003a8d98" (* "*") (cast_expression "(code *)PTR_ReadBlobMSBLong_003a8d98" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ReadBlobMSBLong_003a8d98"))) () ")")) (argument_list "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar5 != uVar28 + 1)" (( "(") (binary_expression "iVar5 != uVar28 + 1" (identifier "iVar5") (!= "!=") (binary_expression "uVar28 + 1" (identifier "uVar28") (+ "+") (number_literal "1"))) () ")")) (; ";")) (expression_statement "uVar29 = (int)local_108c - (int)local_1090;" (assignment_expression "uVar29 = (int)local_108c - (int)local_1090" (identifier "uVar29") (= "=") (binary_expression "(int)local_108c - (int)local_1090" (cast_expression "(int)local_108c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_108c")) (- "-") (cast_expression "(int)local_1090" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_1090")))) (; ";")) (expression_statement "iVar5 = (int)local_108a - (int)local_108e;" (assignment_expression "iVar5 = (int)local_108a - (int)local_108e" (identifier "iVar5") (= "=") (binary_expression "(int)local_108a - (int)local_108e" (cast_expression "(int)local_108a" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_108a")) (- "-") (cast_expression "(int)local_108e" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_108e")))) (; ";")) (if_statement "if (local_1066 < 9) {\n                                uVar28 = uVar28 & 0x7fff;\n                              }\n                              else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }" (if "if") (parenthesized_expression "(local_1066 < 9)" (( "(") (binary_expression "local_1066 < 9" (identifier "local_1066") (< "<") (number_literal "9")) () ")")) (compound_statement "{\n                                uVar28 = uVar28 & 0x7fff;\n                              }" ({ "{") (expression_statement "uVar28 = uVar28 & 0x7fff;" (assignment_expression "uVar28 = uVar28 & 0x7fff" (identifier "uVar28") (= "=") (binary_expression "uVar28 & 0x7fff" (identifier "uVar28") (& "&") (number_literal "0x7fff"))) (; ";")) (} "}")) (else_clause "else if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }" (else "else") (if_statement "if (local_1066 == 0x10) {\n                                uVar29 = uVar29 * 2;\n                              }" (if "if") (parenthesized_expression "(local_1066 == 0x10)" (( "(") (binary_expression "local_1066 == 0x10" (identifier "local_1066") (== "==") (number_literal "0x10")) () ")")) (compound_statement "{\n                                uVar29 = uVar29 * 2;\n                              }" ({ "{") (expression_statement "uVar29 = uVar29 * 2;" (assignment_expression "uVar29 = uVar29 * 2" (identifier "uVar29") (= "=") (binary_expression "uVar29 * 2" (identifier "uVar29") (* "*") (number_literal "2"))) (; ";")) (} "}"))))) (if_statement "if (uVar28 != 0) {\n                                uVar29 = uVar28;\n                              }" (if "if") (parenthesized_expression "(uVar28 != 0)" (( "(") (binary_expression "uVar28 != 0" (identifier "uVar28") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                                uVar29 = uVar28;\n                              }" ({ "{") (expression_statement "uVar29 = uVar28;" (assignment_expression "uVar29 = uVar28" (identifier "uVar29") (= "=") (identifier "uVar28")) (; ";")) (} "}"))) (if_statement "if (uVar29 < 8) {\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }\n                              else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }" (if "if") (parenthesized_expression "(uVar29 < 8)" (( "(") (binary_expression "uVar29 < 8" (identifier "uVar29") (< "<") (number_literal "8")) () ")")) (compound_statement "{\n                                if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }\n                              }" ({ "{") (if_statement "if (0 < (int)(uVar29 * iVar5)) {\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }" (if "if") (parenthesized_expression "(0 < (int)(uVar29 * iVar5))" (( "(") (binary_expression "0 < (int)(uVar29 * iVar5)" (number_literal "0") (< "<") (cast_expression "(int)(uVar29 * iVar5)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(uVar29 * iVar5)" (( "(") (binary_expression "uVar29 * iVar5" (identifier "uVar29") (* "*") (identifier "iVar5")) () ")")))) () ")")) (compound_statement "{\n                                  iVar13 = 0;\n                                  do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);\n                                }" ({ "{") (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" (identifier "iVar13") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  } while (uVar29 * iVar5 != iVar13);" (do "do") (compound_statement "{\n                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    if (iVar9 == -1) break;\n                                    iVar13 = iVar13 + 1;\n                                  }" ({ "{") (expression_statement "iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (identifier "iVar9") (= "=") (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")")))) (; ";")) (if_statement "if (iVar9 == -1) break;" (if "if") (parenthesized_expression "(iVar9 == -1)" (( "(") (binary_expression "iVar9 == -1" (identifier "iVar9") (== "==") (number_literal "-1")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar13 = iVar13 + 1;" (assignment_expression "iVar13 = iVar13 + 1" (identifier "iVar13") (= "=") (binary_expression "iVar13 + 1" (identifier "iVar13") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar29 * iVar5 != iVar13)" (( "(") (binary_expression "uVar29 * iVar5 != iVar13" (binary_expression "uVar29 * iVar5" (identifier "uVar29") (* "*") (identifier "iVar5")) (!= "!=") (identifier "iVar13")) () ")")) (; ";")) (} "}"))) (} "}")) (else_clause "else {\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }" (else "else") (compound_statement "{\n                                iVar13 = 0;\n                                if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }\n                              }" ({ "{") (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" (identifier "iVar13") (= "=") (number_literal "0")) (; ";")) (if_statement "if (0 < iVar5) {\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }" (if "if") (parenthesized_expression "(0 < iVar5)" (( "(") (binary_expression "0 < iVar5" (number_literal "0") (< "<") (identifier "iVar5")) () ")")) (compound_statement "{\n                                  do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);\n                                }" ({ "{") (do_statement "do {\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  } while (iVar5 != iVar13);" (do "do") (compound_statement "{\n                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                                    if (iVar9 != 0) break;\n                                    if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }\n                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }\n                                    uVar30 = 0;\n                                    if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }\n                                    iVar13 = iVar13 + 1;\n                                  }" ({ "{") (expression_statement "iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);" (assignment_expression "iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0)" (identifier "iVar9") (= "=") (call_expression "(*(code *)PTR_EOFBlob_003a9748)(unaff_s0)" (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 "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")")))) (; ";")) (if_statement "if (iVar9 != 0) break;" (if "if") (parenthesized_expression "(iVar9 != 0)" (( "(") (binary_expression "iVar9 != 0" (identifier "iVar9") (!= "!=") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (if_statement "if (uVar29 < 0xc9) {\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }\n                                    else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }" (if "if") (parenthesized_expression "(uVar29 < 0xc9)" (( "(") (binary_expression "uVar29 < 0xc9" (identifier "uVar29") (< "<") (number_literal "0xc9")) () ")")) (compound_statement "{\n                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                    }" ({ "{") (expression_statement "uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (identifier "uVar28") (= "=") (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")")))) (; ";")) (} "}")) (else_clause "else {\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }" (else "else") (compound_statement "{\n                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                                    }" ({ "{") (expression_statement "uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (assignment_expression "uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (identifier "uVar28") (= "=") (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" (( "(") (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" (* "*") (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ReadBlobMSBShort_003a9160"))) () ")")) (argument_list "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")")))) (; ";")) (} "}")))) (expression_statement "uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);" (assignment_expression "uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" (identifier "uVar37") (= "=") (call_expression "(*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" (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 "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")")))) (; ";")) (if_statement "if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)) {\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }" (if "if") (parenthesized_expression "(((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28))" (( "(") (binary_expression "((int)((ulonglong)uVar37 >> 0x20) == 0) &&\n                                       ((uint)uVar37 < uVar28)" (parenthesized_expression "((int)((ulonglong)uVar37 >> 0x20) == 0)" (( "(") (binary_expression "(int)((ulonglong)uVar37 >> 0x20) == 0" (cast_expression "(int)((ulonglong)uVar37 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)uVar37 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar37 >> 0x20" (cast_expression "(ulonglong)uVar37" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar37")) (>> ">>") (number_literal "0x20")) () ")"))) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((uint)uVar37 < uVar28)" (( "(") (binary_expression "(uint)uVar37 < uVar28" (cast_expression "(uint)uVar37" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "uVar37")) (< "<") (identifier "uVar28")) () ")"))) () ")")) (compound_statement "{\n                                      if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x444;\n                                      goto LAB_00275880;\n                                    }" ({ "{") (if_statement "if (unaff_s3 != (byte *)0x0) {\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }" (if "if") (parenthesized_expression "(unaff_s3 != (byte *)0x0)" (( "(") (binary_expression "unaff_s3 != (byte *)0x0" (identifier "unaff_s3") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                                      }" ({ "{") (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" (( "(") (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" (* "*") (cast_expression "(code *)PTR_DestroyImage_003a8f4c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImage_003a8f4c"))) () ")")) (argument_list "(unaff_s3)" (( "(") (identifier "unaff_s3") () ")"))) (; ";")) (} "}"))) (if_statement "if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }" (if "if") (parenthesized_expression "(local_10cc != 0)" (( "(") (binary_expression "local_10cc != 0" (identifier "local_10cc") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }" ({ "{") (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" (( "(") (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" (* "*") (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImageInfo_003a95e8"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar26 = 0x444;" (assignment_expression "uVar26 = 0x444" (identifier "uVar26") (= "=") (number_literal "0x444")) (; ";")) (goto_statement "goto LAB_00275880;" (goto "goto") (statement_identifier "LAB_00275880") (; ";")) (} "}"))) (expression_statement "uVar30 = 0;" (assignment_expression "uVar30 = 0" (identifier "uVar30") (= "=") (number_literal "0")) (; ";")) (if_statement "if (0 < (int)uVar28) {\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }" (if "if") (parenthesized_expression "(0 < (int)uVar28)" (( "(") (binary_expression "0 < (int)uVar28" (number_literal "0") (< "<") (cast_expression "(int)uVar28" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar28"))) () ")")) (compound_statement "{\n                                      do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);\n                                    }" ({ "{") (do_statement "do {\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      } while (uVar28 != uVar30);" (do "do") (compound_statement "{\n                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                                        if (iVar9 == -1) break;\n                                        uVar30 = uVar30 + 1;\n                                      }" ({ "{") (expression_statement "iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (identifier "iVar9") (= "=") (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")")))) (; ";")) (if_statement "if (iVar9 == -1) break;" (if "if") (parenthesized_expression "(iVar9 == -1)" (( "(") (binary_expression "iVar9 == -1" (identifier "iVar9") (== "==") (number_literal "-1")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "uVar30 = uVar30 + 1;" (assignment_expression "uVar30 = uVar30 + 1" (identifier "uVar30") (= "=") (binary_expression "uVar30 + 1" (identifier "uVar30") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar28 != uVar30)" (( "(") (binary_expression "uVar28 != uVar30" (identifier "uVar28") (!= "!=") (identifier "uVar30")) () ")")) (; ";")) (} "}"))) (expression_statement "iVar13 = iVar13 + 1;" (assignment_expression "iVar13 = iVar13 + 1" (identifier "iVar13") (= "=") (binary_expression "iVar13 + 1" (identifier "iVar13") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar5 != iVar13)" (( "(") (binary_expression "iVar5 != iVar13" (identifier "iVar5") (!= "!=") (identifier "iVar13")) () ")")) (; ";")) (} "}"))) (} "}")))) (goto_statement "goto LAB_00274584;" (goto "goto") (statement_identifier "LAB_00274584") (; ";")) (} "}"))) (if_statement "if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }" (if "if") (parenthesized_expression "(unaff_s3 != (byte *)0x0)" (( "(") (binary_expression "unaff_s3 != (byte *)0x0" (identifier "unaff_s3") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }" ({ "{") (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" (( "(") (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" (* "*") (cast_expression "(code *)PTR_DestroyImage_003a8f4c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImage_003a8f4c"))) () ")")) (argument_list "(unaff_s3)" (( "(") (identifier "unaff_s3") () ")"))) (; ";")) (} "}"))) (if_statement "if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }" (if "if") (parenthesized_expression "(local_10cc != 0)" (( "(") (binary_expression "local_10cc != 0" (identifier "local_10cc") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }" ({ "{") (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" (( "(") (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" (* "*") (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImageInfo_003a95e8"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar26 = 0x425;" (assignment_expression "uVar26 = 0x425" (identifier "uVar26") (= "=") (number_literal "0x425")) (; ";")) (goto_statement "goto LAB_00275880;" (goto "goto") (statement_identifier "LAB_00275880") (; ";")) (} "}"))) (if_statement "if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }" (if "if") (parenthesized_expression "(unaff_s3 != (byte *)0x0)" (( "(") (binary_expression "unaff_s3 != (byte *)0x0" (identifier "unaff_s3") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }" ({ "{") (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" (( "(") (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" (* "*") (cast_expression "(code *)PTR_DestroyImage_003a8f4c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImage_003a8f4c"))) () ")")) (argument_list "(unaff_s3)" (( "(") (identifier "unaff_s3") () ")"))) (; ";")) (} "}"))) (if_statement "if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }" (if "if") (parenthesized_expression "(local_10cc != 0)" (( "(") (binary_expression "local_10cc != 0" (identifier "local_10cc") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }" ({ "{") (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" (( "(") (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" (* "*") (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImageInfo_003a95e8"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar26 = 0x41b;" (assignment_expression "uVar26 = 0x41b" (identifier "uVar26") (= "=") (number_literal "0x41b")) (; ";")) (} "}")))) (goto_statement "goto LAB_002757bc;" (goto "goto") (statement_identifier "LAB_002757bc") (; ";")) (} "}"))) (if_statement "if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }" (if "if") (parenthesized_expression "(unaff_s3 != (byte *)0x0)" (( "(") (binary_expression "unaff_s3 != (byte *)0x0" (identifier "unaff_s3") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);\n                      }" ({ "{") (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" (( "(") (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" (* "*") (cast_expression "(code *)PTR_DestroyImage_003a8f4c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImage_003a8f4c"))) () ")")) (argument_list "(unaff_s3,local_10bc)" (( "(") (identifier "unaff_s3") (, ",") (identifier "local_10bc") () ")"))) (; ";")) (} "}"))) (if_statement "if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }" (if "if") (parenthesized_expression "(local_10cc != 0)" (( "(") (binary_expression "local_10cc != 0" (identifier "local_10cc") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }" ({ "{") (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" (( "(") (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" (* "*") (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImageInfo_003a95e8"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar26 = 0x417;" (assignment_expression "uVar26 = 0x417" (identifier "uVar26") (= "=") (number_literal "0x417")) (; ";")) (goto_statement "goto LAB_00275880;" (goto "goto") (statement_identifier "LAB_00275880") (; ";")) (} "}"))) (if_statement "if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }" (if "if") (parenthesized_expression "(unaff_s3 != (byte *)0x0)" (( "(") (binary_expression "unaff_s3 != (byte *)0x0" (identifier "unaff_s3") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }" ({ "{") (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" (( "(") (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" (* "*") (cast_expression "(code *)PTR_DestroyImage_003a8f4c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImage_003a8f4c"))) () ")")) (argument_list "(unaff_s3)" (( "(") (identifier "unaff_s3") () ")"))) (; ";")) (} "}"))) (if_statement "if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }" (if "if") (parenthesized_expression "(local_10cc != 0)" (( "(") (binary_expression "local_10cc != 0" (identifier "local_10cc") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }" ({ "{") (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" (( "(") (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" (* "*") (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImageInfo_003a95e8"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar26 = 0x413;" (assignment_expression "uVar26 = 0x413" (identifier "uVar26") (= "=") (number_literal "0x413")) (; ";")) (expression_statement "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;" (assignment_expression "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" (identifier "puVar25") (= "=") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "-0x3dbc"))) (; ";")) (expression_statement "uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);" (assignment_expression "uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" (identifier "uVar37") (= "=") (call_expression "CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" (identifier "CONCAT44") (argument_list "(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" (( "(") (binary_expression "PTR_LAB_003a88e0 + 0x3e28" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x3e28")) (, ",") (binary_expression "local_10d0 + 0x2210" (identifier "local_10d0") (+ "+") (number_literal "0x2210")) () ")")))) (; ";")) (expression_statement "puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;" (assignment_expression "puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" (identifier "puVar21") (= "=") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "-0x3d60"))) (; ";")) (expression_statement "puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;" (assignment_expression "puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14" (identifier "puVar12") (= "=") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "-0x3d14"))) (; ";")) (expression_statement "piVar7 = unaff_s7;" (assignment_expression "piVar7 = unaff_s7" (identifier "piVar7") (= "=") (identifier "unaff_s7")) (; ";")) (goto_statement "goto LAB_0027507c;" (goto "goto") (statement_identifier "LAB_0027507c") (; ";")) (} "}"))) (if_statement "if (unaff_s7 != (int *)0x1) goto LAB_002752a0;" (if "if") (parenthesized_expression "(unaff_s7 != (int *)0x1)" (( "(") (binary_expression "unaff_s7 != (int *)0x1" (identifier "unaff_s7") (!= "!=") (cast_expression "(int *)0x1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x1"))) () ")")) (goto_statement "goto LAB_002752a0;" (goto "goto") (statement_identifier "LAB_002752a0") (; ";"))) (expression_statement "uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (assignment_expression "uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (identifier "uVar28") (= "=") (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" (( "(") (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" (* "*") (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ReadBlobMSBShort_003a9160"))) () ")")) (argument_list "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")")))) (; ";")) (expression_statement "uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);" (assignment_expression "uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" (identifier "uVar37") (= "=") (call_expression "(*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" (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 "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")")))) (; ";")) (if_statement "if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }" (if "if") (parenthesized_expression "(((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28))" (( "(") (binary_expression "((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)" (parenthesized_expression "((int)((ulonglong)uVar37 >> 0x20) == 0)" (( "(") (binary_expression "(int)((ulonglong)uVar37 >> 0x20) == 0" (cast_expression "(int)((ulonglong)uVar37 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)uVar37 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar37 >> 0x20" (cast_expression "(ulonglong)uVar37" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar37")) (>> ">>") (number_literal "0x20")) () ")"))) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((uint)uVar37 < uVar28)" (( "(") (binary_expression "(uint)uVar37 < uVar28" (cast_expression "(uint)uVar37" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "uVar37")) (< "<") (identifier "uVar28")) () ")"))) () ")")) (compound_statement "{\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3e4;\n                    goto LAB_00275880;\n                  }" ({ "{") (if_statement "if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }" (if "if") (parenthesized_expression "(unaff_s3 != (byte *)0x0)" (( "(") (binary_expression "unaff_s3 != (byte *)0x0" (identifier "unaff_s3") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }" ({ "{") (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" (( "(") (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" (* "*") (cast_expression "(code *)PTR_DestroyImage_003a8f4c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImage_003a8f4c"))) () ")")) (argument_list "(unaff_s3)" (( "(") (identifier "unaff_s3") () ")"))) (; ";")) (} "}"))) (if_statement "if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }" (if "if") (parenthesized_expression "(local_10cc != 0)" (( "(") (binary_expression "local_10cc != 0" (identifier "local_10cc") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }" ({ "{") (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" (( "(") (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" (* "*") (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImageInfo_003a95e8"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar26 = 0x3e4;" (assignment_expression "uVar26 = 0x3e4" (identifier "uVar26") (= "=") (number_literal "0x3e4")) (; ";")) (goto_statement "goto LAB_00275880;" (goto "goto") (statement_identifier "LAB_00275880") (; ";")) (} "}"))) (if_statement "if (uVar28 != 10) {\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }" (if "if") (parenthesized_expression "(uVar28 != 10)" (( "(") (binary_expression "uVar28 != 10" (identifier "uVar28") (!= "!=") (number_literal "10")) () ")")) (compound_statement "{\n                    if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }\n                    goto LAB_00274594;\n                  }" ({ "{") (if_statement "if (0 < (int)(uVar28 - 2)) {\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }" (if "if") (parenthesized_expression "(0 < (int)(uVar28 - 2))" (( "(") (binary_expression "0 < (int)(uVar28 - 2)" (number_literal "0") (< "<") (cast_expression "(int)(uVar28 - 2)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(uVar28 - 2)" (( "(") (binary_expression "uVar28 - 2" (identifier "uVar28") (- "-") (number_literal "2")) () ")")))) () ")")) (compound_statement "{\n                      iVar5 = 0;\n                      do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);\n                    }" ({ "{") (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      } while (uVar28 - 2 != iVar5);" (do "do") (compound_statement "{\n                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar13 == -1) break;\n                        iVar5 = iVar5 + 1;\n                      }" ({ "{") (expression_statement "iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (identifier "iVar13") (= "=") (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")")))) (; ";")) (if_statement "if (iVar13 == -1) break;" (if "if") (parenthesized_expression "(iVar13 == -1)" (( "(") (binary_expression "iVar13 == -1" (identifier "iVar13") (== "==") (number_literal "-1")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" (identifier "iVar5") (= "=") (binary_expression "iVar5 + 1" (identifier "iVar5") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar28 - 2 != iVar5)" (( "(") (binary_expression "uVar28 - 2 != iVar5" (binary_expression "uVar28 - 2" (identifier "uVar28") (- "-") (number_literal "2")) (!= "!=") (identifier "iVar5")) () ")")) (; ";")) (} "}"))) (goto_statement "goto LAB_00274594;" (goto "goto") (statement_identifier "LAB_00274594") (; ";")) (} "}"))) (expression_statement "iVar5 = FUN_002739c8(unaff_s0,local_10bc);" (assignment_expression "iVar5 = FUN_002739c8(unaff_s0,local_10bc)" (identifier "iVar5") (= "=") (call_expression "FUN_002739c8(unaff_s0,local_10bc)" (identifier "FUN_002739c8") (argument_list "(unaff_s0,local_10bc)" (( "(") (identifier "unaff_s0") (, ",") (identifier "local_10bc") () ")")))) (; ";")) (expression_statement "puVar12 = PTR_SetImageExtent_003a94ac;" (assignment_expression "puVar12 = PTR_SetImageExtent_003a94ac" (identifier "puVar12") (= "=") (identifier "PTR_SetImageExtent_003a94ac")) (; ";")) (if_statement "if (iVar5 == 0) {\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x3ed;\n                    goto LAB_002757bc;\n                  }" ({ "{") (if_statement "if (unaff_s3 != (byte *)0x0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }" (if "if") (parenthesized_expression "(unaff_s3 != (byte *)0x0)" (( "(") (binary_expression "unaff_s3 != (byte *)0x0" (identifier "unaff_s3") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                    }" ({ "{") (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" (( "(") (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" (* "*") (cast_expression "(code *)PTR_DestroyImage_003a8f4c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImage_003a8f4c"))) () ")")) (argument_list "(unaff_s3)" (( "(") (identifier "unaff_s3") () ")"))) (; ";")) (} "}"))) (if_statement "if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }" (if "if") (parenthesized_expression "(local_10cc != 0)" (( "(") (binary_expression "local_10cc != 0" (identifier "local_10cc") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }" ({ "{") (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" (( "(") (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" (* "*") (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImageInfo_003a95e8"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar26 = 0x3ed;" (assignment_expression "uVar26 = 0x3ed" (identifier "uVar26") (= "=") (number_literal "0x3ed")) (; ";")) (goto_statement "goto LAB_002757bc;" (goto "goto") (statement_identifier "LAB_002757bc") (; ";")) (} "}"))) (if_statement "if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;" (if "if") (parenthesized_expression "((local_108e < 0) || (local_1090 < 0))" (( "(") (binary_expression "(local_108e < 0) || (local_1090 < 0)" (parenthesized_expression "(local_108e < 0)" (( "(") (binary_expression "local_108e < 0" (identifier "local_108e") (< "<") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(local_1090 < 0)" (( "(") (binary_expression "local_1090 < 0" (identifier "local_1090") (< "<") (number_literal "0")) () ")"))) () ")")) (goto_statement "goto LAB_00274594;" (goto "goto") (statement_identifier "LAB_00274594") (; ";"))) (expression_statement "iVar5 = (int)local_108a - (int)local_108e;" (assignment_expression "iVar5 = (int)local_108a - (int)local_108e" (identifier "iVar5") (= "=") (binary_expression "(int)local_108a - (int)local_108e" (cast_expression "(int)local_108a" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_108a")) (- "-") (cast_expression "(int)local_108e" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_108e")))) (; ";")) (expression_statement "iVar13 = (int)local_108c - (int)local_1090;" (assignment_expression "iVar13 = (int)local_108c - (int)local_1090" (identifier "iVar13") (= "=") (binary_expression "(int)local_108c - (int)local_1090" (cast_expression "(int)local_108c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_108c")) (- "-") (cast_expression "(int)local_1090" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_1090")))) (; ";")) (expression_statement "*(int *)(unaff_s0 + 0x18) = iVar5;" (assignment_expression "*(int *)(unaff_s0 + 0x18) = iVar5" (pointer_expression "*(int *)(unaff_s0 + 0x18)" (* "*") (cast_expression "(int *)(unaff_s0 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s0 + 0x18)" (( "(") (binary_expression "unaff_s0 + 0x18" (identifier "unaff_s0") (+ "+") (number_literal "0x18")) () ")")))) (= "=") (identifier "iVar5")) (; ";")) (expression_statement "*(int *)(unaff_s0 + 0x1c) = iVar13;" (assignment_expression "*(int *)(unaff_s0 + 0x1c) = iVar13" (pointer_expression "*(int *)(unaff_s0 + 0x1c)" (* "*") (cast_expression "(int *)(unaff_s0 + 0x1c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s0 + 0x1c)" (( "(") (binary_expression "unaff_s0 + 0x1c" (identifier "unaff_s0") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (identifier "iVar13")) (; ";")) (expression_statement "iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);" (assignment_expression "iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8)" (identifier "iVar5") (= "=") (call_expression "(*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8)" (parenthesized_expression "(*(code *)puVar12)" (( "(") (pointer_expression "*(code *)puVar12" (* "*") (cast_expression "(code *)puVar12" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar12"))) () ")")) (argument_list "(unaff_s0,iVar5,iVar13,local_10d8)" (( "(") (identifier "unaff_s0") (, ",") (identifier "iVar5") (, ",") (identifier "iVar13") (, ",") (identifier "local_10d8") () ")")))) (; ";")) (if_statement "if ((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)) goto LAB_00274594;" (if "if") (parenthesized_expression "((iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0))" (( "(") (binary_expression "(iVar5 != 0) &&\n                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)" (parenthesized_expression "(iVar5 != 0)" (( "(") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0)" (( "(") (comma_expression "iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),\n                     iVar5 != 0" (assignment_expression "iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8)" (identifier "iVar5") (= "=") (call_expression "(*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8)" (parenthesized_expression "(*(code *)PTR_ResetImagePixels_003a9334)" (( "(") (pointer_expression "*(code *)PTR_ResetImagePixels_003a9334" (* "*") (cast_expression "(code *)PTR_ResetImagePixels_003a9334" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ResetImagePixels_003a9334"))) () ")")) (argument_list "(unaff_s0,local_10d8)" (( "(") (identifier "unaff_s0") (, ",") (identifier "local_10d8") () ")")))) (, ",") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (goto_statement "goto LAB_00274594;" (goto "goto") (statement_identifier "LAB_00274594") (; ";"))) (labeled_statement "LAB_002743d4:\n                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);" (statement_identifier "LAB_002743d4") (: ":") (expression_statement "uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);" (assignment_expression "uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0)" (identifier "uVar26") (= "=") (call_expression "(*(code *)PTR_DestroyImageList_003a9510)(unaff_s0)" (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 "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")")))) (; ";"))) (goto_statement "goto LAB_00274228;" (goto "goto") (statement_identifier "LAB_00274228") (; ";")) (} "}"))) (if_statement "if ((int *)0x9b < unaff_s7) {\n                  if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }\n                  goto LAB_00274584;\n                }" (if "if") (parenthesized_expression "((int *)0x9b < unaff_s7)" (( "(") (binary_expression "(int *)0x9b < unaff_s7" (cast_expression "(int *)0x9b" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x9b")) (< "<") (identifier "unaff_s7")) () ")")) (compound_statement "{\n                  if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }\nLAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);\n                  if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }\n                  goto LAB_00274584;\n                }" ({ "{") (if_statement "if (unaff_s7 == (int *)0xa1) {\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }" (if "if") (parenthesized_expression "(unaff_s7 == (int *)0xa1)" (( "(") (binary_expression "unaff_s7 == (int *)0xa1" (identifier "unaff_s7") (== "==") (cast_expression "(int *)0xa1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0xa1"))) () ")")) (compound_statement "{\n                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }\n                    if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }\n                    goto LAB_00274594;\n                  }" ({ "{") (expression_statement "iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (assignment_expression "iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (identifier "iVar5") (= "=") (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" (( "(") (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" (* "*") (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ReadBlobMSBShort_003a9160"))) () ")")) (argument_list "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")")))) (; ";")) (expression_statement "uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (assignment_expression "uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (identifier "uVar28") (= "=") (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" (( "(") (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" (* "*") (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ReadBlobMSBShort_003a9160"))) () ")")) (argument_list "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")")))) (; ";")) (expression_statement "uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);" (assignment_expression "uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" (identifier "uVar37") (= "=") (call_expression "(*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" (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 "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")")))) (; ";")) (if_statement "if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }" (if "if") (parenthesized_expression "(((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28))" (( "(") (binary_expression "((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)" (parenthesized_expression "((int)((ulonglong)uVar37 >> 0x20) == 0)" (( "(") (binary_expression "(int)((ulonglong)uVar37 >> 0x20) == 0" (cast_expression "(int)((ulonglong)uVar37 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)uVar37 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar37 >> 0x20" (cast_expression "(ulonglong)uVar37" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar37")) (>> ">>") (number_literal "0x20")) () ")"))) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((uint)uVar37 < uVar28)" (( "(") (binary_expression "(uint)uVar37 < uVar28" (cast_expression "(uint)uVar37" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "uVar37")) (< "<") (identifier "uVar28")) () ")"))) () ")")) (compound_statement "{\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x562;\n                      goto LAB_00275880;\n                    }" ({ "{") (if_statement "if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }" (if "if") (parenthesized_expression "(unaff_s3 != (byte *)0x0)" (( "(") (binary_expression "unaff_s3 != (byte *)0x0" (identifier "unaff_s3") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }" ({ "{") (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" (( "(") (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" (* "*") (cast_expression "(code *)PTR_DestroyImage_003a8f4c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImage_003a8f4c"))) () ")")) (argument_list "(unaff_s3)" (( "(") (identifier "unaff_s3") () ")"))) (; ";")) (} "}"))) (if_statement "if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }" (if "if") (parenthesized_expression "(local_10cc != 0)" (( "(") (binary_expression "local_10cc != 0" (identifier "local_10cc") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }" ({ "{") (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" (( "(") (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" (* "*") (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImageInfo_003a95e8"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar26 = 0x562;" (assignment_expression "uVar26 = 0x562" (identifier "uVar26") (= "=") (number_literal "0x562")) (; ";")) (goto_statement "goto LAB_00275880;" (goto "goto") (statement_identifier "LAB_00275880") (; ";")) (} "}"))) (if_statement "if (uVar28 != 0) {\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }" (if "if") (parenthesized_expression "(uVar28 != 0)" (( "(") (binary_expression "uVar28 != 0" (identifier "uVar28") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar29 = 4;\n                      if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }\n                      iVar13 = uVar28 - uVar29;\n                      if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }\n                    }" ({ "{") (expression_statement "(*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);" (call_expression "(*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBLong_003a8d98)" (( "(") (pointer_expression "*(code *)PTR_ReadBlobMSBLong_003a8d98" (* "*") (cast_expression "(code *)PTR_ReadBlobMSBLong_003a8d98" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ReadBlobMSBLong_003a8d98"))) () ")")) (argument_list "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")"))) (; ";")) (expression_statement "uVar29 = 4;" (assignment_expression "uVar29 = 4" (identifier "uVar29") (= "=") (number_literal "4")) (; ";")) (if_statement "if (uVar28 < 5) {\n                        uVar29 = uVar28;\n                      }" (if "if") (parenthesized_expression "(uVar28 < 5)" (( "(") (binary_expression "uVar28 < 5" (identifier "uVar28") (< "<") (number_literal "5")) () ")")) (compound_statement "{\n                        uVar29 = uVar28;\n                      }" ({ "{") (expression_statement "uVar29 = uVar28;" (assignment_expression "uVar29 = uVar28" (identifier "uVar29") (= "=") (identifier "uVar28")) (; ";")) (} "}"))) (expression_statement "iVar13 = uVar28 - uVar29;" (assignment_expression "iVar13 = uVar28 - uVar29" (identifier "iVar13") (= "=") (binary_expression "uVar28 - uVar29" (identifier "uVar28") (- "-") (identifier "uVar29"))) (; ";")) (if_statement "if ((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )) {\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }" (if "if") (parenthesized_expression "((iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         ))" (( "(") (binary_expression "(iVar13 != 0) &&\n                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )" (parenthesized_expression "(iVar13 != 0)" (( "(") (binary_expression "iVar13 != 0" (identifier "iVar13") (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0\n                         )" (( "(") (comma_expression "iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0" (assignment_expression "iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1)" (identifier "iVar9") (= "=") (call_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,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 "(iVar13,1)" (( "(") (identifier "iVar13") (, ",") (number_literal "1") () ")")))) (, ",") (binary_expression "iVar9 != 0" (identifier "iVar9") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);\n                        if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }\n                        if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                      }" ({ "{") (expression_statement "iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);" (assignment_expression "iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9)" (identifier "iVar22") (= "=") (call_expression "(*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9)" (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 "(unaff_s0,iVar13,iVar9)" (( "(") (identifier "unaff_s0") (, ",") (identifier "iVar13") (, ",") (identifier "iVar9") () ")")))) (; ";")) (if_statement "if (iVar13 != iVar22) {\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }" (if "if") (parenthesized_expression "(iVar13 != iVar22)" (( "(") (binary_expression "iVar13 != iVar22" (identifier "iVar13") (!= "!=") (identifier "iVar22")) () ")")) (compound_statement "{\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x570;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                          uVar8 = 400;\n                          goto LAB_00275084;\n                        }" ({ "{") (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9)" (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 "(iVar9)" (( "(") (identifier "iVar9") () ")"))) (; ";")) (if_statement "if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }" (if "if") (parenthesized_expression "(unaff_s3 != (byte *)0x0)" (( "(") (binary_expression "unaff_s3 != (byte *)0x0" (identifier "unaff_s3") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }" ({ "{") (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" (( "(") (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" (* "*") (cast_expression "(code *)PTR_DestroyImage_003a8f4c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImage_003a8f4c"))) () ")")) (argument_list "(unaff_s3)" (( "(") (identifier "unaff_s3") () ")"))) (; ";")) (} "}"))) (if_statement "if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }" (if "if") (parenthesized_expression "(local_10cc != 0)" (( "(") (binary_expression "local_10cc != 0" (identifier "local_10cc") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }" ({ "{") (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" (( "(") (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" (* "*") (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImageInfo_003a95e8"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar26 = 0x570;" (assignment_expression "uVar26 = 0x570" (identifier "uVar26") (= "=") (number_literal "0x570")) (; ";")) (expression_statement "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;" (assignment_expression "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" (identifier "puVar25") (= "=") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "-0x3dbc"))) (; ";")) (expression_statement "uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);" (assignment_expression "uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" (identifier "uVar37") (= "=") (call_expression "CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" (identifier "CONCAT44") (argument_list "(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" (( "(") (binary_expression "PTR_LAB_003a88e0 + 0x3e28" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x3e28")) (, ",") (binary_expression "local_10d0 + 0x2210" (identifier "local_10d0") (+ "+") (number_literal "0x2210")) () ")")))) (; ";")) (expression_statement "puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;" (assignment_expression "puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" (identifier "puVar21") (= "=") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "-0x3d60"))) (; ";")) (expression_statement "puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;" (assignment_expression "puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc" (identifier "puVar12") (= "=") (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 "uVar8 = 400;" (assignment_expression "uVar8 = 400" (identifier "uVar8") (= "=") (number_literal "400")) (; ";")) (goto_statement "goto LAB_00275084;" (goto "goto") (statement_identifier "LAB_00275084") (; ";")) (} "}"))) (if_statement "if (iVar5 == 0xe0) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }\n                        else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }" (if "if") (parenthesized_expression "(iVar5 == 0xe0)" (( "(") (binary_expression "iVar5 == 0xe0" (identifier "iVar5") (== "==") (number_literal "0xe0")) () ")")) (compound_statement "{\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }\n                        }" ({ "{") (expression_statement "uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);" (assignment_expression "uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13)" (identifier "uVar26") (= "=") (call_expression "(*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13)" (parenthesized_expression "(*(code *)PTR_BlobToStringInfo_003a96c4)" (( "(") (pointer_expression "*(code *)PTR_BlobToStringInfo_003a96c4" (* "*") (cast_expression "(code *)PTR_BlobToStringInfo_003a96c4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_BlobToStringInfo_003a96c4"))) () ")")) (argument_list "(0,iVar13)" (( "(") (number_literal "0") (, ",") (identifier "iVar13") () ")")))) (; ";")) (expression_statement "(*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);" (call_expression "(*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9)" (parenthesized_expression "(*(code *)PTR_SetStringInfoDatum_003a90e0)" (( "(") (pointer_expression "*(code *)PTR_SetStringInfoDatum_003a90e0" (* "*") (cast_expression "(code *)PTR_SetStringInfoDatum_003a90e0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_SetStringInfoDatum_003a90e0"))) () ")")) (argument_list "(uVar26,iVar9)" (( "(") (identifier "uVar26") (, ",") (identifier "iVar9") () ")"))) (; ";")) (expression_statement "iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8);" (assignment_expression "iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8)" (identifier "iVar5") (= "=") (call_expression "(*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8)" (parenthesized_expression "(*(code *)PTR_SetImageProfile_003a9698)" (( "(") (pointer_expression "*(code *)PTR_SetImageProfile_003a9698" (* "*") (cast_expression "(code *)PTR_SetImageProfile_003a9698" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_SetImageProfile_003a9698"))) () ")")) (argument_list "(unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890,uVar26,local_10d8)" (( "(") (identifier "unaff_s0") (, ",") (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x5890" (identifier "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8") (+ "+") (number_literal "-0x5890")) (, ",") (identifier "uVar26") (, ",") (identifier "local_10d8") () ")")))) (; ";")) (expression_statement "(*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);" (call_expression "(*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26)" (parenthesized_expression "(*(code *)PTR_DestroyStringInfo_003a8dfc)" (( "(") (pointer_expression "*(code *)PTR_DestroyStringInfo_003a8dfc" (* "*") (cast_expression "(code *)PTR_DestroyStringInfo_003a8dfc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyStringInfo_003a8dfc"))) () ")")) (argument_list "(uVar26)" (( "(") (identifier "uVar26") () ")"))) (; ";")) (if_statement "if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x57e;\n                            goto LAB_00275720;\n                          }" ({ "{") (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9)" (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 "(iVar9)" (( "(") (identifier "iVar9") () ")"))) (; ";")) (if_statement "if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }" (if "if") (parenthesized_expression "(unaff_s3 != (byte *)0x0)" (( "(") (binary_expression "unaff_s3 != (byte *)0x0" (identifier "unaff_s3") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }" ({ "{") (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" (( "(") (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" (* "*") (cast_expression "(code *)PTR_DestroyImage_003a8f4c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImage_003a8f4c"))) () ")")) (argument_list "(unaff_s3)" (( "(") (identifier "unaff_s3") () ")"))) (; ";")) (} "}"))) (if_statement "if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }" (if "if") (parenthesized_expression "(local_10cc != 0)" (( "(") (binary_expression "local_10cc != 0" (identifier "local_10cc") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }" ({ "{") (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" (( "(") (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" (* "*") (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImageInfo_003a95e8"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar26 = 0x57e;" (assignment_expression "uVar26 = 0x57e" (identifier "uVar26") (= "=") (number_literal "0x57e")) (; ";")) (goto_statement "goto LAB_00275720;" (goto "goto") (statement_identifier "LAB_00275720") (; ";")) (} "}"))) (} "}")) (else_clause "else if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }" (else "else") (if_statement "if (iVar5 == 0x1f2) {\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }" (if "if") (parenthesized_expression "(iVar5 == 0x1f2)" (( "(") (binary_expression "iVar5 == 0x1f2" (identifier "iVar5") (== "==") (number_literal "0x1f2")) () ")")) (compound_statement "{\n                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);\n                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);\n                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);\n                          if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }\n                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);\n                        }" ({ "{") (expression_statement "uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);" (assignment_expression "uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13)" (identifier "uVar26") (= "=") (call_expression "(*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13)" (parenthesized_expression "(*(code *)PTR_BlobToStringInfo_003a96c4)" (( "(") (pointer_expression "*(code *)PTR_BlobToStringInfo_003a96c4" (* "*") (cast_expression "(code *)PTR_BlobToStringInfo_003a96c4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_BlobToStringInfo_003a96c4"))) () ")")) (argument_list "(0,iVar13)" (( "(") (number_literal "0") (, ",") (identifier "iVar13") () ")")))) (; ";")) (expression_statement "(*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);" (call_expression "(*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9)" (parenthesized_expression "(*(code *)PTR_SetStringInfoDatum_003a90e0)" (( "(") (pointer_expression "*(code *)PTR_SetStringInfoDatum_003a90e0" (* "*") (cast_expression "(code *)PTR_SetStringInfoDatum_003a90e0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_SetStringInfoDatum_003a90e0"))) () ")")) (argument_list "(uVar26,iVar9)" (( "(") (identifier "uVar26") (, ",") (identifier "iVar9") () ")"))) (; ";")) (expression_statement "iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8);" (assignment_expression "iVar5 = (*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8)" (identifier "iVar5") (= "=") (call_expression "(*(code *)PTR_SetImageProfile_003a9698)\n                                            (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8)" (parenthesized_expression "(*(code *)PTR_SetImageProfile_003a9698)" (( "(") (pointer_expression "*(code *)PTR_SetImageProfile_003a9698" (* "*") (cast_expression "(code *)PTR_SetImageProfile_003a9698" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_SetImageProfile_003a9698"))) () ")")) (argument_list "(unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918,uVar26,local_10d8)" (( "(") (identifier "unaff_s0") (, ",") (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x1918" (identifier "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8") (+ "+") (number_literal "-0x1918")) (, ",") (identifier "uVar26") (, ",") (identifier "local_10d8") () ")")))) (; ";")) (if_statement "if (iVar5 == 0) {\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x58b;\n                            goto LAB_00275720;\n                          }" ({ "{") (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9)" (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 "(iVar9)" (( "(") (identifier "iVar9") () ")"))) (; ";")) (if_statement "if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }" (if "if") (parenthesized_expression "(unaff_s3 != (byte *)0x0)" (( "(") (binary_expression "unaff_s3 != (byte *)0x0" (identifier "unaff_s3") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }" ({ "{") (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" (( "(") (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" (* "*") (cast_expression "(code *)PTR_DestroyImage_003a8f4c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImage_003a8f4c"))) () ")")) (argument_list "(unaff_s3)" (( "(") (identifier "unaff_s3") () ")"))) (; ";")) (} "}"))) (if_statement "if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }" (if "if") (parenthesized_expression "(local_10cc != 0)" (( "(") (binary_expression "local_10cc != 0" (identifier "local_10cc") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }" ({ "{") (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" (( "(") (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" (* "*") (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImageInfo_003a95e8"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar26 = 0x58b;" (assignment_expression "uVar26 = 0x58b" (identifier "uVar26") (= "=") (number_literal "0x58b")) (; ";")) (goto_statement "goto LAB_00275720;" (goto "goto") (statement_identifier "LAB_00275720") (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);" (call_expression "(*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26)" (parenthesized_expression "(*(code *)PTR_DestroyStringInfo_003a8dfc)" (( "(") (pointer_expression "*(code *)PTR_DestroyStringInfo_003a8dfc" (* "*") (cast_expression "(code *)PTR_DestroyStringInfo_003a8dfc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyStringInfo_003a8dfc"))) () ")")) (argument_list "(uVar26)" (( "(") (identifier "uVar26") () ")"))) (; ";")) (} "}"))))) (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9)" (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 "(iVar9)" (( "(") (identifier "iVar9") () ")"))) (; ";")) (} "}"))) (} "}"))) (goto_statement "goto LAB_00274594;" (goto "goto") (statement_identifier "LAB_00274594") (; ";")) (} "}"))) (labeled_statement "LAB_002752a0:\n                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);" (statement_identifier "LAB_002752a0") (: ":") (expression_statement "iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);" (assignment_expression "iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850)" (identifier "iVar5") (= "=") (pointer_expression "*(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850)" (* "*") (cast_expression "(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850)" (( "(") (binary_expression "PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850" (binary_expression "PTR_DAT_003a8948 + (int)unaff_s7 * 0xc" (identifier "PTR_DAT_003a8948") (+ "+") (binary_expression "(int)unaff_s7 * 0xc" (cast_expression "(int)unaff_s7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "unaff_s7")) (* "*") (number_literal "0xc"))) (+ "+") (number_literal "0x5850")) () ")"))))) (; ";"))) (if_statement "if (iVar5 == -1) {\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }\n                  else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }" (if "if") (parenthesized_expression "(iVar5 == -1)" (( "(") (binary_expression "iVar5 == -1" (identifier "iVar5") (== "==") (number_literal "-1")) () ")")) (compound_statement "{\n                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  }" ({ "{") (expression_statement "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" (( "(") (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" (* "*") (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ReadBlobMSBShort_003a9160"))) () ")")) (argument_list "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")"))) (; ";")) (} "}")) (else_clause "else {\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }" (else "else") (compound_statement "{\n                    iVar13 = 0;\n                    if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }\n                  }" ({ "{") (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" (identifier "iVar13") (= "=") (number_literal "0")) (; ";")) (if_statement "if (0 < iVar5) {\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }" (if "if") (parenthesized_expression "(0 < iVar5)" (( "(") (binary_expression "0 < iVar5" (number_literal "0") (< "<") (identifier "iVar5")) () ")")) (compound_statement "{\n                      do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);\n                    }" ({ "{") (do_statement "do {\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      } while (iVar5 != iVar13);" (do "do") (compound_statement "{\n                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                        if (iVar9 == -1) break;\n                        iVar13 = iVar13 + 1;\n                      }" ({ "{") (expression_statement "iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (identifier "iVar9") (= "=") (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")")))) (; ";")) (if_statement "if (iVar9 == -1) break;" (if "if") (parenthesized_expression "(iVar9 == -1)" (( "(") (binary_expression "iVar9 == -1" (identifier "iVar9") (== "==") (number_literal "-1")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar13 = iVar13 + 1;" (assignment_expression "iVar13 = iVar13 + 1" (identifier "iVar13") (= "=") (binary_expression "iVar13 + 1" (identifier "iVar13") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar5 != iVar13)" (( "(") (binary_expression "iVar5 != iVar13" (identifier "iVar5") (!= "!=") (identifier "iVar13")) () ")")) (; ";")) (} "}"))) (} "}")))) (goto_statement "goto LAB_00274584;" (goto "goto") (statement_identifier "LAB_00274584") (; ";")) (} "}"))) (if_statement "if ((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)) goto LAB_002752a0;" (if "if") (parenthesized_expression "((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24))" (( "(") (binary_expression "(unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)" (parenthesized_expression "(unaff_s7 < (int *)0x98)" (( "(") (binary_expression "unaff_s7 < (int *)0x98" (identifier "unaff_s7") (< "<") (cast_expression "(int *)0x98" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x98"))) () ")")) (&& "&&") (parenthesized_expression "((int *)0x1 < unaff_s7 + -0x24)" (( "(") (binary_expression "(int *)0x1 < unaff_s7 + -0x24" (cast_expression "(int *)0x1" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x1")) (< "<") (binary_expression "unaff_s7 + -0x24" (identifier "unaff_s7") (+ "+") (number_literal "-0x24"))) () ")"))) () ")")) (goto_statement "goto LAB_002752a0;" (goto "goto") (statement_identifier "LAB_002752a0") (; ";"))) (expression_statement "bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2;" (assignment_expression "bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2" (identifier "bVar3") (= "=") (binary_expression "(undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2" (cast_expression "(undefined1 *)((int)unaff_s7 + -0x9a)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((int)unaff_s7 + -0x9a)" (( "(") (binary_expression "(int)unaff_s7 + -0x9a" (cast_expression "(int)unaff_s7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "unaff_s7")) (+ "+") (number_literal "-0x9a")) () ")"))) (< "<") (cast_expression "(undefined1 *)0x2" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x2")))) (; ";")) (if_statement "if (bVar3) {\n                  uVar28 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }\n                else {\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }" (if "if") (parenthesized_expression "(bVar3)" (( "(") (identifier "bVar3") () ")")) (compound_statement "{\n                  uVar28 = 0;\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                }" ({ "{") (expression_statement "uVar28 = 0;" (assignment_expression "uVar28 = 0" (identifier "uVar28") (= "=") (number_literal "0")) (; ";")) (expression_statement "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" (( "(") (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" (* "*") (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ReadBlobMSBShort_003a9160"))) () ")")) (argument_list "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" (( "(") (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" (* "*") (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ReadBlobMSBShort_003a9160"))) () ")")) (argument_list "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" (( "(") (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" (* "*") (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ReadBlobMSBShort_003a9160"))) () ")")) (argument_list "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")"))) (; ";")) (} "}")) (else_clause "else {\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }" (else "else") (compound_statement "{\n                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();\n                }" ({ "{") (expression_statement "uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();" (assignment_expression "uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)()" (identifier "uVar28") (= "=") (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)()" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" (( "(") (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" (* "*") (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ReadBlobMSBShort_003a9160"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (} "}")))) (expression_statement "iVar5 = FUN_002739c8(unaff_s0,local_10bc);" (assignment_expression "iVar5 = FUN_002739c8(unaff_s0,local_10bc)" (identifier "iVar5") (= "=") (call_expression "FUN_002739c8(unaff_s0,local_10bc)" (identifier "FUN_002739c8") (argument_list "(unaff_s0,local_10bc)" (( "(") (identifier "unaff_s0") (, ",") (identifier "local_10bc") () ")")))) (; ";")) (if_statement "if (iVar5 != 0) {\n                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);\n                  if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);\n                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }\n                  piVar7[9] = 2;\nLAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);\n                  if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }\n                  iVar5 = piVar7[9];\n                  if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }\nLAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar26 = 0x4d7;\n                  unaff_s7 = piVar7;\n                  goto LAB_00275880;\n                }" (if "if") (parenthesized_expression "(iVar5 != 0)" (( "(") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);\n                  if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);\n                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }\n                  piVar7[9] = 2;\nLAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);\n                  if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }\n                  iVar5 = piVar7[9];\n                  if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }\nLAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);\n                  if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }\n                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                  if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }\n                  uVar26 = 0x4d7;\n                  unaff_s7 = piVar7;\n                  goto LAB_00275880;\n                }" ({ "{") (expression_statement "piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1);" (assignment_expression "piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1)" (identifier "piVar7") (= "=") (cast_expression "(int *)(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_CloneImage_003a9830)\n                                            (unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1)" (parenthesized_expression "(*(code *)PTR_CloneImage_003a9830)" (( "(") (pointer_expression "*(code *)PTR_CloneImage_003a9830" (* "*") (cast_expression "(code *)PTR_CloneImage_003a9830" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_CloneImage_003a9830"))) () ")")) (argument_list "(unaff_s0,(int)local_108a - (int)local_108e,\n                                             (int)local_108c - (int)local_1090,1)" (( "(") (identifier "unaff_s0") (, ",") (binary_expression "(int)local_108a - (int)local_108e" (cast_expression "(int)local_108a" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_108a")) (- "-") (cast_expression "(int)local_108e" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_108e"))) (, ",") (binary_expression "(int)local_108c - (int)local_1090" (cast_expression "(int)local_108c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_108c")) (- "-") (cast_expression "(int)local_1090" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_1090"))) (, ",") (number_literal "1") () ")"))))) (; ";")) (if_statement "if (piVar7 == (int *)0x0) {\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }" (if "if") (parenthesized_expression "(piVar7 == (int *)0x0)" (( "(") (binary_expression "piVar7 == (int *)0x0" (identifier "piVar7") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x498;\n                    goto LAB_002757bc;\n                  }" ({ "{") (if_statement "if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }" (if "if") (parenthesized_expression "(local_10cc != 0)" (( "(") (binary_expression "local_10cc != 0" (identifier "local_10cc") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }" ({ "{") (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" (( "(") (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" (* "*") (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImageInfo_003a95e8"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar26 = 0x498;" (assignment_expression "uVar26 = 0x498" (identifier "uVar26") (= "=") (number_literal "0x498")) (; ";")) (goto_statement "goto LAB_002757bc;" (goto "goto") (statement_identifier "LAB_002757bc") (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);" (call_expression "(*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8)" (parenthesized_expression "(*(code *)PTR_ResetImagePixels_003a9334)" (( "(") (pointer_expression "*(code *)PTR_ResetImagePixels_003a9334" (* "*") (cast_expression "(code *)PTR_ResetImagePixels_003a9334" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ResetImagePixels_003a9334"))) () ")")) (argument_list "(piVar7,local_10d8)" (( "(") (identifier "piVar7") (, ",") (identifier "local_10d8") () ")"))) (; ";")) (if_statement "if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }" (if "if") (parenthesized_expression "((bVar3) || ((uVar28 & 0x8000) != 0))" (( "(") (binary_expression "(bVar3) || ((uVar28 & 0x8000) != 0)" (parenthesized_expression "(bVar3)" (( "(") (identifier "bVar3") () ")")) (|| "||") (parenthesized_expression "((uVar28 & 0x8000) != 0)" (( "(") (binary_expression "(uVar28 & 0x8000) != 0" (parenthesized_expression "(uVar28 & 0x8000)" (( "(") (binary_expression "uVar28 & 0x8000" (identifier "uVar28") (& "&") (number_literal "0x8000")) () ")")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);\n                    if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x49e;\n                    unaff_s7 = piVar7;\n                    goto LAB_002757bc;\n                  }" ({ "{") (expression_statement "iVar5 = FUN_00273794(unaff_s0,auStack_1078);" (assignment_expression "iVar5 = FUN_00273794(unaff_s0,auStack_1078)" (identifier "iVar5") (= "=") (call_expression "FUN_00273794(unaff_s0,auStack_1078)" (identifier "FUN_00273794") (argument_list "(unaff_s0,auStack_1078)" (( "(") (identifier "unaff_s0") (, ",") (identifier "auStack_1078") () ")")))) (; ";")) (if_statement "if (iVar5 != 0) {\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }" (if "if") (parenthesized_expression "(iVar5 != 0)" (( "(") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                      piVar7[8] = (int)local_1062;\n                      puVar12 = PTR_SetImageAlpha_003a8c78;\n                      dVar33 = (double)local_1070;\n                      if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      dVar32 = (double)local_106c;\n                      if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }\n                      if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }\n                      if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }\n                      goto LAB_00274838;\n                    }" ({ "{") (expression_statement "piVar7[8] = (int)local_1062;" (assignment_expression "piVar7[8] = (int)local_1062" (subscript_expression "piVar7[8]" (identifier "piVar7") ([ "[") (number_literal "8") (] "]")) (= "=") (cast_expression "(int)local_1062" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_1062"))) (; ";")) (expression_statement "puVar12 = PTR_SetImageAlpha_003a8c78;" (assignment_expression "puVar12 = PTR_SetImageAlpha_003a8c78" (identifier "puVar12") (= "=") (identifier "PTR_SetImageAlpha_003a8c78")) (; ";")) (expression_statement "dVar33 = (double)local_1070;" (assignment_expression "dVar33 = (double)local_1070" (identifier "dVar33") (= "=") (cast_expression "(double)local_1070" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "local_1070"))) (; ";")) (if_statement "if (local_1070 < 0) {\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }" (if "if") (parenthesized_expression "(local_1070 < 0)" (( "(") (binary_expression "local_1070 < 0" (identifier "local_1070") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                      }" ({ "{") (expression_statement "dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);" (assignment_expression "dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418)" (identifier "dVar33") (= "=") (binary_expression "dVar33 + *(double *)(local_10c8 + 0x1418)" (identifier "dVar33") (+ "+") (pointer_expression "*(double *)(local_10c8 + 0x1418)" (* "*") (cast_expression "(double *)(local_10c8 + 0x1418)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_10c8 + 0x1418)" (( "(") (binary_expression "local_10c8 + 0x1418" (identifier "local_10c8") (+ "+") (number_literal "0x1418")) () ")")))))) (; ";")) (} "}"))) (expression_statement "dVar32 = (double)local_106c;" (assignment_expression "dVar32 = (double)local_106c" (identifier "dVar32") (= "=") (cast_expression "(double)local_106c" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "local_106c"))) (; ";")) (if_statement "if (local_106c < 0) {\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }" (if "if") (parenthesized_expression "(local_106c < 0)" (( "(") (binary_expression "local_106c < 0" (identifier "local_106c") (< "<") (number_literal "0")) () ")")) (compound_statement "{\n                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);\n                      }" ({ "{") (expression_statement "dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);" (assignment_expression "dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418)" (identifier "dVar32") (= "=") (binary_expression "dVar32 + *(double *)(local_10c8 + 0x1418)" (identifier "dVar32") (+ "+") (pointer_expression "*(double *)(local_10c8 + 0x1418)" (* "*") (cast_expression "(double *)(local_10c8 + 0x1418)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_10c8 + 0x1418)" (( "(") (binary_expression "local_10c8 + 0x1418" (identifier "local_10c8") (+ "+") (number_literal "0x1418")) () ")")))))) (; ";")) (} "}"))) (if_statement "if (local_1064 == 4) {\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }\n                      else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }" (if "if") (parenthesized_expression "(local_1064 == 4)" (( "(") (binary_expression "local_1064 == 4" (identifier "local_1064") (== "==") (number_literal "4")) () ")")) (compound_statement "{\n                        piVar7[0xaf] = 4;\n                        piVar7[0x80] = 1;\n                        puVar21 = PTR_LAB_003a88e0;\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);\n                      }" ({ "{") (expression_statement "piVar7[0xaf] = 4;" (assignment_expression "piVar7[0xaf] = 4" (subscript_expression "piVar7[0xaf]" (identifier "piVar7") ([ "[") (number_literal "0xaf") (] "]")) (= "=") (number_literal "4")) (; ";")) (expression_statement "piVar7[0x80] = 1;" (assignment_expression "piVar7[0x80] = 1" (subscript_expression "piVar7[0x80]" (identifier "piVar7") ([ "[") (number_literal "0x80") (] "]")) (= "=") (number_literal "1")) (; ";")) (expression_statement "puVar21 = PTR_LAB_003a88e0;" (assignment_expression "puVar21 = PTR_LAB_003a88e0" (identifier "puVar21") (= "=") (identifier "PTR_LAB_003a88e0")) (; ";")) (expression_statement "*(double *)(piVar7 + 0x86) = dVar33;" (assignment_expression "*(double *)(piVar7 + 0x86) = dVar33" (pointer_expression "*(double *)(piVar7 + 0x86)" (* "*") (cast_expression "(double *)(piVar7 + 0x86)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar7 + 0x86)" (( "(") (binary_expression "piVar7 + 0x86" (identifier "piVar7") (+ "+") (number_literal "0x86")) () ")")))) (= "=") (identifier "dVar33")) (; ";")) (expression_statement "*(double *)(piVar7 + 0x88) = dVar32;" (assignment_expression "*(double *)(piVar7 + 0x88) = dVar32" (pointer_expression "*(double *)(piVar7 + 0x88)" (* "*") (cast_expression "(double *)(piVar7 + 0x88)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar7 + 0x88)" (( "(") (binary_expression "piVar7 + 0x88" (identifier "piVar7") (+ "+") (number_literal "0x88")) () ")")))) (= "=") (identifier "dVar32")) (; ";")) (expression_statement "(*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);" (call_expression "(*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8)" (parenthesized_expression "(*(code *)puVar12)" (( "(") (pointer_expression "*(code *)puVar12" (* "*") (cast_expression "(code *)puVar12" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar12"))) () ")")) (argument_list "(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8)" (( "(") (identifier "piVar7") (, ",") (pointer_expression "*(undefined4 *)(puVar21 + 0x1a50)" (* "*") (cast_expression "(undefined4 *)(puVar21 + 0x1a50)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar21 + 0x1a50)" (( "(") (binary_expression "puVar21 + 0x1a50" (identifier "puVar21") (+ "+") (number_literal "0x1a50")) () ")")))) (, ",") (identifier "local_10d8") () ")"))) (; ";")) (} "}")) (else_clause "else {\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }" (else "else") (compound_statement "{\n                        *(double *)(piVar7 + 0x86) = dVar33;\n                        piVar7[0xaf] = 0;\n                        *(double *)(piVar7 + 0x88) = dVar32;\n                        piVar7[0x80] = 1;\n                      }" ({ "{") (expression_statement "*(double *)(piVar7 + 0x86) = dVar33;" (assignment_expression "*(double *)(piVar7 + 0x86) = dVar33" (pointer_expression "*(double *)(piVar7 + 0x86)" (* "*") (cast_expression "(double *)(piVar7 + 0x86)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar7 + 0x86)" (( "(") (binary_expression "piVar7 + 0x86" (identifier "piVar7") (+ "+") (number_literal "0x86")) () ")")))) (= "=") (identifier "dVar33")) (; ";")) (expression_statement "piVar7[0xaf] = 0;" (assignment_expression "piVar7[0xaf] = 0" (subscript_expression "piVar7[0xaf]" (identifier "piVar7") ([ "[") (number_literal "0xaf") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(double *)(piVar7 + 0x88) = dVar32;" (assignment_expression "*(double *)(piVar7 + 0x88) = dVar32" (pointer_expression "*(double *)(piVar7 + 0x88)" (* "*") (cast_expression "(double *)(piVar7 + 0x88)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar7 + 0x88)" (( "(") (binary_expression "piVar7 + 0x88" (identifier "piVar7") (+ "+") (number_literal "0x88")) () ")")))) (= "=") (identifier "dVar32")) (; ";")) (expression_statement "piVar7[0x80] = 1;" (assignment_expression "piVar7[0x80] = 1" (subscript_expression "piVar7[0x80]" (identifier "piVar7") ([ "[") (number_literal "0x80") (] "]")) (= "=") (number_literal "1")) (; ";")) (} "}")))) (if_statement "if (!bVar3) {\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }" (if "if") (parenthesized_expression "(!bVar3)" (( "(") (unary_expression "!bVar3" (! "!") (identifier "bVar3")) () ")")) (compound_statement "{\n                        piVar7[9] = 2;\n                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;\n                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        puVar12 = PTR_AcquireImageColormap_003a9194;\n                        piVar7[9] = iVar5 + 1;\n                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);\n                        if (iVar5 == 0) goto LAB_002756e4;\n                        if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }\n                      }" ({ "{") (expression_statement "piVar7[9] = 2;" (assignment_expression "piVar7[9] = 2" (subscript_expression "piVar7[9]" (identifier "piVar7") ([ "[") (number_literal "9") (] "]")) (= "=") (number_literal "2")) (; ";")) (if_statement "if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;" (if "if") (parenthesized_expression "((uVar28 & 0x8000) == 0)" (( "(") (binary_expression "(uVar28 & 0x8000) == 0" (parenthesized_expression "(uVar28 & 0x8000)" (( "(") (binary_expression "uVar28 & 0x8000" (identifier "uVar28") (& "&") (number_literal "0x8000")) () ")")) (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0027565c;" (goto "goto") (statement_identifier "LAB_0027565c") (; ";"))) (expression_statement "(*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);" (call_expression "(*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBLong_003a8d98)" (( "(") (pointer_expression "*(code *)PTR_ReadBlobMSBLong_003a8d98" (* "*") (cast_expression "(code *)PTR_ReadBlobMSBLong_003a8d98" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ReadBlobMSBLong_003a8d98"))) () ")")) (argument_list "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")"))) (; ";")) (expression_statement "sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (assignment_expression "sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (identifier "sVar15") (= "=") (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" (( "(") (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" (* "*") (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ReadBlobMSBShort_003a9160"))) () ")")) (argument_list "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")")))) (; ";")) (expression_statement "iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (assignment_expression "iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (identifier "iVar5") (= "=") (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" (( "(") (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" (* "*") (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ReadBlobMSBShort_003a9160"))) () ")")) (argument_list "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")")))) (; ";")) (expression_statement "puVar12 = PTR_AcquireImageColormap_003a9194;" (assignment_expression "puVar12 = PTR_AcquireImageColormap_003a9194" (identifier "puVar12") (= "=") (identifier "PTR_AcquireImageColormap_003a9194")) (; ";")) (expression_statement "piVar7[9] = iVar5 + 1;" (assignment_expression "piVar7[9] = iVar5 + 1" (subscript_expression "piVar7[9]" (identifier "piVar7") ([ "[") (number_literal "9") (] "]")) (= "=") (binary_expression "iVar5 + 1" (identifier "iVar5") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);" (assignment_expression "iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8)" (identifier "iVar5") (= "=") (call_expression "(*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8)" (parenthesized_expression "(*(code *)puVar12)" (( "(") (pointer_expression "*(code *)puVar12" (* "*") (cast_expression "(code *)puVar12" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar12"))) () ")")) (argument_list "(piVar7,iVar5 + 1,local_10d8)" (( "(") (identifier "piVar7") (, ",") (binary_expression "iVar5 + 1" (identifier "iVar5") (+ "+") (number_literal "1")) (, ",") (identifier "local_10d8") () ")")))) (; ";")) (if_statement "if (iVar5 == 0) goto LAB_002756e4;" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_002756e4;" (goto "goto") (statement_identifier "LAB_002756e4") (; ";"))) (if_statement "if (0 < piVar7[9]) {\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }" (if "if") (parenthesized_expression "(0 < piVar7[9])" (( "(") (binary_expression "0 < piVar7[9]" (number_literal "0") (< "<") (subscript_expression "piVar7[9]" (identifier "piVar7") ([ "[") (number_literal "9") (] "]"))) () ")")) (compound_statement "{\n                          uVar29 = 0;\n                          do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);\n                        }" ({ "{") (expression_statement "uVar29 = 0;" (assignment_expression "uVar29 = 0" (identifier "uVar29") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          } while ((int)uVar29 < iVar13);" (do "do") (compound_statement "{\n                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            uVar30 = uVar29;\n                            if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }\n                            uVar29 = uVar29 + 1;\n                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            iVar9 = uVar30 * 0x58;\n                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            puVar12 = PTR_ReadBlobMSBShort_003a9160;\n                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;\n                            iVar5 = (*(code *)puVar12)(unaff_s0);\n                            iVar13 = piVar7[9];\n                            unaff_s3 = (byte *)(piVar7[10] + iVar9);\n                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;\n                          }" ({ "{") (expression_statement "uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (assignment_expression "uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (identifier "uVar14") (= "=") (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" (( "(") (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" (* "*") (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ReadBlobMSBShort_003a9160"))) () ")")) (argument_list "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")")))) (; ";")) (expression_statement "uVar30 = uVar29;" (assignment_expression "uVar30 = uVar29" (identifier "uVar30") (= "=") (identifier "uVar29")) (; ";")) (if_statement "if (-1 < sVar15) {\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }" (if "if") (parenthesized_expression "(-1 < sVar15)" (( "(") (binary_expression "-1 < sVar15" (number_literal "-1") (< "<") (identifier "sVar15")) () ")")) (compound_statement "{\n                              if (piVar7[9] == 0) {\n                                trap(7);\n                              }\n                              uVar30 = uVar14 % (uint)piVar7[9];\n                            }" ({ "{") (if_statement "if (piVar7[9] == 0) {\n                                trap(7);\n                              }" (if "if") (parenthesized_expression "(piVar7[9] == 0)" (( "(") (binary_expression "piVar7[9] == 0" (subscript_expression "piVar7[9]" (identifier "piVar7") ([ "[") (number_literal "9") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                                trap(7);\n                              }" ({ "{") (expression_statement "trap(7);" (call_expression "trap(7)" (identifier "trap") (argument_list "(7)" (( "(") (number_literal "7") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar30 = uVar14 % (uint)piVar7[9];" (assignment_expression "uVar30 = uVar14 % (uint)piVar7[9]" (identifier "uVar30") (= "=") (binary_expression "uVar14 % (uint)piVar7[9]" (identifier "uVar14") (% "%") (cast_expression "(uint)piVar7[9]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "piVar7[9]" (identifier "piVar7") ([ "[") (number_literal "9") (] "]"))))) (; ";")) (} "}"))) (expression_statement "uVar29 = uVar29 + 1;" (assignment_expression "uVar29 = uVar29 + 1" (identifier "uVar29") (= "=") (binary_expression "uVar29 + 1" (identifier "uVar29") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (assignment_expression "iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (identifier "iVar5") (= "=") (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" (( "(") (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" (* "*") (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ReadBlobMSBShort_003a9160"))) () ")")) (argument_list "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")")))) (; ";")) (expression_statement "puVar12 = PTR_ReadBlobMSBShort_003a9160;" (assignment_expression "puVar12 = PTR_ReadBlobMSBShort_003a9160" (identifier "puVar12") (= "=") (identifier "PTR_ReadBlobMSBShort_003a9160")) (; ";")) (expression_statement "iVar9 = uVar30 * 0x58;" (assignment_expression "iVar9 = uVar30 * 0x58" (identifier "iVar9") (= "=") (binary_expression "uVar30 * 0x58" (identifier "uVar30") (* "*") (number_literal "0x58"))) (; ";")) (expression_statement "*(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;" (assignment_expression "*(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5" (pointer_expression "*(double *)(piVar7[10] + iVar9 + 0x28)" (* "*") (cast_expression "(double *)(piVar7[10] + iVar9 + 0x28)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar7[10] + iVar9 + 0x28)" (( "(") (binary_expression "piVar7[10] + iVar9 + 0x28" (binary_expression "piVar7[10] + iVar9" (subscript_expression "piVar7[10]" (identifier "piVar7") ([ "[") (number_literal "10") (] "]")) (+ "+") (identifier "iVar9")) (+ "+") (number_literal "0x28")) () ")")))) (= "=") (cast_expression "(double)iVar5" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "iVar5"))) (; ";")) (expression_statement "iVar5 = (*(code *)puVar12)(unaff_s0);" (assignment_expression "iVar5 = (*(code *)puVar12)(unaff_s0)" (identifier "iVar5") (= "=") (call_expression "(*(code *)puVar12)(unaff_s0)" (parenthesized_expression "(*(code *)puVar12)" (( "(") (pointer_expression "*(code *)puVar12" (* "*") (cast_expression "(code *)puVar12" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar12"))) () ")")) (argument_list "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")")))) (; ";")) (expression_statement "puVar12 = PTR_ReadBlobMSBShort_003a9160;" (assignment_expression "puVar12 = PTR_ReadBlobMSBShort_003a9160" (identifier "puVar12") (= "=") (identifier "PTR_ReadBlobMSBShort_003a9160")) (; ";")) (expression_statement "*(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;" (assignment_expression "*(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5" (pointer_expression "*(double *)(piVar7[10] + iVar9 + 0x30)" (* "*") (cast_expression "(double *)(piVar7[10] + iVar9 + 0x30)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar7[10] + iVar9 + 0x30)" (( "(") (binary_expression "piVar7[10] + iVar9 + 0x30" (binary_expression "piVar7[10] + iVar9" (subscript_expression "piVar7[10]" (identifier "piVar7") ([ "[") (number_literal "10") (] "]")) (+ "+") (identifier "iVar9")) (+ "+") (number_literal "0x30")) () ")")))) (= "=") (cast_expression "(double)iVar5" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "iVar5"))) (; ";")) (expression_statement "iVar5 = (*(code *)puVar12)(unaff_s0);" (assignment_expression "iVar5 = (*(code *)puVar12)(unaff_s0)" (identifier "iVar5") (= "=") (call_expression "(*(code *)puVar12)(unaff_s0)" (parenthesized_expression "(*(code *)puVar12)" (( "(") (pointer_expression "*(code *)puVar12" (* "*") (cast_expression "(code *)puVar12" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar12"))) () ")")) (argument_list "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")")))) (; ";")) (expression_statement "iVar13 = piVar7[9];" (assignment_expression "iVar13 = piVar7[9]" (identifier "iVar13") (= "=") (subscript_expression "piVar7[9]" (identifier "piVar7") ([ "[") (number_literal "9") (] "]"))) (; ";")) (expression_statement "unaff_s3 = (byte *)(piVar7[10] + iVar9);" (assignment_expression "unaff_s3 = (byte *)(piVar7[10] + iVar9)" (identifier "unaff_s3") (= "=") (cast_expression "(byte *)(piVar7[10] + iVar9)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(piVar7[10] + iVar9)" (( "(") (binary_expression "piVar7[10] + iVar9" (subscript_expression "piVar7[10]" (identifier "piVar7") ([ "[") (number_literal "10") (] "]")) (+ "+") (identifier "iVar9")) () ")")))) (; ";")) (expression_statement "*(double *)(unaff_s3 + 0x38) = (double)iVar5;" (assignment_expression "*(double *)(unaff_s3 + 0x38) = (double)iVar5" (pointer_expression "*(double *)(unaff_s3 + 0x38)" (* "*") (cast_expression "(double *)(unaff_s3 + 0x38)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s3 + 0x38)" (( "(") (binary_expression "unaff_s3 + 0x38" (identifier "unaff_s3") (+ "+") (number_literal "0x38")) () ")")))) (= "=") (cast_expression "(double)iVar5" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "iVar5"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "((int)uVar29 < iVar13)" (( "(") (binary_expression "(int)uVar29 < iVar13" (cast_expression "(int)uVar29" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar29")) (< "<") (identifier "iVar13")) () ")")) (; ";")) (} "}"))) (} "}"))) (goto_statement "goto LAB_00274838;" (goto "goto") (statement_identifier "LAB_00274838") (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(piVar7)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" (( "(") (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" (* "*") (cast_expression "(code *)PTR_DestroyImage_003a8f4c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImage_003a8f4c"))) () ")")) (argument_list "(piVar7)" (( "(") (identifier "piVar7") () ")"))) (; ";")) (if_statement "if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }" (if "if") (parenthesized_expression "(local_10cc != 0)" (( "(") (binary_expression "local_10cc != 0" (identifier "local_10cc") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }" ({ "{") (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" (( "(") (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" (* "*") (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImageInfo_003a95e8"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar26 = 0x49e;" (assignment_expression "uVar26 = 0x49e" (identifier "uVar26") (= "=") (number_literal "0x49e")) (; ";")) (expression_statement "unaff_s7 = piVar7;" (assignment_expression "unaff_s7 = piVar7" (identifier "unaff_s7") (= "=") (identifier "piVar7")) (; ";")) (goto_statement "goto LAB_002757bc;" (goto "goto") (statement_identifier "LAB_002757bc") (; ";")) (} "}"))) (expression_statement "piVar7[9] = 2;" (assignment_expression "piVar7[9] = 2" (subscript_expression "piVar7[9]" (identifier "piVar7") ([ "[") (number_literal "9") (] "]")) (= "=") (number_literal "2")) (; ";")) (labeled_statement "LAB_0027565c:\n                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);" (statement_identifier "LAB_0027565c") (: ":") (expression_statement "iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);" (assignment_expression "iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8)" (identifier "iVar5") (= "=") (call_expression "(*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8)" (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 "(piVar7,2,local_10d8)" (( "(") (identifier "piVar7") (, ",") (number_literal "2") (, ",") (identifier "local_10d8") () ")")))) (; ";"))) (if_statement "if (iVar5 == 0) {\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                    if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }\n                    uVar26 = 0x4b8;\n                    unaff_s7 = piVar7;\nLAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                    uVar8 = 400;\n                    goto LAB_00275084;\n                  }" ({ "{") (labeled_statement "LAB_002756e4:\n                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);" (statement_identifier "LAB_002756e4") (: ":") (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(piVar7)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" (( "(") (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" (* "*") (cast_expression "(code *)PTR_DestroyImage_003a8f4c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImage_003a8f4c"))) () ")")) (argument_list "(piVar7)" (( "(") (identifier "piVar7") () ")"))) (; ";"))) (if_statement "if (local_10cc != 0) {\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }" (if "if") (parenthesized_expression "(local_10cc != 0)" (( "(") (binary_expression "local_10cc != 0" (identifier "local_10cc") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                      (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                    }" ({ "{") (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" (( "(") (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" (* "*") (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImageInfo_003a95e8"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar26 = 0x4b8;" (assignment_expression "uVar26 = 0x4b8" (identifier "uVar26") (= "=") (number_literal "0x4b8")) (; ";")) (expression_statement "unaff_s7 = piVar7;" (assignment_expression "unaff_s7 = piVar7" (identifier "unaff_s7") (= "=") (identifier "piVar7")) (; ";")) (labeled_statement "LAB_00275720:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;" (statement_identifier "LAB_00275720") (: ":") (expression_statement "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;" (assignment_expression "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" (identifier "puVar25") (= "=") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "-0x3dbc"))) (; ";"))) (expression_statement "uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);" (assignment_expression "uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" (identifier "uVar37") (= "=") (call_expression "CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" (identifier "CONCAT44") (argument_list "(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" (( "(") (binary_expression "PTR_LAB_003a88e0 + 0x3e28" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x3e28")) (, ",") (binary_expression "local_10d0 + 0x2210" (identifier "local_10d0") (+ "+") (number_literal "0x2210")) () ")")))) (; ";")) (expression_statement "puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;" (assignment_expression "puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" (identifier "puVar21") (= "=") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "-0x3d60"))) (; ";")) (expression_statement "puVar12 = PTR_LAB_003a88e0 + 0x16f8;" (assignment_expression "puVar12 = PTR_LAB_003a88e0 + 0x16f8" (identifier "puVar12") (= "=") (binary_expression "PTR_LAB_003a88e0 + 0x16f8" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x16f8"))) (; ";")) (expression_statement "uVar8 = 400;" (assignment_expression "uVar8 = 400" (identifier "uVar8") (= "=") (number_literal "400")) (; ";")) (goto_statement "goto LAB_00275084;" (goto "goto") (statement_identifier "LAB_00275084") (; ";")) (} "}"))) (expression_statement "iVar5 = piVar7[9];" (assignment_expression "iVar5 = piVar7[9]" (identifier "iVar5") (= "=") (subscript_expression "piVar7[9]" (identifier "piVar7") ([ "[") (number_literal "9") (] "]"))) (; ";")) (if_statement "if (0 < iVar5) {\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }" (if "if") (parenthesized_expression "(0 < iVar5)" (( "(") (binary_expression "0 < iVar5" (number_literal "0") (< "<") (identifier "iVar5")) () ")")) (compound_statement "{\n                    iVar13 = piVar7[10];\n                    pdVar10 = (double *)(iVar13 + 0x28);\n                    do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));\n                  }" ({ "{") (expression_statement "iVar13 = piVar7[10];" (assignment_expression "iVar13 = piVar7[10]" (identifier "iVar13") (= "=") (subscript_expression "piVar7[10]" (identifier "piVar7") ([ "[") (number_literal "10") (] "]"))) (; ";")) (expression_statement "pdVar10 = (double *)(iVar13 + 0x28);" (assignment_expression "pdVar10 = (double *)(iVar13 + 0x28)" (identifier "pdVar10") (= "=") (cast_expression "(double *)(iVar13 + 0x28)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar13 + 0x28)" (( "(") (binary_expression "iVar13 + 0x28" (identifier "iVar13") (+ "+") (number_literal "0x28")) () ")")))) (; ";")) (do_statement "do {\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));" (do "do") (compound_statement "{\n                      pdVar11 = pdVar10 + 0xb;\n                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);\n                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);\n                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);\n                      pdVar10 = pdVar11;\n                    }" ({ "{") (expression_statement "pdVar11 = pdVar10 + 0xb;" (assignment_expression "pdVar11 = pdVar10 + 0xb" (identifier "pdVar11") (= "=") (binary_expression "pdVar10 + 0xb" (identifier "pdVar10") (+ "+") (number_literal "0xb"))) (; ";")) (expression_statement "*pdVar10 = (double)(float)(in_f20_21 - *pdVar10);" (assignment_expression "*pdVar10 = (double)(float)(in_f20_21 - *pdVar10)" (pointer_expression "*pdVar10" (* "*") (identifier "pdVar10")) (= "=") (cast_expression "(double)(float)(in_f20_21 - *pdVar10)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (cast_expression "(float)(in_f20_21 - *pdVar10)" (( "(") (type_descriptor "float" (primitive_type "float")) () ")") (parenthesized_expression "(in_f20_21 - *pdVar10)" (( "(") (binary_expression "in_f20_21 - *pdVar10" (identifier "in_f20_21") (- "-") (pointer_expression "*pdVar10" (* "*") (identifier "pdVar10"))) () ")"))))) (; ";")) (expression_statement "pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);" (assignment_expression "pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1])" (subscript_expression "pdVar10[1]" (identifier "pdVar10") ([ "[") (number_literal "1") (] "]")) (= "=") (cast_expression "(double)(float)(in_f20_21 - pdVar10[1])" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (cast_expression "(float)(in_f20_21 - pdVar10[1])" (( "(") (type_descriptor "float" (primitive_type "float")) () ")") (parenthesized_expression "(in_f20_21 - pdVar10[1])" (( "(") (binary_expression "in_f20_21 - pdVar10[1]" (identifier "in_f20_21") (- "-") (subscript_expression "pdVar10[1]" (identifier "pdVar10") ([ "[") (number_literal "1") (] "]"))) () ")"))))) (; ";")) (expression_statement "pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);" (assignment_expression "pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2])" (subscript_expression "pdVar10[2]" (identifier "pdVar10") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(double)(float)(in_f20_21 - pdVar10[2])" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (cast_expression "(float)(in_f20_21 - pdVar10[2])" (( "(") (type_descriptor "float" (primitive_type "float")) () ")") (parenthesized_expression "(in_f20_21 - pdVar10[2])" (( "(") (binary_expression "in_f20_21 - pdVar10[2]" (identifier "in_f20_21") (- "-") (subscript_expression "pdVar10[2]" (identifier "pdVar10") ([ "[") (number_literal "2") (] "]"))) () ")"))))) (; ";")) (expression_statement "pdVar10 = pdVar11;" (assignment_expression "pdVar10 = pdVar11" (identifier "pdVar10") (= "=") (identifier "pdVar11")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28))" (( "(") (binary_expression "pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28)" (identifier "pdVar11") (!= "!=") (cast_expression "(double *)(iVar5 * 0x58 + iVar13 + 0x28)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 * 0x58 + iVar13 + 0x28)" (( "(") (binary_expression "iVar5 * 0x58 + iVar13 + 0x28" (binary_expression "iVar5 * 0x58 + iVar13" (binary_expression "iVar5 * 0x58" (identifier "iVar5") (* "*") (number_literal "0x58")) (+ "+") (identifier "iVar13")) (+ "+") (number_literal "0x28")) () ")")))) () ")")) (; ";")) (} "}"))) (labeled_statement "LAB_00274838:\n                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);" (statement_identifier "LAB_00274838") (: ":") (expression_statement "iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);" (assignment_expression "iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0)" (identifier "iVar5") (= "=") (call_expression "(*(code *)PTR_EOFBlob_003a9748)(unaff_s0)" (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 "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")")))) (; ";"))) (if_statement "if (iVar5 == 0) {\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);\n                    if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }\n                    goto LAB_002757bc;\n                  }" ({ "{") (expression_statement "iVar5 = FUN_002739c8(unaff_s0,auStack_1088);" (assignment_expression "iVar5 = FUN_002739c8(unaff_s0,auStack_1088)" (identifier "iVar5") (= "=") (call_expression "FUN_002739c8(unaff_s0,auStack_1088)" (identifier "FUN_002739c8") (argument_list "(unaff_s0,auStack_1088)" (( "(") (identifier "unaff_s0") (, ",") (identifier "auStack_1088") () ")")))) (; ";")) (if_statement "if (iVar5 == 0) {\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }\n                    else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4d9;\n                      unaff_s7 = piVar7;\n                    }" ({ "{") (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(piVar7)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" (( "(") (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" (* "*") (cast_expression "(code *)PTR_DestroyImage_003a8f4c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImage_003a8f4c"))) () ")")) (argument_list "(piVar7)" (( "(") (identifier "piVar7") () ")"))) (; ";")) (if_statement "if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }" (if "if") (parenthesized_expression "(local_10cc != 0)" (( "(") (binary_expression "local_10cc != 0" (identifier "local_10cc") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }" ({ "{") (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" (( "(") (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" (* "*") (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImageInfo_003a95e8"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar26 = 0x4d9;" (assignment_expression "uVar26 = 0x4d9" (identifier "uVar26") (= "=") (number_literal "0x4d9")) (; ";")) (expression_statement "unaff_s7 = piVar7;" (assignment_expression "unaff_s7 = piVar7" (identifier "unaff_s7") (= "=") (identifier "piVar7")) (; ";")) (} "}")) (else_clause "else {\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }" (else "else") (compound_statement "{\n                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);\n                      if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }\n                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x4db;\n                      unaff_s7 = piVar7;\n                    }" ({ "{") (expression_statement "iVar5 = FUN_002739c8(unaff_s0,&local_1080);" (assignment_expression "iVar5 = FUN_002739c8(unaff_s0,&local_1080)" (identifier "iVar5") (= "=") (call_expression "FUN_002739c8(unaff_s0,&local_1080)" (identifier "FUN_002739c8") (argument_list "(unaff_s0,&local_1080)" (( "(") (identifier "unaff_s0") (, ",") (pointer_expression "&local_1080" (& "&") (identifier "local_1080")) () ")")))) (; ";")) (if_statement "if (iVar5 != 0) {\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }" (if "if") (parenthesized_expression "(iVar5 != 0)" (( "(") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }\n                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }\n                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);\n                        if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }\n                        goto LAB_0027507c;\n                      }" ({ "{") (expression_statement "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" (( "(") (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" (* "*") (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ReadBlobMSBShort_003a9160"))) () ")")) (argument_list "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")"))) (; ";")) (if_statement "if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }" (if "if") (parenthesized_expression "((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b))" (( "(") (binary_expression "(((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)" (parenthesized_expression "(((uint)piVar6 & 0xfff7) == 0x91)" (( "(") (binary_expression "((uint)piVar6 & 0xfff7) == 0x91" (parenthesized_expression "((uint)piVar6 & 0xfff7)" (( "(") (binary_expression "(uint)piVar6 & 0xfff7" (cast_expression "(uint)piVar6" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "piVar6")) (& "&") (number_literal "0xfff7")) () ")")) (== "==") (number_literal "0x91")) () ")")) (|| "||") (parenthesized_expression "(unaff_s7 == (int *)0x9b)" (( "(") (binary_expression "unaff_s7 == (int *)0x9b" (identifier "unaff_s7") (== "==") (cast_expression "(int *)0x9b" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x9b"))) () ")"))) () ")")) (compound_statement "{\n                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }\n                          iVar5 = 0;\n                          if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }\n                        }" ({ "{") (expression_statement "uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (assignment_expression "uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (identifier "uVar29") (= "=") (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" (( "(") (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" (* "*") (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ReadBlobMSBShort_003a9160"))) () ")")) (argument_list "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")")))) (; ";")) (expression_statement "uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);" (assignment_expression "uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" (identifier "uVar37") (= "=") (call_expression "(*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" (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 "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")")))) (; ";")) (if_statement "if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }" (if "if") (parenthesized_expression "(((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29))" (( "(") (binary_expression "((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)" (parenthesized_expression "((int)((ulonglong)uVar37 >> 0x20) == 0)" (( "(") (binary_expression "(int)((ulonglong)uVar37 >> 0x20) == 0" (cast_expression "(int)((ulonglong)uVar37 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)uVar37 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar37 >> 0x20" (cast_expression "(ulonglong)uVar37" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar37")) (>> ">>") (number_literal "0x20")) () ")"))) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((uint)uVar37 < uVar29)" (( "(") (binary_expression "(uint)uVar37 < uVar29" (cast_expression "(uint)uVar37" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "uVar37")) (< "<") (identifier "uVar29")) () ")"))) () ")")) (compound_statement "{\n                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x4e5;\n                            unaff_s7 = piVar7;\n                            goto LAB_00275880;\n                          }" ({ "{") (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(piVar7)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" (( "(") (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" (* "*") (cast_expression "(code *)PTR_DestroyImage_003a8f4c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImage_003a8f4c"))) () ")")) (argument_list "(piVar7)" (( "(") (identifier "piVar7") () ")"))) (; ";")) (if_statement "if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }" (if "if") (parenthesized_expression "(local_10cc != 0)" (( "(") (binary_expression "local_10cc != 0" (identifier "local_10cc") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }" ({ "{") (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" (( "(") (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" (* "*") (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImageInfo_003a95e8"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar26 = 0x4e5;" (assignment_expression "uVar26 = 0x4e5" (identifier "uVar26") (= "=") (number_literal "0x4e5")) (; ";")) (expression_statement "unaff_s7 = piVar7;" (assignment_expression "unaff_s7 = piVar7" (identifier "unaff_s7") (= "=") (identifier "piVar7")) (; ";")) (goto_statement "goto LAB_00275880;" (goto "goto") (statement_identifier "LAB_00275880") (; ";")) (} "}"))) (expression_statement "iVar5 = 0;" (assignment_expression "iVar5 = 0" (identifier "iVar5") (= "=") (number_literal "0")) (; ";")) (if_statement "if (0 < (int)(uVar29 - 2)) {\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }" (if "if") (parenthesized_expression "(0 < (int)(uVar29 - 2))" (( "(") (binary_expression "0 < (int)(uVar29 - 2)" (number_literal "0") (< "<") (cast_expression "(int)(uVar29 - 2)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(uVar29 - 2)" (( "(") (binary_expression "uVar29 - 2" (identifier "uVar29") (- "-") (number_literal "2")) () ")")))) () ")")) (compound_statement "{\n                            do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);\n                          }" ({ "{") (do_statement "do {\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            } while (uVar29 - 2 != iVar5);" (do "do") (compound_statement "{\n                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                              if (iVar13 == -1) break;\n                              iVar5 = iVar5 + 1;\n                            }" ({ "{") (expression_statement "iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (identifier "iVar13") (= "=") (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")")))) (; ";")) (if_statement "if (iVar13 == -1) break;" (if "if") (parenthesized_expression "(iVar13 == -1)" (( "(") (binary_expression "iVar13 == -1" (identifier "iVar13") (== "==") (number_literal "-1")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar5 = iVar5 + 1;" (assignment_expression "iVar5 = iVar5 + 1" (identifier "iVar5") (= "=") (binary_expression "iVar5 + 1" (identifier "iVar5") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar29 - 2 != iVar5)" (( "(") (binary_expression "uVar29 - 2 != iVar5" (binary_expression "uVar29 - 2" (identifier "uVar29") (- "-") (number_literal "2")) (!= "!=") (identifier "iVar5")) () ")")) (; ";")) (} "}"))) (} "}"))) (if_statement "if ((bVar3) || ((uVar28 & 0x8000) != 0)) {\n                          iVar5 = (int)local_1066;\n                        }\n                        else {\n                          iVar5 = 1;\n                        }" (if "if") (parenthesized_expression "((bVar3) || ((uVar28 & 0x8000) != 0))" (( "(") (binary_expression "(bVar3) || ((uVar28 & 0x8000) != 0)" (parenthesized_expression "(bVar3)" (( "(") (identifier "bVar3") () ")")) (|| "||") (parenthesized_expression "((uVar28 & 0x8000) != 0)" (( "(") (binary_expression "(uVar28 & 0x8000) != 0" (parenthesized_expression "(uVar28 & 0x8000)" (( "(") (binary_expression "uVar28 & 0x8000" (identifier "uVar28") (& "&") (number_literal "0x8000")) () ")")) (!= "!=") (number_literal "0")) () ")"))) () ")")) (compound_statement "{\n                          iVar5 = (int)local_1066;\n                        }" ({ "{") (expression_statement "iVar5 = (int)local_1066;" (assignment_expression "iVar5 = (int)local_1066" (identifier "iVar5") (= "=") (cast_expression "(int)local_1066" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_1066"))) (; ";")) (} "}")) (else_clause "else {\n                          iVar5 = 1;\n                        }" (else "else") (compound_statement "{\n                          iVar5 = 1;\n                        }" ({ "{") (expression_statement "iVar5 = 1;" (assignment_expression "iVar5 = 1" (identifier "iVar5") (= "=") (number_literal "1")) (; ";")) (} "}")))) (expression_statement "unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);" (assignment_expression "unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5)" (identifier "unaff_s3") (= "=") (cast_expression "(byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5)" (identifier "FUN_00273aa4") (argument_list "(unaff_s0,piVar7,uVar28,iVar5)" (( "(") (identifier "unaff_s0") (, ",") (identifier "piVar7") (, ",") (identifier "uVar28") (, ",") (identifier "iVar5") () ")"))))) (; ";")) (if_statement "if (unaff_s3 == (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }\n                        else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }" (if "if") (parenthesized_expression "(unaff_s3 == (byte *)0x0)" (( "(") (binary_expression "unaff_s3 == (byte *)0x0" (identifier "unaff_s3") (== "==") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4f2;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;\n                        }" ({ "{") (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(piVar7)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" (( "(") (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" (* "*") (cast_expression "(code *)PTR_DestroyImage_003a8f4c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImage_003a8f4c"))) () ")")) (argument_list "(piVar7)" (( "(") (identifier "piVar7") () ")"))) (; ";")) (if_statement "if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }" (if "if") (parenthesized_expression "(local_10cc != 0)" (( "(") (binary_expression "local_10cc != 0" (identifier "local_10cc") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }" ({ "{") (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" (( "(") (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" (* "*") (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImageInfo_003a95e8"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar26 = 0x4f2;" (assignment_expression "uVar26 = 0x4f2" (identifier "uVar26") (= "=") (number_literal "0x4f2")) (; ";")) (expression_statement "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;" (assignment_expression "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" (identifier "puVar25") (= "=") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "-0x3dbc"))) (; ";")) (expression_statement "uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);" (assignment_expression "uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" (identifier "uVar37") (= "=") (call_expression "CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" (identifier "CONCAT44") (argument_list "(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" (( "(") (binary_expression "PTR_LAB_003a88e0 + 0x3e28" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x3e28")) (, ",") (binary_expression "local_10d0 + 0x2210" (identifier "local_10d0") (+ "+") (number_literal "0x2210")) () ")")))) (; ";")) (expression_statement "puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;" (assignment_expression "puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" (identifier "puVar21") (= "=") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "-0x3d60"))) (; ";")) (expression_statement "puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;" (assignment_expression "puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00" (identifier "puVar12") (= "=") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "-0x3d00"))) (; ";")) (} "}")) (else_clause "else {\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }" (else "else") (compound_statement "{\n                          if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }\n                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }\n                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x4fc;\n                          unaff_s7 = piVar7;\nLAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;\n                          piVar7 = unaff_s7;\n                        }" ({ "{") (if_statement "if (piVar7[7] < 1) {\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }" (if "if") (parenthesized_expression "(piVar7[7] < 1)" (( "(") (binary_expression "piVar7[7] < 1" (subscript_expression "piVar7[7]" (identifier "piVar7") ([ "[") (number_literal "7") (] "]")) (< "<") (number_literal "1")) () ")")) (compound_statement "{\nLAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);\n                            if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }\n                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                            goto LAB_00274584;\n                          }" ({ "{") (labeled_statement "LAB_00276500:\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);" (statement_identifier "LAB_00276500") (: ":") (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3)" (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 "(unaff_s3)" (( "(") (identifier "unaff_s3") () ")"))) (; ";"))) (if_statement "if (((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }" (if "if") (parenthesized_expression "(((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0))))" (( "(") (binary_expression "((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&\n                               ((bVar3 || ((uVar28 & 0x8000) != 0)))" (parenthesized_expression "((local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0))" (( "(") (binary_expression "(local_10b8 == 0) &&\n                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)" (parenthesized_expression "(local_10b8 == 0)" (( "(") (binary_expression "local_10b8 == 0" (identifier "local_10b8") (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)" (( "(") (comma_expression "iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0" (assignment_expression "iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0)" (identifier "iVar5") (= "=") (call_expression "(*(code *)PTR_EOFBlob_003a9748)(unaff_s0)" (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 "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")")))) (, ",") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "((bVar3 || ((uVar28 & 0x8000) != 0)))" (( "(") (parenthesized_expression "(bVar3 || ((uVar28 & 0x8000) != 0))" (( "(") (binary_expression "bVar3 || ((uVar28 & 0x8000) != 0)" (identifier "bVar3") (|| "||") (parenthesized_expression "((uVar28 & 0x8000) != 0)" (( "(") (binary_expression "(uVar28 & 0x8000) != 0" (parenthesized_expression "(uVar28 & 0x8000)" (( "(") (binary_expression "uVar28 & 0x8000" (identifier "uVar28") (& "&") (number_literal "0x8000")) () ")")) (!= "!=") (number_literal "0")) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n                              (*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);\n                            }" ({ "{") (expression_statement "(*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_);" (call_expression "(*(code *)PTR_CompositeImage_003a8cc4)\n                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_)" (parenthesized_expression "(*(code *)PTR_CompositeImage_003a8cc4)" (( "(") (pointer_expression "*(code *)PTR_CompositeImage_003a8cc4" (* "*") (cast_expression "(code *)PTR_CompositeImage_003a8cc4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_CompositeImage_003a8cc4"))) () ")")) (argument_list "(unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,\n                                         (int)local_1080._0_2_)" (( "(") (identifier "unaff_s0") (, ",") (identifier "piVar7") (, ",") (number_literal "0xd") (, ",") (number_literal "1") (, ",") (cast_expression "(int)local_1080._2_2_" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (field_expression "local_1080._2_2_" (identifier "local_1080") (. ".") (field_identifier "_2_2_"))) (, ",") (cast_expression "(int)local_1080._0_2_" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (field_expression "local_1080._0_2_" (identifier "local_1080") (. ".") (field_identifier "_0_2_"))) () ")"))) (; ";")) (} "}"))) (expression_statement "unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);" (assignment_expression "unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7)" (identifier "unaff_s3") (= "=") (cast_expression "(byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(piVar7)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" (( "(") (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" (* "*") (cast_expression "(code *)PTR_DestroyImage_003a8f4c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImage_003a8f4c"))) () ")")) (argument_list "(piVar7)" (( "(") (identifier "piVar7") () ")"))))) (; ";")) (goto_statement "goto LAB_00274584;" (goto "goto") (statement_identifier "LAB_00274584") (; ";")) (} "}"))) (if_statement "if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }" (if "if") (parenthesized_expression "(unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094)" (( "(") (binary_expression "unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094" (identifier "unaff_s3") (<= "<=") (binary_expression "unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094" (binary_expression "unaff_s3 + *(int *)(unaff_s0 + 0x18)" (identifier "unaff_s3") (+ "+") (pointer_expression "*(int *)(unaff_s0 + 0x18)" (* "*") (cast_expression "(int *)(unaff_s0 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s0 + 0x18)" (( "(") (binary_expression "unaff_s0 + 0x18" (identifier "unaff_s0") (+ "+") (number_literal "0x18")) () ")"))))) (+ "+") (identifier "local_1094"))) () ")")) (compound_statement "{\n                            local_10b0 = 0;\n                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;\n                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;\n                            uVar29 = 0;\n                            pbVar31 = unaff_s3;\n                            do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);\n                          }" ({ "{") (expression_statement "local_10b0 = 0;" (assignment_expression "local_10b0 = 0" (identifier "local_10b0") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar12 = PTR_LAB_003a88e0 + 0x3e28;" (assignment_expression "puVar12 = PTR_LAB_003a88e0 + 0x3e28" (identifier "puVar12") (= "=") (binary_expression "PTR_LAB_003a88e0 + 0x3e28" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x3e28"))) (; ";")) (expression_statement "puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;" (assignment_expression "puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990" (identifier "puVar21") (= "=") (binary_expression "PTR_s_t_to_left_003a88e4 + -0x5990" (identifier "PTR_s_t_to_left_003a88e4") (+ "+") (number_literal "-0x5990"))) (; ";")) (expression_statement "uVar29 = 0;" (assignment_expression "uVar29 = 0" (identifier "uVar29") (= "=") (number_literal "0")) (; ";")) (expression_statement "pbVar31 = unaff_s3;" (assignment_expression "pbVar31 = unaff_s3" (identifier "pbVar31") (= "=") (identifier "unaff_s3")) (; ";")) (do_statement "do {\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);" (do "do") (compound_statement "{\n                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);\n                              if (iVar5 == 0) goto LAB_00276500;\n                              iVar13 = piVar7[6];\n                              if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }\n                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;\n                              if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;\n                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;\n                              uVar29 = uVar30;\n                            }" ({ "{") (expression_statement "iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);" (assignment_expression "iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8)" (identifier "iVar5") (= "=") (call_expression "(*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8)" (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 "(piVar7,0,uVar29,piVar7[6],1,local_10d8)" (( "(") (identifier "piVar7") (, ",") (number_literal "0") (, ",") (identifier "uVar29") (, ",") (subscript_expression "piVar7[6]" (identifier "piVar7") ([ "[") (number_literal "6") (] "]")) (, ",") (number_literal "1") (, ",") (identifier "local_10d8") () ")")))) (; ";")) (if_statement "if (iVar5 == 0) goto LAB_00276500;" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00276500;" (goto "goto") (statement_identifier "LAB_00276500") (; ";"))) (expression_statement "iVar13 = piVar7[6];" (assignment_expression "iVar13 = piVar7[6]" (identifier "iVar13") (= "=") (subscript_expression "piVar7[6]" (identifier "piVar7") ([ "[") (number_literal "6") (] "]"))) (; ";")) (if_statement "if (0 < iVar13) {\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }" (if "if") (parenthesized_expression "(0 < iVar13)" (( "(") (binary_expression "0 < iVar13" (number_literal "0") (< "<") (identifier "iVar13")) () ")")) (compound_statement "{\n                                iVar9 = 0;\n                                dVar32 = *(double *)(local_10ac + -0x5af0);\n                                dVar33 = dVar32;\n                                do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);\n                              }" ({ "{") (expression_statement "iVar9 = 0;" (assignment_expression "iVar9 = 0" (identifier "iVar9") (= "=") (number_literal "0")) (; ";")) (expression_statement "dVar32 = *(double *)(local_10ac + -0x5af0);" (assignment_expression "dVar32 = *(double *)(local_10ac + -0x5af0)" (identifier "dVar32") (= "=") (pointer_expression "*(double *)(local_10ac + -0x5af0)" (* "*") (cast_expression "(double *)(local_10ac + -0x5af0)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_10ac + -0x5af0)" (( "(") (binary_expression "local_10ac + -0x5af0" (identifier "local_10ac") (+ "+") (number_literal "-0x5af0")) () ")"))))) (; ";")) (expression_statement "dVar33 = dVar32;" (assignment_expression "dVar33 = dVar32" (identifier "dVar33") (= "=") (identifier "dVar32")) (; ";")) (do_statement "do {\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                } while (iVar9 < iVar13);" (do "do") (compound_statement "{\n                                  if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }\n                                  iVar9 = iVar9 + 1;\n                                  pbVar31 = pbVar31 + 1;\n                                  iVar5 = iVar5 + piVar7[0xb0] * 4;\n                                }" ({ "{") (if_statement "if (*piVar7 == 2) {\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }\n                                  else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }" (if "if") (parenthesized_expression "(*piVar7 == 2)" (( "(") (binary_expression "*piVar7 == 2" (pointer_expression "*piVar7" (* "*") (identifier "piVar7")) (== "==") (number_literal "2")) () ")")) (compound_statement "{\n                                    if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }\n                                    iVar23 = piVar7[0xb4];\n                                    if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }\n                                    iVar20 = *(int *)(iVar23 + 0x14);\n                                    iVar22 = piVar7[10] + iVar22;\n                                    iVar27 = *(int *)(iVar23 + 0x20);\n                                    dVar36 = *(double *)(iVar22 + 0x30);\n                                    dVar35 = *(double *)(iVar22 + 0x38);\n                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);\n                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;\n                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;\n                                  }" ({ "{") (if_statement "if ((int)(uint)*pbVar31 < piVar7[9]) {\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }\n                                    else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }" (if "if") (parenthesized_expression "((int)(uint)*pbVar31 < piVar7[9])" (( "(") (binary_expression "(int)(uint)*pbVar31 < piVar7[9]" (binary_expression "(int)(uint)*pbVar31" (cast_expression "(int)(uint)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")"))) (* "*") (identifier "pbVar31")) (< "<") (subscript_expression "piVar7[9]" (identifier "piVar7") ([ "[") (number_literal "9") (] "]"))) () ")")) (compound_statement "{\n                                      fVar34 = (float)*pbVar31;\n                                      iVar22 = (int)fVar34 * 0x58;\n                                    }" ({ "{") (expression_statement "fVar34 = (float)*pbVar31;" (assignment_expression "fVar34 = (float)*pbVar31" (identifier "fVar34") (= "=") (cast_expression "(float)*pbVar31" (( "(") (type_descriptor "float" (primitive_type "float")) () ")") (pointer_expression "*pbVar31" (* "*") (identifier "pbVar31")))) (; ";")) (expression_statement "iVar22 = (int)fVar34 * 0x58;" (assignment_expression "iVar22 = (int)fVar34 * 0x58" (identifier "iVar22") (= "=") (binary_expression "(int)fVar34 * 0x58" (cast_expression "(int)fVar34" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "fVar34")) (* "*") (number_literal "0x58"))) (; ";")) (} "}")) (else_clause "else if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }" (else "else") (if_statement "if (*local_10d8 == 0x1a9) {\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }\n                                    else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }" (if "if") (parenthesized_expression "(*local_10d8 == 0x1a9)" (( "(") (binary_expression "*local_10d8 == 0x1a9" (pointer_expression "*local_10d8" (* "*") (identifier "local_10d8")) (== "==") (number_literal "0x1a9")) () ")")) (compound_statement "{\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                    }" ({ "{") (expression_statement "fVar34 = 0.0;" (assignment_expression "fVar34 = 0.0" (identifier "fVar34") (= "=") (number_literal "0.0")) (; ";")) (expression_statement "iVar22 = 0;" (assignment_expression "iVar22 = 0" (identifier "iVar22") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }" (else "else") (compound_statement "{\n                                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);\n                                      fVar34 = 0.0;\n                                      iVar22 = 0;\n                                      iVar13 = piVar7[6];\n                                    }" ({ "{") (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 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 "(local_10d8,PTR_s_courses_003a88ec + 0x6f4,\n                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0)" (( "(") (identifier "local_10d8") (, ",") (binary_expression "PTR_s_courses_003a88ec + 0x6f4" (identifier "PTR_s_courses_003a88ec") (+ "+") (number_literal "0x6f4")) (, ",") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c +\n                                                 -0x3dd4" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "-0x3dd4")) (, ",") (number_literal "0x23") (, ",") (number_literal "0x1a9") (, ",") (identifier "puVar21") (, ",") (identifier "puVar12") (, ",") (binary_expression "piVar7 + 0xd0" (identifier "piVar7") (+ "+") (number_literal "0xd0")) () ")"))) (; ";")) (expression_statement "fVar34 = 0.0;" (assignment_expression "fVar34 = 0.0" (identifier "fVar34") (= "=") (number_literal "0.0")) (; ";")) (expression_statement "iVar22 = 0;" (assignment_expression "iVar22 = 0" (identifier "iVar22") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar13 = piVar7[6];" (assignment_expression "iVar13 = piVar7[6]" (identifier "iVar13") (= "=") (subscript_expression "piVar7[6]" (identifier "piVar7") ([ "[") (number_literal "6") (] "]"))) (; ";")) (} "}")))))) (expression_statement "iVar23 = piVar7[0xb4];" (assignment_expression "iVar23 = piVar7[0xb4]" (identifier "iVar23") (= "=") (subscript_expression "piVar7[0xb4]" (identifier "piVar7") ([ "[") (number_literal "0xb4") (] "]"))) (; ";")) (if_statement "if (*(int *)(iVar23 + 0x40) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }" (if "if") (parenthesized_expression "(*(int *)(iVar23 + 0x40) != 0)" (( "(") (binary_expression "*(int *)(iVar23 + 0x40) != 0" (pointer_expression "*(int *)(iVar23 + 0x40)" (* "*") (cast_expression "(int *)(iVar23 + 0x40)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar23 + 0x40)" (( "(") (binary_expression "iVar23 + 0x40" (identifier "iVar23") (+ "+") (number_literal "0x40")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;\n                                    }" ({ "{") (expression_statement "*(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;" (assignment_expression "*(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34" (pointer_expression "*(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4)" (* "*") (cast_expression "(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + *(int *)(iVar23 + 0x44) * 4)" (( "(") (binary_expression "iVar5 + *(int *)(iVar23 + 0x44) * 4" (identifier "iVar5") (+ "+") (binary_expression "*(int *)(iVar23 + 0x44) * 4" (pointer_expression "*(int *)(iVar23 + 0x44)" (* "*") (cast_expression "(int *)(iVar23 + 0x44)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar23 + 0x44)" (( "(") (binary_expression "iVar23 + 0x44" (identifier "iVar23") (+ "+") (number_literal "0x44")) () ")")))) (* "*") (number_literal "4"))) () ")")))) (= "=") (identifier "fVar34")) (; ";")) (} "}"))) (expression_statement "iVar20 = *(int *)(iVar23 + 0x14);" (assignment_expression "iVar20 = *(int *)(iVar23 + 0x14)" (identifier "iVar20") (= "=") (pointer_expression "*(int *)(iVar23 + 0x14)" (* "*") (cast_expression "(int *)(iVar23 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar23 + 0x14)" (( "(") (binary_expression "iVar23 + 0x14" (identifier "iVar23") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "iVar22 = piVar7[10] + iVar22;" (assignment_expression "iVar22 = piVar7[10] + iVar22" (identifier "iVar22") (= "=") (binary_expression "piVar7[10] + iVar22" (subscript_expression "piVar7[10]" (identifier "piVar7") ([ "[") (number_literal "10") (] "]")) (+ "+") (identifier "iVar22"))) (; ";")) (expression_statement "iVar27 = *(int *)(iVar23 + 0x20);" (assignment_expression "iVar27 = *(int *)(iVar23 + 0x20)" (identifier "iVar27") (= "=") (pointer_expression "*(int *)(iVar23 + 0x20)" (* "*") (cast_expression "(int *)(iVar23 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar23 + 0x20)" (( "(") (binary_expression "iVar23 + 0x20" (identifier "iVar23") (+ "+") (number_literal "0x20")) () ")"))))) (; ";")) (expression_statement "dVar36 = *(double *)(iVar22 + 0x30);" (assignment_expression "dVar36 = *(double *)(iVar22 + 0x30)" (identifier "dVar36") (= "=") (pointer_expression "*(double *)(iVar22 + 0x30)" (* "*") (cast_expression "(double *)(iVar22 + 0x30)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar22 + 0x30)" (( "(") (binary_expression "iVar22 + 0x30" (identifier "iVar22") (+ "+") (number_literal "0x30")) () ")"))))) (; ";")) (expression_statement "dVar35 = *(double *)(iVar22 + 0x38);" (assignment_expression "dVar35 = *(double *)(iVar22 + 0x38)" (identifier "dVar35") (= "=") (pointer_expression "*(double *)(iVar22 + 0x38)" (* "*") (cast_expression "(double *)(iVar22 + 0x38)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar22 + 0x38)" (( "(") (binary_expression "iVar22 + 0x38" (identifier "iVar22") (+ "+") (number_literal "0x38")) () ")"))))) (; ";")) (expression_statement "*(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28);" (assignment_expression "*(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =\n                                         (float)*(double *)(iVar22 + 0x28)" (pointer_expression "*(float *)(iVar5 + *(int *)(iVar23 + 8) * 4)" (* "*") (cast_expression "(float *)(iVar5 + *(int *)(iVar23 + 8) * 4)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + *(int *)(iVar23 + 8) * 4)" (( "(") (binary_expression "iVar5 + *(int *)(iVar23 + 8) * 4" (identifier "iVar5") (+ "+") (binary_expression "*(int *)(iVar23 + 8) * 4" (pointer_expression "*(int *)(iVar23 + 8)" (* "*") (cast_expression "(int *)(iVar23 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar23 + 8)" (( "(") (binary_expression "iVar23 + 8" (identifier "iVar23") (+ "+") (number_literal "8")) () ")")))) (* "*") (number_literal "4"))) () ")")))) (= "=") (cast_expression "(float)*(double *)(iVar22 + 0x28)" (( "(") (type_descriptor "float" (primitive_type "float")) () ")") (pointer_expression "*(double *)(iVar22 + 0x28)" (* "*") (cast_expression "(double *)(iVar22 + 0x28)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar22 + 0x28)" (( "(") (binary_expression "iVar22 + 0x28" (identifier "iVar22") (+ "+") (number_literal "0x28")) () ")")))))) (; ";")) (expression_statement "*(float *)(iVar5 + iVar20 * 4) = (float)dVar36;" (assignment_expression "*(float *)(iVar5 + iVar20 * 4) = (float)dVar36" (pointer_expression "*(float *)(iVar5 + iVar20 * 4)" (* "*") (cast_expression "(float *)(iVar5 + iVar20 * 4)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + iVar20 * 4)" (( "(") (binary_expression "iVar5 + iVar20 * 4" (identifier "iVar5") (+ "+") (binary_expression "iVar20 * 4" (identifier "iVar20") (* "*") (number_literal "4"))) () ")")))) (= "=") (cast_expression "(float)dVar36" (( "(") (type_descriptor "float" (primitive_type "float")) () ")") (identifier "dVar36"))) (; ";")) (expression_statement "*(float *)(iVar5 + iVar27 * 4) = (float)dVar35;" (assignment_expression "*(float *)(iVar5 + iVar27 * 4) = (float)dVar35" (pointer_expression "*(float *)(iVar5 + iVar27 * 4)" (* "*") (cast_expression "(float *)(iVar5 + iVar27 * 4)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + iVar27 * 4)" (( "(") (binary_expression "iVar5 + iVar27 * 4" (identifier "iVar5") (+ "+") (binary_expression "iVar27 * 4" (identifier "iVar27") (* "*") (number_literal "4"))) () ")")))) (= "=") (cast_expression "(float)dVar35" (( "(") (type_descriptor "float" (primitive_type "float")) () ")") (identifier "dVar35"))) (; ";")) (} "}")) (else_clause "else if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }" (else "else") (if_statement "if (local_1066 == 0x10) {\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }\n                                  else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }" (if "if") (parenthesized_expression "(local_1066 == 0x10)" (( "(") (binary_expression "local_1066 == 0x10" (identifier "local_1066") (== "==") (number_literal "0x10")) () ")")) (compound_statement "{\n                                    bVar1 = pbVar31[1];\n                                    iVar22 = piVar7[0xb4];\n                                    bVar2 = *pbVar31;\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);\n                                    pbVar31 = pbVar31 + 1;\n                                  }" ({ "{") (expression_statement "bVar1 = pbVar31[1];" (assignment_expression "bVar1 = pbVar31[1]" (identifier "bVar1") (= "=") (subscript_expression "pbVar31[1]" (identifier "pbVar31") ([ "[") (number_literal "1") (] "]"))) (; ";")) (expression_statement "iVar22 = piVar7[0xb4];" (assignment_expression "iVar22 = piVar7[0xb4]" (identifier "iVar22") (= "=") (subscript_expression "piVar7[0xb4]" (identifier "piVar7") ([ "[") (number_literal "0xb4") (] "]"))) (; ";")) (expression_statement "bVar2 = *pbVar31;" (assignment_expression "bVar2 = *pbVar31" (identifier "bVar2") (= "=") (pointer_expression "*pbVar31" (* "*") (identifier "pbVar31"))) (; ";")) (expression_statement "iVar27 = *(int *)(iVar22 + 0x14);" (assignment_expression "iVar27 = *(int *)(iVar22 + 0x14)" (identifier "iVar27") (= "=") (pointer_expression "*(int *)(iVar22 + 0x14)" (* "*") (cast_expression "(int *)(iVar22 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar22 + 0x14)" (( "(") (binary_expression "iVar22 + 0x14" (identifier "iVar22") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "iVar23 = *(int *)(iVar22 + 0x20);" (assignment_expression "iVar23 = *(int *)(iVar22 + 0x20)" (identifier "iVar23") (= "=") (pointer_expression "*(int *)(iVar22 + 0x20)" (* "*") (cast_expression "(int *)(iVar22 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar22 + 0x20)" (( "(") (binary_expression "iVar22 + 0x20" (identifier "iVar22") (+ "+") (number_literal "0x20")) () ")"))))) (; ";")) (expression_statement "*(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);" (assignment_expression "*(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33)" (pointer_expression "*(float *)(iVar5 + *(int *)(iVar22 + 8) * 4)" (* "*") (cast_expression "(float *)(iVar5 + *(int *)(iVar22 + 8) * 4)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + *(int *)(iVar22 + 8) * 4)" (( "(") (binary_expression "iVar5 + *(int *)(iVar22 + 8) * 4" (identifier "iVar5") (+ "+") (binary_expression "*(int *)(iVar22 + 8) * 4" (pointer_expression "*(int *)(iVar22 + 8)" (* "*") (cast_expression "(int *)(iVar22 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar22 + 8)" (( "(") (binary_expression "iVar22 + 8" (identifier "iVar22") (+ "+") (number_literal "8")) () ")")))) (* "*") (number_literal "4"))) () ")")))) (= "=") (cast_expression "(float)((double)((bVar2 & 0x7c) << 1) * dVar33)" (( "(") (type_descriptor "float" (primitive_type "float")) () ")") (parenthesized_expression "((double)((bVar2 & 0x7c) << 1) * dVar33)" (( "(") (binary_expression "(double)((bVar2 & 0x7c) << 1) * dVar33" (cast_expression "(double)((bVar2 & 0x7c) << 1)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (parenthesized_expression "((bVar2 & 0x7c) << 1)" (( "(") (binary_expression "(bVar2 & 0x7c) << 1" (parenthesized_expression "(bVar2 & 0x7c)" (( "(") (binary_expression "bVar2 & 0x7c" (identifier "bVar2") (& "&") (number_literal "0x7c")) () ")")) (<< "<<") (number_literal "1")) () ")"))) (* "*") (identifier "dVar33")) () ")")))) (; ";")) (expression_statement "*(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33);" (assignment_expression "*(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33)" (pointer_expression "*(float *)(iVar5 + iVar27 * 4)" (* "*") (cast_expression "(float *)(iVar5 + iVar27 * 4)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + iVar27 * 4)" (( "(") (binary_expression "iVar5 + iVar27 * 4" (identifier "iVar5") (+ "+") (binary_expression "iVar27 * 4" (identifier "iVar27") (* "*") (number_literal "4"))) () ")")))) (= "=") (cast_expression "(float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33)" (( "(") (type_descriptor "float" (primitive_type "float")) () ")") (parenthesized_expression "((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33)" (( "(") (binary_expression "(double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *\n                                                dVar33" (cast_expression "(double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (parenthesized_expression "(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6)" (( "(") (binary_expression "bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6" (binary_expression "bVar1 >> 2 & 0x38" (binary_expression "bVar1 >> 2" (identifier "bVar1") (>> ">>") (number_literal "2")) (& "&") (number_literal "0x38")) (| "|") (binary_expression "(bVar2 & 3) << 6" (parenthesized_expression "(bVar2 & 3)" (( "(") (binary_expression "bVar2 & 3" (identifier "bVar2") (& "&") (number_literal "3")) () ")")) (<< "<<") (number_literal "6"))) () ")"))) (* "*") (identifier "dVar33")) () ")")))) (; ";")) (expression_statement "*(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);" (assignment_expression "*(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33)" (pointer_expression "*(float *)(iVar5 + iVar23 * 4)" (* "*") (cast_expression "(float *)(iVar5 + iVar23 * 4)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + iVar23 * 4)" (( "(") (binary_expression "iVar5 + iVar23 * 4" (identifier "iVar5") (+ "+") (binary_expression "iVar23 * 4" (identifier "iVar23") (* "*") (number_literal "4"))) () ")")))) (= "=") (cast_expression "(float)((double)((bVar1 & 0x1f) << 3) * dVar33)" (( "(") (type_descriptor "float" (primitive_type "float")) () ")") (parenthesized_expression "((double)((bVar1 & 0x1f) << 3) * dVar33)" (( "(") (binary_expression "(double)((bVar1 & 0x1f) << 3) * dVar33" (cast_expression "(double)((bVar1 & 0x1f) << 3)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (parenthesized_expression "((bVar1 & 0x1f) << 3)" (( "(") (binary_expression "(bVar1 & 0x1f) << 3" (parenthesized_expression "(bVar1 & 0x1f)" (( "(") (binary_expression "bVar1 & 0x1f" (identifier "bVar1") (& "&") (number_literal "0x1f")) () ")")) (<< "<<") (number_literal "3")) () ")"))) (* "*") (identifier "dVar33")) () ")")))) (; ";")) (expression_statement "pbVar31 = pbVar31 + 1;" (assignment_expression "pbVar31 = pbVar31 + 1" (identifier "pbVar31") (= "=") (binary_expression "pbVar31 + 1" (identifier "pbVar31") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (else_clause "else if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }" (else "else") (if_statement "if (piVar7[0xaf] == 0) {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }\n                                  else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }" (if "if") (parenthesized_expression "(piVar7[0xaf] == 0)" (( "(") (binary_expression "piVar7[0xaf] == 0" (subscript_expression "piVar7[0xaf]" (identifier "piVar7") ([ "[") (number_literal "0xaf") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);\n                                  }" ({ "{") (if_statement "if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }" (if "if") (parenthesized_expression "(unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31)" (( "(") (binary_expression "unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <\n                                        pbVar31" (binary_expression "unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094" (binary_expression "unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2" (identifier "unaff_s3") (+ "+") (binary_expression "*(int *)(unaff_s0 + 0x18) * 2" (pointer_expression "*(int *)(unaff_s0 + 0x18)" (* "*") (cast_expression "(int *)(unaff_s0 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s0 + 0x18)" (( "(") (binary_expression "unaff_s0 + 0x18" (identifier "unaff_s0") (+ "+") (number_literal "0x18")) () ")")))) (* "*") (number_literal "2"))) (+ "+") (identifier "local_1094")) (< "<") (identifier "pbVar31")) () ")")) (compound_statement "{\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x523;\n                                      goto LAB_0027504c;\n                                    }" ({ "{") (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(piVar7)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" (( "(") (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" (* "*") (cast_expression "(code *)PTR_DestroyImage_003a8f4c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImage_003a8f4c"))) () ")")) (argument_list "(piVar7)" (( "(") (identifier "piVar7") () ")"))) (; ";")) (if_statement "if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }" (if "if") (parenthesized_expression "(local_10cc != 0)" (( "(") (binary_expression "local_10cc != 0" (identifier "local_10cc") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }" ({ "{") (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" (( "(") (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" (* "*") (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImageInfo_003a95e8"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar26 = 0x523;" (assignment_expression "uVar26 = 0x523" (identifier "uVar26") (= "=") (number_literal "0x523")) (; ";")) (goto_statement "goto LAB_0027504c;" (goto "goto") (statement_identifier "LAB_0027504c") (; ";")) (} "}"))) (expression_statement "iVar22 = piVar7[0xb4];" (assignment_expression "iVar22 = piVar7[0xb4]" (identifier "iVar22") (= "=") (subscript_expression "piVar7[0xb4]" (identifier "piVar7") ([ "[") (number_literal "0xb4") (] "]"))) (; ";")) (expression_statement "iVar27 = *(int *)(iVar22 + 0x14);" (assignment_expression "iVar27 = *(int *)(iVar22 + 0x14)" (identifier "iVar27") (= "=") (pointer_expression "*(int *)(iVar22 + 0x14)" (* "*") (cast_expression "(int *)(iVar22 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar22 + 0x14)" (( "(") (binary_expression "iVar22 + 0x14" (identifier "iVar22") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "iVar23 = *(int *)(iVar22 + 0x20);" (assignment_expression "iVar23 = *(int *)(iVar22 + 0x20)" (identifier "iVar23") (= "=") (pointer_expression "*(int *)(iVar22 + 0x20)" (* "*") (cast_expression "(int *)(iVar22 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar22 + 0x20)" (( "(") (binary_expression "iVar22 + 0x20" (identifier "iVar22") (+ "+") (number_literal "0x20")) () ")"))))) (; ";")) (expression_statement "*(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32);" (assignment_expression "*(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar31 * dVar32)" (pointer_expression "*(float *)(iVar5 + *(int *)(iVar22 + 8) * 4)" (* "*") (cast_expression "(float *)(iVar5 + *(int *)(iVar22 + 8) * 4)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + *(int *)(iVar22 + 8) * 4)" (( "(") (binary_expression "iVar5 + *(int *)(iVar22 + 8) * 4" (identifier "iVar5") (+ "+") (binary_expression "*(int *)(iVar22 + 8) * 4" (pointer_expression "*(int *)(iVar22 + 8)" (* "*") (cast_expression "(int *)(iVar22 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar22 + 8)" (( "(") (binary_expression "iVar22 + 8" (identifier "iVar22") (+ "+") (number_literal "8")) () ")")))) (* "*") (number_literal "4"))) () ")")))) (= "=") (cast_expression "(float)((double)*pbVar31 * dVar32)" (( "(") (type_descriptor "float" (primitive_type "float")) () ")") (parenthesized_expression "((double)*pbVar31 * dVar32)" (( "(") (binary_expression "(double)*pbVar31 * dVar32" (cast_expression "(double)*pbVar31" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (pointer_expression "*pbVar31" (* "*") (identifier "pbVar31"))) (* "*") (identifier "dVar32")) () ")")))) (; ";")) (expression_statement "*(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32);" (assignment_expression "*(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar31[iVar13] * dVar32)" (pointer_expression "*(float *)(iVar5 + iVar27 * 4)" (* "*") (cast_expression "(float *)(iVar5 + iVar27 * 4)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + iVar27 * 4)" (( "(") (binary_expression "iVar5 + iVar27 * 4" (identifier "iVar5") (+ "+") (binary_expression "iVar27 * 4" (identifier "iVar27") (* "*") (number_literal "4"))) () ")")))) (= "=") (cast_expression "(float)((double)pbVar31[iVar13] * dVar32)" (( "(") (type_descriptor "float" (primitive_type "float")) () ")") (parenthesized_expression "((double)pbVar31[iVar13] * dVar32)" (( "(") (binary_expression "(double)pbVar31[iVar13] * dVar32" (cast_expression "(double)pbVar31[iVar13]" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (subscript_expression "pbVar31[iVar13]" (identifier "pbVar31") ([ "[") (identifier "iVar13") (] "]"))) (* "*") (identifier "dVar32")) () ")")))) (; ";")) (expression_statement "*(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);" (assignment_expression "*(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32)" (pointer_expression "*(float *)(iVar5 + iVar23 * 4)" (* "*") (cast_expression "(float *)(iVar5 + iVar23 * 4)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + iVar23 * 4)" (( "(") (binary_expression "iVar5 + iVar23 * 4" (identifier "iVar5") (+ "+") (binary_expression "iVar23 * 4" (identifier "iVar23") (* "*") (number_literal "4"))) () ")")))) (= "=") (cast_expression "(float)((double)(pbVar31 + iVar13)[iVar13] * dVar32)" (( "(") (type_descriptor "float" (primitive_type "float")) () ")") (parenthesized_expression "((double)(pbVar31 + iVar13)[iVar13] * dVar32)" (( "(") (binary_expression "(double)(pbVar31 + iVar13)[iVar13] * dVar32" (cast_expression "(double)(pbVar31 + iVar13)[iVar13]" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (subscript_expression "(pbVar31 + iVar13)[iVar13]" (parenthesized_expression "(pbVar31 + iVar13)" (( "(") (binary_expression "pbVar31 + iVar13" (identifier "pbVar31") (+ "+") (identifier "iVar13")) () ")")) ([ "[") (identifier "iVar13") (] "]"))) (* "*") (identifier "dVar32")) () ")")))) (; ";")) (} "}")) (else_clause "else {\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }" (else "else") (compound_statement "{\n                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }\n                                    iVar22 = piVar7[0xb4];\n                                    pbVar24 = pbVar31 + iVar13;\n                                    if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }\n                                    dVar35 = *(double *)(local_10ac + -0x5af0);\n                                    iVar27 = *(int *)(iVar22 + 0x14);\n                                    iVar23 = *(int *)(iVar22 + 0x20);\n                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);\n                                    *(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);\n                                    *(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);\n                                  }" ({ "{") (if_statement "if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31) {\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }" (if "if") (parenthesized_expression "(unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31)" (( "(") (binary_expression "unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <\n                                        pbVar31" (binary_expression "unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094" (binary_expression "unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3" (identifier "unaff_s3") (+ "+") (binary_expression "*(int *)(unaff_s0 + 0x18) * 3" (pointer_expression "*(int *)(unaff_s0 + 0x18)" (* "*") (cast_expression "(int *)(unaff_s0 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s0 + 0x18)" (( "(") (binary_expression "unaff_s0 + 0x18" (identifier "unaff_s0") (+ "+") (number_literal "0x18")) () ")")))) (* "*") (number_literal "3"))) (+ "+") (identifier "local_1094")) (< "<") (identifier "pbVar31")) () ")")) (compound_statement "{\n                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);\n                                      if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }\n                                      uVar26 = 0x52e;\n                                      goto LAB_0027504c;\n                                    }" ({ "{") (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(piVar7)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" (( "(") (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" (* "*") (cast_expression "(code *)PTR_DestroyImage_003a8f4c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImage_003a8f4c"))) () ")")) (argument_list "(piVar7)" (( "(") (identifier "piVar7") () ")"))) (; ";")) (if_statement "if (local_10cc != 0) {\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }" (if "if") (parenthesized_expression "(local_10cc != 0)" (( "(") (binary_expression "local_10cc != 0" (identifier "local_10cc") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                                      }" ({ "{") (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" (( "(") (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" (* "*") (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImageInfo_003a95e8"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar26 = 0x52e;" (assignment_expression "uVar26 = 0x52e" (identifier "uVar26") (= "=") (number_literal "0x52e")) (; ";")) (goto_statement "goto LAB_0027504c;" (goto "goto") (statement_identifier "LAB_0027504c") (; ";")) (} "}"))) (expression_statement "iVar22 = piVar7[0xb4];" (assignment_expression "iVar22 = piVar7[0xb4]" (identifier "iVar22") (= "=") (subscript_expression "piVar7[0xb4]" (identifier "piVar7") ([ "[") (number_literal "0xb4") (] "]"))) (; ";")) (expression_statement "pbVar24 = pbVar31 + iVar13;" (assignment_expression "pbVar24 = pbVar31 + iVar13" (identifier "pbVar24") (= "=") (binary_expression "pbVar31 + iVar13" (identifier "pbVar31") (+ "+") (identifier "iVar13"))) (; ";")) (if_statement "if (*(int *)(iVar22 + 0x34) != 0) {\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }" (if "if") (parenthesized_expression "(*(int *)(iVar22 + 0x34) != 0)" (( "(") (binary_expression "*(int *)(iVar22 + 0x34) != 0" (pointer_expression "*(int *)(iVar22 + 0x34)" (* "*") (cast_expression "(int *)(iVar22 + 0x34)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar22 + 0x34)" (( "(") (binary_expression "iVar22 + 0x34" (identifier "iVar22") (+ "+") (number_literal "0x34")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);\n                                    }" ({ "{") (expression_statement "*(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23);" (assignment_expression "*(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =\n                                           (float)((double)*pbVar31 * in_f22_23)" (pointer_expression "*(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4)" (* "*") (cast_expression "(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + *(int *)(iVar22 + 0x38) * 4)" (( "(") (binary_expression "iVar5 + *(int *)(iVar22 + 0x38) * 4" (identifier "iVar5") (+ "+") (binary_expression "*(int *)(iVar22 + 0x38) * 4" (pointer_expression "*(int *)(iVar22 + 0x38)" (* "*") (cast_expression "(int *)(iVar22 + 0x38)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar22 + 0x38)" (( "(") (binary_expression "iVar22 + 0x38" (identifier "iVar22") (+ "+") (number_literal "0x38")) () ")")))) (* "*") (number_literal "4"))) () ")")))) (= "=") (cast_expression "(float)((double)*pbVar31 * in_f22_23)" (( "(") (type_descriptor "float" (primitive_type "float")) () ")") (parenthesized_expression "((double)*pbVar31 * in_f22_23)" (( "(") (binary_expression "(double)*pbVar31 * in_f22_23" (cast_expression "(double)*pbVar31" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (pointer_expression "*pbVar31" (* "*") (identifier "pbVar31"))) (* "*") (identifier "in_f22_23")) () ")")))) (; ";")) (} "}"))) (expression_statement "dVar35 = *(double *)(local_10ac + -0x5af0);" (assignment_expression "dVar35 = *(double *)(local_10ac + -0x5af0)" (identifier "dVar35") (= "=") (pointer_expression "*(double *)(local_10ac + -0x5af0)" (* "*") (cast_expression "(double *)(local_10ac + -0x5af0)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_10ac + -0x5af0)" (( "(") (binary_expression "local_10ac + -0x5af0" (identifier "local_10ac") (+ "+") (number_literal "-0x5af0")) () ")"))))) (; ";")) (expression_statement "iVar27 = *(int *)(iVar22 + 0x14);" (assignment_expression "iVar27 = *(int *)(iVar22 + 0x14)" (identifier "iVar27") (= "=") (pointer_expression "*(int *)(iVar22 + 0x14)" (* "*") (cast_expression "(int *)(iVar22 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar22 + 0x14)" (( "(") (binary_expression "iVar22 + 0x14" (identifier "iVar22") (+ "+") (number_literal "0x14")) () ")"))))) (; ";")) (expression_statement "iVar23 = *(int *)(iVar22 + 0x20);" (assignment_expression "iVar23 = *(int *)(iVar22 + 0x20)" (identifier "iVar23") (= "=") (pointer_expression "*(int *)(iVar22 + 0x20)" (* "*") (cast_expression "(int *)(iVar22 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar22 + 0x20)" (( "(") (binary_expression "iVar22 + 0x20" (identifier "iVar22") (+ "+") (number_literal "0x20")) () ")"))))) (; ";")) (expression_statement "*(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35);" (assignment_expression "*(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =\n                                         (float)((double)*pbVar24 * dVar35)" (pointer_expression "*(float *)(iVar5 + *(int *)(iVar22 + 8) * 4)" (* "*") (cast_expression "(float *)(iVar5 + *(int *)(iVar22 + 8) * 4)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + *(int *)(iVar22 + 8) * 4)" (( "(") (binary_expression "iVar5 + *(int *)(iVar22 + 8) * 4" (identifier "iVar5") (+ "+") (binary_expression "*(int *)(iVar22 + 8) * 4" (pointer_expression "*(int *)(iVar22 + 8)" (* "*") (cast_expression "(int *)(iVar22 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar22 + 8)" (( "(") (binary_expression "iVar22 + 8" (identifier "iVar22") (+ "+") (number_literal "8")) () ")")))) (* "*") (number_literal "4"))) () ")")))) (= "=") (cast_expression "(float)((double)*pbVar24 * dVar35)" (( "(") (type_descriptor "float" (primitive_type "float")) () ")") (parenthesized_expression "((double)*pbVar24 * dVar35)" (( "(") (binary_expression "(double)*pbVar24 * dVar35" (cast_expression "(double)*pbVar24" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (pointer_expression "*pbVar24" (* "*") (identifier "pbVar24"))) (* "*") (identifier "dVar35")) () ")")))) (; ";")) (expression_statement "*(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35);" (assignment_expression "*(float *)(iVar5 + iVar27 * 4) =\n                                         (float)((double)pbVar24[iVar13] * dVar35)" (pointer_expression "*(float *)(iVar5 + iVar27 * 4)" (* "*") (cast_expression "(float *)(iVar5 + iVar27 * 4)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + iVar27 * 4)" (( "(") (binary_expression "iVar5 + iVar27 * 4" (identifier "iVar5") (+ "+") (binary_expression "iVar27 * 4" (identifier "iVar27") (* "*") (number_literal "4"))) () ")")))) (= "=") (cast_expression "(float)((double)pbVar24[iVar13] * dVar35)" (( "(") (type_descriptor "float" (primitive_type "float")) () ")") (parenthesized_expression "((double)pbVar24[iVar13] * dVar35)" (( "(") (binary_expression "(double)pbVar24[iVar13] * dVar35" (cast_expression "(double)pbVar24[iVar13]" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (subscript_expression "pbVar24[iVar13]" (identifier "pbVar24") ([ "[") (identifier "iVar13") (] "]"))) (* "*") (identifier "dVar35")) () ")")))) (; ";")) (expression_statement "*(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);" (assignment_expression "*(float *)(iVar5 + iVar23 * 4) =\n                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35)" (pointer_expression "*(float *)(iVar5 + iVar23 * 4)" (* "*") (cast_expression "(float *)(iVar5 + iVar23 * 4)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar5 + iVar23 * 4)" (( "(") (binary_expression "iVar5 + iVar23 * 4" (identifier "iVar5") (+ "+") (binary_expression "iVar23 * 4" (identifier "iVar23") (* "*") (number_literal "4"))) () ")")))) (= "=") (cast_expression "(float)((double)(pbVar24 + iVar13)[iVar13] * dVar35)" (( "(") (type_descriptor "float" (primitive_type "float")) () ")") (parenthesized_expression "((double)(pbVar24 + iVar13)[iVar13] * dVar35)" (( "(") (binary_expression "(double)(pbVar24 + iVar13)[iVar13] * dVar35" (cast_expression "(double)(pbVar24 + iVar13)[iVar13]" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (subscript_expression "(pbVar24 + iVar13)[iVar13]" (parenthesized_expression "(pbVar24 + iVar13)" (( "(") (binary_expression "pbVar24 + iVar13" (identifier "pbVar24") (+ "+") (identifier "iVar13")) () ")")) ([ "[") (identifier "iVar13") (] "]"))) (* "*") (identifier "dVar35")) () ")")))) (; ";")) (} "}")))))))) (expression_statement "iVar9 = iVar9 + 1;" (assignment_expression "iVar9 = iVar9 + 1" (identifier "iVar9") (= "=") (binary_expression "iVar9 + 1" (identifier "iVar9") (+ "+") (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 "iVar5 = iVar5 + piVar7[0xb0] * 4;" (assignment_expression "iVar5 = iVar5 + piVar7[0xb0] * 4" (identifier "iVar5") (= "=") (binary_expression "iVar5 + piVar7[0xb0] * 4" (identifier "iVar5") (+ "+") (binary_expression "piVar7[0xb0] * 4" (subscript_expression "piVar7[0xb0]" (identifier "piVar7") ([ "[") (number_literal "0xb0") (] "]")) (* "*") (number_literal "4")))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar9 < iVar13)" (( "(") (binary_expression "iVar9 < iVar13" (identifier "iVar9") (< "<") (identifier "iVar13")) () ")")) (; ";")) (} "}"))) (expression_statement "iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)\n                              ;" (assignment_expression "iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)" (identifier "iVar5") (= "=") (call_expression "(*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)" (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 "(piVar7,local_10d8)" (( "(") (identifier "piVar7") (, ",") (identifier "local_10d8") () ")")))) (; ";")) (if_statement "if (((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))\n                              goto LAB_00276500;" (if "if") (parenthesized_expression "(((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))" (( "(") (binary_expression "((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))) ||\n                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30)))" (parenthesized_expression "((iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3))))" (( "(") (binary_expression "(iVar5 == 0) ||\n                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))" (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)))" (( "(") (parenthesized_expression "((*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3))" (( "(") (binary_expression "(*piVar7 == 1 && (local_1066 != 0x10)) &&\n                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)" (parenthesized_expression "(*piVar7 == 1 && (local_1066 != 0x10))" (( "(") (binary_expression "*piVar7 == 1 && (local_1066 != 0x10)" (binary_expression "*piVar7 == 1" (pointer_expression "*piVar7" (* "*") (identifier "piVar7")) (== "==") (number_literal "1")) (&& "&&") (parenthesized_expression "(local_1066 != 0x10)" (( "(") (binary_expression "local_1066 != 0x10" (identifier "local_1066") (!= "!=") (number_literal "0x10")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3)" (( "(") (comma_expression "pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],\n                                   pbVar31 < unaff_s3" (assignment_expression "pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6]" (identifier "pbVar31") (= "=") (binary_expression "pbVar31 + (local_1064 + -1) * piVar7[6]" (identifier "pbVar31") (+ "+") (binary_expression "(local_1064 + -1) * piVar7[6]" (parenthesized_expression "(local_1064 + -1)" (( "(") (binary_expression "local_1064 + -1" (identifier "local_1064") (+ "+") (number_literal "-1")) () ")")) (* "*") (subscript_expression "piVar7[6]" (identifier "piVar7") ([ "[") (number_literal "6") (] "]"))))) (, ",") (binary_expression "pbVar31 < unaff_s3" (identifier "pbVar31") (< "<") (identifier "unaff_s3"))) () ")"))) () ")")) () ")"))) () ")")) (|| "||") (parenthesized_expression "((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30)))" (( "(") (parenthesized_expression "(iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))" (( "(") (comma_expression "iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30)" (assignment_expression "iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7])" (identifier "iVar5") (= "=") (call_expression "(*(code *)PTR_SetImageProgress_003a8cb4)\n                                                     (unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7])" (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 "(unaff_s0,\n                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7])" (( "(") (identifier "unaff_s0") (, ",") (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_10b0") (, ",") (identifier "uVar29") (, ",") (number_literal "0") (, ",") (subscript_expression "piVar7[7]" (identifier "piVar7") ([ "[") (number_literal "7") (] "]")) () ")")))) (, ",") (binary_expression "iVar5 == 0\n                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30)" (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) (|| "||") (parenthesized_expression "(uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30)" (( "(") (comma_expression "uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30" (assignment_expression "uVar30 = uVar29 + 1" (identifier "uVar30") (= "=") (binary_expression "uVar29 + 1" (identifier "uVar29") (+ "+") (number_literal "1"))) (, ",") (binary_expression "piVar7[7] <= (int)uVar30" (subscript_expression "piVar7[7]" (identifier "piVar7") ([ "[") (number_literal "7") (] "]")) (<= "<=") (cast_expression "(int)uVar30" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar30")))) () ")")))) () ")")) () ")"))) () ")")) (goto_statement "goto LAB_00276500;" (goto "goto") (statement_identifier "LAB_00276500") (; ";"))) (expression_statement "local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;" (assignment_expression "local_10b0 = (uint)(uVar30 < uVar29) + local_10b0" (identifier "local_10b0") (= "=") (binary_expression "(uint)(uVar30 < uVar29) + local_10b0" (call_expression "(uint)(uVar30 < uVar29)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar30 < uVar29)" (( "(") (binary_expression "uVar30 < uVar29" (identifier "uVar30") (< "<") (identifier "uVar29")) () ")"))) (+ "+") (identifier "local_10b0"))) (; ";")) (expression_statement "uVar29 = uVar30;" (assignment_expression "uVar29 = uVar30" (identifier "uVar29") (= "=") (identifier "uVar30")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094)" (( "(") (binary_expression "pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094" (identifier "pbVar31") (<= "<=") (binary_expression "unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094" (binary_expression "unaff_s3 + *(int *)(unaff_s0 + 0x18)" (identifier "unaff_s3") (+ "+") (pointer_expression "*(int *)(unaff_s0 + 0x18)" (* "*") (cast_expression "(int *)(unaff_s0 + 0x18)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s0 + 0x18)" (( "(") (binary_expression "unaff_s0 + 0x18" (identifier "unaff_s0") (+ "+") (number_literal "0x18")) () ")"))))) (+ "+") (identifier "local_1094"))) () ")")) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3)" (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 "(unaff_s3)" (( "(") (identifier "unaff_s3") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(piVar7)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" (( "(") (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" (* "*") (cast_expression "(code *)PTR_DestroyImage_003a8f4c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImage_003a8f4c"))) () ")")) (argument_list "(piVar7)" (( "(") (identifier "piVar7") () ")"))) (; ";")) (if_statement "if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }" (if "if") (parenthesized_expression "(local_10cc != 0)" (( "(") (binary_expression "local_10cc != 0" (identifier "local_10cc") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }" ({ "{") (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" (( "(") (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" (* "*") (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImageInfo_003a95e8"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar26 = 0x4fc;" (assignment_expression "uVar26 = 0x4fc" (identifier "uVar26") (= "=") (number_literal "0x4fc")) (; ";")) (expression_statement "unaff_s7 = piVar7;" (assignment_expression "unaff_s7 = piVar7" (identifier "unaff_s7") (= "=") (identifier "piVar7")) (; ";")) (labeled_statement "LAB_0027504c:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;" (statement_identifier "LAB_0027504c") (: ":") (expression_statement "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;" (assignment_expression "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" (identifier "puVar25") (= "=") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "-0x3dbc"))) (; ";"))) (expression_statement "uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);" (assignment_expression "uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" (identifier "uVar37") (= "=") (call_expression "CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" (identifier "CONCAT44") (argument_list "(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" (( "(") (binary_expression "PTR_LAB_003a88e0 + 0x3e28" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x3e28")) (, ",") (binary_expression "local_10d0 + 0x2210" (identifier "local_10d0") (+ "+") (number_literal "0x2210")) () ")")))) (; ";")) (expression_statement "puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;" (assignment_expression "puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" (identifier "puVar21") (= "=") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "-0x3d60"))) (; ";")) (expression_statement "puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;" (assignment_expression "puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8" (identifier "puVar12") (= "=") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "-0x3ce8"))) (; ";")) (expression_statement "piVar7 = unaff_s7;" (assignment_expression "piVar7 = unaff_s7" (identifier "piVar7") (= "=") (identifier "unaff_s7")) (; ";")) (} "}")))) (goto_statement "goto LAB_0027507c;" (goto "goto") (statement_identifier "LAB_0027507c") (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(piVar7)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" (( "(") (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" (* "*") (cast_expression "(code *)PTR_DestroyImage_003a8f4c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImage_003a8f4c"))) () ")")) (argument_list "(piVar7)" (( "(") (identifier "piVar7") () ")"))) (; ";")) (if_statement "if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }" (if "if") (parenthesized_expression "(local_10cc != 0)" (( "(") (binary_expression "local_10cc != 0" (identifier "local_10cc") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }" ({ "{") (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" (( "(") (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" (* "*") (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImageInfo_003a95e8"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar26 = 0x4db;" (assignment_expression "uVar26 = 0x4db" (identifier "uVar26") (= "=") (number_literal "0x4db")) (; ";")) (expression_statement "unaff_s7 = piVar7;" (assignment_expression "unaff_s7 = piVar7" (identifier "unaff_s7") (= "=") (identifier "piVar7")) (; ";")) (} "}")))) (goto_statement "goto LAB_002757bc;" (goto "goto") (statement_identifier "LAB_002757bc") (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(piVar7)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" (( "(") (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" (* "*") (cast_expression "(code *)PTR_DestroyImage_003a8f4c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImage_003a8f4c"))) () ")")) (argument_list "(piVar7)" (( "(") (identifier "piVar7") () ")"))) (; ";")) (if_statement "if (local_10cc != 0) {\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }" (if "if") (parenthesized_expression "(local_10cc != 0)" (( "(") (binary_expression "local_10cc != 0" (identifier "local_10cc") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                    (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                  }" ({ "{") (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" (( "(") (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" (* "*") (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImageInfo_003a95e8"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar26 = 0x4d7;" (assignment_expression "uVar26 = 0x4d7" (identifier "uVar26") (= "=") (number_literal "0x4d7")) (; ";")) (expression_statement "unaff_s7 = piVar7;" (assignment_expression "unaff_s7 = piVar7" (identifier "unaff_s7") (= "=") (identifier "piVar7")) (; ";")) (goto_statement "goto LAB_00275880;" (goto "goto") (statement_identifier "LAB_00275880") (; ";")) (} "}"))) (if_statement "if (unaff_s3 != (byte *)0x0) {\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }" (if "if") (parenthesized_expression "(unaff_s3 != (byte *)0x0)" (( "(") (binary_expression "unaff_s3 != (byte *)0x0" (identifier "unaff_s3") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                }" ({ "{") (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" (( "(") (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" (* "*") (cast_expression "(code *)PTR_DestroyImage_003a8f4c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImage_003a8f4c"))) () ")")) (argument_list "(unaff_s3)" (( "(") (identifier "unaff_s3") () ")"))) (; ";")) (} "}"))) (if_statement "if (local_10cc != 0) {\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }" (if "if") (parenthesized_expression "(local_10cc != 0)" (( "(") (binary_expression "local_10cc != 0" (identifier "local_10cc") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                  (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                }" ({ "{") (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" (( "(") (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" (* "*") (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImageInfo_003a95e8"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar26 = 0x491;" (assignment_expression "uVar26 = 0x491" (identifier "uVar26") (= "=") (number_literal "0x491")) (; ";")) (labeled_statement "LAB_002757bc:\n                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;" (statement_identifier "LAB_002757bc") (: ":") (expression_statement "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;" (assignment_expression "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" (identifier "puVar25") (= "=") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "-0x3dbc"))) (; ";"))) (expression_statement "uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);" (assignment_expression "uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" (identifier "uVar37") (= "=") (call_expression "CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" (identifier "CONCAT44") (argument_list "(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" (( "(") (binary_expression "PTR_LAB_003a88e0 + 0x3e28" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x3e28")) (, ",") (binary_expression "local_10d0 + 0x2210" (identifier "local_10d0") (+ "+") (number_literal "0x2210")) () ")")))) (; ";")) (expression_statement "puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;" (assignment_expression "puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" (identifier "puVar21") (= "=") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "-0x3d60"))) (; ";")) (expression_statement "puVar12 = PTR_s_courses_003a88ec + -400;" (assignment_expression "puVar12 = PTR_s_courses_003a88ec + -400" (identifier "puVar12") (= "=") (binary_expression "PTR_s_courses_003a88ec + -400" (identifier "PTR_s_courses_003a88ec") (+ "+") (number_literal "-400"))) (; ";")) (expression_statement "piVar7 = unaff_s7;" (assignment_expression "piVar7 = unaff_s7" (identifier "piVar7") (= "=") (identifier "unaff_s7")) (; ";")) (labeled_statement "LAB_0027507c:\n                uVar8 = 0x1a9;" (statement_identifier "LAB_0027507c") (: ":") (expression_statement "uVar8 = 0x1a9;" (assignment_expression "uVar8 = 0x1a9" (identifier "uVar8") (= "=") (number_literal "0x1a9")) (; ";"))) (expression_statement "unaff_s7 = piVar7;" (assignment_expression "unaff_s7 = piVar7" (identifier "unaff_s7") (= "=") (identifier "piVar7")) (; ";")) (labeled_statement "LAB_00275084:\n                (*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);" (statement_identifier "LAB_00275084") (: ":") (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37)" (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_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37)" (( "(") (identifier "local_10d8") (, ",") (identifier "puVar21") (, ",") (identifier "puVar25") (, ",") (identifier "uVar26") (, ",") (identifier "uVar8") (, ",") (identifier "puVar12") (, ",") (identifier "uVar37") () ")"))) (; ";"))) (labeled_statement "LAB_00274208:\n                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);" (statement_identifier "LAB_00274208") (: ":") (expression_statement "(*(code *)PTR_CloseBlob_003a9688)(unaff_s0);" (call_expression "(*(code *)PTR_CloseBlob_003a9688)(unaff_s0)" (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 "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")"))) (; ";"))) (expression_statement "(*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);" (call_expression "(*(code *)PTR_DestroyImageList_003a9510)(unaff_s0)" (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 "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")"))) (; ";")) (labeled_statement "LAB_00274224:\n                uVar26 = 0;" (statement_identifier "LAB_00274224") (: ":") (expression_statement "uVar26 = 0;" (assignment_expression "uVar26 = 0" (identifier "uVar26") (= "=") (number_literal "0")) (; ";"))) (goto_statement "goto LAB_00274228;" (goto "goto") (statement_identifier "LAB_00274228") (; ";")) (} "}"))) (if_statement "if (*(int *)(unaff_s0 + 0x3350) != 0) {\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7);\n              }" (if "if") (parenthesized_expression "(*(int *)(unaff_s0 + 0x3350) != 0)" (( "(") (binary_expression "*(int *)(unaff_s0 + 0x3350) != 0" (pointer_expression "*(int *)(unaff_s0 + 0x3350)" (* "*") (cast_expression "(int *)(unaff_s0 + 0x3350)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s0 + 0x3350)" (( "(") (binary_expression "unaff_s0 + 0x3350" (identifier "unaff_s0") (+ "+") (number_literal "0x3350")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                (*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7);\n              }" ({ "{") (expression_statement "(*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7);" (call_expression "(*(code *)PTR_LogMagickEvent_003a91e0)\n                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7)" (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 "(0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,\n                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7)" (( "(") (number_literal "0x10") (, ",") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "-0x3d60")) (, ",") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "-0x3dbc")) (, ",") (number_literal "0x3d3") (, ",") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "-0x3d2c")) (, ",") (identifier "unaff_s7") () ")"))) (; ";")) (} "}"))) (if_statement "if (unaff_s7 != (int *)0xc00) {\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7 + -0x2c) {\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }" (if "if") (parenthesized_expression "(unaff_s7 != (int *)0xc00)" (( "(") (binary_expression "unaff_s7 != (int *)0xc00" (identifier "unaff_s7") (!= "!=") (cast_expression "(int *)0xc00" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0xc00"))) () ")")) (compound_statement "{\nLAB_00274584:\n                if (&DAT_0000001f < unaff_s7 + -0x2c) {\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }\n                goto LAB_002744b8;\n              }" ({ "{") (labeled_statement "LAB_00274584:\n                if (&DAT_0000001f < unaff_s7 + -0x2c) {\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }" (statement_identifier "LAB_00274584") (: ":") (if_statement "if (&DAT_0000001f < unaff_s7 + -0x2c) {\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }" (if "if") (parenthesized_expression "(&DAT_0000001f < unaff_s7 + -0x2c)" (( "(") (binary_expression "&DAT_0000001f < unaff_s7 + -0x2c" (pointer_expression "&DAT_0000001f" (& "&") (identifier "DAT_0000001f")) (< "<") (binary_expression "unaff_s7 + -0x2c" (identifier "unaff_s7") (+ "+") (number_literal "-0x2c"))) () ")")) (compound_statement "{\nLAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }\n                }" ({ "{") (labeled_statement "LAB_00274594:\n                  if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }" (statement_identifier "LAB_00274594") (: ":") (if_statement "if ((int *)0xff < unaff_s7 + -0x2000) {\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }" (if "if") (parenthesized_expression "((int *)0xff < unaff_s7 + -0x2000)" (( "(") (binary_expression "(int *)0xff < unaff_s7 + -0x2000" (cast_expression "(int *)0xff" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0xff")) (< "<") (binary_expression "unaff_s7 + -0x2000" (identifier "unaff_s7") (+ "+") (number_literal "-0x2000"))) () ")")) (compound_statement "{\n                    if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }\n                    pbVar31 = unaff_s3;\n                    piVar6 = unaff_s7;\n                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;\n                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }\nLAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\n                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;\n                    piVar7 = unaff_s7;\n                    goto LAB_0027507c;\n                  }" ({ "{") (if_statement "if (unaff_s7 == (int *)0x8200) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }" (if "if") (parenthesized_expression "(unaff_s7 == (int *)0x8200)" (( "(") (binary_expression "unaff_s7 == (int *)0x8200" (identifier "unaff_s7") (== "==") (cast_expression "(int *)0x8200" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x8200"))) () ")")) (compound_statement "{\n                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }\n                      iVar5 = 6;\n                      if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }\nLAB_00274de8:\n                      local_10b8 = 1;\n                      if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }\n                      goto LAB_002744b8;\n                    }" ({ "{") (expression_statement "uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);" (assignment_expression "uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0)" (identifier "uVar28") (= "=") (call_expression "(*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBLong_003a8d98)" (( "(") (pointer_expression "*(code *)PTR_ReadBlobMSBLong_003a8d98" (* "*") (cast_expression "(code *)PTR_ReadBlobMSBLong_003a8d98" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ReadBlobMSBLong_003a8d98"))) () ")")) (argument_list "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")")))) (; ";")) (expression_statement "uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);" (assignment_expression "uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" (identifier "uVar37") (= "=") (call_expression "(*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" (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 "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")")))) (; ";")) (if_statement "if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }" (if "if") (parenthesized_expression "(((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28))" (( "(") (binary_expression "((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)" (parenthesized_expression "((int)((ulonglong)uVar37 >> 0x20) == 0)" (( "(") (binary_expression "(int)((ulonglong)uVar37 >> 0x20) == 0" (cast_expression "(int)((ulonglong)uVar37 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)uVar37 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar37 >> 0x20" (cast_expression "(ulonglong)uVar37" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar37")) (>> ">>") (number_literal "0x20")) () ")"))) (== "==") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((uint)uVar37 < uVar28)" (( "(") (binary_expression "(uint)uVar37 < uVar28" (cast_expression "(uint)uVar37" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "uVar37")) (< "<") (identifier "uVar28")) () ")"))) () ")")) (compound_statement "{\n                        if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }\n                        if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }\n                        uVar26 = 0x5b9;\n                        goto LAB_00275880;\n                      }" ({ "{") (if_statement "if (unaff_s3 != (byte *)0x0) {\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }" (if "if") (parenthesized_expression "(unaff_s3 != (byte *)0x0)" (( "(") (binary_expression "unaff_s3 != (byte *)0x0" (identifier "unaff_s3") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                        }" ({ "{") (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" (( "(") (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" (* "*") (cast_expression "(code *)PTR_DestroyImage_003a8f4c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImage_003a8f4c"))) () ")")) (argument_list "(unaff_s3)" (( "(") (identifier "unaff_s3") () ")"))) (; ";")) (} "}"))) (if_statement "if (local_10cc != 0) {\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }" (if "if") (parenthesized_expression "(local_10cc != 0)" (( "(") (binary_expression "local_10cc != 0" (identifier "local_10cc") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                          (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                        }" ({ "{") (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" (( "(") (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" (* "*") (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImageInfo_003a95e8"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar26 = 0x5b9;" (assignment_expression "uVar26 = 0x5b9" (identifier "uVar26") (= "=") (number_literal "0x5b9")) (; ";")) (goto_statement "goto LAB_00275880;" (goto "goto") (statement_identifier "LAB_00275880") (; ";")) (} "}"))) (expression_statement "iVar5 = 6;" (assignment_expression "iVar5 = 6" (identifier "iVar5") (= "=") (number_literal "6")) (; ";")) (if_statement "if (0x9a < uVar28) {\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }" (if "if") (parenthesized_expression "(0x9a < uVar28)" (( "(") (binary_expression "0x9a < uVar28" (number_literal "0x9a") (< "<") (identifier "uVar28")) () ")")) (compound_statement "{\n                        do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);\n                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);\n                        if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }\n                        goto LAB_00275084;\n                      }" ({ "{") (do_statement "do {\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        } while (iVar5 != 0);" (do "do") (compound_statement "{\n                          iVar5 = iVar5 + -1;\n                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);\n                        }" ({ "{") (expression_statement "iVar5 = iVar5 + -1;" (assignment_expression "iVar5 = iVar5 + -1" (identifier "iVar5") (= "=") (binary_expression "iVar5 + -1" (identifier "iVar5") (+ "+") (number_literal "-1"))) (; ";")) (expression_statement "(*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);" (call_expression "(*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBLong_003a8d98)" (( "(") (pointer_expression "*(code *)PTR_ReadBlobMSBLong_003a8d98" (* "*") (cast_expression "(code *)PTR_ReadBlobMSBLong_003a8d98" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ReadBlobMSBLong_003a8d98"))) () ")")) (argument_list "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar5 != 0)" (( "(") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "iVar5 = FUN_002739c8(unaff_s0,local_10bc);" (assignment_expression "iVar5 = FUN_002739c8(unaff_s0,local_10bc)" (identifier "iVar5") (= "=") (call_expression "FUN_002739c8(unaff_s0,local_10bc)" (identifier "FUN_002739c8") (argument_list "(unaff_s0,local_10bc)" (( "(") (identifier "unaff_s0") (, ",") (identifier "local_10bc") () ")")))) (; ";")) (if_statement "if (iVar5 == 0) {\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }\n                        else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5c8;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);\nLAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_s_courses_003a88ec + -400;\n                          uVar8 = 0x1a9;\n                        }" ({ "{") (if_statement "if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }" (if "if") (parenthesized_expression "(unaff_s3 != (byte *)0x0)" (( "(") (binary_expression "unaff_s3 != (byte *)0x0" (identifier "unaff_s3") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }" ({ "{") (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" (( "(") (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" (* "*") (cast_expression "(code *)PTR_DestroyImage_003a8f4c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImage_003a8f4c"))) () ")")) (argument_list "(unaff_s3)" (( "(") (identifier "unaff_s3") () ")"))) (; ";")) (} "}"))) (if_statement "if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }" (if "if") (parenthesized_expression "(local_10cc != 0)" (( "(") (binary_expression "local_10cc != 0" (identifier "local_10cc") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }" ({ "{") (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" (( "(") (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" (* "*") (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImageInfo_003a95e8"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar26 = 0x5c8;" (assignment_expression "uVar26 = 0x5c8" (identifier "uVar26") (= "=") (number_literal "0x5c8")) (; ";")) (expression_statement "uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);" (assignment_expression "uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" (identifier "uVar37") (= "=") (call_expression "CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" (identifier "CONCAT44") (argument_list "(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" (( "(") (binary_expression "PTR_LAB_003a88e0 + 0x3e28" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x3e28")) (, ",") (binary_expression "local_10d0 + 0x2210" (identifier "local_10d0") (+ "+") (number_literal "0x2210")) () ")")))) (; ";")) (labeled_statement "LAB_00275b88:\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;" (statement_identifier "LAB_00275b88") (: ":") (expression_statement "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;" (assignment_expression "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" (identifier "puVar25") (= "=") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "-0x3dbc"))) (; ";"))) (expression_statement "puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;" (assignment_expression "puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" (identifier "puVar21") (= "=") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "-0x3d60"))) (; ";")) (expression_statement "puVar12 = PTR_s_courses_003a88ec + -400;" (assignment_expression "puVar12 = PTR_s_courses_003a88ec + -400" (identifier "puVar12") (= "=") (binary_expression "PTR_s_courses_003a88ec + -400" (identifier "PTR_s_courses_003a88ec") (+ "+") (number_literal "-400"))) (; ";")) (expression_statement "uVar8 = 0x1a9;" (assignment_expression "uVar8 = 0x1a9" (identifier "uVar8") (= "=") (number_literal "0x1a9")) (; ";")) (} "}")) (else_clause "else {\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }" (else "else") (compound_statement "{\n                          iVar5 = 0x7a;\n                          do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);\n                          iVar5 = uVar28 - 0x9a;\n                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);\n                          pbVar31 = local_10d0 + 0x2210;\n                          if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }\n                          if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }\n                          if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }\n                          uVar26 = 0x5d0;\n                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;\n                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;\n                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;\n                          uVar8 = 400;\n                        }" ({ "{") (expression_statement "iVar5 = 0x7a;" (assignment_expression "iVar5 = 0x7a" (identifier "iVar5") (= "=") (number_literal "0x7a")) (; ";")) (do_statement "do {\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          } while (iVar5 != 0);" (do "do") (compound_statement "{\n                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar13 == -1) break;\n                            iVar5 = iVar5 + -1;\n                          }" ({ "{") (expression_statement "iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (identifier "iVar13") (= "=") (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")")))) (; ";")) (if_statement "if (iVar13 == -1) break;" (if "if") (parenthesized_expression "(iVar13 == -1)" (( "(") (binary_expression "iVar13 == -1" (identifier "iVar13") (== "==") (number_literal "-1")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar5 = iVar5 + -1;" (assignment_expression "iVar5 = iVar5 + -1" (identifier "iVar5") (= "=") (binary_expression "iVar5 + -1" (identifier "iVar5") (+ "+") (number_literal "-1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar5 != 0)" (( "(") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0")) () ")")) (; ";")) (expression_statement "iVar5 = uVar28 - 0x9a;" (assignment_expression "iVar5 = uVar28 - 0x9a" (identifier "iVar5") (= "=") (binary_expression "uVar28 - 0x9a" (identifier "uVar28") (- "-") (number_literal "0x9a"))) (; ";")) (expression_statement "piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);" (assignment_expression "piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1)" (identifier "piVar6") (= "=") (cast_expression "(int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,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 "(iVar5,1)" (( "(") (identifier "iVar5") (, ",") (number_literal "1") () ")"))))) (; ";")) (expression_statement "pbVar31 = local_10d0 + 0x2210;" (assignment_expression "pbVar31 = local_10d0 + 0x2210" (identifier "pbVar31") (= "=") (binary_expression "local_10d0 + 0x2210" (identifier "local_10d0") (+ "+") (number_literal "0x2210"))) (; ";")) (if_statement "if (piVar6 != (int *)0x0) {\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }" (if "if") (parenthesized_expression "(piVar6 != (int *)0x0)" (( "(") (binary_expression "piVar6 != (int *)0x0" (identifier "piVar6") (!= "!=") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);\n                            if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }\n                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                            if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }\n                            if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }\n                            uVar26 = 0x5d5;\n                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);\n                            unaff_s7 = piVar6;\n                            goto LAB_00275b88;\n                          }" ({ "{") (expression_statement "uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080);" (assignment_expression "uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080)" (identifier "uVar26") (= "=") (call_expression "(*(code *)PTR_ReadBlobStream_003a9098)\n                                               (unaff_s0,iVar5,piVar6,&local_1080)" (parenthesized_expression "(*(code *)PTR_ReadBlobStream_003a9098)" (( "(") (pointer_expression "*(code *)PTR_ReadBlobStream_003a9098" (* "*") (cast_expression "(code *)PTR_ReadBlobStream_003a9098" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ReadBlobStream_003a9098"))) () ")")) (argument_list "(unaff_s0,iVar5,piVar6,&local_1080)" (( "(") (identifier "unaff_s0") (, ",") (identifier "iVar5") (, ",") (identifier "piVar6") (, ",") (pointer_expression "&local_1080" (& "&") (identifier "local_1080")) () ")")))) (; ";")) (if_statement "if (local_1080 == iVar5) {\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }" (if "if") (parenthesized_expression "(local_1080 == iVar5)" (( "(") (binary_expression "local_1080 == iVar5" (identifier "local_1080") (== "==") (identifier "iVar5")) () ")")) (compound_statement "{\n                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();\n                              (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);\n                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);\n                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);\n                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);\n                              goto LAB_00274de8;\n                            }" ({ "{") (expression_statement "iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();" (assignment_expression "iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)()" (identifier "iVar5") (= "=") (call_expression "(*(code *)PTR_AcquireImageInfo_003a91d0)()" (parenthesized_expression "(*(code *)PTR_AcquireImageInfo_003a91d0)" (( "(") (pointer_expression "*(code *)PTR_AcquireImageInfo_003a91d0" (* "*") (cast_expression "(code *)PTR_AcquireImageInfo_003a91d0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_AcquireImageInfo_003a91d0"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "(*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31);" (call_expression "(*(code *)PTR_FormatLocaleString_003a8d7c)\n                                        (iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31)" (parenthesized_expression "(*(code *)PTR_FormatLocaleString_003a8d7c)" (( "(") (pointer_expression "*(code *)PTR_FormatLocaleString_003a8d7c" (* "*") (cast_expression "(code *)PTR_FormatLocaleString_003a8d7c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FormatLocaleString_003a8d7c"))) () ")")) (argument_list "(iVar5 + 0x2210,0x1000,\n                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,\n                                         pbVar31)" (( "(") (binary_expression "iVar5 + 0x2210" (identifier "iVar5") (+ "+") (number_literal "0x2210")) (, ",") (number_literal "0x1000") (, ",") (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c" (identifier "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8") (+ "+") (number_literal "0x4b4c")) (, ",") (identifier "pbVar31") () ")"))) (; ";")) (expression_statement "unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8);" (assignment_expression "unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8)" (identifier "unaff_s3") (= "=") (cast_expression "(byte *)(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_BlobToImage_003a9330)\n                                                           (iVar5,uVar26,local_1080,local_10d8)" (parenthesized_expression "(*(code *)PTR_BlobToImage_003a9330)" (( "(") (pointer_expression "*(code *)PTR_BlobToImage_003a9330" (* "*") (cast_expression "(code *)PTR_BlobToImage_003a9330" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_BlobToImage_003a9330"))) () ")")) (argument_list "(iVar5,uVar26,local_1080,local_10d8)" (( "(") (identifier "iVar5") (, ",") (identifier "uVar26") (, ",") (identifier "local_1080") (, ",") (identifier "local_10d8") () ")"))))) (; ";")) (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6)" (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 "(piVar6)" (( "(") (identifier "piVar6") () ")"))) (; ";")) (expression_statement "local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);" (assignment_expression "local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5)" (identifier "local_10cc") (= "=") (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5)" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" (( "(") (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" (* "*") (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImageInfo_003a95e8"))) () ")")) (argument_list "(iVar5)" (( "(") (identifier "iVar5") () ")")))) (; ";")) (goto_statement "goto LAB_00274de8;" (goto "goto") (statement_identifier "LAB_00274de8") (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6)" (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 "(piVar6)" (( "(") (identifier "piVar6") () ")"))) (; ";")) (if_statement "if (unaff_s3 != (byte *)0x0) {\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }" (if "if") (parenthesized_expression "(unaff_s3 != (byte *)0x0)" (( "(") (binary_expression "unaff_s3 != (byte *)0x0" (identifier "unaff_s3") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                            }" ({ "{") (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" (( "(") (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" (* "*") (cast_expression "(code *)PTR_DestroyImage_003a8f4c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImage_003a8f4c"))) () ")")) (argument_list "(unaff_s3)" (( "(") (identifier "unaff_s3") () ")"))) (; ";")) (} "}"))) (if_statement "if (local_10cc != 0) {\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }" (if "if") (parenthesized_expression "(local_10cc != 0)" (( "(") (binary_expression "local_10cc != 0" (identifier "local_10cc") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                              (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                            }" ({ "{") (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" (( "(") (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" (* "*") (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImageInfo_003a95e8"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar26 = 0x5d5;" (assignment_expression "uVar26 = 0x5d5" (identifier "uVar26") (= "=") (number_literal "0x5d5")) (; ";")) (expression_statement "uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);" (assignment_expression "uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31)" (identifier "uVar37") (= "=") (call_expression "CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31)" (identifier "CONCAT44") (argument_list "(PTR_LAB_003a88e0 + 0x3e28,pbVar31)" (( "(") (binary_expression "PTR_LAB_003a88e0 + 0x3e28" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x3e28")) (, ",") (identifier "pbVar31") () ")")))) (; ";")) (expression_statement "unaff_s7 = piVar6;" (assignment_expression "unaff_s7 = piVar6" (identifier "unaff_s7") (= "=") (identifier "piVar6")) (; ";")) (goto_statement "goto LAB_00275b88;" (goto "goto") (statement_identifier "LAB_00275b88") (; ";")) (} "}"))) (if_statement "if (unaff_s3 != (byte *)0x0) {\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }" (if "if") (parenthesized_expression "(unaff_s3 != (byte *)0x0)" (( "(") (binary_expression "unaff_s3 != (byte *)0x0" (identifier "unaff_s3") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                          }" ({ "{") (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" (( "(") (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" (* "*") (cast_expression "(code *)PTR_DestroyImage_003a8f4c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImage_003a8f4c"))) () ")")) (argument_list "(unaff_s3)" (( "(") (identifier "unaff_s3") () ")"))) (; ";")) (} "}"))) (if_statement "if (local_10cc != 0) {\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }" (if "if") (parenthesized_expression "(local_10cc != 0)" (( "(") (binary_expression "local_10cc != 0" (identifier "local_10cc") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                            (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                          }" ({ "{") (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" (( "(") (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" (* "*") (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImageInfo_003a95e8"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar26 = 0x5d0;" (assignment_expression "uVar26 = 0x5d0" (identifier "uVar26") (= "=") (number_literal "0x5d0")) (; ";")) (expression_statement "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;" (assignment_expression "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" (identifier "puVar25") (= "=") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "-0x3dbc"))) (; ";")) (expression_statement "uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);" (assignment_expression "uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31)" (identifier "uVar37") (= "=") (call_expression "CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31)" (identifier "CONCAT44") (argument_list "(PTR_LAB_003a88e0 + 0x3e28,pbVar31)" (( "(") (binary_expression "PTR_LAB_003a88e0 + 0x3e28" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x3e28")) (, ",") (identifier "pbVar31") () ")")))) (; ";")) (expression_statement "puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;" (assignment_expression "puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" (identifier "puVar21") (= "=") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "-0x3d60"))) (; ";")) (expression_statement "puVar12 = PTR_LAB_003a88e0 + 0x16f8;" (assignment_expression "puVar12 = PTR_LAB_003a88e0 + 0x16f8" (identifier "puVar12") (= "=") (binary_expression "PTR_LAB_003a88e0 + 0x16f8" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x16f8"))) (; ";")) (expression_statement "uVar8 = 400;" (assignment_expression "uVar8 = 400" (identifier "uVar8") (= "=") (number_literal "400")) (; ";")) (} "}")))) (goto_statement "goto LAB_00275084;" (goto "goto") (statement_identifier "LAB_00275084") (; ";")) (} "}"))) (labeled_statement "LAB_00274de8:\n                      local_10b8 = 1;" (statement_identifier "LAB_00274de8") (: ":") (expression_statement "local_10b8 = 1;" (assignment_expression "local_10b8 = 1" (identifier "local_10b8") (= "=") (number_literal "1")) (; ";"))) (if_statement "if (unaff_s3 != (byte *)0x0) {\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }" (if "if") (parenthesized_expression "(unaff_s3 != (byte *)0x0)" (( "(") (binary_expression "unaff_s3 != (byte *)0x0" (identifier "unaff_s3") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                        uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }\n                        dVar33 = (double)(int)uVar28;\n                        if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }\n                        uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        uVar28 = *(uint *)(unaff_s3 + 0x1c);\n                        if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }\n                        (*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);\n                        uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }\n                        uVar29 = *(uint *)(unaff_s3 + 0x1c);\n                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }\n                        (*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);\n                        (*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);\n                        (*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);\n                        puVar12 = PTR_DestroyImage_003a8f4c;\n                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);\n                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);\n                        local_10b8 = 1;\n                      }" ({ "{") (expression_statement "uVar28 = *(uint *)(unaff_s3 + 0x18);" (assignment_expression "uVar28 = *(uint *)(unaff_s3 + 0x18)" (identifier "uVar28") (= "=") (pointer_expression "*(uint *)(unaff_s3 + 0x18)" (* "*") (cast_expression "(uint *)(unaff_s3 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s3 + 0x18)" (( "(") (binary_expression "unaff_s3 + 0x18" (identifier "unaff_s3") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (if_statement "if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }" (if "if") (parenthesized_expression "(uVar28 < *(uint *)(unaff_s0 + 0x18))" (( "(") (binary_expression "uVar28 < *(uint *)(unaff_s0 + 0x18)" (identifier "uVar28") (< "<") (pointer_expression "*(uint *)(unaff_s0 + 0x18)" (* "*") (cast_expression "(uint *)(unaff_s0 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s0 + 0x18)" (( "(") (binary_expression "unaff_s0 + 0x18" (identifier "unaff_s0") (+ "+") (number_literal "0x18")) () ")"))))) () ")")) (compound_statement "{\n                          uVar28 = *(uint *)(unaff_s0 + 0x18);\n                        }" ({ "{") (expression_statement "uVar28 = *(uint *)(unaff_s0 + 0x18);" (assignment_expression "uVar28 = *(uint *)(unaff_s0 + 0x18)" (identifier "uVar28") (= "=") (pointer_expression "*(uint *)(unaff_s0 + 0x18)" (* "*") (cast_expression "(uint *)(unaff_s0 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s0 + 0x18)" (( "(") (binary_expression "unaff_s0 + 0x18" (identifier "unaff_s0") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (} "}"))) (expression_statement "dVar33 = (double)(int)uVar28;" (assignment_expression "dVar33 = (double)(int)uVar28" (identifier "dVar33") (= "=") (cast_expression "(double)(int)uVar28" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (cast_expression "(int)uVar28" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar28")))) (; ";")) (if_statement "if ((int)uVar28 < 0) {\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }" (if "if") (parenthesized_expression "((int)uVar28 < 0)" (( "(") (binary_expression "(int)uVar28 < 0" (cast_expression "(int)uVar28" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar28")) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);\n                        }" ({ "{") (expression_statement "dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);" (assignment_expression "dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418)" (identifier "dVar33") (= "=") (binary_expression "dVar33 + *(double *)(local_10c8 + 0x1418)" (identifier "dVar33") (+ "+") (pointer_expression "*(double *)(local_10c8 + 0x1418)" (* "*") (cast_expression "(double *)(local_10c8 + 0x1418)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_10c8 + 0x1418)" (( "(") (binary_expression "local_10c8 + 0x1418" (identifier "local_10c8") (+ "+") (number_literal "0x1418")) () ")")))))) (; ";")) (} "}"))) (expression_statement "uVar29 = *(uint *)(unaff_s0 + 0x1c);" (assignment_expression "uVar29 = *(uint *)(unaff_s0 + 0x1c)" (identifier "uVar29") (= "=") (pointer_expression "*(uint *)(unaff_s0 + 0x1c)" (* "*") (cast_expression "(uint *)(unaff_s0 + 0x1c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s0 + 0x1c)" (( "(") (binary_expression "unaff_s0 + 0x1c" (identifier "unaff_s0") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (expression_statement "uVar28 = *(uint *)(unaff_s3 + 0x1c);" (assignment_expression "uVar28 = *(uint *)(unaff_s3 + 0x1c)" (identifier "uVar28") (= "=") (pointer_expression "*(uint *)(unaff_s3 + 0x1c)" (* "*") (cast_expression "(uint *)(unaff_s3 + 0x1c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s3 + 0x1c)" (( "(") (binary_expression "unaff_s3 + 0x1c" (identifier "unaff_s3") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (if_statement "if (uVar28 < uVar29) {\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }\n                        else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }" (if "if") (parenthesized_expression "(uVar28 < uVar29)" (( "(") (binary_expression "uVar28 < uVar29" (identifier "uVar28") (< "<") (identifier "uVar29")) () ")")) (compound_statement "{\n                          in_f2_3 = (double)(int)uVar29;\n                          if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }\n                        }" ({ "{") (expression_statement "in_f2_3 = (double)(int)uVar29;" (assignment_expression "in_f2_3 = (double)(int)uVar29" (identifier "in_f2_3") (= "=") (cast_expression "(double)(int)uVar29" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (cast_expression "(int)uVar29" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar29")))) (; ";")) (if_statement "if ((int)uVar29 < 0) {\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }" (if "if") (parenthesized_expression "((int)uVar29 < 0)" (( "(") (binary_expression "(int)uVar29 < 0" (cast_expression "(int)uVar29" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar29")) (< "<") (number_literal "0")) () ")")) (compound_statement "{\nLAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);\n                          }" ({ "{") (labeled_statement "LAB_00275d54:\n                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);" (statement_identifier "LAB_00275d54") (: ":") (expression_statement "in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);" (assignment_expression "in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418)" (identifier "in_f2_3") (= "=") (binary_expression "in_f2_3 + *(double *)(local_10c8 + 0x1418)" (identifier "in_f2_3") (+ "+") (pointer_expression "*(double *)(local_10c8 + 0x1418)" (* "*") (cast_expression "(double *)(local_10c8 + 0x1418)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(local_10c8 + 0x1418)" (( "(") (binary_expression "local_10c8 + 0x1418" (identifier "local_10c8") (+ "+") (number_literal "0x1418")) () ")")))))) (; ";"))) (} "}"))) (} "}")) (else_clause "else {\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }" (else "else") (compound_statement "{\n                          in_f2_3 = (double)(int)uVar28;\n                          if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }\n                        }" ({ "{") (expression_statement "in_f2_3 = (double)(int)uVar28;" (assignment_expression "in_f2_3 = (double)(int)uVar28" (identifier "in_f2_3") (= "=") (cast_expression "(double)(int)uVar28" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (cast_expression "(int)uVar28" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar28")))) (; ";")) (if_statement "if ((int)uVar28 < 0) {\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }" (if "if") (parenthesized_expression "((int)uVar28 < 0)" (( "(") (binary_expression "(int)uVar28 < 0" (cast_expression "(int)uVar28" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar28")) (< "<") (number_literal "0")) () ")")) (compound_statement "{\n                            in_f2_3 = in_f2_3 + in_f24_25;\n                          }" ({ "{") (expression_statement "in_f2_3 = in_f2_3 + in_f24_25;" (assignment_expression "in_f2_3 = in_f2_3 + in_f24_25" (identifier "in_f2_3") (= "=") (binary_expression "in_f2_3 + in_f24_25" (identifier "in_f2_3") (+ "+") (identifier "in_f24_25"))) (; ";")) (} "}"))) (} "}")))) (expression_statement "(*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);" (call_expression "(*(code *)PTR_FormatLocaleString_003a8d7c)\n                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494)" (parenthesized_expression "(*(code *)PTR_FormatLocaleString_003a8d7c)" (( "(") (pointer_expression "*(code *)PTR_FormatLocaleString_003a8d7c" (* "*") (cast_expression "(code *)PTR_FormatLocaleString_003a8d7c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FormatLocaleString_003a8d7c"))) () ")")) (argument_list "(auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494)" (( "(") (identifier "auStack_1054") (, ",") (number_literal "0x1000") (, ",") (binary_expression "PTR_s_courses_003a88ec + 0x494" (identifier "PTR_s_courses_003a88ec") (+ "+") (number_literal "0x494")) () ")"))) (; ";")) (expression_statement "uVar28 = *(uint *)(unaff_s0 + 0x18);" (assignment_expression "uVar28 = *(uint *)(unaff_s0 + 0x18)" (identifier "uVar28") (= "=") (pointer_expression "*(uint *)(unaff_s0 + 0x18)" (* "*") (cast_expression "(uint *)(unaff_s0 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s0 + 0x18)" (( "(") (binary_expression "unaff_s0 + 0x18" (identifier "unaff_s0") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (if_statement "if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }" (if "if") (parenthesized_expression "(*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18))" (( "(") (binary_expression "*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)" (pointer_expression "*(uint *)(unaff_s0 + 0x18)" (* "*") (cast_expression "(uint *)(unaff_s0 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s0 + 0x18)" (( "(") (binary_expression "unaff_s0 + 0x18" (identifier "unaff_s0") (+ "+") (number_literal "0x18")) () ")")))) (<= "<=") (pointer_expression "*(uint *)(unaff_s3 + 0x18)" (* "*") (cast_expression "(uint *)(unaff_s3 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s3 + 0x18)" (( "(") (binary_expression "unaff_s3 + 0x18" (identifier "unaff_s3") (+ "+") (number_literal "0x18")) () ")"))))) () ")")) (compound_statement "{\n                          uVar28 = *(uint *)(unaff_s3 + 0x18);\n                        }" ({ "{") (expression_statement "uVar28 = *(uint *)(unaff_s3 + 0x18);" (assignment_expression "uVar28 = *(uint *)(unaff_s3 + 0x18)" (identifier "uVar28") (= "=") (pointer_expression "*(uint *)(unaff_s3 + 0x18)" (* "*") (cast_expression "(uint *)(unaff_s3 + 0x18)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s3 + 0x18)" (( "(") (binary_expression "unaff_s3 + 0x18" (identifier "unaff_s3") (+ "+") (number_literal "0x18")) () ")"))))) (; ";")) (} "}"))) (expression_statement "uVar29 = *(uint *)(unaff_s3 + 0x1c);" (assignment_expression "uVar29 = *(uint *)(unaff_s3 + 0x1c)" (identifier "uVar29") (= "=") (pointer_expression "*(uint *)(unaff_s3 + 0x1c)" (* "*") (cast_expression "(uint *)(unaff_s3 + 0x1c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s3 + 0x1c)" (( "(") (binary_expression "unaff_s3 + 0x1c" (identifier "unaff_s3") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (if_statement "if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }" (if "if") (parenthesized_expression "(*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c))" (( "(") (binary_expression "*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)" (pointer_expression "*(uint *)(unaff_s3 + 0x1c)" (* "*") (cast_expression "(uint *)(unaff_s3 + 0x1c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s3 + 0x1c)" (( "(") (binary_expression "unaff_s3 + 0x1c" (identifier "unaff_s3") (+ "+") (number_literal "0x1c")) () ")")))) (< "<") (pointer_expression "*(uint *)(unaff_s0 + 0x1c)" (* "*") (cast_expression "(uint *)(unaff_s0 + 0x1c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s0 + 0x1c)" (( "(") (binary_expression "unaff_s0 + 0x1c" (identifier "unaff_s0") (+ "+") (number_literal "0x1c")) () ")"))))) () ")")) (compound_statement "{\n                          uVar29 = *(uint *)(unaff_s0 + 0x1c);\n                        }" ({ "{") (expression_statement "uVar29 = *(uint *)(unaff_s0 + 0x1c);" (assignment_expression "uVar29 = *(uint *)(unaff_s0 + 0x1c)" (identifier "uVar29") (= "=") (pointer_expression "*(uint *)(unaff_s0 + 0x1c)" (* "*") (cast_expression "(uint *)(unaff_s0 + 0x1c)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s0 + 0x1c)" (( "(") (binary_expression "unaff_s0 + 0x1c" (identifier "unaff_s0") (+ "+") (number_literal "0x1c")) () ")"))))) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);" (call_expression "(*(code *)PTR_SetImageExtent_003a94ac)\n                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3)" (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 "(unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3)" (( "(") (identifier "unaff_s0") (, ",") (identifier "uVar28") (, ",") (identifier "uVar29") (, ",") (identifier "local_10d8") (, ",") (identifier "dVar33") (, ",") (identifier "in_f2_3") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);" (call_expression "(*(code *)PTR_TransformImageColorspace_003a9180)\n                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8)" (parenthesized_expression "(*(code *)PTR_TransformImageColorspace_003a9180)" (( "(") (pointer_expression "*(code *)PTR_TransformImageColorspace_003a9180" (* "*") (cast_expression "(code *)PTR_TransformImageColorspace_003a9180" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_TransformImageColorspace_003a9180"))) () ")")) (argument_list "(unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8)" (( "(") (identifier "unaff_s0") (, ",") (pointer_expression "*(undefined4 *)(unaff_s3 + 4)" (* "*") (cast_expression "(undefined4 *)(unaff_s3 + 4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s3 + 4)" (( "(") (binary_expression "unaff_s3 + 4" (identifier "unaff_s3") (+ "+") (number_literal "4")) () ")")))) (, ",") (identifier "local_10d8") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);" (call_expression "(*(code *)PTR_CompositeImage_003a8cc4)\n                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a)" (parenthesized_expression "(*(code *)PTR_CompositeImage_003a8cc4)" (( "(") (pointer_expression "*(code *)PTR_CompositeImage_003a8cc4" (* "*") (cast_expression "(code *)PTR_CompositeImage_003a8cc4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_CompositeImage_003a8cc4"))) () ")")) (argument_list "(unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a)" (( "(") (identifier "unaff_s0") (, ",") (identifier "unaff_s3") (, ",") (number_literal "0xd") (, ",") (number_literal "1") (, ",") (cast_expression "(int)local_108e" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_108e")) (, ",") (cast_expression "(int)local_108a" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_108a")) () ")"))) (; ";")) (expression_statement "puVar12 = PTR_DestroyImage_003a8f4c;" (assignment_expression "puVar12 = PTR_DestroyImage_003a8f4c" (identifier "puVar12") (= "=") (identifier "PTR_DestroyImage_003a8f4c")) (; ";")) (expression_statement "*(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);" (assignment_expression "*(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8)" (pointer_expression "*(undefined4 *)(unaff_s0 + 8)" (* "*") (cast_expression "(undefined4 *)(unaff_s0 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s0 + 8)" (( "(") (binary_expression "unaff_s0 + 8" (identifier "unaff_s0") (+ "+") (number_literal "8")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)(unaff_s3 + 8)" (* "*") (cast_expression "(undefined4 *)(unaff_s3 + 8)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s3 + 8)" (( "(") (binary_expression "unaff_s3 + 8" (identifier "unaff_s3") (+ "+") (number_literal "8")) () ")"))))) (; ";")) (expression_statement "unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);" (assignment_expression "unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3)" (identifier "unaff_s3") (= "=") (cast_expression "(byte *)(*(code *)puVar12)(unaff_s3)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)puVar12)(unaff_s3)" (parenthesized_expression "(*(code *)puVar12)" (( "(") (pointer_expression "*(code *)puVar12" (* "*") (cast_expression "(code *)puVar12" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar12"))) () ")")) (argument_list "(unaff_s3)" (( "(") (identifier "unaff_s3") () ")"))))) (; ";")) (expression_statement "local_10b8 = 1;" (assignment_expression "local_10b8 = 1" (identifier "local_10b8") (= "=") (number_literal "1")) (; ";")) (} "}"))) (goto_statement "goto LAB_002744b8;" (goto "goto") (statement_identifier "LAB_002744b8") (; ";")) (} "}"))) (expression_statement "pbVar31 = unaff_s3;" (assignment_expression "pbVar31 = unaff_s3" (identifier "pbVar31") (= "=") (identifier "unaff_s3")) (; ";")) (expression_statement "piVar6 = unaff_s7;" (assignment_expression "piVar6 = unaff_s7" (identifier "piVar6") (= "=") (identifier "unaff_s7")) (; ";")) (if_statement "if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       ) goto LAB_00274430;" (if "if") (parenthesized_expression "((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)\n                       )" (( "(") (binary_expression "(unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)" (parenthesized_expression "(unaff_s7 == (int *)0xff)" (( "(") (binary_expression "unaff_s7 == (int *)0xff" (identifier "unaff_s7") (== "==") (cast_expression "(int *)0xff" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0xff"))) () ")")) (|| "||") (parenthesized_expression "(pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)" (( "(") (comma_expression "pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff" (assignment_expression "pbVar31 = unaff_s3" (identifier "pbVar31") (= "=") (identifier "unaff_s3")) (, ",") (binary_expression "unaff_s7 == (int *)0xffff" (identifier "unaff_s7") (== "==") (cast_expression "(int *)0xffff" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0xffff")))) () ")"))) () ")")) (goto_statement "goto LAB_00274430;" (goto "goto") (statement_identifier "LAB_00274430") (; ";"))) (if_statement "if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }\n                    else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }" (if "if") (parenthesized_expression "((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00))" (( "(") (binary_expression "(unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)" (parenthesized_expression "(unaff_s7 + -0x34 < (int *)0x2f)" (( "(") (binary_expression "unaff_s7 + -0x34 < (int *)0x2f" (binary_expression "unaff_s7 + -0x34" (identifier "unaff_s7") (+ "+") (number_literal "-0x34")) (< "<") (cast_expression "(int *)0x2f" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x2f"))) () ")")) (|| "||") (parenthesized_expression "(unaff_s7 + -0x2040 < (int *)0x7f00)" (( "(") (binary_expression "unaff_s7 + -0x2040 < (int *)0x7f00" (binary_expression "unaff_s7 + -0x2040" (identifier "unaff_s7") (+ "+") (number_literal "-0x2040")) (< "<") (cast_expression "(int *)0x7f00" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x7f00"))) () ")"))) () ")")) (compound_statement "{\n                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x5f8;\n                    }" ({ "{") (expression_statement "uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);" (assignment_expression "uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (identifier "uVar28") (= "=") (call_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0)" (parenthesized_expression "(*(code *)PTR_ReadBlobMSBShort_003a9160)" (( "(") (pointer_expression "*(code *)PTR_ReadBlobMSBShort_003a9160" (* "*") (cast_expression "(code *)PTR_ReadBlobMSBShort_003a9160" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ReadBlobMSBShort_003a9160"))) () ")")) (argument_list "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")")))) (; ";")) (expression_statement "uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);" (assignment_expression "uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" (identifier "uVar37") (= "=") (call_expression "(*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" (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 "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")")))) (; ";")) (if_statement "if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }" (if "if") (parenthesized_expression "(((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))" (( "(") (binary_expression "((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)" (parenthesized_expression "((int)((ulonglong)uVar37 >> 0x20) != 0)" (( "(") (binary_expression "(int)((ulonglong)uVar37 >> 0x20) != 0" (cast_expression "(int)((ulonglong)uVar37 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)uVar37 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar37 >> 0x20" (cast_expression "(ulonglong)uVar37" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar37")) (>> ">>") (number_literal "0x20")) () ")"))) (!= "!=") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(uVar28 <= (uint)uVar37)" (( "(") (binary_expression "uVar28 <= (uint)uVar37" (identifier "uVar28") (<= "<=") (cast_expression "(uint)uVar37" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "uVar37"))) () ")"))) () ")")) (compound_statement "{\n                        if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }\n                        goto LAB_002744b8;\n                      }" ({ "{") (if_statement "if (uVar28 != 0) {\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }" (if "if") (parenthesized_expression "(uVar28 != 0)" (( "(") (binary_expression "uVar28 != 0" (identifier "uVar28") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                          uVar29 = 0;\n                          do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);\n                        }" ({ "{") (expression_statement "uVar29 = 0;" (assignment_expression "uVar29 = 0" (identifier "uVar29") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          } while (uVar28 != uVar29);" (do "do") (compound_statement "{\n                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                            if (iVar5 == -1) break;\n                            uVar29 = uVar29 + 1;\n                          }" ({ "{") (expression_statement "iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (identifier "iVar5") (= "=") (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")")))) (; ";")) (if_statement "if (iVar5 == -1) break;" (if "if") (parenthesized_expression "(iVar5 == -1)" (( "(") (binary_expression "iVar5 == -1" (identifier "iVar5") (== "==") (number_literal "-1")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "uVar29 = uVar29 + 1;" (assignment_expression "uVar29 = uVar29 + 1" (identifier "uVar29") (= "=") (binary_expression "uVar29 + 1" (identifier "uVar29") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar28 != uVar29)" (( "(") (binary_expression "uVar28 != uVar29" (identifier "uVar28") (!= "!=") (identifier "uVar29")) () ")")) (; ";")) (} "}"))) (goto_statement "goto LAB_002744b8;" (goto "goto") (statement_identifier "LAB_002744b8") (; ";")) (} "}"))) (if_statement "if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }" (if "if") (parenthesized_expression "(unaff_s3 != (byte *)0x0)" (( "(") (binary_expression "unaff_s3 != (byte *)0x0" (identifier "unaff_s3") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }" ({ "{") (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" (( "(") (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" (* "*") (cast_expression "(code *)PTR_DestroyImage_003a8f4c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImage_003a8f4c"))) () ")")) (argument_list "(unaff_s3)" (( "(") (identifier "unaff_s3") () ")"))) (; ";")) (} "}"))) (if_statement "if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }" (if "if") (parenthesized_expression "(local_10cc != 0)" (( "(") (binary_expression "local_10cc != 0" (identifier "local_10cc") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }" ({ "{") (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" (( "(") (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" (* "*") (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImageInfo_003a95e8"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar26 = 0x5f8;" (assignment_expression "uVar26 = 0x5f8" (identifier "uVar26") (= "=") (number_literal "0x5f8")) (; ";")) (} "}")) (else_clause "else {\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }" (else "else") (compound_statement "{\n                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;\n                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);\n                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }\n                      if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }\n                      if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }\n                      uVar26 = 0x606;\n                    }" ({ "{") (if_statement "if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;" (if "if") (parenthesized_expression "((int *)0x7eff < unaff_s7 + -0x40)" (( "(") (binary_expression "(int *)0x7eff < unaff_s7 + -0x40" (cast_expression "(int *)0x7eff" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x7eff")) (< "<") (binary_expression "unaff_s7 + -0x40" (identifier "unaff_s7") (+ "+") (number_literal "-0x40"))) () ")")) (goto_statement "goto LAB_002744b8;" (goto "goto") (statement_identifier "LAB_002744b8") (; ";"))) (expression_statement "uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);" (assignment_expression "uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" (identifier "uVar37") (= "=") (call_expression "(*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0)" (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 "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")")))) (; ";")) (if_statement "if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }" (if "if") (parenthesized_expression "(((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37))" (( "(") (binary_expression "((int)((ulonglong)uVar37 >> 0x20) != 0) ||\n                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)" (parenthesized_expression "((int)((ulonglong)uVar37 >> 0x20) != 0)" (( "(") (binary_expression "(int)((ulonglong)uVar37 >> 0x20) != 0" (cast_expression "(int)((ulonglong)uVar37 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)uVar37 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar37 >> 0x20" (cast_expression "(ulonglong)uVar37" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar37")) (>> ">>") (number_literal "0x20")) () ")"))) (!= "!=") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)" (( "(") (binary_expression "(uint)((int)unaff_s7 >> 7) <= (uint)uVar37" (call_expression "(uint)((int)unaff_s7 >> 7)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "((int)unaff_s7 >> 7)" (( "(") (binary_expression "(int)unaff_s7 >> 7" (cast_expression "(int)unaff_s7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "unaff_s7")) (>> ">>") (number_literal "7")) () ")"))) (<= "<=") (cast_expression "(uint)uVar37" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "uVar37"))) () ")"))) () ")")) (compound_statement "{\n                        uVar28 = 0;\n                        do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);\n                        goto LAB_002744b8;\n                      }" ({ "{") (expression_statement "uVar28 = 0;" (assignment_expression "uVar28 = 0" (identifier "uVar28") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        } while ((int)unaff_s7 >> 7 != uVar28);" (do "do") (compound_statement "{\n                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                          if (iVar5 == -1) break;\n                          uVar28 = uVar28 + 1;\n                        }" ({ "{") (expression_statement "iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (identifier "iVar5") (= "=") (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")")))) (; ";")) (if_statement "if (iVar5 == -1) break;" (if "if") (parenthesized_expression "(iVar5 == -1)" (( "(") (binary_expression "iVar5 == -1" (identifier "iVar5") (== "==") (number_literal "-1")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "uVar28 = uVar28 + 1;" (assignment_expression "uVar28 = uVar28 + 1" (identifier "uVar28") (= "=") (binary_expression "uVar28 + 1" (identifier "uVar28") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "((int)unaff_s7 >> 7 != uVar28)" (( "(") (binary_expression "(int)unaff_s7 >> 7 != uVar28" (binary_expression "(int)unaff_s7 >> 7" (cast_expression "(int)unaff_s7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "unaff_s7")) (>> ">>") (number_literal "7")) (!= "!=") (identifier "uVar28")) () ")")) (; ";")) (goto_statement "goto LAB_002744b8;" (goto "goto") (statement_identifier "LAB_002744b8") (; ";")) (} "}"))) (if_statement "if (unaff_s3 != (byte *)0x0) {\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }" (if "if") (parenthesized_expression "(unaff_s3 != (byte *)0x0)" (( "(") (binary_expression "unaff_s3 != (byte *)0x0" (identifier "unaff_s3") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);\n                      }" ({ "{") (expression_statement "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);" (call_expression "(*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3)" (parenthesized_expression "(*(code *)PTR_DestroyImage_003a8f4c)" (( "(") (pointer_expression "*(code *)PTR_DestroyImage_003a8f4c" (* "*") (cast_expression "(code *)PTR_DestroyImage_003a8f4c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImage_003a8f4c"))) () ")")) (argument_list "(unaff_s3)" (( "(") (identifier "unaff_s3") () ")"))) (; ";")) (} "}"))) (if_statement "if (local_10cc != 0) {\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }" (if "if") (parenthesized_expression "(local_10cc != 0)" (( "(") (binary_expression "local_10cc != 0" (identifier "local_10cc") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                        (*(code *)PTR_DestroyImageInfo_003a95e8)();\n                      }" ({ "{") (expression_statement "(*(code *)PTR_DestroyImageInfo_003a95e8)();" (call_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)()" (parenthesized_expression "(*(code *)PTR_DestroyImageInfo_003a95e8)" (( "(") (pointer_expression "*(code *)PTR_DestroyImageInfo_003a95e8" (* "*") (cast_expression "(code *)PTR_DestroyImageInfo_003a95e8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImageInfo_003a95e8"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar26 = 0x606;" (assignment_expression "uVar26 = 0x606" (identifier "uVar26") (= "=") (number_literal "0x606")) (; ";")) (} "}")))) (labeled_statement "LAB_00275880:\n                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;" (statement_identifier "LAB_00275880") (: ":") (expression_statement "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;" (assignment_expression "puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" (identifier "puVar25") (= "=") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "-0x3dbc"))) (; ";"))) (expression_statement "uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);" (assignment_expression "uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" (identifier "uVar37") (= "=") (call_expression "CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" (identifier "CONCAT44") (argument_list "(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210)" (( "(") (binary_expression "PTR_LAB_003a88e0 + 0x3e28" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x3e28")) (, ",") (binary_expression "local_10d0 + 0x2210" (identifier "local_10d0") (+ "+") (number_literal "0x2210")) () ")")))) (; ";")) (expression_statement "puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;" (assignment_expression "puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" (identifier "puVar21") (= "=") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "-0x3d60"))) (; ";")) (expression_statement "puVar12 = PTR_s_courses_003a88ec + 0x4a0;" (assignment_expression "puVar12 = PTR_s_courses_003a88ec + 0x4a0" (identifier "puVar12") (= "=") (binary_expression "PTR_s_courses_003a88ec + 0x4a0" (identifier "PTR_s_courses_003a88ec") (+ "+") (number_literal "0x4a0"))) (; ";")) (expression_statement "piVar7 = unaff_s7;" (assignment_expression "piVar7 = unaff_s7" (identifier "piVar7") (= "=") (identifier "unaff_s7")) (; ";")) (goto_statement "goto LAB_0027507c;" (goto "goto") (statement_identifier "LAB_0027507c") (; ";")) (} "}")))) (} "}")))) (goto_statement "goto LAB_002744b8;" (goto "goto") (statement_identifier "LAB_002744b8") (; ";")) (} "}"))) (expression_statement "iVar5 = 0x18;" (assignment_expression "iVar5 = 0x18" (identifier "iVar5") (= "=") (number_literal "0x18")) (; ";")) (do_statement "do {\n                iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar13 == -1) break;\n                iVar5 = iVar5 + -1;\n              } while (iVar5 != 0);" (do "do") (compound_statement "{\n                iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);\n                if (iVar13 == -1) break;\n                iVar5 = iVar5 + -1;\n              }" ({ "{") (expression_statement "iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);" (assignment_expression "iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (identifier "iVar13") (= "=") (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0)" (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 "(unaff_s0)" (( "(") (identifier "unaff_s0") () ")")))) (; ";")) (if_statement "if (iVar13 == -1) break;" (if "if") (parenthesized_expression "(iVar13 == -1)" (( "(") (binary_expression "iVar13 == -1" (identifier "iVar13") (== "==") (number_literal "-1")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar5 = iVar5 + -1;" (assignment_expression "iVar5 = iVar5 + -1" (identifier "iVar5") (= "=") (binary_expression "iVar5 + -1" (identifier "iVar5") (+ "+") (number_literal "-1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar5 != 0)" (( "(") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0")) () ")")) (; ";")) (} "}")) (while "while") (parenthesized_expression "( true )" (( "(") (true "true") () ")")) (; ";"))) (} "}"))) (expression_statement "uVar26 = 0x3a8;" (assignment_expression "uVar26 = 0x3a8" (identifier "uVar26") (= "=") (number_literal "0x3a8")) (; ";")) (} "}"))) (} "}")))) (labeled_statement "LAB_002741b8:\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,uVar26,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,param_1 + 0x2210);" (statement_identifier "LAB_002741b8") (: ":") (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,uVar26,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 + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,uVar26,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 + -0x3d60,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,uVar26,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 + -0x3d60" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "-0x3d60")) (, ",") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "-0x3dbc")) (, ",") (identifier "uVar26") (, ",") (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")) () ")"))) (; ";"))) (if_statement "if (unaff_s0 == 0) goto LAB_00274224;" (if "if") (parenthesized_expression "(unaff_s0 == 0)" (( "(") (binary_expression "unaff_s0 == 0" (identifier "unaff_s0") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_00274224;" (goto "goto") (statement_identifier "LAB_00274224") (; ";"))) (goto_statement "goto LAB_00274208;" (goto "goto") (statement_identifier "LAB_00274208") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0xda0,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n               0x375,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\n  }" (else "else") (compound_statement "{\n    (*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0xda0,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n               0x375,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);\n  }" ({ "{") (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0xda0,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n               0x375,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n              (PTR_LAB_003a88e0 + 0xda0,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n               0x375,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac)" (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,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n               0x375,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac)" (( "(") (binary_expression "PTR_LAB_003a88e0 + 0xda0" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0xda0")) (, ",") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "-0x3d60")) (, ",") (number_literal "0x375") (, ",") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "-0x3dac")) () ")"))) (; ";")) (} "}")))) (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n            (PTR_LAB_003a88e0 + 0x294c,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n             0x37a,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n            (PTR_LAB_003a88e0 + 0x294c,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n             0x37a,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac)" (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,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n             0x37a,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac)" (( "(") (binary_expression "PTR_LAB_003a88e0 + 0x294c" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x294c")) (, ",") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "-0x3d60")) (, ",") (number_literal "0x37a") (, ",") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "-0x3dac")) () ")"))) (; ";")) (labeled_statement "LAB_00275e6c:\n  (*(code *)PTR___assert_fail_003a9608)\n            (PTR_LAB_003a88e0 + 0x1cac,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n             0x379,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);" (statement_identifier "LAB_00275e6c") (: ":") (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n            (PTR_LAB_003a88e0 + 0x1cac,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n             0x379,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n            (PTR_LAB_003a88e0 + 0x1cac,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n             0x379,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac)" (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,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,\n             0x379,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac)" (( "(") (binary_expression "PTR_LAB_003a88e0 + 0x1cac" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x1cac")) (, ",") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "-0x3d60")) (, ",") (number_literal "0x379") (, ",") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "-0x3dac")) () ")"))) (; ";"))) (goto_statement "goto LAB_00275e90;" (goto "goto") (statement_identifier "LAB_00275e90") (; ";")) (} "}")))

/* 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 */

type_1 * function_1(type_2 *var_1,type_3 *var_5)

{
  type_4 var_51;
  type_5 uVar2;
  bool var_43;
  type_6 *puVar4;
  int var_21;
  int var_6;
  char var_7;
  char var_8;
  char var_9;
  char var_10;
  type_7 var_13;
  type_1 *var_59;
  type_1 *var_20;
  char *var_60;
  type_8 uVar11;
  int var_16;
  type_9 *var_38;
  type_9 *var_40;
  type_6 *var_18;
  int var_15;
  short var_35;
  type_10 var_37;
  type_10 var_22;
  int var_50;
  char *var_61;
  type_6 *var_34;
  size_t var_52;
  type_4 *var_55;
  type_11 *pPVar28;
  type_12 *pPVar29;
  type_6 *puVar30;
  size_t sVar31;
  type_8 uVar32;
  int var_17;
  type_4 *pbVar34;
  type_1 *var_64;
  type_2 *var_11;
  type_2 *var_53;
  type_10 var_25;
  type_10 var_30;
  type_10 var_31;
  type_1 *var_23;
  double var_33;
  float fVar41;
  double var_28;
  double var_62;
  double var_56;
  double dVar43;
  double var_39;
  double var_54;
  double var_63;
  type_13 uVar44;
  type_3 *local_10d8;
  int var_14;
  type_2 *local_10d0;
  int var_26;
  type_6 *var_29;
  type_14 *local_10bc;
  int var_42;
  int var_58;
  type_6 *var_45;
  size_t var_44;
  type_14 frame;
  type_14 source;
  type_14 destination;
  type_15 pixmap;
  char geometry [4096];
  
  puVar4 = PTR___stack_chk_guard_003a9230;
  var_21 = *(int *)PTR___stack_chk_guard_003a9230;
  if (var_1 == (type_2 *)0x0) {
    var_28 = (double)(*(type_16 *)PTR___assert_fail_003a9608)
                               (var_2 + 0xd78,
                                var_3 + -0x3d60,0x374,
                                var_3 + -0x3dac);
    goto LAB_00275d54;
  }
  if (var_1->signature == 0xabacadab) {
    if (var_1->debug != var_4) {
      (*(type_16 *)PTR_LogMagickEvent_003a91e0)
                (0x8000,var_3 + -0x3d60,
                 var_3 + -0x3dbc,0x377);
    }
    if (var_5 == (type_3 *)0x0) goto LAB_00275e6c;
    if (var_5->signature == 0xabacadab) {
      var_64 = (type_1 *)(*(type_16 *)PTR_AcquireImage_003a960c)(var_1,var_5);
      var_6 = (*(type_16 *)PTR_OpenBlob_003a924c)(var_1,var_64,2,var_5);
      if (var_6 == 0) {
        (*(type_16 *)PTR_DestroyImageList_003a9510)(var_64);
        var_59 = (type_1 *)0x0;
        goto LAB_00274228;
      }
      pixmap.bits_per_pixel = 0;
      pixmap.component_count = 0;
      var_7 = (*(type_16 *)PTR_ReadBlobByte_003a97f0)(var_64);
      var_8 = (*(type_16 *)PTR_ReadBlobByte_003a97f0)(var_64);
      var_9 = (*(type_16 *)PTR_ReadBlobByte_003a97f0)(var_64);
      var_10 = (*(type_16 *)PTR_ReadBlobByte_003a97f0)(var_64);
      if ((((var_7 != 'P') || (var_11 = (type_2 *)0x1fc, var_8 != 'I')) || (var_9 != 'C'))
         || (var_10 != 'T')) {
        var_11 = (type_2 *)0x1fc;
        do {
          var_6 = (*(type_16 *)PTR_ReadBlobByte_003a97f0)(var_64);
          if (var_6 == -1) break;
          var_11 = (type_2 *)((int)&var_11[-1].matte_color.index + 7);
        } while (var_11 != (type_2 *)0x0);
      }
      (*(type_16 *)PTR_ReadBlobMSBShort_003a9160)(var_64);
      var_13 = var_12(var_64,&frame);
      if (var_13 == var_4) {
        uVar32 = 0x397;
      }
      else {
        do {
          var_6 = (*(type_16 *)PTR_ReadBlobByte_003a97f0)(var_64);
        } while (var_6 == 0);
        uVar32 = 0x39a;
        if (var_6 == 0x11) {
          var_14 = (*(type_16 *)PTR_ReadBlobByte_003a97f0)(var_64);
          if (var_14 == 2) {
            var_6 = (*(type_16 *)PTR_ReadBlobByte_003a97f0)(var_64);
            if (var_6 != 0xff) {
              uVar32 = 0x3a0;
              goto LAB_002741b8;
            }
          }
          else if (var_14 != 1) {
            uVar32 = 0x3a4;
            goto LAB_002741b8;
          }
          var_6 = (int)frame.left;
          var_15 = (int)frame.right;
          if ((((-1 < var_6) && (var_16 = (int)frame.top, -1 < var_15)) &&
              ((var_17 = (int)frame.bottom, -1 < var_16 && ((-1 < var_17 && (var_6 < var_15)))))) &&
             (var_16 < var_17)) {
            var_13 = var_1->ping;
            var_64->units = UndefinedResolution;
            var_64->columns = var_15 - var_6;
            var_64->depth = 8;
            var_18 = var_2;
            var_64->rows = var_17 - var_16;
            var_28 = *(double *)(var_18 + 0x13f0);
            (var_64->resolution).x = var_28;
            (var_64->resolution).y = var_28;
            if (((var_13 != var_4) && (var_1->number_scenes != 0)) &&
               (var_53 = var_11, var_20 = var_23,
               (var_1->number_scenes + var_1->scene) - 1 <= var_64->scene))
            goto LAB_00274430;
            var_6 = (*(type_16 *)PTR_SetImageExtent_003a94ac)
                              (var_64,var_15 - var_6,var_17 - var_16,var_5);
            if (var_6 == 0) goto LAB_002743d4;
            var_6 = (*(type_16 *)PTR_ResetImagePixels_003a9334)(var_64,var_5);
            if (var_6 == 0) goto LAB_002743d4;
            var_29 = var_2;
            var_23 = (type_1 *)0x0;
            var_45 = var_19;
            var_11 = (type_2 *)0x0;
            var_42 = 0;
            var_63 = *(double *)(var_2 + 0x1418);
            var_54 = *(double *)(var_19 + -0x5af0);
            var_39 = *(double *)(var_2 + 0x1a58);
            var_26 = 0;
            local_10bc = &frame;
            local_10d0 = var_1;
            local_10d8 = var_5;
LAB_002744b8:
            do {
              var_20 = (type_1 *)(*(type_16 *)PTR_EOFBlob_003a9748)(var_64);
              var_53 = local_10d0;
              if ((var_20 != (type_1 *)0x0) ||
                 (((local_10d0->ping != var_4 && (local_10d0->number_scenes != 0)) &&
                  ((local_10d0->number_scenes + local_10d0->scene) - 1 <= var_64->scene)))) {
LAB_00274430:
                (*(type_16 *)PTR_CloseBlob_003a9688)(var_64);
                var_59 = (type_1 *)(*(type_16 *)PTR_GetFirstImageInList_003a944c)(var_64);
                var_11 = var_53;
                var_23 = var_20;
LAB_00274228:
                if (var_21 == *(int *)puVar4) {
                  return var_59;
                }
LAB_00275e90:
                var_42 = (*(type_16 *)PTR___stack_chk_fail_003a9064)();
                goto LAB_002744b8;
              }
              if ((var_14 == 1) ||
                 ((*(type_16 *)PTR_TellBlob_003a931c)(var_64), var_59 = var_23,
                 (var_22 & 1) != 0)) {
                var_59 = (type_1 *)(*(type_16 *)PTR_ReadBlobByte_003a97f0)(var_64);
              }
              if (var_14 == 2) {
                var_59 = (type_1 *)(*(type_16 *)PTR_ReadBlobMSBSignedShort_003a9600)(var_64);
              }
              var_23 = (type_1 *)((type_10)var_59 & 0xffff);
              if (var_23 == (type_1 *)0x0) {
                var_23 = (type_1 *)0x0;
                goto LAB_002744b8;
              }
              if (var_23 < (type_1 *)0xa2) {
                if (var_64->debug != var_4) {
                  (*(type_16 *)PTR_LogMagickEvent_003a91e0)
                            (0x10,var_3 + -0x3d60,
                             var_3 + -0x3dbc,0x3d8,
                             var_3 + -0x3d24,var_23,
                             *(type_8 *)
                              (var_24 +
                              (int)var_23 * 0xc + 0x584c),
                             *(type_8 *)
                              ((int)(var_24 +
                                    (int)var_23 * 0xc + 0x584c) + 8));
                }
                if (var_23 < (type_1 *)0x78) {
                  if ((type_1 *)0x6f < var_23) {
                    var_25 = (*(type_16 *)PTR_ReadBlobMSBShort_003a9160)(var_64);
                    uVar44 = (*(type_16 *)PTR_GetBlobSize_003a94b8)(var_64);
                    if (((int)((type_17)uVar44 >> 0x20) == 0) && ((type_10)uVar44 < var_25)) {
                      if (var_11 != (type_2 *)0x0) {
                        (*(type_16 *)PTR_DestroyImage_003a8f4c)(var_11);
                      }
                      if (var_26 != 0) {
                        (*(type_16 *)PTR_DestroyImageInfo_003a95e8)();
                      }
                      uVar32 = 0x467;
                      goto LAB_00275880;
                    }
                    var_6 = 0;
                    if (0 < (int)(var_25 - 2)) {
                      do {
                        var_15 = (*(type_16 *)PTR_ReadBlobByte_003a97f0)(var_64);
                        if (var_15 == -1) break;
                        var_6 = var_6 + 1;
                      } while (var_6 != var_25 - 2);
                    }
                    goto LAB_00274584;
                  }
                  if ((type_1 *)0x14 < var_23) {
                    if (var_23 == (type_1 *)&DAT_0000001b) {
                      var_6 = (*(type_16 *)PTR_ReadBlobMSBShort_003a9160)(var_64);
                      var_18 = PTR_ReadBlobMSBShort_003a9160;
                      (var_64->background_color).red = (double)var_6;
                      var_6 = (*(type_16 *)var_18)(var_64);
                      var_18 = PTR_ReadBlobMSBShort_003a9160;
                      (var_64->background_color).green = (double)var_6;
                      var_6 = (*(type_16 *)var_18)(var_64);
                      (var_64->background_color).blue = (double)var_6;
                      goto LAB_00274594;
                    }
                    goto LAB_002752a0;
                  }
                  if ((type_1 *)&DAT_00000011 < var_23) {
                    var_15 = 8;
                    var_6 = (*(type_16 *)PTR_ReadBlobMSBShort_003a9160)(var_64);
                    do {
                      var_16 = (*(type_16 *)PTR_ReadBlobByte_003a97f0)(var_64);
                      if (var_16 == -1) break;
                      var_15 = var_15 + -1;
                    } while (var_15 != 0);
                    if (var_6 == 2) {
                      var_6 = 5;
                      do {
                        var_15 = (*(type_16 *)PTR_ReadBlobByte_003a97f0)(var_64);
                        if (var_15 == -1) break;
                        var_6 = var_6 + -1;
                      } while (var_6 != 0);
                      goto LAB_00274584;
                    }
                    if (var_6 == 1) {
                      var_25 = (*(type_16 *)PTR_ReadBlobMSBShort_003a9160)(var_64);
                      uVar44 = (*(type_16 *)PTR_GetBlobSize_003a94b8)(var_64);
                      if (((int)((type_17)uVar44 >> 0x20) != 0) || (var_25 <= (type_10)uVar44)) {
                        var_13 = var_12(var_64,local_10bc);
                        if (var_13 == var_4) {
                          if (var_11 != (type_2 *)0x0) {
                            (*(type_16 *)PTR_DestroyImage_003a8f4c)(var_11);
                          }
                          if (var_26 != 0) {
                            (*(type_16 *)PTR_DestroyImageInfo_003a95e8)();
                          }
                          uVar32 = 0x419;
                        }
                        else {
                          var_13 = var_27(var_64,&pixmap);
                          if (var_13 != var_4) {
                            var_64->depth = (int)pixmap.component_size;
                            var_28 = (double)(int)pixmap.horizontal_resolution;
                            if ((int)pixmap.horizontal_resolution < 0) {
                              var_28 = var_28 + *(double *)(var_29 + 0x1418);
                            }
                            (var_64->resolution).x = var_28;
                            var_18 = PTR_ReadBlobMSBLong_003a8d98;
                            var_28 = (double)(int)pixmap.vertical_resolution;
                            if ((int)pixmap.vertical_resolution < 0) {
                              var_28 = var_28 + *(double *)(var_29 + 0x1418);
                            }
                            (var_64->resolution).y = var_28;
                            var_64->units = PixelsPerInchResolution;
                            (*(type_16 *)var_18)(var_64);
                            (*(type_16 *)PTR_ReadBlobMSBShort_003a9160)(var_64);
                            var_25 = (*(type_16 *)PTR_ReadBlobMSBShort_003a9160)(var_64);
                            uVar44 = (*(type_16 *)PTR_GetBlobSize_003a94b8)(var_64);
                            if (((int)((type_17)uVar44 >> 0x20) != 0) || (var_25 <= (type_10)uVar44))
                            {
                              var_6 = 0;
                              do {
                                var_6 = var_6 + 1;
                                (*(type_16 *)PTR_ReadBlobMSBLong_003a8d98)(var_64);
                              } while (var_6 != var_25 + 1);
                              var_30 = (int)frame.bottom - (int)frame.top;
                              var_6 = (int)frame.right - (int)frame.left;
                              if (pixmap.bits_per_pixel < 9) {
                                var_25 = var_25 & 0x7fff;
                              }
                              else if (pixmap.bits_per_pixel == 0x10) {
                                var_30 = var_30 * 2;
                              }
                              if (var_25 != 0) {
                                var_30 = var_25;
                              }
                              if (var_30 < 8) {
                                if (0 < (int)(var_30 * var_6)) {
                                  var_15 = 0;
                                  do {
                                    var_16 = (*(type_16 *)PTR_ReadBlobByte_003a97f0)(var_64);
                                    if (var_16 == -1) break;
                                    var_15 = var_15 + 1;
                                  } while (var_30 * var_6 != var_15);
                                }
                              }
                              else {
                                var_15 = 0;
                                if (0 < var_6) {
                                  do {
                                    var_16 = (*(type_16 *)PTR_EOFBlob_003a9748)(var_64);
                                    if (var_16 != 0) break;
                                    if (var_30 < 0xc9) {
                                      var_25 = (*(type_16 *)PTR_ReadBlobByte_003a97f0)(var_64);
                                    }
                                    else {
                                      var_25 = (*(type_16 *)PTR_ReadBlobMSBShort_003a9160)(var_64);
                                    }
                                    uVar44 = (*(type_16 *)PTR_GetBlobSize_003a94b8)(var_64);
                                    if (((int)((type_17)uVar44 >> 0x20) == 0) &&
                                       ((type_10)uVar44 < var_25)) {
                                      if (var_11 != (type_2 *)0x0) {
                                        (*(type_16 *)PTR_DestroyImage_003a8f4c)(var_11);
                                      }
                                      if (var_26 != 0) {
                                        (*(type_16 *)PTR_DestroyImageInfo_003a95e8)();
                                      }
                                      uVar32 = 0x444;
                                      goto LAB_00275880;
                                    }
                                    var_31 = 0;
                                    if (0 < (int)var_25) {
                                      do {
                                        var_16 = (*(type_16 *)PTR_ReadBlobByte_003a97f0)(var_64);
                                        if (var_16 == -1) break;
                                        var_31 = var_31 + 1;
                                      } while (var_25 != var_31);
                                    }
                                    var_15 = var_15 + 1;
                                  } while (var_6 != var_15);
                                }
                              }
                              goto LAB_00274584;
                            }
                            if (var_11 != (type_2 *)0x0) {
                              (*(type_16 *)PTR_DestroyImage_003a8f4c)(var_11);
                            }
                            if (var_26 != 0) {
                              (*(type_16 *)PTR_DestroyImageInfo_003a95e8)();
                            }
                            uVar32 = 0x425;
                            goto LAB_00275880;
                          }
                          if (var_11 != (type_2 *)0x0) {
                            (*(type_16 *)PTR_DestroyImage_003a8f4c)(var_11);
                          }
                          if (var_26 != 0) {
                            (*(type_16 *)PTR_DestroyImageInfo_003a95e8)();
                          }
                          uVar32 = 0x41b;
                        }
                        goto LAB_002757bc;
                      }
                      if (var_11 != (type_2 *)0x0) {
                        (*(type_16 *)PTR_DestroyImage_003a8f4c)(var_11);
                      }
                      if (var_26 != 0) {
                        (*(type_16 *)PTR_DestroyImageInfo_003a95e8)();
                      }
                      uVar32 = 0x417;
                      goto LAB_00275880;
                    }
                    if (var_11 != (type_2 *)0x0) {
                      (*(type_16 *)PTR_DestroyImage_003a8f4c)(var_11);
                    }
                    if (var_26 != 0) {
                      (*(type_16 *)PTR_DestroyImageInfo_003a95e8)();
                    }
                    uVar32 = 0x413;
                    puVar30 = var_3 + -0x3dbc;
                    uVar44 = var_32(var_2 + 0x3e28,local_10d0->filename);
                    var_34 = var_3 + -0x3d60;
                    var_18 = var_3 + -0x3d14;
                    var_20 = var_23;
                    goto LAB_0027507c;
                  }
                  if (var_23 != (type_1 *)0x1) goto LAB_002752a0;
                  var_25 = (*(type_16 *)PTR_ReadBlobMSBShort_003a9160)(var_64);
                  uVar44 = (*(type_16 *)PTR_GetBlobSize_003a94b8)(var_64);
                  if (((int)((type_17)uVar44 >> 0x20) == 0) && ((type_10)uVar44 < var_25)) {
                    if (var_11 != (type_2 *)0x0) {
                      (*(type_16 *)PTR_DestroyImage_003a8f4c)(var_11);
                    }
                    if (var_26 != 0) {
                      (*(type_16 *)PTR_DestroyImageInfo_003a95e8)();
                    }
                    uVar32 = 0x3e4;
                    goto LAB_00275880;
                  }
                  if (var_25 != 10) {
                    if (0 < (int)(var_25 - 2)) {
                      var_6 = 0;
                      do {
                        var_15 = (*(type_16 *)PTR_ReadBlobByte_003a97f0)(var_64);
                        if (var_15 == -1) break;
                        var_6 = var_6 + 1;
                      } while (var_25 - 2 != var_6);
                    }
                    goto LAB_00274594;
                  }
                  var_13 = var_12(var_64,local_10bc);
                  var_18 = PTR_SetImageExtent_003a94ac;
                  if (var_13 == var_4) {
                    if (var_11 != (type_2 *)0x0) {
                      (*(type_16 *)PTR_DestroyImage_003a8f4c)(var_11);
                    }
                    if (var_26 != 0) {
                      (*(type_16 *)PTR_DestroyImageInfo_003a95e8)();
                    }
                    uVar32 = 0x3ed;
                    goto LAB_002757bc;
                  }
                  if ((frame.left < 0) || (frame.top < 0)) goto LAB_00274594;
                  var_52 = (int)frame.right - (int)frame.left;
                  sVar31 = (int)frame.bottom - (int)frame.top;
                  var_64->columns = var_52;
                  var_64->rows = sVar31;
                  var_6 = (*(type_16 *)var_18)(var_64,var_52,sVar31,local_10d8);
                  if ((var_6 != 0) &&
                     (var_6 = (*(type_16 *)PTR_ResetImagePixels_003a9334)(var_64,local_10d8),
                     var_6 != 0)) goto LAB_00274594;
LAB_002743d4:
                  var_59 = (type_1 *)(*(type_16 *)PTR_DestroyImageList_003a9510)(var_64);
                  goto LAB_00274228;
                }
                if ((type_1 *)0x9b < var_23) {
                  if (var_23 == (type_1 *)0xa1) {
                    var_6 = (*(type_16 *)PTR_ReadBlobMSBShort_003a9160)(var_64);
                    var_25 = (*(type_16 *)PTR_ReadBlobMSBShort_003a9160)(var_64);
                    uVar44 = (*(type_16 *)PTR_GetBlobSize_003a94b8)(var_64);
                    if (((int)((type_17)uVar44 >> 0x20) == 0) && ((type_10)uVar44 < var_25)) {
                      if (var_11 != (type_2 *)0x0) {
                        (*(type_16 *)PTR_DestroyImage_003a8f4c)(var_11);
                      }
                      if (var_26 != 0) {
                        (*(type_16 *)PTR_DestroyImageInfo_003a95e8)();
                      }
                      uVar32 = 0x562;
                      goto LAB_00275880;
                    }
                    if (var_25 != 0) {
                      (*(type_16 *)PTR_ReadBlobMSBLong_003a8d98)(var_64);
                      var_30 = 4;
                      if (var_25 < 5) {
                        var_30 = var_25;
                      }
                      var_15 = var_25 - var_30;
                      if ((var_15 != 0) &&
                         (var_16 = (*(type_16 *)PTR_AcquireQuantumMemory_003a950c)(var_15,1),
                         var_16 != 0)) {
                        var_17 = (*(type_16 *)PTR_ReadBlob_003a8dac)(var_64,var_15,var_16);
                        if (var_15 != var_17) {
                          (*(type_16 *)PTR_RelinquishMagickMemory_003a8fc0)(var_16);
                          if (var_11 != (type_2 *)0x0) {
                            (*(type_16 *)PTR_DestroyImage_003a8f4c)(var_11);
                          }
                          if (var_26 != 0) {
                            (*(type_16 *)PTR_DestroyImageInfo_003a95e8)();
                          }
                          uVar32 = 0x570;
                          puVar30 = var_3 + -0x3dbc;
                          uVar44 = var_32(var_2 + 0x3e28,local_10d0->filename);
                          var_34 = var_3 + -0x3d60;
                          var_18 = var_19 + -0x18cc;
                          uVar11 = 400;
                          goto LAB_00275084;
                        }
                        if (var_6 == 0xe0) {
                          uVar32 = (*(type_16 *)PTR_BlobToStringInfo_003a96c4)(0,var_15);
                          (*(type_16 *)PTR_SetStringInfoDatum_003a90e0)(uVar32,var_16);
                          var_6 = (*(type_16 *)PTR_SetImageProfile_003a9698)
                                            (var_64,
                                                  var_19 +
                                                  -0x5890,uVar32,local_10d8);
                          (*(type_16 *)PTR_DestroyStringInfo_003a8dfc)(uVar32);
                          if (var_6 == 0) {
                            (*(type_16 *)PTR_RelinquishMagickMemory_003a8fc0)(var_16);
                            if (var_11 != (type_2 *)0x0) {
                              (*(type_16 *)PTR_DestroyImage_003a8f4c)(var_11);
                            }
                            if (var_26 != 0) {
                              (*(type_16 *)PTR_DestroyImageInfo_003a95e8)();
                            }
                            uVar32 = 0x57e;
                            goto LAB_00275720;
                          }
                        }
                        else if (var_6 == 0x1f2) {
                          uVar32 = (*(type_16 *)PTR_BlobToStringInfo_003a96c4)(0,var_15);
                          (*(type_16 *)PTR_SetStringInfoDatum_003a90e0)(uVar32,var_16);
                          var_6 = (*(type_16 *)PTR_SetImageProfile_003a9698)
                                            (var_64,
                                                  var_19 +
                                                  -0x1918,uVar32,local_10d8);
                          if (var_6 == 0) {
                            (*(type_16 *)PTR_RelinquishMagickMemory_003a8fc0)(var_16);
                            if (var_11 != (type_2 *)0x0) {
                              (*(type_16 *)PTR_DestroyImage_003a8f4c)(var_11);
                            }
                            if (var_26 != 0) {
                              (*(type_16 *)PTR_DestroyImageInfo_003a95e8)();
                            }
                            uVar32 = 0x58b;
                            goto LAB_00275720;
                          }
                          (*(type_16 *)PTR_DestroyStringInfo_003a8dfc)(uVar32);
                        }
                        (*(type_16 *)PTR_RelinquishMagickMemory_003a8fc0)(var_16);
                      }
                    }
                    goto LAB_00274594;
                  }
LAB_002752a0:
                  var_6 = *(int *)(var_24 +
                                  (int)var_23 * 0xc + 0x5850);
                  if (var_6 == -1) {
                    (*(type_16 *)PTR_ReadBlobMSBShort_003a9160)(var_64);
                  }
                  else {
                    var_15 = 0;
                    if (0 < var_6) {
                      do {
                        var_16 = (*(type_16 *)PTR_ReadBlobByte_003a97f0)(var_64);
                        if (var_16 == -1) break;
                        var_15 = var_15 + 1;
                      } while (var_6 != var_15);
                    }
                  }
                  goto LAB_00274584;
                }
                if ((var_23 < (type_1 *)0x98) && ((type_18 **)0x1 < &var_23[-1].blob))
                goto LAB_002752a0;
                var_43 = var_23[-1].magick + 0xffe < (char *)0x2;
                if (var_43) {
                  var_25 = 0;
                  (*(type_16 *)PTR_ReadBlobMSBShort_003a9160)(var_64);
                  (*(type_16 *)PTR_ReadBlobMSBShort_003a9160)(var_64);
                  (*(type_16 *)PTR_ReadBlobMSBShort_003a9160)(var_64);
                }
                else {
                  var_25 = (*(type_16 *)PTR_ReadBlobMSBShort_003a9160)();
                }
                var_13 = var_12(var_64,local_10bc);
                if (var_13 != var_4) {
                  var_20 = (type_1 *)(*(type_16 *)PTR_CloneImage_003a9830)
                                              (var_64,(int)frame.right - (int)frame.left,
                                               (int)frame.bottom - (int)frame.top,1);
                  if (var_20 == (type_1 *)0x0) {
                    if (var_26 != 0) {
                      (*(type_16 *)PTR_DestroyImageInfo_003a95e8)();
                    }
                    uVar32 = 0x498;
                    goto LAB_002757bc;
                  }
                  (*(type_16 *)PTR_ResetImagePixels_003a9334)(var_20,local_10d8);
                  if ((var_43) || ((var_25 & 0x8000) != 0)) {
                    var_13 = var_27(var_64,&pixmap);
                    if (var_13 != var_4) {
                      var_20->depth = (int)pixmap.component_size;
                      var_18 = PTR_SetImageAlpha_003a8c78;
                      var_28 = (double)(int)pixmap.horizontal_resolution;
                      if ((int)pixmap.horizontal_resolution < 0) {
                        var_28 = var_28 + *(double *)(var_29 + 0x1418);
                      }
                      var_33 = (double)(int)pixmap.vertical_resolution;
                      if ((int)pixmap.vertical_resolution < 0) {
                        var_33 = var_33 + *(double *)(var_29 + 0x1418);
                      }
                      if (pixmap.component_count == 4) {
                        var_20->alpha_trait = BlendPixelTrait;
                        var_20->units = PixelsPerInchResolution;
                        var_34 = var_2;
                        (var_20->resolution).x = var_28;
                        (var_20->resolution).y = var_33;
                        (*(type_16 *)var_18)(var_20,*(type_8 *)(var_34 + 0x1a50),local_10d8);
                      }
                      else {
                        (var_20->resolution).x = var_28;
                        var_20->alpha_trait = var_49;
                        (var_20->resolution).y = var_33;
                        var_20->units = PixelsPerInchResolution;
                      }
                      if (!var_43) {
                        var_20->colors = 2;
                        if ((var_25 & 0x8000) == 0) goto LAB_0027565c;
                        (*(type_16 *)PTR_ReadBlobMSBLong_003a8d98)(var_64);
                        var_35 = (*(type_16 *)PTR_ReadBlobMSBShort_003a9160)(var_64);
                        var_6 = (*(type_16 *)PTR_ReadBlobMSBShort_003a9160)(var_64);
                        var_18 = PTR_AcquireImageColormap_003a9194;
                        var_20->colors = var_6 + 1U;
                        var_6 = (*(type_16 *)var_18)(var_20,var_6 + 1U,local_10d8);
                        if (var_6 == 0) goto LAB_002756e4;
                        if (0 < (int)var_20->colors) {
                          var_30 = 0;
                          do {
                            var_37 = (*(type_16 *)PTR_ReadBlobMSBShort_003a9160)(var_64);
                            var_31 = var_30;
                            if (-1 < var_35) {
                              if (var_20->colors == 0) {
                                var_36(7);
                              }
                              var_31 = var_37 % var_20->colors;
                            }
                            var_30 = var_30 + 1;
                            var_6 = (*(type_16 *)PTR_ReadBlobMSBShort_003a9160)(var_64);
                            var_18 = PTR_ReadBlobMSBShort_003a9160;
                            var_20->colormap[var_31].red = (double)var_6;
                            var_6 = (*(type_16 *)var_18)(var_64);
                            var_18 = PTR_ReadBlobMSBShort_003a9160;
                            var_20->colormap[var_31].green = (double)var_6;
                            var_6 = (*(type_16 *)var_18)(var_64);
                            var_52 = var_20->colors;
                            var_11 = (type_2 *)(var_20->colormap + var_31);
                            *(double *)&var_11->endian = (double)var_6;
                          } while ((int)var_30 < (int)var_52);
                        }
                      }
                      goto LAB_00274838;
                    }
                    (*(type_16 *)PTR_DestroyImage_003a8f4c)(var_20);
                    if (var_26 != 0) {
                      (*(type_16 *)PTR_DestroyImageInfo_003a95e8)();
                    }
                    uVar32 = 0x49e;
                    var_23 = var_20;
                    goto LAB_002757bc;
                  }
                  var_20->colors = 2;
LAB_0027565c:
                  var_6 = (*(type_16 *)PTR_AcquireImageColormap_003a9194)(var_20,2,local_10d8);
                  if (var_6 == 0) {
LAB_002756e4:
                    (*(type_16 *)PTR_DestroyImage_003a8f4c)(var_20);
                    if (var_26 != 0) {
                      (*(type_16 *)PTR_DestroyImageInfo_003a95e8)();
                    }
                    uVar32 = 0x4b8;
                    var_23 = var_20;
LAB_00275720:
                    puVar30 = var_3 + -0x3dbc;
                    uVar44 = var_32(var_2 + 0x3e28,local_10d0->filename);
                    var_34 = var_3 + -0x3d60;
                    var_18 = var_2 + 0x16f8;
                    uVar11 = 400;
                    goto LAB_00275084;
                  }
                  var_52 = var_20->colors;
                  if (0 < (int)var_52) {
                    pPVar29 = var_20->colormap;
                    var_38 = &pPVar29->red;
                    do {
                      var_40 = var_38 + 0xb;
                      *var_38 = (double)(float)(var_39 - *var_38);
                      var_38[1] = (double)(float)(var_39 - var_38[1]);
                      var_38[2] = (double)(float)(var_39 - var_38[2]);
                      var_38 = var_40;
                    } while (var_40 != &pPVar29[var_52].red);
                  }
LAB_00274838:
                  var_6 = (*(type_16 *)PTR_EOFBlob_003a9748)(var_64);
                  if (var_6 == 0) {
                    var_13 = var_12(var_64,&source);
                    if (var_13 == var_4) {
                      (*(type_16 *)PTR_DestroyImage_003a8f4c)(var_20);
                      if (var_26 != 0) {
                        (*(type_16 *)PTR_DestroyImageInfo_003a95e8)();
                      }
                      uVar32 = 0x4d9;
                      var_23 = var_20;
                    }
                    else {
                      var_13 = var_12(var_64,&destination);
                      if (var_13 != var_4) {
                        (*(type_16 *)PTR_ReadBlobMSBShort_003a9160)(var_64);
                        if ((((type_10)var_59 & 0xfff7) == 0x91) || (var_23 == (type_1 *)0x9b)) {
                          var_30 = (*(type_16 *)PTR_ReadBlobMSBShort_003a9160)(var_64);
                          uVar44 = (*(type_16 *)PTR_GetBlobSize_003a94b8)(var_64);
                          if (((int)((type_17)uVar44 >> 0x20) == 0) && ((type_10)uVar44 < var_30)) {
                            (*(type_16 *)PTR_DestroyImage_003a8f4c)(var_20);
                            if (var_26 != 0) {
                              (*(type_16 *)PTR_DestroyImageInfo_003a95e8)();
                            }
                            uVar32 = 0x4e5;
                            var_23 = var_20;
                            goto LAB_00275880;
                          }
                          var_6 = 0;
                          if (0 < (int)(var_30 - 2)) {
                            do {
                              var_15 = (*(type_16 *)PTR_ReadBlobByte_003a97f0)(var_64);
                              if (var_15 == -1) break;
                              var_6 = var_6 + 1;
                            } while (var_30 - 2 != var_6);
                          }
                        }
                        if ((var_43) || ((var_25 & 0x8000) != 0)) {
                          var_30 = (type_10)pixmap.bits_per_pixel;
                        }
                        else {
                          var_30 = 1;
                        }
                        var_11 = (type_2 *)var_41(var_64,var_20,var_25,var_30,&var_44);
                        if (var_11 == (type_2 *)0x0) {
                          (*(type_16 *)PTR_DestroyImage_003a8f4c)(var_20);
                          if (var_26 != 0) {
                            (*(type_16 *)PTR_DestroyImageInfo_003a95e8)();
                          }
                          uVar32 = 0x4f2;
                          puVar30 = var_3 + -0x3dbc;
                          uVar44 = var_32(var_2 + 0x3e28,local_10d0->filename);
                          var_34 = var_3 + -0x3d60;
                          var_18 = var_3 + -0x3d00;
                        }
                        else {
                          if ((int)var_20->rows < 1) {
LAB_00276500:
                            (*(type_16 *)PTR_RelinquishMagickMemory_003a8fc0)(var_11);
                            if (((var_42 == 0) &&
                                (var_6 = (*(type_16 *)PTR_EOFBlob_003a9748)(var_64), var_6 == 0)) &&
                               ((var_43 || ((var_25 & 0x8000) != 0)))) {
                              (*(type_16 *)PTR_CompositeImage_003a8cc4)(var_64,var_20,0xd,1);
                            }
                            var_11 = (type_2 *)(*(type_16 *)PTR_DestroyImage_003a8f4c)(var_20);
                            goto LAB_00274584;
                          }
                          if (var_11 <=
                              (type_2 *)
                              ((int)&var_11->compression + var_64->columns + var_44)) {
                            var_58 = 0;
                            var_30 = 0;
                            var_53 = var_11;
                            do {
                              var_6 = (*(type_16 *)PTR_QueueAuthenticPixels_003a8f24)
                                                (var_20,0,var_30,var_20->columns);
                              if (var_6 == 0) goto LAB_00276500;
                              var_52 = var_20->columns;
                              if (0 < (int)var_52) {
                                var_15 = 0;
                                var_33 = *(double *)(var_45 + -0x5af0);
                                var_28 = var_33;
                                do {
                                  if (var_20->storage_class == var_46) {
                                    if ((int)(type_10)(type_4)*(type_5 *)&var_53->compression <
                                        (int)var_20->colors) {
                                      fVar41 = (float)(type_4)*(type_5 *)&var_53->compression;
                                      var_16 = (int)fVar41 * 0x58;
                                    }
                                    else if (local_10d8->severity == var_47) {
                                      fVar41 = 0.0;
                                      var_16 = 0;
                                    }
                                    else {
                                      (*(type_16 *)PTR_ThrowMagickException_003a8f20)
                                                (local_10d8,var_48 + 0x6f4,
                                                 var_3 +
                                                 -0x3dd4,0x23);
                                      fVar41 = 0.0;
                                      var_16 = 0;
                                      var_52 = var_20->columns;
                                    }
                                    pPVar28 = var_20->channel_map;
                                    if (pPVar28[5].traits != var_49) {
                                      *(float *)(var_6 + pPVar28[5].offset * 4) = fVar41;
                                    }
                                    pPVar29 = var_20->colormap;
                                    var_50 = pPVar28[1].offset;
                                    var_17 = pPVar28[2].offset;
                                    dVar43 = *(double *)((int)&pPVar29->green + var_16);
                                    var_56 = *(double *)((int)&pPVar29->blue + var_16);
                                    *(float *)(var_6 + pPVar28->offset * 4) =
                                         (float)*(double *)((int)&pPVar29->red + var_16);
                                    *(float *)(var_6 + var_50 * 4) = (float)dVar43;
                                    *(float *)(var_6 + var_17 * 4) = (float)var_56;
                                  }
                                  else if (pixmap.bits_per_pixel == 0x10) {
                                    var_51 = *(type_4 *)((int)&var_53->compression + 1);
                                    pPVar28 = var_20->channel_map;
                                    uVar2 = *(type_5 *)&var_53->compression;
                                    var_17 = pPVar28[1].offset;
                                    var_16 = pPVar28[2].offset;
                                    *(float *)(var_6 + pPVar28->offset * 4) =
                                         (float)((double)(((type_4)uVar2 & 0x7c) << 1) * var_28);
                                    *(float *)(var_6 + var_17 * 4) =
                                         (float)((double)(var_51 >> 2 & 0x38 | ((type_4)uVar2 & 3) << 6
                                                         ) * var_28);
                                    *(float *)(var_6 + var_16 * 4) =
                                         (float)((double)((var_51 & 0x1f) << 3) * var_28);
                                    var_53 = (type_2 *)((int)&var_53->compression + 1);
                                  }
                                  else if (var_20->alpha_trait == var_49) {
                                    var_55 = (type_4 *)((int)&var_53->compression + var_52);
                                    if ((type_2 *)
                                        ((int)&var_11->compression +
                                        var_64->columns * 2 + var_44) < var_53) {
                                      (*(type_16 *)PTR_DestroyImage_003a8f4c)(var_20);
                                      if (var_26 != 0) {
                                        (*(type_16 *)PTR_DestroyImageInfo_003a95e8)();
                                      }
                                      uVar32 = 0x523;
                                      goto LAB_0027504c;
                                    }
                                    pPVar28 = var_20->channel_map;
                                    var_17 = pPVar28[1].offset;
                                    var_16 = pPVar28[2].offset;
                                    *(float *)(var_6 + pPVar28->offset * 4) =
                                         (float)((double)(type_4)*(type_5 *)&var_53->compression
                                                * var_33);
                                    *(float *)(var_6 + var_17 * 4) =
                                         (float)((double)*var_55 * var_33);
                                    *(float *)(var_6 + var_16 * 4) =
                                         (float)((double)var_55[var_52] * var_33);
                                  }
                                  else {
                                    if ((type_2 *)
                                        ((int)&var_11->compression +
                                        var_64->columns * 3 + var_44) < var_53) {
                                      (*(type_16 *)PTR_DestroyImage_003a8f4c)(var_20);
                                      if (var_26 != 0) {
                                        (*(type_16 *)PTR_DestroyImageInfo_003a95e8)();
                                      }
                                      uVar32 = 0x52e;
                                      goto LAB_0027504c;
                                    }
                                    pPVar28 = var_20->channel_map;
                                    var_55 = (type_4 *)((int)&var_53->compression + var_52);
                                    if (pPVar28[4].traits != var_49) {
                                      *(float *)(var_6 + pPVar28[4].offset * 4) =
                                           (float)((double)(type_4)*(type_5 *)
                                                                  &var_53->compression * var_54)
                                      ;
                                    }
                                    pbVar34 = var_55 + var_52;
                                    var_56 = *(double *)(var_45 + -0x5af0);
                                    var_17 = pPVar28[1].offset;
                                    var_16 = pPVar28[2].offset;
                                    *(float *)(var_6 + pPVar28->offset * 4) =
                                         (float)((double)*var_55 * var_56);
                                    *(float *)(var_6 + var_17 * 4) =
                                         (float)((double)*pbVar34 * var_56);
                                    *(float *)(var_6 + var_16 * 4) =
                                         (float)((double)pbVar34[var_52] * var_56);
                                  }
                                  var_15 = var_15 + 1;
                                  var_53 = (type_2 *)((int)&var_53->compression + 1);
                                  var_6 = var_6 + var_20->number_channels * 4;
                                } while (var_15 < (int)var_52);
                              }
                              var_6 = (*(type_16 *)PTR_SyncAuthenticPixels_003a91e4)(var_20,local_10d8)
                              ;
                              if (((var_6 == 0) ||
                                  (((var_20->storage_class == var_57 &&
                                    (pixmap.bits_per_pixel != 0x10)) &&
                                   (var_53 = (type_2 *)
                                              ((int)&var_53->compression +
                                              (pixmap.component_count + -1) * var_20->columns),
                                   var_53 < var_11)))) ||
                                 ((var_6 = (*(type_16 *)PTR_SetImageProgress_003a8cb4)
                                                     (var_64,
                                                  var_19 +
                                                  -0x2dd0,var_58,var_30), var_6 == 0 ||
                                  (var_31 = var_30 + 1, (int)var_20->rows <= (int)var_31))))
                              goto LAB_00276500;
                              var_58 = (type_10)(var_31 < var_30) + var_58;
                              var_30 = var_31;
                            } while (var_53 <=
                                     (type_2 *)
                                     ((int)&var_11->compression + var_64->columns + var_44));
                          }
                          (*(type_16 *)PTR_RelinquishMagickMemory_003a8fc0)(var_11);
                          (*(type_16 *)PTR_DestroyImage_003a8f4c)(var_20);
                          if (var_26 != 0) {
                            (*(type_16 *)PTR_DestroyImageInfo_003a95e8)();
                          }
                          uVar32 = 0x4fc;
                          var_23 = var_20;
LAB_0027504c:
                          puVar30 = var_3 + -0x3dbc;
                          uVar44 = var_32(var_2 + 0x3e28,local_10d0->filename);
                          var_34 = var_3 + -0x3d60;
                          var_18 = var_3 + -0x3ce8;
                          var_20 = var_23;
                        }
                        goto LAB_0027507c;
                      }
                      (*(type_16 *)PTR_DestroyImage_003a8f4c)(var_20);
                      if (var_26 != 0) {
                        (*(type_16 *)PTR_DestroyImageInfo_003a95e8)();
                      }
                      uVar32 = 0x4db;
                      var_23 = var_20;
                    }
                    goto LAB_002757bc;
                  }
                  (*(type_16 *)PTR_DestroyImage_003a8f4c)(var_20);
                  if (var_26 != 0) {
                    (*(type_16 *)PTR_DestroyImageInfo_003a95e8)();
                  }
                  uVar32 = 0x4d7;
                  var_23 = var_20;
                  goto LAB_00275880;
                }
                if (var_11 != (type_2 *)0x0) {
                  (*(type_16 *)PTR_DestroyImage_003a8f4c)(var_11);
                }
                if (var_26 != 0) {
                  (*(type_16 *)PTR_DestroyImageInfo_003a95e8)();
                }
                uVar32 = 0x491;
LAB_002757bc:
                puVar30 = var_3 + -0x3dbc;
                uVar44 = var_32(var_2 + 0x3e28,local_10d0->filename);
                var_34 = var_3 + -0x3d60;
                var_18 = var_48 + -400;
                var_20 = var_23;
LAB_0027507c:
                uVar11 = 0x1a9;
                var_23 = var_20;
LAB_00275084:
                (*(type_16 *)PTR_ThrowMagickException_003a8f20)
                          (local_10d8,var_34,puVar30,uVar32,uVar11,var_18,uVar44);
LAB_00274208:
                (*(type_16 *)PTR_CloseBlob_003a9688)(var_64);
                (*(type_16 *)PTR_DestroyImageList_003a9510)(var_64);
LAB_00274224:
                var_59 = (type_1 *)0x0;
                goto LAB_00274228;
              }
              if (var_64->debug != var_4) {
                (*(type_16 *)PTR_LogMagickEvent_003a91e0)
                          (0x10,var_3 + -0x3d60,
                           var_3 + -0x3dbc,0x3d3);
              }
              if (var_23 != (type_1 *)0xc00) {
LAB_00274584:
                if (&DAT_0000001f < var_23[-1].magick + 0xfe8) {
LAB_00274594:
                  if ((char *)0xff < var_23[-3].magick_filename + 0x848) {
                    if (var_23 == (type_1 *)0x8200) {
                      var_25 = (*(type_16 *)PTR_ReadBlobMSBLong_003a8d98)(var_64);
                      uVar44 = (*(type_16 *)PTR_GetBlobSize_003a94b8)(var_64);
                      if (((int)((type_17)uVar44 >> 0x20) == 0) && ((type_10)uVar44 < var_25)) {
                        if (var_11 != (type_2 *)0x0) {
                          (*(type_16 *)PTR_DestroyImage_003a8f4c)(var_11);
                        }
                        if (var_26 != 0) {
                          (*(type_16 *)PTR_DestroyImageInfo_003a95e8)();
                        }
                        uVar32 = 0x5b9;
                        goto LAB_00275880;
                      }
                      var_6 = 6;
                      if (0x9a < var_25) {
                        do {
                          var_6 = var_6 + -1;
                          (*(type_16 *)PTR_ReadBlobMSBLong_003a8d98)(var_64);
                        } while (var_6 != 0);
                        var_13 = var_12(var_64,local_10bc);
                        if (var_13 == var_4) {
                          if (var_11 != (type_2 *)0x0) {
                            (*(type_16 *)PTR_DestroyImage_003a8f4c)(var_11);
                          }
                          if (var_26 != 0) {
                            (*(type_16 *)PTR_DestroyImageInfo_003a95e8)();
                          }
                          uVar32 = 0x5c8;
                          uVar44 = var_32(var_2 + 0x3e28,local_10d0->filename);
LAB_00275b88:
                          puVar30 = var_3 + -0x3dbc;
                          var_34 = var_3 + -0x3d60;
                          var_18 = var_48 + -400;
                          uVar11 = 0x1a9;
                        }
                        else {
                          var_6 = 0x7a;
                          do {
                            var_15 = (*(type_16 *)PTR_ReadBlobByte_003a97f0)(var_64);
                            if (var_15 == -1) break;
                            var_6 = var_6 + -1;
                          } while (var_6 != 0);
                          var_6 = var_25 - 0x9a;
                          var_59 = (type_1 *)(*(type_16 *)PTR_AcquireQuantumMemory_003a950c)(var_6,1);
                          var_60 = local_10d0->filename;
                          if (var_59 != (type_1 *)0x0) {
                            uVar32 = (*(type_16 *)PTR_ReadBlobStream_003a9098)
                                               (var_64,var_6,var_59,&destination);
                            if (destination._0_4_ == var_6) {
                              var_6 = (*(type_16 *)PTR_AcquireImageInfo_003a91d0)();
                              (*(type_16 *)PTR_FormatLocaleString_003a8d7c)
                                        (var_6 + 0x2210,0x1000,
                                         var_19 + 0x4b4c,
                                         var_60);
                              var_11 = (type_2 *)
                                         (*(type_16 *)PTR_BlobToImage_003a9330)
                                                   (var_6,uVar32,destination._0_4_,local_10d8);
                              (*(type_16 *)PTR_RelinquishMagickMemory_003a8fc0)(var_59);
                              var_26 = (*(type_16 *)PTR_DestroyImageInfo_003a95e8)(var_6);
                              goto LAB_00274de8;
                            }
                            (*(type_16 *)PTR_RelinquishMagickMemory_003a8fc0)(var_59);
                            if (var_11 != (type_2 *)0x0) {
                              (*(type_16 *)PTR_DestroyImage_003a8f4c)(var_11);
                            }
                            if (var_26 != 0) {
                              (*(type_16 *)PTR_DestroyImageInfo_003a95e8)();
                            }
                            uVar32 = 0x5d5;
                            uVar44 = var_32(var_2 + 0x3e28,var_60);
                            var_23 = var_59;
                            goto LAB_00275b88;
                          }
                          if (var_11 != (type_2 *)0x0) {
                            (*(type_16 *)PTR_DestroyImage_003a8f4c)(var_11);
                          }
                          if (var_26 != 0) {
                            (*(type_16 *)PTR_DestroyImageInfo_003a95e8)();
                          }
                          uVar32 = 0x5d0;
                          puVar30 = var_3 + -0x3dbc;
                          uVar44 = var_32(var_2 + 0x3e28,var_60);
                          var_34 = var_3 + -0x3d60;
                          var_18 = var_2 + 0x16f8;
                          uVar11 = 400;
                        }
                        goto LAB_00275084;
                      }
LAB_00274de8:
                      var_42 = 1;
                      if (var_11 != (type_2 *)0x0) {
                        var_60 = var_11->size;
                        if (var_60 < (char *)var_64->columns) {
                          var_60 = (char *)var_64->columns;
                        }
                        var_28 = (double)(int)var_60;
                        if ((int)var_60 < 0) {
                          var_28 = var_28 + *(double *)(var_29 + 0x1418);
                        }
                        var_61 = (char *)var_64->rows;
                        var_60 = var_11->extract;
                        if (var_60 < var_61) {
                          var_62 = (double)(int)var_61;
                          if ((int)var_61 < 0) {
LAB_00275d54:
                            var_62 = var_62 + *(double *)(var_29 + 0x1418);
                          }
                        }
                        else {
                          var_62 = (double)(int)var_60;
                          if ((int)var_60 < 0) {
                            var_62 = var_62 + var_63;
                          }
                        }
                        (*(type_16 *)PTR_FormatLocaleString_003a8d7c)
                                  (geometry,0x1000,var_48 + 0x494);
                        var_60 = (char *)var_64->columns;
                        if ((char *)var_64->columns <= var_11->size) {
                          var_60 = var_11->size;
                        }
                        var_61 = var_11->extract;
                        if (var_11->extract < (char *)var_64->rows) {
                          var_61 = (char *)var_64->rows;
                        }
                        (*(type_16 *)PTR_SetImageExtent_003a94ac)
                                  (var_64,var_60,var_61,local_10d8,var_28,var_62);
                        (*(type_16 *)PTR_TransformImageColorspace_003a9180)
                                  (var_64,var_11->orientation,local_10d8);
                        (*(type_16 *)PTR_CompositeImage_003a8cc4)(var_64,var_11,0xd,1);
                        var_18 = PTR_DestroyImage_003a8f4c;
                        var_64->compression = var_11->temporary;
                        var_11 = (type_2 *)(*(type_16 *)var_18)(var_11);
                        var_42 = 1;
                      }
                      goto LAB_002744b8;
                    }
                    var_53 = var_11;
                    var_20 = var_23;
                    if ((var_23 == (type_1 *)0xff) ||
                       (var_53 = var_11, var_23 == (type_1 *)0xffff)) goto LAB_00274430;
                    if ((var_23[-1].magick + 0xfc8 < (char *)0x2f) ||
                       (var_23[-3].magick_filename + 0x748 < (char *)0x7f00)) {
                      var_25 = (*(type_16 *)PTR_ReadBlobMSBShort_003a9160)(var_64);
                      uVar44 = (*(type_16 *)PTR_GetBlobSize_003a94b8)(var_64);
                      if (((int)((type_17)uVar44 >> 0x20) != 0) || (var_25 <= (type_10)uVar44)) {
                        if (var_25 != 0) {
                          var_30 = 0;
                          do {
                            var_6 = (*(type_16 *)PTR_ReadBlobByte_003a97f0)(var_64);
                            if (var_6 == -1) break;
                            var_30 = var_30 + 1;
                          } while (var_25 != var_30);
                        }
                        goto LAB_002744b8;
                      }
                      if (var_11 != (type_2 *)0x0) {
                        (*(type_16 *)PTR_DestroyImage_003a8f4c)(var_11);
                      }
                      if (var_26 != 0) {
                        (*(type_16 *)PTR_DestroyImageInfo_003a95e8)();
                      }
                      uVar32 = 0x5f8;
                    }
                    else {
                      if ((char *)0x7eff < var_23[-1].magick + 0xf98) goto LAB_002744b8;
                      uVar44 = (*(type_16 *)PTR_GetBlobSize_003a94b8)(var_64);
                      if (((int)((type_17)uVar44 >> 0x20) != 0) ||
                         ((type_10)((int)var_23 >> 7) <= (type_10)uVar44)) {
                        var_25 = 0;
                        do {
                          var_6 = (*(type_16 *)PTR_ReadBlobByte_003a97f0)(var_64);
                          if (var_6 == -1) break;
                          var_25 = var_25 + 1;
                        } while ((int)var_23 >> 7 != var_25);
                        goto LAB_002744b8;
                      }
                      if (var_11 != (type_2 *)0x0) {
                        (*(type_16 *)PTR_DestroyImage_003a8f4c)(var_11);
                      }
                      if (var_26 != 0) {
                        (*(type_16 *)PTR_DestroyImageInfo_003a95e8)();
                      }
                      uVar32 = 0x606;
                    }
LAB_00275880:
                    puVar30 = var_3 + -0x3dbc;
                    uVar44 = var_32(var_2 + 0x3e28,local_10d0->filename);
                    var_34 = var_3 + -0x3d60;
                    var_18 = var_48 + 0x4a0;
                    var_20 = var_23;
                    goto LAB_0027507c;
                  }
                }
                goto LAB_002744b8;
              }
              var_6 = 0x18;
              do {
                var_15 = (*(type_16 *)PTR_ReadBlobByte_003a97f0)(var_64);
                if (var_15 == -1) break;
                var_6 = var_6 + -1;
              } while (var_6 != 0);
            } while( true );
          }
          uVar32 = 0x3a8;
        }
      }
LAB_002741b8:
      (*(type_16 *)PTR_ThrowMagickException_003a8f20)
                (var_5,var_3 + -0x3d60,
                 var_3 + -0x3dbc,uVar32,0x1a9,
                 var_48 + -400,var_2 + 0x3e28,var_1->filename);
      if (var_64 == (type_1 *)0x0) goto LAB_00274224;
      goto LAB_00274208;
    }
  }
  else {
    (*(type_16 *)PTR___assert_fail_003a9608)
              (var_2 + 0xda0,var_3 + -0x3d60,
               0x375,var_3 + -0x3dac);
  }
  (*(type_16 *)PTR___assert_fail_003a9608)
            (var_2 + 0x294c,var_3 + -0x3d60,
             0x37a,var_3 + -0x3dac);
LAB_00275e6c:
  (*(type_16 *)PTR___assert_fail_003a9608)
            (var_2 + 0x1cac,var_3 + -0x3d60,
             0x379,var_3 + -0x3dac);
  goto LAB_00275e90;
}


(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))))) body: (compound_statement (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (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: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) 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: (primitive_type) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) 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: (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: (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: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (sized_type_specifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (identifier)) (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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) 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))))))) (goto_statement label: (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 (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: (goto_statement label: (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: (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))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_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))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (character)))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal))) right: (binary_expression left: (identifier) right: (char_literal (character))))))) right: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (character)))))) right: (parenthesized_expression (binary_expression left: (identifier) right: (char_literal (character)))))) 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)))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_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)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (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)))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_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: (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 (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 (assignment_expression left: (identifier) right: (number_literal))) (goto_statement label: (statement_identifier))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (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: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))) right: (binary_expression left: (number_literal) right: (identifier)))))) right: (parenthesized_expression (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))) right: (binary_expression left: (binary_expression left: (number_literal) right: (identifier)) right: (parenthesized_expression (parenthesized_expression (binary_expression left: (binary_expression left: (number_literal) right: (identifier)) right: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))))))))) right: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (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: (number_literal))))) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) 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 (comma_expression left: (assignment_expression left: (identifier) right: (identifier)) right: (comma_expression left: (assignment_expression left: (identifier) right: (identifier)) right: (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))))) 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) (binary_expression left: (identifier) right: (identifier)) (binary_expression left: (identifier) right: (identifier)) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (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))))))) (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))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (labeled_statement label: (statement_identifier) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) 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))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) right: (parenthesized_expression (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))))) 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))))) (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))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) consequence: (compound_statement (return_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))))) (goto_statement label: (statement_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (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: (comma_expression left: (assignment_expression left: (identifier) right: (identifier)) right: (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: (cast_expression type: (type_descriptor type: (primitive_type) 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: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) 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: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (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: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (goto_statement label: (statement_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (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)) (identifier) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))) right: (number_literal))))) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))) right: (number_literal)))) 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 (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)) right: (identifier))) 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))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (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: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) 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 (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))))) (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (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: (number_literal))))))) (goto_statement label: (statement_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)) right: (identifier))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (pointer_expression argument: (identifier))))) 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))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (goto_statement label: (statement_identifier)))) (goto_statement label: (statement_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_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))))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (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 (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))))) (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: (number_literal))))) condition: (parenthesized_expression (binary_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: (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: (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: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (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 (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))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (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: (number_literal))))) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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: (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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: (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (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)))) (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: (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: (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: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))))) consequence: (compound_statement (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: (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))))) condition: (parenthesized_expression (binary_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: (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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 (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)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (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: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))) consequence: (compound_statement (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))))) (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: (number_literal))))) 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: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_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)))))) 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)))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (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: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) 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 (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))))) (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) consequence: (compound_statement (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))))))) (goto_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: (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: (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: (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: (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) (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))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (goto_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: (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))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (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))) (goto_statement label: (statement_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (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))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (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: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) 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 (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))))) (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 (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (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))))) (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: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier)))))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (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 (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))))) (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: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (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))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (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)))) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (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)))))) (goto_statement label: (statement_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)) right: (identifier))) consequence: (compound_statement (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: (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))))) (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: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) 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 (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))))) (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 (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))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_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 (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) (number_literal)))) right: (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) (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (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: (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))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (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: (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 (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) (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)) (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)))) (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 (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))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (goto_statement label: (statement_identifier))))) alternative: (else_clause (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 (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) (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)) (identifier) (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 (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))))) (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)))))))) (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)))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))) right: (number_literal)))))))) (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))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))))))) (goto_statement label: (statement_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) right: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal)))) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal))))) (if_statement condition: (parenthesized_expression (identifier)) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))) (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 (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 (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (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: (primitive_type) 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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))) (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))) (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 (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))))) (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) (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (identifier)) right: (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: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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: (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)) value: (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: (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)))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (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) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (identifier))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) 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: (number_literal))))) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (unary_expression argument: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (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: (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) (binary_expression left: (identifier) right: (number_literal)) (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: (number_literal) right: (subscript_expression argument: (identifier) index: (number_literal)))) consequence: (compound_statement (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))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (identifier) arguments: (argument_list (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (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: (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: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier)) right: (number_literal))))) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (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: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier)) right: (number_literal))))) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (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: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier)))))))) (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)))) (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))))) (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: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (number_literal) (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))))) (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))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (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: (subscript_expression argument: (identifier) index: (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: (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: (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: (identifier) right: (pointer_expression argument: (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: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))))))) (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: (identifier) right: (subscript_expression argument: (identifier) index: (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) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier)) right: (number_literal))))))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (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: (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))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (pointer_expression argument: (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: (parenthesized_expression (binary_expression left: (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: (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: (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: (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: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (identifier))))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (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))))) (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: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) consequence: (compound_statement (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (identifier)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (identifier)) right: (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: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) alternative: (else_clause (compound_statement (expression_statement (assignment_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: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier) (identifier) (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: (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))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (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))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) 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))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (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)))))) right: (parenthesized_expression (parenthesized_expression (binary_expression left: (identifier) right: (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) (identifier) (number_literal) (number_literal) (cast_expression type: (type_descriptor type: (primitive_type)) value: (field_expression argument: (identifier) field: (field_identifier))) (cast_expression type: (type_descriptor type: (primitive_type)) value: (field_expression argument: (identifier) field: (field_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)))))) (goto_statement label: (statement_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (identifier)))) 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: (binary_expression left: (identifier) right: (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))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (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: (identifier))) (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (compound_statement (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: (subscript_expression argument: (identifier) index: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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))) (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)) (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: (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)))) (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: (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: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) 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: (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))))))) (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: (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: (identifier) right: (number_literal)))))) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) (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: (identifier) right: (number_literal)))))) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) alternative: (else_clause (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)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (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: (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: (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: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)))) right: (identifier)))))) (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: (identifier) 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: (parenthesized_expression (binary_expression left: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal)) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))))) right: (identifier)))))) (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: (identifier) 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: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)))) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (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: (identifier)) right: (identifier))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (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))))) (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: (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))))))) (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: (pointer_expression argument: (identifier))) right: (identifier)))))) (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: (identifier) 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: (identifier))) right: (identifier)))))) (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: (identifier) 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: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) index: (identifier))) right: (identifier))))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (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: (identifier)) right: (identifier))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (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))))) (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: (binary_expression left: (identifier) right: (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: (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: (pointer_expression argument: (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: (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))))))) (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: (pointer_expression argument: (identifier))) right: (identifier)))))) (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: (identifier) 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: (identifier))) right: (identifier)))))) (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: (identifier) 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: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) index: (identifier))) 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: (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)))))) 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: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal)) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (subscript_expression argument: (identifier) index: (number_literal))))) right: (binary_expression left: (identifier) right: (identifier))))))))) right: (parenthesized_expression (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)) (identifier) (identifier) (number_literal) (subscript_expression argument: (identifier) index: (number_literal))))) right: (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) right: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))))))))) consequence: (goto_statement label: (statement_identifier))) (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: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (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 (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))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (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)))))) (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)))) (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))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))))) (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)))) (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))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (goto_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: (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: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (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))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) (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) (identifier) (identifier) (identifier) (identifier) (identifier) (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 (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: (number_literal)))) (goto_statement label: (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)) (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (binary_expression left: (identifier) right: (number_literal)))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)) right: (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: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (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: (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: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) 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 (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))))) (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 (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (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 (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))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (binary_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: (number_literal)))) alternative: (else_clause (compound_statement (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))))) (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: (number_literal))))) condition: (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: (cast_expression type: (type_descriptor type: (primitive_type) 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)))))) (expression_statement (assignment_expression left: (identifier) right: (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: (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) (pointer_expression argument: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) 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)))) (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 (binary_expression left: (identifier) right: (number_literal)) (number_literal) (binary_expression left: (identifier) right: (number_literal)) (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) (identifier) (identifier)))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (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)))) (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: (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))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (goto_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: (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))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (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: (number_literal)))))) (goto_statement label: (statement_identifier)))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_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 (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (cast_expression type: (type_descriptor type: (primitive_type)) value: (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: (binary_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: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (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: (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 (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (binary_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)))))))))))) alternative: (else_clause (compound_statement (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: (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: (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) (number_literal) (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (expression_statement (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)))) (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) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) (identifier)))) (expression_statement (call_expression function: (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) (number_literal) (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (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: (number_literal))))) (goto_statement label: (statement_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: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (identifier)) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal))))))) consequence: (goto_statement label: (statement_identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) right: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) 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: (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: (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: (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: (number_literal))) consequence: (compound_statement (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))))) (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: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))) (goto_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: (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)))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (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: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal)))) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))))) consequence: (compound_statement (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))))) (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: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal)) right: (identifier)))) (goto_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: (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: (call_expression function: (identifier) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (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))) (goto_statement label: (statement_identifier)))))))) (goto_statement label: (statement_identifier)))) (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))))) (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: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (true)))))) (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) (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (identifier) (number_literal) (binary_expression left: (identifier) right: (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: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (goto_statement label: (statement_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 (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (binary_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 (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (binary_expression left: (identifier) right: (number_literal)))))) (goto_statement label: (statement_identifier)))))

undefined4 MASKED(byte *param_1,int *param_2)

{
  byte bVar1;
  byte bVar2;
  bool bVar3;
  undefined *puVar4;
  int iVar5;
  char cVar16;
  char cVar17;
  char cVar18;
  char cVar19;
  int *piVar6;
  int *piVar7;
  undefined4 uVar8;
  int iVar9;
  double *pdVar10;
  double *pdVar11;
  undefined *puVar12;
  int iVar13;
  short sVar15;
  uint uVar14;
  uint extraout_v1;
  int iVar20;
  undefined *puVar21;
  int iVar22;
  int iVar23;
  byte *pbVar24;
  undefined *puVar25;
  undefined4 uVar26;
  int iVar27;
  int unaff_s0;
  byte *unaff_s3;
  uint uVar28;
  uint uVar29;
  uint uVar30;
  byte *pbVar31;
  int *unaff_s7;
  double dVar32;
  float fVar34;
  double dVar33;
  double in_f2_3;
  double dVar35;
  double dVar36;
  double in_f20_21;
  double in_f22_23;
  double in_f24_25;
  undefined8 uVar37;
  int *local_10d8;
  int local_10d4;
  byte *local_10d0;
  int local_10cc;
  undefined *local_10c8;
  short *local_10bc;
  int local_10b8;
  int local_10b0;
  undefined *local_10ac;
  int local_1094;
  short local_1090;
  short local_108e;
  short local_108c;
  short local_108a;
  undefined1 auStack_1088 [8];
  undefined4 local_1080;
  undefined1 auStack_1078 [8];
  int local_1070;
  int local_106c;
  short local_1066;
  short local_1064;
  short local_1062;
  undefined1 auStack_1054 [4096];
  int local_54;
  
  puVar4 = PTR___stack_chk_guard_003a9230;
  local_54 = *(int *)PTR___stack_chk_guard_003a9230;
  if (param_1 == (byte *)0x0) {
    dVar33 = (double)(*(code *)PTR___assert_fail_003a9608)
                               (PTR_LAB_003a88e0 + 0xd78,
                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,0x374,
                                PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);
    goto LAB_00275d54;
  }
  if (*(int *)(param_1 + 0x3214) == -0x54535255) {
    if (*(int *)(param_1 + 0x3210) != 0) {
      (*(code *)PTR_LogMagickEvent_003a91e0)
                (0x8000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,
                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x377,
                 PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210);
    }
    if (param_2 == (int *)0x0) goto LAB_00275e6c;
    if (param_2[7] == -0x54535255) {
      unaff_s0 = (*(code *)PTR_AcquireImage_003a960c)(param_1,param_2);
      iVar5 = (*(code *)PTR_OpenBlob_003a924c)(param_1,unaff_s0,2,param_2);
      if (iVar5 == 0) {
        (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);
        uVar26 = 0;
        goto LAB_00274228;
      }
      local_1066 = 0;
      local_1064 = 0;
      cVar16 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
      cVar17 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
      cVar18 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
      cVar19 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
      if ((((cVar16 != 'P') || (unaff_s3 = (byte *)0x1fc, cVar17 != 'I')) || (cVar18 != 'C')) ||
         (cVar19 != 'T')) {
        unaff_s3 = (byte *)0x1fc;
        do {
          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
          if (iVar5 == -1) break;
          unaff_s3 = unaff_s3 + -1;
        } while (unaff_s3 != (byte *)0x0);
      }
      (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
      iVar5 = FUN_002739c8(unaff_s0,&local_1090);
      if (iVar5 == 0) {
        uVar26 = 0x397;
      }
      else {
        do {
          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
        } while (iVar5 == 0);
        uVar26 = 0x39a;
        if (iVar5 == 0x11) {
          local_10d4 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
          if (local_10d4 == 2) {
            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
            if (iVar5 != 0xff) {
              uVar26 = 0x3a0;
              goto LAB_002741b8;
            }
          }
          else if (local_10d4 != 1) {
            uVar26 = 0x3a4;
            goto LAB_002741b8;
          }
          iVar5 = (int)local_108e;
          iVar13 = (int)local_108a;
          if ((((-1 < iVar5) && (iVar9 = (int)local_1090, -1 < iVar13)) &&
              ((iVar22 = (int)local_108c, -1 < iVar9 && ((-1 < iVar22 && (iVar5 < iVar13)))))) &&
             (iVar9 < iVar22)) {
            iVar23 = *(int *)(param_1 + 0x1dc);
            *(undefined4 *)(unaff_s0 + 0x200) = 0;
            *(int *)(unaff_s0 + 0x18) = iVar13 - iVar5;
            *(undefined4 *)(unaff_s0 + 0x20) = 8;
            puVar12 = PTR_LAB_003a88e0;
            *(int *)(unaff_s0 + 0x1c) = iVar22 - iVar9;
            uVar37 = *(undefined8 *)(puVar12 + 0x13f0);
            *(undefined8 *)(unaff_s0 + 0x218) = uVar37;
            *(undefined8 *)(unaff_s0 + 0x220) = uVar37;
            if (((iVar23 != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&
               (pbVar31 = unaff_s3, piVar6 = unaff_s7,
               (*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <=
               *(uint *)(unaff_s0 + 0x26c))) goto LAB_00274430;
            iVar5 = (*(code *)PTR_SetImageExtent_003a94ac)
                              (unaff_s0,iVar13 - iVar5,iVar22 - iVar9,param_2);
            if (iVar5 == 0) goto LAB_002743d4;
            iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,param_2);
            if (iVar5 == 0) goto LAB_002743d4;
            local_10c8 = PTR_LAB_003a88e0;
            unaff_s7 = (int *)0x0;
            local_10ac = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;
            unaff_s3 = (byte *)0x0;
            local_10b8 = 0;
            in_f24_25 = *(double *)(PTR_LAB_003a88e0 + 0x1418);
            in_f22_23 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);
            in_f20_21 = *(double *)(PTR_LAB_003a88e0 + 0x1a58);
            local_10cc = 0;
            local_10bc = &local_1090;
            local_10d0 = param_1;
            local_10d8 = param_2;
LAB_002744b8:
            do {
              piVar6 = (int *)(*(code *)PTR_EOFBlob_003a9748)(unaff_s0);
              pbVar31 = local_10d0;
              if ((piVar6 != (int *)0x0) ||
                 (((*(int *)(local_10d0 + 0x1dc) != 0 && (*(int *)(local_10d0 + 0x2c) != 0)) &&
                  ((*(int *)(local_10d0 + 0x2c) + *(int *)(local_10d0 + 0x28)) - 1U <=
                   *(uint *)(unaff_s0 + 0x26c))))) {
LAB_00274430:
                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);
                uVar26 = (*(code *)PTR_GetFirstImageInList_003a944c)(unaff_s0);
                unaff_s3 = pbVar31;
                unaff_s7 = piVar6;
LAB_00274228:
                if (local_54 == *(int *)puVar4) {
                  return uVar26;
                }
LAB_00275e90:
                local_10b8 = (*(code *)PTR___stack_chk_fail_003a9064)();
                goto LAB_002744b8;
              }
              if ((local_10d4 == 1) ||
                 ((*(code *)PTR_TellBlob_003a931c)(unaff_s0), piVar6 = unaff_s7,
                 (extraout_v1 & 1) != 0)) {
                piVar6 = (int *)(*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
              }
              if (local_10d4 == 2) {
                piVar6 = (int *)(*(code *)PTR_ReadBlobMSBSignedShort_003a9600)(unaff_s0);
              }
              unaff_s7 = (int *)((uint)piVar6 & 0xffff);
              if (unaff_s7 == (int *)0x0) {
                unaff_s7 = (int *)0x0;
                goto LAB_002744b8;
              }
              if (unaff_s7 < (int *)0xa2) {
                if (*(int *)(unaff_s0 + 0x3350) != 0) {
                  (*(code *)PTR_LogMagickEvent_003a91e0)
                            (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,
                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d8,
                             PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d24,unaff_s7,
                             *(undefined4 *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c),
                             *(undefined4 *)
                              ((int)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x584c) + 8));
                }
                if (unaff_s7 < (int *)0x78) {
                  if ((int *)0x6f < unaff_s7) {
                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);
                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {
                      if (unaff_s3 != (byte *)0x0) {
                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);
                      }
                      if (local_10cc != 0) {
                        (*(code *)PTR_DestroyImageInfo_003a95e8)();
                      }
                      uVar26 = 0x467;
                      goto LAB_00275880;
                    }
                    iVar5 = 0;
                    if (0 < (int)(uVar28 - 2)) {
                      do {
                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
                        if (iVar13 == -1) break;
                        iVar5 = iVar5 + 1;
                      } while (iVar5 != uVar28 - 2);
                    }
                    goto LAB_00274584;
                  }
                  if ((int *)0x14 < unaff_s7) {
                    if (unaff_s7 == (int *)&DAT_0000001b) {
                      iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
                      puVar12 = PTR_ReadBlobMSBShort_003a9160;
                      *(double *)(unaff_s0 + 0xb0) = (double)iVar5;
                      iVar5 = (*(code *)puVar12)(unaff_s0);
                      puVar12 = PTR_ReadBlobMSBShort_003a9160;
                      *(double *)(unaff_s0 + 0xb8) = (double)iVar5;
                      iVar5 = (*(code *)puVar12)(unaff_s0);
                      *(double *)(unaff_s0 + 0xc0) = (double)iVar5;
                      goto LAB_00274594;
                    }
                    goto LAB_002752a0;
                  }
                  if (&DAT_00000011 < unaff_s7) {
                    iVar13 = 8;
                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
                    do {
                      iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
                      if (iVar9 == -1) break;
                      iVar13 = iVar13 + -1;
                    } while (iVar13 != 0);
                    if (iVar5 == 2) {
                      iVar5 = 5;
                      do {
                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
                        if (iVar13 == -1) break;
                        iVar5 = iVar5 + -1;
                      } while (iVar5 != 0);
                      goto LAB_00274584;
                    }
                    if (iVar5 == 1) {
                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);
                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {
                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);
                        if (iVar5 == 0) {
                          if (unaff_s3 != (byte *)0x0) {
                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);
                          }
                          if (local_10cc != 0) {
                            (*(code *)PTR_DestroyImageInfo_003a95e8)();
                          }
                          uVar26 = 0x419;
                        }
                        else {
                          iVar5 = FUN_00273794(unaff_s0,auStack_1078);
                          if (iVar5 != 0) {
                            *(int *)(unaff_s0 + 0x20) = (int)local_1062;
                            dVar33 = (double)local_1070;
                            if (local_1070 < 0) {
                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);
                            }
                            *(double *)(unaff_s0 + 0x218) = dVar33;
                            puVar12 = PTR_ReadBlobMSBLong_003a8d98;
                            dVar33 = (double)local_106c;
                            if (local_106c < 0) {
                              dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);
                            }
                            *(double *)(unaff_s0 + 0x220) = dVar33;
                            *(undefined4 *)(unaff_s0 + 0x200) = 1;
                            (*(code *)puVar12)(unaff_s0);
                            (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
                            uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
                            uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);
                            if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37))
                            {
                              iVar5 = 0;
                              do {
                                iVar5 = iVar5 + 1;
                                (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);
                              } while (iVar5 != uVar28 + 1);
                              uVar29 = (int)local_108c - (int)local_1090;
                              iVar5 = (int)local_108a - (int)local_108e;
                              if (local_1066 < 9) {
                                uVar28 = uVar28 & 0x7fff;
                              }
                              else if (local_1066 == 0x10) {
                                uVar29 = uVar29 * 2;
                              }
                              if (uVar28 != 0) {
                                uVar29 = uVar28;
                              }
                              if (uVar29 < 8) {
                                if (0 < (int)(uVar29 * iVar5)) {
                                  iVar13 = 0;
                                  do {
                                    iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
                                    if (iVar9 == -1) break;
                                    iVar13 = iVar13 + 1;
                                  } while (uVar29 * iVar5 != iVar13);
                                }
                              }
                              else {
                                iVar13 = 0;
                                if (0 < iVar5) {
                                  do {
                                    iVar9 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);
                                    if (iVar9 != 0) break;
                                    if (uVar29 < 0xc9) {
                                      uVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
                                    }
                                    else {
                                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
                                    }
                                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);
                                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) &&
                                       ((uint)uVar37 < uVar28)) {
                                      if (unaff_s3 != (byte *)0x0) {
                                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);
                                      }
                                      if (local_10cc != 0) {
                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();
                                      }
                                      uVar26 = 0x444;
                                      goto LAB_00275880;
                                    }
                                    uVar30 = 0;
                                    if (0 < (int)uVar28) {
                                      do {
                                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
                                        if (iVar9 == -1) break;
                                        uVar30 = uVar30 + 1;
                                      } while (uVar28 != uVar30);
                                    }
                                    iVar13 = iVar13 + 1;
                                  } while (iVar5 != iVar13);
                                }
                              }
                              goto LAB_00274584;
                            }
                            if (unaff_s3 != (byte *)0x0) {
                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);
                            }
                            if (local_10cc != 0) {
                              (*(code *)PTR_DestroyImageInfo_003a95e8)();
                            }
                            uVar26 = 0x425;
                            goto LAB_00275880;
                          }
                          if (unaff_s3 != (byte *)0x0) {
                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);
                          }
                          if (local_10cc != 0) {
                            (*(code *)PTR_DestroyImageInfo_003a95e8)();
                          }
                          uVar26 = 0x41b;
                        }
                        goto LAB_002757bc;
                      }
                      if (unaff_s3 != (byte *)0x0) {
                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3,local_10bc);
                      }
                      if (local_10cc != 0) {
                        (*(code *)PTR_DestroyImageInfo_003a95e8)();
                      }
                      uVar26 = 0x417;
                      goto LAB_00275880;
                    }
                    if (unaff_s3 != (byte *)0x0) {
                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);
                    }
                    if (local_10cc != 0) {
                      (*(code *)PTR_DestroyImageInfo_003a95e8)();
                    }
                    uVar26 = 0x413;
                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;
                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);
                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;
                    puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d14;
                    piVar7 = unaff_s7;
                    goto LAB_0027507c;
                  }
                  if (unaff_s7 != (int *)0x1) goto LAB_002752a0;
                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
                  uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);
                  if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {
                    if (unaff_s3 != (byte *)0x0) {
                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);
                    }
                    if (local_10cc != 0) {
                      (*(code *)PTR_DestroyImageInfo_003a95e8)();
                    }
                    uVar26 = 0x3e4;
                    goto LAB_00275880;
                  }
                  if (uVar28 != 10) {
                    if (0 < (int)(uVar28 - 2)) {
                      iVar5 = 0;
                      do {
                        iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
                        if (iVar13 == -1) break;
                        iVar5 = iVar5 + 1;
                      } while (uVar28 - 2 != iVar5);
                    }
                    goto LAB_00274594;
                  }
                  iVar5 = FUN_002739c8(unaff_s0,local_10bc);
                  puVar12 = PTR_SetImageExtent_003a94ac;
                  if (iVar5 == 0) {
                    if (unaff_s3 != (byte *)0x0) {
                      (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);
                    }
                    if (local_10cc != 0) {
                      (*(code *)PTR_DestroyImageInfo_003a95e8)();
                    }
                    uVar26 = 0x3ed;
                    goto LAB_002757bc;
                  }
                  if ((local_108e < 0) || (local_1090 < 0)) goto LAB_00274594;
                  iVar5 = (int)local_108a - (int)local_108e;
                  iVar13 = (int)local_108c - (int)local_1090;
                  *(int *)(unaff_s0 + 0x18) = iVar5;
                  *(int *)(unaff_s0 + 0x1c) = iVar13;
                  iVar5 = (*(code *)puVar12)(unaff_s0,iVar5,iVar13,local_10d8);
                  if ((iVar5 != 0) &&
                     (iVar5 = (*(code *)PTR_ResetImagePixels_003a9334)(unaff_s0,local_10d8),
                     iVar5 != 0)) goto LAB_00274594;
LAB_002743d4:
                  uVar26 = (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);
                  goto LAB_00274228;
                }
                if ((int *)0x9b < unaff_s7) {
                  if (unaff_s7 == (int *)0xa1) {
                    iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
                    uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
                    uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);
                    if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {
                      if (unaff_s3 != (byte *)0x0) {
                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);
                      }
                      if (local_10cc != 0) {
                        (*(code *)PTR_DestroyImageInfo_003a95e8)();
                      }
                      uVar26 = 0x562;
                      goto LAB_00275880;
                    }
                    if (uVar28 != 0) {
                      (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);
                      uVar29 = 4;
                      if (uVar28 < 5) {
                        uVar29 = uVar28;
                      }
                      iVar13 = uVar28 - uVar29;
                      if ((iVar13 != 0) &&
                         (iVar9 = (*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar13,1), iVar9 != 0
                         )) {
                        iVar22 = (*(code *)PTR_ReadBlob_003a8dac)(unaff_s0,iVar13,iVar9);
                        if (iVar13 != iVar22) {
                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);
                          if (unaff_s3 != (byte *)0x0) {
                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);
                          }
                          if (local_10cc != 0) {
                            (*(code *)PTR_DestroyImageInfo_003a95e8)();
                          }
                          uVar26 = 0x570;
                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;
                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);
                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;
                          puVar12 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;
                          uVar8 = 400;
                          goto LAB_00275084;
                        }
                        if (iVar5 == 0xe0) {
                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);
                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);
                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)
                                            (unaff_s0,
                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +
                                                  -0x5890,uVar26,local_10d8);
                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);
                          if (iVar5 == 0) {
                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);
                            if (unaff_s3 != (byte *)0x0) {
                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);
                            }
                            if (local_10cc != 0) {
                              (*(code *)PTR_DestroyImageInfo_003a95e8)();
                            }
                            uVar26 = 0x57e;
                            goto LAB_00275720;
                          }
                        }
                        else if (iVar5 == 0x1f2) {
                          uVar26 = (*(code *)PTR_BlobToStringInfo_003a96c4)(0,iVar13);
                          (*(code *)PTR_SetStringInfoDatum_003a90e0)(uVar26,iVar9);
                          iVar5 = (*(code *)PTR_SetImageProfile_003a9698)
                                            (unaff_s0,
                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +
                                                  -0x1918,uVar26,local_10d8);
                          if (iVar5 == 0) {
                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);
                            if (unaff_s3 != (byte *)0x0) {
                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);
                            }
                            if (local_10cc != 0) {
                              (*(code *)PTR_DestroyImageInfo_003a95e8)();
                            }
                            uVar26 = 0x58b;
                            goto LAB_00275720;
                          }
                          (*(code *)PTR_DestroyStringInfo_003a8dfc)(uVar26);
                        }
                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(iVar9);
                      }
                    }
                    goto LAB_00274594;
                  }
LAB_002752a0:
                  iVar5 = *(int *)(PTR_DAT_003a8948 + (int)unaff_s7 * 0xc + 0x5850);
                  if (iVar5 == -1) {
                    (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
                  }
                  else {
                    iVar13 = 0;
                    if (0 < iVar5) {
                      do {
                        iVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
                        if (iVar9 == -1) break;
                        iVar13 = iVar13 + 1;
                      } while (iVar5 != iVar13);
                    }
                  }
                  goto LAB_00274584;
                }
                if ((unaff_s7 < (int *)0x98) && ((int *)0x1 < unaff_s7 + -0x24)) goto LAB_002752a0;
                bVar3 = (undefined1 *)((int)unaff_s7 + -0x9a) < (undefined1 *)0x2;
                if (bVar3) {
                  uVar28 = 0;
                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
                  (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
                }
                else {
                  uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)();
                }
                iVar5 = FUN_002739c8(unaff_s0,local_10bc);
                if (iVar5 != 0) {
                  piVar7 = (int *)(*(code *)PTR_CloneImage_003a9830)
                                            (unaff_s0,(int)local_108a - (int)local_108e,
                                             (int)local_108c - (int)local_1090,1);
                  if (piVar7 == (int *)0x0) {
                    if (local_10cc != 0) {
                      (*(code *)PTR_DestroyImageInfo_003a95e8)();
                    }
                    uVar26 = 0x498;
                    goto LAB_002757bc;
                  }
                  (*(code *)PTR_ResetImagePixels_003a9334)(piVar7,local_10d8);
                  if ((bVar3) || ((uVar28 & 0x8000) != 0)) {
                    iVar5 = FUN_00273794(unaff_s0,auStack_1078);
                    if (iVar5 != 0) {
                      piVar7[8] = (int)local_1062;
                      puVar12 = PTR_SetImageAlpha_003a8c78;
                      dVar33 = (double)local_1070;
                      if (local_1070 < 0) {
                        dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);
                      }
                      dVar32 = (double)local_106c;
                      if (local_106c < 0) {
                        dVar32 = dVar32 + *(double *)(local_10c8 + 0x1418);
                      }
                      if (local_1064 == 4) {
                        piVar7[0xaf] = 4;
                        piVar7[0x80] = 1;
                        puVar21 = PTR_LAB_003a88e0;
                        *(double *)(piVar7 + 0x86) = dVar33;
                        *(double *)(piVar7 + 0x88) = dVar32;
                        (*(code *)puVar12)(piVar7,*(undefined4 *)(puVar21 + 0x1a50),local_10d8);
                      }
                      else {
                        *(double *)(piVar7 + 0x86) = dVar33;
                        piVar7[0xaf] = 0;
                        *(double *)(piVar7 + 0x88) = dVar32;
                        piVar7[0x80] = 1;
                      }
                      if (!bVar3) {
                        piVar7[9] = 2;
                        if ((uVar28 & 0x8000) == 0) goto LAB_0027565c;
                        (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);
                        sVar15 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
                        iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
                        puVar12 = PTR_AcquireImageColormap_003a9194;
                        piVar7[9] = iVar5 + 1;
                        iVar5 = (*(code *)puVar12)(piVar7,iVar5 + 1,local_10d8);
                        if (iVar5 == 0) goto LAB_002756e4;
                        if (0 < piVar7[9]) {
                          uVar29 = 0;
                          do {
                            uVar14 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
                            uVar30 = uVar29;
                            if (-1 < sVar15) {
                              if (piVar7[9] == 0) {
                                trap(7);
                              }
                              uVar30 = uVar14 % (uint)piVar7[9];
                            }
                            uVar29 = uVar29 + 1;
                            iVar5 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
                            puVar12 = PTR_ReadBlobMSBShort_003a9160;
                            iVar9 = uVar30 * 0x58;
                            *(double *)(piVar7[10] + iVar9 + 0x28) = (double)iVar5;
                            iVar5 = (*(code *)puVar12)(unaff_s0);
                            puVar12 = PTR_ReadBlobMSBShort_003a9160;
                            *(double *)(piVar7[10] + iVar9 + 0x30) = (double)iVar5;
                            iVar5 = (*(code *)puVar12)(unaff_s0);
                            iVar13 = piVar7[9];
                            unaff_s3 = (byte *)(piVar7[10] + iVar9);
                            *(double *)(unaff_s3 + 0x38) = (double)iVar5;
                          } while ((int)uVar29 < iVar13);
                        }
                      }
                      goto LAB_00274838;
                    }
                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);
                    if (local_10cc != 0) {
                      (*(code *)PTR_DestroyImageInfo_003a95e8)();
                    }
                    uVar26 = 0x49e;
                    unaff_s7 = piVar7;
                    goto LAB_002757bc;
                  }
                  piVar7[9] = 2;
LAB_0027565c:
                  iVar5 = (*(code *)PTR_AcquireImageColormap_003a9194)(piVar7,2,local_10d8);
                  if (iVar5 == 0) {
LAB_002756e4:
                    (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);
                    if (local_10cc != 0) {
                      (*(code *)PTR_DestroyImageInfo_003a95e8)();
                    }
                    uVar26 = 0x4b8;
                    unaff_s7 = piVar7;
LAB_00275720:
                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;
                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);
                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;
                    puVar12 = PTR_LAB_003a88e0 + 0x16f8;
                    uVar8 = 400;
                    goto LAB_00275084;
                  }
                  iVar5 = piVar7[9];
                  if (0 < iVar5) {
                    iVar13 = piVar7[10];
                    pdVar10 = (double *)(iVar13 + 0x28);
                    do {
                      pdVar11 = pdVar10 + 0xb;
                      *pdVar10 = (double)(float)(in_f20_21 - *pdVar10);
                      pdVar10[1] = (double)(float)(in_f20_21 - pdVar10[1]);
                      pdVar10[2] = (double)(float)(in_f20_21 - pdVar10[2]);
                      pdVar10 = pdVar11;
                    } while (pdVar11 != (double *)(iVar5 * 0x58 + iVar13 + 0x28));
                  }
LAB_00274838:
                  iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0);
                  if (iVar5 == 0) {
                    iVar5 = FUN_002739c8(unaff_s0,auStack_1088);
                    if (iVar5 == 0) {
                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);
                      if (local_10cc != 0) {
                        (*(code *)PTR_DestroyImageInfo_003a95e8)();
                      }
                      uVar26 = 0x4d9;
                      unaff_s7 = piVar7;
                    }
                    else {
                      iVar5 = FUN_002739c8(unaff_s0,&local_1080);
                      if (iVar5 != 0) {
                        (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
                        if ((((uint)piVar6 & 0xfff7) == 0x91) || (unaff_s7 == (int *)0x9b)) {
                          uVar29 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
                          uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);
                          if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar29)) {
                            (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);
                            if (local_10cc != 0) {
                              (*(code *)PTR_DestroyImageInfo_003a95e8)();
                            }
                            uVar26 = 0x4e5;
                            unaff_s7 = piVar7;
                            goto LAB_00275880;
                          }
                          iVar5 = 0;
                          if (0 < (int)(uVar29 - 2)) {
                            do {
                              iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
                              if (iVar13 == -1) break;
                              iVar5 = iVar5 + 1;
                            } while (uVar29 - 2 != iVar5);
                          }
                        }
                        if ((bVar3) || ((uVar28 & 0x8000) != 0)) {
                          iVar5 = (int)local_1066;
                        }
                        else {
                          iVar5 = 1;
                        }
                        unaff_s3 = (byte *)FUN_00273aa4(unaff_s0,piVar7,uVar28,iVar5);
                        if (unaff_s3 == (byte *)0x0) {
                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);
                          if (local_10cc != 0) {
                            (*(code *)PTR_DestroyImageInfo_003a95e8)();
                          }
                          uVar26 = 0x4f2;
                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;
                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);
                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;
                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d00;
                        }
                        else {
                          if (piVar7[7] < 1) {
LAB_00276500:
                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);
                            if (((local_10b8 == 0) &&
                                (iVar5 = (*(code *)PTR_EOFBlob_003a9748)(unaff_s0), iVar5 == 0)) &&
                               ((bVar3 || ((uVar28 & 0x8000) != 0)))) {
                              (*(code *)PTR_CompositeImage_003a8cc4)
                                        (unaff_s0,piVar7,0xd,1,(int)local_1080._2_2_,
                                         (int)local_1080._0_2_);
                            }
                            unaff_s3 = (byte *)(*(code *)PTR_DestroyImage_003a8f4c)(piVar7);
                            goto LAB_00274584;
                          }
                          if (unaff_s3 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094) {
                            local_10b0 = 0;
                            puVar12 = PTR_LAB_003a88e0 + 0x3e28;
                            puVar21 = PTR_s_t_to_left_003a88e4 + -0x5990;
                            uVar29 = 0;
                            pbVar31 = unaff_s3;
                            do {
                              iVar5 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)
                                                (piVar7,0,uVar29,piVar7[6],1,local_10d8);
                              if (iVar5 == 0) goto LAB_00276500;
                              iVar13 = piVar7[6];
                              if (0 < iVar13) {
                                iVar9 = 0;
                                dVar32 = *(double *)(local_10ac + -0x5af0);
                                dVar33 = dVar32;
                                do {
                                  if (*piVar7 == 2) {
                                    if ((int)(uint)*pbVar31 < piVar7[9]) {
                                      fVar34 = (float)*pbVar31;
                                      iVar22 = (int)fVar34 * 0x58;
                                    }
                                    else if (*local_10d8 == 0x1a9) {
                                      fVar34 = 0.0;
                                      iVar22 = 0;
                                    }
                                    else {
                                      (*(code *)PTR_ThrowMagickException_003a8f20)
                                                (local_10d8,PTR_s_courses_003a88ec + 0x6f4,
                                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c +
                                                 -0x3dd4,0x23,0x1a9,puVar21,puVar12,piVar7 + 0xd0);
                                      fVar34 = 0.0;
                                      iVar22 = 0;
                                      iVar13 = piVar7[6];
                                    }
                                    iVar23 = piVar7[0xb4];
                                    if (*(int *)(iVar23 + 0x40) != 0) {
                                      *(float *)(iVar5 + *(int *)(iVar23 + 0x44) * 4) = fVar34;
                                    }
                                    iVar20 = *(int *)(iVar23 + 0x14);
                                    iVar22 = piVar7[10] + iVar22;
                                    iVar27 = *(int *)(iVar23 + 0x20);
                                    dVar36 = *(double *)(iVar22 + 0x30);
                                    dVar35 = *(double *)(iVar22 + 0x38);
                                    *(float *)(iVar5 + *(int *)(iVar23 + 8) * 4) =
                                         (float)*(double *)(iVar22 + 0x28);
                                    *(float *)(iVar5 + iVar20 * 4) = (float)dVar36;
                                    *(float *)(iVar5 + iVar27 * 4) = (float)dVar35;
                                  }
                                  else if (local_1066 == 0x10) {
                                    bVar1 = pbVar31[1];
                                    iVar22 = piVar7[0xb4];
                                    bVar2 = *pbVar31;
                                    iVar27 = *(int *)(iVar22 + 0x14);
                                    iVar23 = *(int *)(iVar22 + 0x20);
                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =
                                         (float)((double)((bVar2 & 0x7c) << 1) * dVar33);
                                    *(float *)(iVar5 + iVar27 * 4) =
                                         (float)((double)(bVar1 >> 2 & 0x38 | (bVar2 & 3) << 6) *
                                                dVar33);
                                    *(float *)(iVar5 + iVar23 * 4) =
                                         (float)((double)((bVar1 & 0x1f) << 3) * dVar33);
                                    pbVar31 = pbVar31 + 1;
                                  }
                                  else if (piVar7[0xaf] == 0) {
                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 2 + local_1094 <
                                        pbVar31) {
                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);
                                      if (local_10cc != 0) {
                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();
                                      }
                                      uVar26 = 0x523;
                                      goto LAB_0027504c;
                                    }
                                    iVar22 = piVar7[0xb4];
                                    iVar27 = *(int *)(iVar22 + 0x14);
                                    iVar23 = *(int *)(iVar22 + 0x20);
                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =
                                         (float)((double)*pbVar31 * dVar32);
                                    *(float *)(iVar5 + iVar27 * 4) =
                                         (float)((double)pbVar31[iVar13] * dVar32);
                                    *(float *)(iVar5 + iVar23 * 4) =
                                         (float)((double)(pbVar31 + iVar13)[iVar13] * dVar32);
                                  }
                                  else {
                                    if (unaff_s3 + *(int *)(unaff_s0 + 0x18) * 3 + local_1094 <
                                        pbVar31) {
                                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);
                                      if (local_10cc != 0) {
                                        (*(code *)PTR_DestroyImageInfo_003a95e8)();
                                      }
                                      uVar26 = 0x52e;
                                      goto LAB_0027504c;
                                    }
                                    iVar22 = piVar7[0xb4];
                                    pbVar24 = pbVar31 + iVar13;
                                    if (*(int *)(iVar22 + 0x34) != 0) {
                                      *(float *)(iVar5 + *(int *)(iVar22 + 0x38) * 4) =
                                           (float)((double)*pbVar31 * in_f22_23);
                                    }
                                    dVar35 = *(double *)(local_10ac + -0x5af0);
                                    iVar27 = *(int *)(iVar22 + 0x14);
                                    iVar23 = *(int *)(iVar22 + 0x20);
                                    *(float *)(iVar5 + *(int *)(iVar22 + 8) * 4) =
                                         (float)((double)*pbVar24 * dVar35);
                                    *(float *)(iVar5 + iVar27 * 4) =
                                         (float)((double)pbVar24[iVar13] * dVar35);
                                    *(float *)(iVar5 + iVar23 * 4) =
                                         (float)((double)(pbVar24 + iVar13)[iVar13] * dVar35);
                                  }
                                  iVar9 = iVar9 + 1;
                                  pbVar31 = pbVar31 + 1;
                                  iVar5 = iVar5 + piVar7[0xb0] * 4;
                                } while (iVar9 < iVar13);
                              }
                              iVar5 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(piVar7,local_10d8)
                              ;
                              if (((iVar5 == 0) ||
                                  (((*piVar7 == 1 && (local_1066 != 0x10)) &&
                                   (pbVar31 = pbVar31 + (local_1064 + -1) * piVar7[6],
                                   pbVar31 < unaff_s3)))) ||
                                 ((iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)
                                                     (unaff_s0,
                                                  PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +
                                                  -0x2dd0,local_10b0,uVar29,0,piVar7[7]), iVar5 == 0
                                  || (uVar30 = uVar29 + 1, piVar7[7] <= (int)uVar30))))
                              goto LAB_00276500;
                              local_10b0 = (uint)(uVar30 < uVar29) + local_10b0;
                              uVar29 = uVar30;
                            } while (pbVar31 <= unaff_s3 + *(int *)(unaff_s0 + 0x18) + local_1094);
                          }
                          (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(unaff_s3);
                          (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);
                          if (local_10cc != 0) {
                            (*(code *)PTR_DestroyImageInfo_003a95e8)();
                          }
                          uVar26 = 0x4fc;
                          unaff_s7 = piVar7;
LAB_0027504c:
                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;
                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);
                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;
                          puVar12 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3ce8;
                          piVar7 = unaff_s7;
                        }
                        goto LAB_0027507c;
                      }
                      (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);
                      if (local_10cc != 0) {
                        (*(code *)PTR_DestroyImageInfo_003a95e8)();
                      }
                      uVar26 = 0x4db;
                      unaff_s7 = piVar7;
                    }
                    goto LAB_002757bc;
                  }
                  (*(code *)PTR_DestroyImage_003a8f4c)(piVar7);
                  if (local_10cc != 0) {
                    (*(code *)PTR_DestroyImageInfo_003a95e8)();
                  }
                  uVar26 = 0x4d7;
                  unaff_s7 = piVar7;
                  goto LAB_00275880;
                }
                if (unaff_s3 != (byte *)0x0) {
                  (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);
                }
                if (local_10cc != 0) {
                  (*(code *)PTR_DestroyImageInfo_003a95e8)();
                }
                uVar26 = 0x491;
LAB_002757bc:
                puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;
                uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);
                puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;
                puVar12 = PTR_s_courses_003a88ec + -400;
                piVar7 = unaff_s7;
LAB_0027507c:
                uVar8 = 0x1a9;
                unaff_s7 = piVar7;
LAB_00275084:
                (*(code *)PTR_ThrowMagickException_003a8f20)
                          (local_10d8,puVar21,puVar25,uVar26,uVar8,puVar12,uVar37);
LAB_00274208:
                (*(code *)PTR_CloseBlob_003a9688)(unaff_s0);
                (*(code *)PTR_DestroyImageList_003a9510)(unaff_s0);
LAB_00274224:
                uVar26 = 0;
                goto LAB_00274228;
              }
              if (*(int *)(unaff_s0 + 0x3350) != 0) {
                (*(code *)PTR_LogMagickEvent_003a91e0)
                          (0x10,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,
                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,0x3d3,
                           PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d2c,unaff_s7);
              }
              if (unaff_s7 != (int *)0xc00) {
LAB_00274584:
                if (&DAT_0000001f < unaff_s7 + -0x2c) {
LAB_00274594:
                  if ((int *)0xff < unaff_s7 + -0x2000) {
                    if (unaff_s7 == (int *)0x8200) {
                      uVar28 = (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);
                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);
                      if (((int)((ulonglong)uVar37 >> 0x20) == 0) && ((uint)uVar37 < uVar28)) {
                        if (unaff_s3 != (byte *)0x0) {
                          (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);
                        }
                        if (local_10cc != 0) {
                          (*(code *)PTR_DestroyImageInfo_003a95e8)();
                        }
                        uVar26 = 0x5b9;
                        goto LAB_00275880;
                      }
                      iVar5 = 6;
                      if (0x9a < uVar28) {
                        do {
                          iVar5 = iVar5 + -1;
                          (*(code *)PTR_ReadBlobMSBLong_003a8d98)(unaff_s0);
                        } while (iVar5 != 0);
                        iVar5 = FUN_002739c8(unaff_s0,local_10bc);
                        if (iVar5 == 0) {
                          if (unaff_s3 != (byte *)0x0) {
                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);
                          }
                          if (local_10cc != 0) {
                            (*(code *)PTR_DestroyImageInfo_003a95e8)();
                          }
                          uVar26 = 0x5c8;
                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);
LAB_00275b88:
                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;
                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;
                          puVar12 = PTR_s_courses_003a88ec + -400;
                          uVar8 = 0x1a9;
                        }
                        else {
                          iVar5 = 0x7a;
                          do {
                            iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
                            if (iVar13 == -1) break;
                            iVar5 = iVar5 + -1;
                          } while (iVar5 != 0);
                          iVar5 = uVar28 - 0x9a;
                          piVar6 = (int *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(iVar5,1);
                          pbVar31 = local_10d0 + 0x2210;
                          if (piVar6 != (int *)0x0) {
                            uVar26 = (*(code *)PTR_ReadBlobStream_003a9098)
                                               (unaff_s0,iVar5,piVar6,&local_1080);
                            if (local_1080 == iVar5) {
                              iVar5 = (*(code *)PTR_AcquireImageInfo_003a91d0)();
                              (*(code *)PTR_FormatLocaleString_003a8d7c)
                                        (iVar5 + 0x2210,0x1000,
                                         PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + 0x4b4c,
                                         pbVar31);
                              unaff_s3 = (byte *)(*(code *)PTR_BlobToImage_003a9330)
                                                           (iVar5,uVar26,local_1080,local_10d8);
                              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);
                              local_10cc = (*(code *)PTR_DestroyImageInfo_003a95e8)(iVar5);
                              goto LAB_00274de8;
                            }
                            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(piVar6);
                            if (unaff_s3 != (byte *)0x0) {
                              (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);
                            }
                            if (local_10cc != 0) {
                              (*(code *)PTR_DestroyImageInfo_003a95e8)();
                            }
                            uVar26 = 0x5d5;
                            uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);
                            unaff_s7 = piVar6;
                            goto LAB_00275b88;
                          }
                          if (unaff_s3 != (byte *)0x0) {
                            (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);
                          }
                          if (local_10cc != 0) {
                            (*(code *)PTR_DestroyImageInfo_003a95e8)();
                          }
                          uVar26 = 0x5d0;
                          puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;
                          uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,pbVar31);
                          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;
                          puVar12 = PTR_LAB_003a88e0 + 0x16f8;
                          uVar8 = 400;
                        }
                        goto LAB_00275084;
                      }
LAB_00274de8:
                      local_10b8 = 1;
                      if (unaff_s3 != (byte *)0x0) {
                        uVar28 = *(uint *)(unaff_s3 + 0x18);
                        if (uVar28 < *(uint *)(unaff_s0 + 0x18)) {
                          uVar28 = *(uint *)(unaff_s0 + 0x18);
                        }
                        dVar33 = (double)(int)uVar28;
                        if ((int)uVar28 < 0) {
                          dVar33 = dVar33 + *(double *)(local_10c8 + 0x1418);
                        }
                        uVar29 = *(uint *)(unaff_s0 + 0x1c);
                        uVar28 = *(uint *)(unaff_s3 + 0x1c);
                        if (uVar28 < uVar29) {
                          in_f2_3 = (double)(int)uVar29;
                          if ((int)uVar29 < 0) {
LAB_00275d54:
                            in_f2_3 = in_f2_3 + *(double *)(local_10c8 + 0x1418);
                          }
                        }
                        else {
                          in_f2_3 = (double)(int)uVar28;
                          if ((int)uVar28 < 0) {
                            in_f2_3 = in_f2_3 + in_f24_25;
                          }
                        }
                        (*(code *)PTR_FormatLocaleString_003a8d7c)
                                  (auStack_1054,0x1000,PTR_s_courses_003a88ec + 0x494);
                        uVar28 = *(uint *)(unaff_s0 + 0x18);
                        if (*(uint *)(unaff_s0 + 0x18) <= *(uint *)(unaff_s3 + 0x18)) {
                          uVar28 = *(uint *)(unaff_s3 + 0x18);
                        }
                        uVar29 = *(uint *)(unaff_s3 + 0x1c);
                        if (*(uint *)(unaff_s3 + 0x1c) < *(uint *)(unaff_s0 + 0x1c)) {
                          uVar29 = *(uint *)(unaff_s0 + 0x1c);
                        }
                        (*(code *)PTR_SetImageExtent_003a94ac)
                                  (unaff_s0,uVar28,uVar29,local_10d8,dVar33,in_f2_3);
                        (*(code *)PTR_TransformImageColorspace_003a9180)
                                  (unaff_s0,*(undefined4 *)(unaff_s3 + 4),local_10d8);
                        (*(code *)PTR_CompositeImage_003a8cc4)
                                  (unaff_s0,unaff_s3,0xd,1,(int)local_108e,(int)local_108a);
                        puVar12 = PTR_DestroyImage_003a8f4c;
                        *(undefined4 *)(unaff_s0 + 8) = *(undefined4 *)(unaff_s3 + 8);
                        unaff_s3 = (byte *)(*(code *)puVar12)(unaff_s3);
                        local_10b8 = 1;
                      }
                      goto LAB_002744b8;
                    }
                    pbVar31 = unaff_s3;
                    piVar6 = unaff_s7;
                    if ((unaff_s7 == (int *)0xff) || (pbVar31 = unaff_s3, unaff_s7 == (int *)0xffff)
                       ) goto LAB_00274430;
                    if ((unaff_s7 + -0x34 < (int *)0x2f) || (unaff_s7 + -0x2040 < (int *)0x7f00)) {
                      uVar28 = (*(code *)PTR_ReadBlobMSBShort_003a9160)(unaff_s0);
                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);
                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) || (uVar28 <= (uint)uVar37)) {
                        if (uVar28 != 0) {
                          uVar29 = 0;
                          do {
                            iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
                            if (iVar5 == -1) break;
                            uVar29 = uVar29 + 1;
                          } while (uVar28 != uVar29);
                        }
                        goto LAB_002744b8;
                      }
                      if (unaff_s3 != (byte *)0x0) {
                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);
                      }
                      if (local_10cc != 0) {
                        (*(code *)PTR_DestroyImageInfo_003a95e8)();
                      }
                      uVar26 = 0x5f8;
                    }
                    else {
                      if ((int *)0x7eff < unaff_s7 + -0x40) goto LAB_002744b8;
                      uVar37 = (*(code *)PTR_GetBlobSize_003a94b8)(unaff_s0);
                      if (((int)((ulonglong)uVar37 >> 0x20) != 0) ||
                         ((uint)((int)unaff_s7 >> 7) <= (uint)uVar37)) {
                        uVar28 = 0;
                        do {
                          iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
                          if (iVar5 == -1) break;
                          uVar28 = uVar28 + 1;
                        } while ((int)unaff_s7 >> 7 != uVar28);
                        goto LAB_002744b8;
                      }
                      if (unaff_s3 != (byte *)0x0) {
                        (*(code *)PTR_DestroyImage_003a8f4c)(unaff_s3);
                      }
                      if (local_10cc != 0) {
                        (*(code *)PTR_DestroyImageInfo_003a95e8)();
                      }
                      uVar26 = 0x606;
                    }
LAB_00275880:
                    puVar25 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc;
                    uVar37 = CONCAT44(PTR_LAB_003a88e0 + 0x3e28,local_10d0 + 0x2210);
                    puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60;
                    puVar12 = PTR_s_courses_003a88ec + 0x4a0;
                    piVar7 = unaff_s7;
                    goto LAB_0027507c;
                  }
                }
                goto LAB_002744b8;
              }
              iVar5 = 0x18;
              do {
                iVar13 = (*(code *)PTR_ReadBlobByte_003a97f0)(unaff_s0);
                if (iVar13 == -1) break;
                iVar5 = iVar5 + -1;
              } while (iVar5 != 0);
            } while( true );
          }
          uVar26 = 0x3a8;
        }
      }
LAB_002741b8:
      (*(code *)PTR_ThrowMagickException_003a8f20)
                (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,
                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dbc,uVar26,0x1a9,
                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,param_1 + 0x2210);
      if (unaff_s0 == 0) goto LAB_00274224;
      goto LAB_00274208;
    }
  }
  else {
    (*(code *)PTR___assert_fail_003a9608)
              (PTR_LAB_003a88e0 + 0xda0,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,
               0x375,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);
  }
  (*(code *)PTR___assert_fail_003a9608)
            (PTR_LAB_003a88e0 + 0x294c,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,
             0x37a,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);
LAB_00275e6c:
  (*(code *)PTR___assert_fail_003a9608)
            (PTR_LAB_003a88e0 + 0x1cac,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3d60,
             0x379,PTR_s_pixels_3_def_____currentfile_byt_003a894c + -0x3dac);
  goto LAB_00275e90;
}

