
/* WARNING: Removing unreachable block (ram,0x0004a280) */
/* WARNING: Removing unreachable block (ram,0x0004a2a0) */
/* WARNING: Removing unreachable block (ram,0x0004a2b8) */
/* WARNING: Removing unreachable block (ram,0x0004a2f4) */
/* WARNING: Removing unreachable block (ram,0x0004a74c) */
/* WARNING: Removing unreachable block (ram,0x0004a308) */
/* WARNING: Removing unreachable block (ram,0x0004a768) */
/* WARNING: Removing unreachable block (ram,0x0004a77c) */
/* WARNING: Removing unreachable block (ram,0x0004a788) */
/* WARNING: Removing unreachable block (ram,0x0004a334) */
/* WARNING: Removing unreachable block (ram,0x0004a344) */
/* WARNING: Removing unreachable block (ram,0x0004a350) */
/* WARNING: Removing unreachable block (ram,0x0004a370) */
/* WARNING: Removing unreachable block (ram,0x0004a760) */
/* WARNING: Removing unreachable block (ram,0x0004a374) */
/* WARNING: Removing unreachable block (ram,0x0004a388) */
/* WARNING: Removing unreachable block (ram,0x0004a394) */
/* WARNING: Removing unreachable block (ram,0x0004a0bc) */
/* WARNING: Removing unreachable block (ram,0x0004a0d4) */
/* WARNING: Removing unreachable block (ram,0x0004a70c) */
/* WARNING: Removing unreachable block (ram,0x0004a0f8) */
/* WARNING: Removing unreachable block (ram,0x0004a118) */
/* WARNING: Removing unreachable block (ram,0x0004a11c) */
/* WARNING: Removing unreachable block (ram,0x0004a124) */
/* WARNING: Removing unreachable block (ram,0x00049f84) */
/* 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 */

MagickBooleanType
OpenBlob(ImageInfo *image_info,Image *image,BlobMode mode,ExceptionInfo *exception)

{
  undefined *puVar1;
  undefined *puVar2;
  undefined *puVar3;
  int iVar4;
  int iVar5;
  undefined4 *puVar6;
  undefined4 uVar7;
  FILE *pFVar8;
  StreamType SVar9;
  void *pvVar10;
  int iVar11;
  undefined4 uVar12;
  Image *unaff_s1;
  ExceptionInfo *unaff_s3;
  char *unaff_s4;
  undefined1 *unaff_s5;
  char *unaff_s6;
  BlobInfo *unaff_s7;
  code *pcVar13;
  MagickBooleanType MVar14;
  MagickSizeType MVar15;
  char extension [4096];
  char filename [4096];
  char fileMode [4096];
  
  puVar3 = PTR___stack_chk_guard_003a9230;
  iVar4 = *(int *)PTR___stack_chk_guard_003a9230;
  pcVar13 = (code *)PTR___assert_fail_003a9608;
  if (image_info == (ImageInfo *)0x0) {
LAB_0004a7e4:
    (*pcVar13)(PTR_LAB_003a88e0 + 0x1c88,PTR_LAB_003a88e0 + 0x1ad8,0xca1,PTR_LAB_003a88e0 + 0x23d8);
    image = unaff_s1;
    exception = unaff_s3;
    mode = (BlobMode)unaff_s4;
  }
  else {
    if (image_info->signature != 0xabacadab) {
      (*(code *)PTR___assert_fail_003a9608)
                (PTR_LAB_003a88e0 + 0xda0,PTR_LAB_003a88e0 + 0x1ad8,0xca2,PTR_LAB_003a88e0 + 0x23d8)
      ;
      goto LAB_0004a7e4;
    }
    if (image_info->debug != MagickFalse) {
      (*(code *)PTR_LogMagickEvent_003a91e0)
                (0x8000,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xca4,
                 PTR_s_t_to_left_003a88e4 + -0x62ac,image_info->filename);
    }
    puVar1 = PTR_AttachBlob_003a92c8;
    if (image == (Image *)0x0) goto LAB_0004a824;
    if (image->signature == 0xabacadab) {
      pvVar10 = image_info->blob;
      unaff_s7 = image->blob;
      if (pvVar10 != (void *)0x0) {
        if (image_info->stream != (StreamHandler)0x0) {
          unaff_s7->stream = image_info->stream;
        }
        MVar14 = MagickTrue;
        (*(code *)puVar1)(unaff_s7,pvVar10,image_info->length);
        goto LAB_00049c58;
      }
      if ((image_info->custom_stream != (CustomStreamInfo *)0x0) &&
         (MVar14 = MagickTrue, image->filename[0] == '\0')) {
        unaff_s7->custom_stream = image_info->custom_stream;
        unaff_s7->type = CustomStream;
        goto LAB_00049c58;
      }
      (*(code *)PTR_DetachBlob_003a976c)(unaff_s7,0,0xca7);
      unaff_s7->mode = mode;
      if (mode < (AppendBinaryBlobMode|ReadBlobMode)) {
                    /* WARNING: Could not emulate address calculation at 0x00049d10 */
                    /* WARNING: Treating indirect jump as call */
        MVar14 = (*(code *)(&_gp + *(int *)(PTR_LAB_003a88e0 + mode * 4 + 0x2098)))();
        return MVar14;
      }
      unaff_s5 = PTR_LAB_003a88e0 + 0x4aa0;
      unaff_s6 = image->filename;
      if (image_info->stream == (StreamHandler)0x0) {
        filename[0] = '\0';
        (*(code *)PTR_CopyMagickString_003a983c)(filename,unaff_s6,0x1000);
      }
      else {
        unaff_s7->stream = image_info->stream;
        filename[0] = '\0';
        (*(code *)PTR_CopyMagickString_003a983c)(filename,unaff_s6,0x1000);
      }
      mode = (BlobMode)filename;
      iVar5 = (*(code *)PTR_IsRightsAuthorized_003a8db0)(4,1,mode);
      if (iVar5 == 0) {
        puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();
        *puVar6 = 1;
        (*(code *)PTR_ThrowMagickException_003a8f20)
                  (exception,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcd9,499,
                   PTR_LAB_003a88e0 + 0x1e9c,PTR_LAB_003a88e0 + 0x3e28,mode);
        MVar14 = MagickFalse;
        goto LAB_00049c58;
      }
      iVar5 = (*(code *)PTR_LocaleCompare_003a9110)(mode,PTR_s_courses_003a88ec + -0x7ac);
      puVar2 = PTR_GetImageOption_003a9168;
      puVar1 = PTR_LAB_003a88e0;
      if ((iVar5 == 0) || ((filename[0] == '\0' && (image_info->file == (FILE *)0x0)))) {
        exception = (ExceptionInfo *)0x2;
        unaff_s7->file_info = *(FileInfo *)PTR_stdin_003a8fc4;
        unaff_s7->type = StandardStream;
        unaff_s7->exempt = MagickTrue;
        iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac);
        if (iVar5 != 0) {
          iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);
          uVar7 = 2;
          if (iVar5 != 0) {
            uVar7 = 0;
          }
          pFVar8 = (image->blob->file_info).file;
          goto LAB_00049fe8;
        }
      }
      else {
        iVar5 = (*(code *)PTR_LocaleNCompare_003a961c)(mode,PTR_LAB_003a88e0 + 0x1ec0,3);
        if (iVar5 == 0) {
          iVar5 = (*(code *)PTR_IsGeometry_003a9418)(filename + 3);
          if (iVar5 != 0) {
            fileMode[0] = 'r';
            fileMode[1] = '\0';
            uVar7 = (*(code *)PTR_strtol_003a954c)(filename + 3,0,10);
            pFVar8 = (FILE *)(*(code *)PTR_fdopen_003a97d8)(uVar7,fileMode);
            (unaff_s7->file_info).file = pFVar8;
            puVar2 = PTR_GetImageOption_003a9168;
            puVar1 = PTR_LAB_003a88e0;
            if (pFVar8 != (FILE *)0x0) {
              unaff_s7->type = FileStream;
              unaff_s7->exempt = MagickTrue;
              iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac);
              if (iVar5 == 0) {
                iVar5 = 0x4000;
                pFVar8 = (image->blob->file_info).file;
                uVar7 = 0;
              }
              else {
                iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);
                uVar7 = 2;
                if (iVar5 != 0) {
                  uVar7 = 0;
                }
                pFVar8 = (image->blob->file_info).file;
              }
              iVar5 = (*(code *)PTR_setvbuf_003a90f4)(pFVar8,0,uVar7,iVar5);
              MVar14 = (MagickBooleanType)(iVar5 == 0);
              goto LAB_00049c58;
            }
            puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();
            uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);
            (*(code *)PTR_ThrowMagickException_003a8f20)
                      (exception,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,
                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,mode,uVar7);
            (*(code *)PTR_DestroyString_003a9074)(uVar7);
            MVar14 = MagickFalse;
            goto LAB_00049c58;
          }
        }
        iVar5 = (*(code *)PTR_GetPathAttributes_003a9364)(mode,&unaff_s7->properties);
        if ((iVar5 == 0) || (((unaff_s7->properties).st_mode & 0xf000) != 0x1000)) {
          (*(code *)PTR_GetPathComponent_003a8e18)(unaff_s6,6,extension);
          if (image_info->file != (FILE *)0x0) {
            (unaff_s7->file_info).file = image_info->file;
            unaff_s7->status = MagickFalse;
            unaff_s7->type = FileStream;
            unaff_s7->exempt = MagickTrue;
            unaff_s7->error_number = 0;
            goto LAB_00049e88;
          }
          pFVar8 = (FILE *)(*(code *)PTR_fopen64_003a8c68)(mode,unaff_s5);
          (unaff_s7->file_info).file = pFVar8;
          puVar2 = PTR_GetImageOption_003a9168;
          puVar1 = PTR_LAB_003a88e0;
          if (pFVar8 != (FILE *)0x0) {
            unaff_s7->type = FileStream;
            iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac);
            if (iVar5 == 0) {
              iVar5 = 0x4000;
              iVar11 = 0;
              pFVar8 = (image->blob->file_info).file;
            }
            else {
              iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);
              iVar11 = (uint)(iVar5 == 0) << 1;
              pFVar8 = (image->blob->file_info).file;
            }
            (*(code *)PTR_setvbuf_003a90f4)(pFVar8,0,iVar11,iVar5);
            fileMode[0] = '\0';
            fileMode[1] = '\0';
            fileMode[2] = '\0';
            unaff_s5 = (undefined1 *)
                       (*(code *)PTR_fread_003a8db8)(fileMode,1,3,(unaff_s7->file_info).file);
            (*(code *)PTR_fseeko64_003a9944)((unaff_s7->file_info).file);
            (*(code *)PTR_fflush_003a948c)((unaff_s7->file_info).file);
            (*(code *)PTR_LogMagickEvent_003a91e0)
                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,
                       PTR_LAB_003a88e0 + 0x1ef0);
            SVar9 = unaff_s7->type;
            if (SVar9 != FileStream) goto LAB_0004a138;
            uVar7 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();
            unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(image_info->magick,uVar7)
            ;
            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar7);
            if ((((unaff_s5 != (undefined1 *)0x0) &&
                 (iVar5 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar5 != 0)) &&
                (unaff_s5 = *(undefined1 **)((int)&(unaff_s7->properties).st_size + 4),
                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&
               (iVar5 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar5 != 0)) {
              uVar7 = (*(code *)PTR_fileno_003a99cc)((unaff_s7->file_info).file);
              unaff_s6 = (char *)(*(code *)PTR_MapBlob_003a978c)(uVar7,0,0,0,unaff_s5);
              if (unaff_s6 == (char *)0x0) {
                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);
                SVar9 = unaff_s7->type;
                goto LAB_0004a138;
              }
              pcVar13 = (code *)PTR_fclose_003a939c;
              if (image_info->file == (FILE *)0x0) goto LAB_0004a850;
              unaff_s7->exempt = MagickFalse;
              goto LAB_0004a650;
            }
          }
          SVar9 = unaff_s7->type;
          goto LAB_0004a138;
        }
        pFVar8 = (FILE *)(*(code *)PTR_fopen64_003a8c68)(mode,unaff_s5);
        (unaff_s7->file_info).file = pFVar8;
        puVar2 = PTR_GetImageOption_003a9168;
        puVar1 = PTR_LAB_003a88e0;
        if (pFVar8 == (FILE *)0x0) {
          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();
          uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);
          uVar12 = 0xd23;
          goto LAB_0004a16c;
        }
        unaff_s7->type = FileStream;
        unaff_s7->exempt = MagickTrue;
        iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac);
        if (iVar5 != 0) {
          iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);
          uVar7 = 2;
          if (iVar5 != 0) {
            uVar7 = 0;
          }
          pFVar8 = (image->blob->file_info).file;
          goto LAB_00049fe8;
        }
      }
      iVar5 = 0x4000;
      uVar7 = 0;
      pFVar8 = (image->blob->file_info).file;
LAB_00049fe8:
      iVar5 = (*(code *)PTR_setvbuf_003a90f4)(pFVar8,0,uVar7,iVar5);
      MVar14 = (MagickBooleanType)(iVar5 == 0);
      goto LAB_00049c58;
    }
  }
  (*(code *)PTR___assert_fail_003a9608)
            (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,PTR_LAB_003a88e0 + 0x1ad8);
LAB_0004a824:
  (*(code *)PTR___assert_fail_003a9608)(PTR_LAB_003a88e0 + 0xdd0,PTR_LAB_003a88e0 + 0x1ad8);
  do {
    pcVar13 = (code *)PTR___stack_chk_fail_003a9064;
    (*(code *)PTR___stack_chk_fail_003a9064)();
LAB_0004a850:
    (*pcVar13)((unaff_s7->file_info).file);
    (unaff_s7->file_info).file = (FILE *)0x0;
LAB_0004a650:
    (*(code *)PTR_AttachBlob_003a92c8)(unaff_s7,unaff_s6,unaff_s5);
    SVar9 = unaff_s7->type;
    unaff_s7->mapped = MagickTrue;
LAB_0004a138:
    unaff_s7->status = MagickFalse;
    unaff_s7->error_number = 0;
    if (SVar9 == UndefinedStream) {
      puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();
      uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);
      uVar12 = 0xdd1;
LAB_0004a16c:
      MVar14 = MagickFalse;
      (*(code *)PTR_ThrowMagickException_003a8f20)
                (exception,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,uVar12,0x1b3,
                 PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,mode,uVar7);
      (*(code *)PTR_DestroyString_003a9074)(uVar7);
    }
    else {
LAB_00049e88:
      MVar14 = MagickTrue;
      MVar15 = (*(code *)PTR_GetBlobSize_003a94b8)(image);
      unaff_s7->size = MVar15;
    }
LAB_00049c58:
  } while (iVar4 != *(int *)puVar3);
  return MVar14;
}



/* WARNING: Removing unreachable block (ram,0x0004a280) */
/* WARNING: Removing unreachable block (ram,0x0004a2a0) */
/* WARNING: Removing unreachable block (ram,0x0004a2b8) */
/* WARNING: Removing unreachable block (ram,0x0004a2f4) */
/* WARNING: Removing unreachable block (ram,0x0004a74c) */
/* WARNING: Removing unreachable block (ram,0x0004a308) */
/* WARNING: Removing unreachable block (ram,0x0004a768) */
/* WARNING: Removing unreachable block (ram,0x0004a77c) */
/* WARNING: Removing unreachable block (ram,0x0004a788) */
/* WARNING: Removing unreachable block (ram,0x0004a334) */
/* WARNING: Removing unreachable block (ram,0x0004a344) */
/* WARNING: Removing unreachable block (ram,0x0004a350) */
/* WARNING: Removing unreachable block (ram,0x0004a370) */
/* WARNING: Removing unreachable block (ram,0x0004a760) */
/* WARNING: Removing unreachable block (ram,0x0004a374) */
/* WARNING: Removing unreachable block (ram,0x0004a388) */
/* WARNING: Removing unreachable block (ram,0x0004a394) */
/* WARNING: Removing unreachable block (ram,0x0004a0bc) */
/* WARNING: Removing unreachable block (ram,0x0004a0d4) */
/* WARNING: Removing unreachable block (ram,0x0004a70c) */
/* WARNING: Removing unreachable block (ram,0x0004a0f8) */
/* WARNING: Removing unreachable block (ram,0x0004a118) */
/* WARNING: Removing unreachable block (ram,0x0004a11c) */
/* WARNING: Removing unreachable block (ram,0x0004a124) */
/* WARNING: Removing unreachable block (ram,0x00049f84) */

uint OpenBlob(int param_1,int param_2,char *param_3,undefined4 param_4)

{
  undefined *puVar1;
  undefined *puVar2;
  undefined *puVar3;
  undefined4 *puVar4;
  undefined4 uVar5;
  int iVar6;
  int iVar7;
  undefined4 uVar8;
  int unaff_s1;
  undefined4 unaff_s3;
  char *unaff_s4;
  undefined1 *unaff_s5;
  int unaff_s6;
  int unaff_s7;
  code *pcVar9;
  uint uVar10;
  undefined8 uVar11;
  undefined1 local_302c [4096];
  char local_202c [3];
  undefined1 auStack_2029 [4093];
  undefined2 local_102c;
  undefined1 local_102a;
  int local_2c;
  
  puVar3 = PTR___stack_chk_guard_003a9230;
  local_2c = *(int *)PTR___stack_chk_guard_003a9230;
  pcVar9 = (code *)PTR___assert_fail_003a9608;
  if (param_1 == 0) {
LAB_0004a7e4:
    (*pcVar9)(PTR_LAB_003a88e0 + 0x1c88,PTR_LAB_003a88e0 + 0x1ad8,0xca1,PTR_LAB_003a88e0 + 0x23d8);
    param_2 = unaff_s1;
    param_4 = unaff_s3;
    param_3 = unaff_s4;
  }
  else {
    if (*(int *)(param_1 + 0x3214) != -0x54535255) {
      (*(code *)PTR___assert_fail_003a9608)
                (PTR_LAB_003a88e0 + 0xda0,PTR_LAB_003a88e0 + 0x1ad8,0xca2,PTR_LAB_003a88e0 + 0x23d8)
      ;
      goto LAB_0004a7e4;
    }
    if (*(int *)(param_1 + 0x3210) != 0) {
      (*(code *)PTR_LogMagickEvent_003a91e0)
                (0x8000,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xca4,
                 PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210);
    }
    puVar1 = PTR_AttachBlob_003a92c8;
    if (param_2 == 0) goto LAB_0004a824;
    if (*(int *)(param_2 + 0x336c) == -0x54535255) {
      iVar6 = *(int *)(param_1 + 0x208);
      unaff_s7 = *(int *)(param_2 + 0x3348);
      if (iVar6 != 0) {
        if (*(int *)(param_1 + 0x200) != 0) {
          *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);
        }
        uVar10 = 1;
        (*(code *)puVar1)(unaff_s7,iVar6,*(undefined4 *)(param_1 + 0x20c));
        goto LAB_00049c58;
      }
      if ((*(int *)(param_1 + 0x3218) != 0) && (uVar10 = 1, *(char *)(param_2 + 0x340) == '\0')) {
        *(int *)(unaff_s7 + 0xec) = *(int *)(param_1 + 0x3218);
        *(undefined4 *)(unaff_s7 + 0x40) = 8;
        goto LAB_00049c58;
      }
      (*(code *)PTR_DetachBlob_003a976c)(unaff_s7,0,0xca7);
      *(char **)(unaff_s7 + 0xc) = param_3;
      if (param_3 < &DAT_00000007) {
                    /* WARNING: Could not emulate address calculation at 0x00049d10 */
                    /* WARNING: Treating indirect jump as call */
        uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098)))();
        return uVar10;
      }
      unaff_s5 = PTR_LAB_003a88e0 + 0x4aa0;
      unaff_s6 = param_2 + 0x340;
      if (*(int *)(param_1 + 0x200) == 0) {
        local_202c[0] = '\0';
        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);
      }
      else {
        *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);
        local_202c[0] = '\0';
        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);
      }
      param_3 = local_202c;
      iVar6 = (*(code *)PTR_IsRightsAuthorized_003a8db0)(4,1,param_3);
      if (iVar6 == 0) {
        puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();
        *puVar4 = 1;
        (*(code *)PTR_ThrowMagickException_003a8f20)
                  (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcd9,499,
                   PTR_LAB_003a88e0 + 0x1e9c,PTR_LAB_003a88e0 + 0x3e28,param_3);
        uVar10 = 0;
        goto LAB_00049c58;
      }
      iVar6 = (*(code *)PTR_LocaleCompare_003a9110)(param_3,PTR_s_courses_003a88ec + -0x7ac);
      puVar2 = PTR_GetImageOption_003a9168;
      puVar1 = PTR_LAB_003a88e0;
      if ((iVar6 == 0) || ((local_202c[0] == '\0' && (*(int *)(param_1 + 0x204) == 0)))) {
        param_4 = 2;
        *(undefined4 *)(unaff_s7 + 0x44) = *(undefined4 *)PTR_stdin_003a8fc4;
        *(undefined4 *)(unaff_s7 + 0x40) = 2;
        *(undefined4 *)(unaff_s7 + 0x30) = 1;
        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);
        if (iVar6 != 0) {
          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);
          uVar5 = 2;
          if (iVar6 != 0) {
            uVar5 = 0;
          }
          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);
          goto LAB_00049fe8;
        }
      }
      else {
        iVar6 = (*(code *)PTR_LocaleNCompare_003a961c)(param_3,PTR_LAB_003a88e0 + 0x1ec0,3);
        if (iVar6 == 0) {
          iVar6 = (*(code *)PTR_IsGeometry_003a9418)(auStack_2029);
          if (iVar6 != 0) {
            local_102c = 0x7200;
            uVar5 = (*(code *)PTR_strtol_003a954c)(auStack_2029,0,10);
            iVar6 = (*(code *)PTR_fdopen_003a97d8)(uVar5,&local_102c);
            *(int *)(unaff_s7 + 0x44) = iVar6;
            puVar2 = PTR_GetImageOption_003a9168;
            puVar1 = PTR_LAB_003a88e0;
            if (iVar6 != 0) {
              *(undefined4 *)(unaff_s7 + 0x40) = 1;
              *(undefined4 *)(unaff_s7 + 0x30) = 1;
              iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);
              if (iVar6 == 0) {
                iVar6 = 0x4000;
                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);
                uVar5 = 0;
              }
              else {
                iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);
                uVar5 = 2;
                if (iVar6 != 0) {
                  uVar5 = 0;
                }
                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);
              }
              iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);
              uVar10 = (uint)(iVar6 == 0);
              goto LAB_00049c58;
            }
            puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();
            uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);
            (*(code *)PTR_ThrowMagickException_003a8f20)
                      (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,
                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);
            (*(code *)PTR_DestroyString_003a9074)(uVar5);
            uVar10 = 0;
            goto LAB_00049c58;
          }
        }
        iVar6 = (*(code *)PTR_GetPathAttributes_003a9364)(param_3,unaff_s7 + 0x48);
        if ((iVar6 == 0) || ((*(uint *)(unaff_s7 + 0x60) & 0xf000) != 0x1000)) {
          (*(code *)PTR_GetPathComponent_003a8e18)(unaff_s6,6,local_302c);
          if (*(int *)(param_1 + 0x204) != 0) {
            *(int *)(unaff_s7 + 0x44) = *(int *)(param_1 + 0x204);
            *(undefined4 *)(unaff_s7 + 0x38) = 0;
            *(undefined4 *)(unaff_s7 + 0x40) = 1;
            *(undefined4 *)(unaff_s7 + 0x30) = 1;
            *(undefined4 *)(unaff_s7 + 0x1c) = 0;
            goto LAB_00049e88;
          }
          iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);
          *(int *)(unaff_s7 + 0x44) = iVar6;
          puVar2 = PTR_GetImageOption_003a9168;
          puVar1 = PTR_LAB_003a88e0;
          if (iVar6 != 0) {
            *(undefined4 *)(unaff_s7 + 0x40) = 1;
            iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);
            if (iVar6 == 0) {
              iVar6 = 0x4000;
              iVar7 = 0;
              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);
            }
            else {
              iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);
              iVar7 = (uint)(iVar6 == 0) << 1;
              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);
            }
            (*(code *)PTR_setvbuf_003a90f4)(uVar5,0,iVar7,iVar6);
            local_102c = 0;
            local_102a = 0;
            unaff_s5 = (undefined1 *)
                       (*(code *)PTR_fread_003a8db8)
                                 (&local_102c,1,3,*(undefined4 *)(unaff_s7 + 0x44));
            (*(code *)PTR_fseeko64_003a9944)(*(undefined4 *)(unaff_s7 + 0x44));
            (*(code *)PTR_fflush_003a948c)(*(undefined4 *)(unaff_s7 + 0x44));
            (*(code *)PTR_LogMagickEvent_003a91e0)
                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,
                       PTR_LAB_003a88e0 + 0x1ef0);
            iVar6 = *(int *)(unaff_s7 + 0x40);
            if (iVar6 != 1) goto LAB_0004a138;
            uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();
            unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(param_1 + 0x210,uVar5);
            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);
            if ((((unaff_s5 != (undefined1 *)0x0) &&
                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)) &&
                (unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),
                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&
               (iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar6 != 0)) {
              uVar5 = (*(code *)PTR_fileno_003a99cc)(*(undefined4 *)(unaff_s7 + 0x44));
              unaff_s6 = (*(code *)PTR_MapBlob_003a978c)(uVar5,0,0,0,unaff_s5);
              if (unaff_s6 == 0) {
                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);
                iVar6 = *(int *)(unaff_s7 + 0x40);
                goto LAB_0004a138;
              }
              pcVar9 = (code *)PTR_fclose_003a939c;
              if (*(int *)(param_1 + 0x204) == 0) goto LAB_0004a850;
              *(undefined4 *)(unaff_s7 + 0x30) = 0;
              goto LAB_0004a650;
            }
          }
          iVar6 = *(int *)(unaff_s7 + 0x40);
          goto LAB_0004a138;
        }
        iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);
        *(int *)(unaff_s7 + 0x44) = iVar6;
        puVar2 = PTR_GetImageOption_003a9168;
        puVar1 = PTR_LAB_003a88e0;
        if (iVar6 == 0) {
          puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();
          uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);
          uVar8 = 0xd23;
          goto LAB_0004a16c;
        }
        *(undefined4 *)(unaff_s7 + 0x40) = 1;
        *(undefined4 *)(unaff_s7 + 0x30) = 1;
        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);
        if (iVar6 != 0) {
          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);
          uVar5 = 2;
          if (iVar6 != 0) {
            uVar5 = 0;
          }
          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);
          goto LAB_00049fe8;
        }
      }
      iVar6 = 0x4000;
      uVar5 = 0;
      uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);
LAB_00049fe8:
      iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);
      uVar10 = (uint)(iVar6 == 0);
      goto LAB_00049c58;
    }
  }
  (*(code *)PTR___assert_fail_003a9608)
            (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,PTR_LAB_003a88e0 + 0x1ad8);
LAB_0004a824:
  (*(code *)PTR___assert_fail_003a9608)(PTR_LAB_003a88e0 + 0xdd0,PTR_LAB_003a88e0 + 0x1ad8);
  do {
    pcVar9 = (code *)PTR___stack_chk_fail_003a9064;
    (*(code *)PTR___stack_chk_fail_003a9064)();
LAB_0004a850:
    (*pcVar9)(*(undefined4 *)(unaff_s7 + 0x44));
    *(undefined4 *)(unaff_s7 + 0x44) = 0;
LAB_0004a650:
    (*(code *)PTR_AttachBlob_003a92c8)(unaff_s7,unaff_s6,unaff_s5);
    iVar6 = *(int *)(unaff_s7 + 0x40);
    *(undefined4 *)(unaff_s7 + 0x10) = 1;
LAB_0004a138:
    *(undefined4 *)(unaff_s7 + 0x38) = 0;
    *(undefined4 *)(unaff_s7 + 0x1c) = 0;
    if (iVar6 == 0) {
      puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();
      uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);
      uVar8 = 0xdd1;
LAB_0004a16c:
      uVar10 = 0;
      (*(code *)PTR_ThrowMagickException_003a8f20)
                (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,uVar8,0x1b3,
                 PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);
      (*(code *)PTR_DestroyString_003a9074)(uVar5);
    }
    else {
LAB_00049e88:
      uVar10 = 1;
      uVar11 = (*(code *)PTR_GetBlobSize_003a94b8)(param_2);
      *(undefined8 *)(unaff_s7 + 0x28) = uVar11;
    }
LAB_00049c58:
  } while (local_2c != *(int *)puVar3);
  return uVar10;
}


lui gp,0x36
addiu gp,gp,0x6d1c
addu gp,gp,t9
addiu sp,sp,-0x3068
sw s2,0x3048(sp)
lw s2,-0x7680(gp)
sw gp,0x28(sp)
sw ra,0x3064(sp)
sw s8,0x3060(sp)
sw s7,0x305c(sp)
sw s6,0x3058(sp)
sw s5,0x3054(sp)
sw s4,0x3050(sp)
sw s3,0x304c(sp)
sw s1,0x3044(sp)
sw s0,0x3040(sp)
lw v0,0x0(s2)
sw v0,0x303c(sp)
beq a0,zero,0x0004a7e4
_lw t9,-0x72a8(gp)
lui v0,0xabac
lw v1,0x3214(a0)
ori v0,v0,0xadab
bne v1,v0,0x0004a7c0
_or s0,a0,zero
lw v0,0x3210(a0)
or s1,a1,zero
or s4,a2,zero
bne v0,zero,0x00049c98
_or s3,a3,zero
beq s1,zero,0x0004a824
_li a2,0xca6
lui v0,0xabac
lw v1,0x336c(s1)
ori v0,v0,0xadab
bne v1,v0,0x0004a804
_li a2,0xca7
lw a1,0x208(s0)
beq a1,zero,0x00049cd4
_lw s7,0x3348(s1)
lw v0,0x200(s0)
beq v0,zero,0x00049c44
_lw t9,-0x75e8(gp)
sw v0,0xe8(s7)
or a0,s7,zero
lw a2,0x20c(s0)
jalr t9
_li s8,0x1
lw gp,0x28(sp)
lw a0,0x303c(sp)
or v0,s8,zero
lw v1,0x0(s2)
bne a0,v1,0x0004a844
_lw ra,0x3064(sp)
lw s8,0x3060(sp)
lw s7,0x305c(sp)
lw s6,0x3058(sp)
lw s5,0x3054(sp)
lw s4,0x3050(sp)
lw s3,0x304c(sp)
lw s2,0x3048(sp)
lw s1,0x3044(sp)
lw s0,0x3040(sp)
jr ra
_addiu sp,sp,0x3068
addiu v0,a0,0x2210
lw a2,-0x7fd0(gp)
lw a1,-0x7fd0(gp)
li a3,0xca4
lw t9,-0x76d0(gp)
ori a0,zero,0x8000
sw v0,0x14(sp)
addiu a2,a2,0x23cc
lw v0,-0x7fcc(gp)
addiu a1,a1,0x1ad8
addiu v0,v0,-0x62ac
jalr t9
_sw v0,0x10(sp)
b 0x00049c0c
_lw gp,0x28(sp)
lw v0,0x3218(s0)
beq v0,zero,0x00049cec
_lw t9,-0x7144(gp)
lb v1,0x340(s1)
beq v1,zero,0x00049d24
_li s8,0x1
jalr t9
_or a0,s7,zero
sltiu v0,s4,0x7
lw gp,0x28(sp)
beq v0,zero,0x00049f68
_sw s4,0xc(s7)
lw v0,-0x7fd0(gp)
sll s4,s4,0x2
addiu v0,v0,0x2098
addu s4,v0,s4
lw v0,0x0(s4)
addu v0,v0,gp
jr v0
_nop
sw v0,0xec(s7)
li v0,0x8
b 0x00049c58
_sw v0,0x40(s7)
lw v1,0x1f0(s0)
addiu s6,s1,0x340
lw v0,0x200(s0)
beq v0,zero,0x0004a3d0
_sw v1,0x34(s7)
lw s5,-0x7fd0(gp)
li v1,0x61
sw v0,0xe8(s7)
sw v1,0x30(sp)
addiu s5,s5,0x10f4
lw t9,-0x7074(gp)
addiu s4,sp,0x103c
li a2,0x1000
sb zero,0x103c(sp)
or a1,s6,zero
jalr t9
_or a0,s4,zero
li a1,0x1
lw gp,0x28(sp)
lw t9,-0x7b00(gp)
li a0,0x4
jalr t9
_or a2,s4,zero
lw gp,0x28(sp)
beq v0,zero,0x0004a000
_or s8,v0,zero
lw a1,-0x7fc4(gp)
or a0,s4,zero
lw t9,-0x77a0(gp)
jalr t9
_addiu a1,a1,-0x7ac
beq v0,zero,0x00049f74
_lw gp,0x28(sp)
lb v0,0x103c(sp)
bne v0,zero,0x00049dd0
_nop
lw v0,0x204(s0)
beq v0,zero,0x00049f78
_lw v1,0x30(sp)
lw a1,-0x7fd0(gp)
li a2,0x3
lw t9,-0x7294(gp)
or a0,s4,zero
jalr t9
_addiu a1,a1,0x1ec0
lw gp,0x28(sp)
bne v0,zero,0x00049e10
_or s8,v0,zero
lw t9,-0x7498(gp)
addiu v0,sp,0x103f
sw v0,0x34(sp)
jalr t9
_or a0,v0,zero
bne v0,zero,0x0004a1cc
_lw gp,0x28(sp)
lw t9,-0x754c(gp)
addiu a1,s7,0x48
jalr t9
_or a0,s4,zero
beq v0,zero,0x00049e3c
_lw gp,0x28(sp)
lw v0,0x60(s7)
li v1,0x1000
andi v0,v0,0xf000
beq v0,v1,0x0004a3e8
_lw t9,-0x7c48(gp)
lw t9,-0x7a98(gp)
addiu s8,sp,0x3c
li a1,0x6
or a2,s8,zero
jalr t9
_or a0,s6,zero
li v0,0x77
lw v1,0x30(sp)
beq v1,v0,0x0004a280
_lw gp,0x28(sp)
lw v0,0x204(s0)
beq v0,zero,0x0004a0b0
_nop
li v1,0x1
sw v0,0x44(s7)
sw zero,0x38(s7)
sw v1,0x40(s7)
sw v1,0x30(s7)
sw zero,0x1c(s7)
lw t9,-0x73f8(gp)
or a0,s1,zero
jalr t9
_li s8,0x1
lw gp,0x28(sp)
sw v1,0x2c(s7)
b 0x00049c58
_sw v0,0x28(s7)
lw v1,0x1f0(s0)
lw v0,0x200(s0)
beq v0,zero,0x0004a3dc
_sw v1,0x34(s7)
sw v0,0xe8(s7)
li v0,0x6
li s8,0x1
b 0x00049c58
_sw v0,0x40(s7)
lw v1,0x1f0(s0)
lw v0,0x200(s0)
bne v0,zero,0x00049eb8
_sw v1,0x34(s7)
lw s5,-0x7fcc(gp)
addiu s5,s5,0xc4c
lw t9,-0x7074(gp)
addiu s6,s1,0x340
addiu s4,sp,0x103c
sb zero,0x103c(sp)
li a2,0x1000
or a1,s6,zero
jalr t9
_or a0,s4,zero
li v0,0x77
lw gp,0x28(sp)
li a1,0x2
b 0x00049d80
_sw v0,0x30(sp)
lw s5,-0x7fd0(gp)
addiu s5,s5,0x1e90
lw v0,0x200(s0)
beq v0,zero,0x0004a080
_addiu s6,s1,0x340
sw v0,0xe8(s7)
li v0,0x72
b 0x00049d5c
_sw v0,0x30(sp)
lw v1,0x1f0(s0)
addiu s6,s1,0x340
lw v0,0x200(s0)
beq v0,zero,0x0004a39c
_sw v1,0x34(s7)
lw s5,-0x7fd0(gp)
li v1,0x61
sw v0,0xe8(s7)
sw v1,0x30(sp)
b 0x00049d5c
_addiu s5,s5,0x1e94
lw s5,-0x7fd0(gp)
b 0x00049f20
_addiu s5,s5,0x4aa0
lw v1,0x30(sp)
li v0,0x72
beq v1,v0,0x0004a078
_lw v0,-0x78ec(gp)
lw v0,-0x79cc(gp)
lw v0,0x0(v0)
lw a1,-0x7fd0(gp)
li s3,0x2
lw t9,-0x7748(gp)
or a0,s0,zero
sw v0,0x44(s7)
li v0,0x1
addiu a1,a1,0x1eac
sw s3,0x40(s7)
jalr t9
_sw v0,0x30(s7)
beq v0,zero,0x0004a064
_lw gp,0x28(sp)
lw t9,-0x7570(gp)
li a2,0xa
or a1,zero,zero
jalr t9
_or a0,v0,zero
or a2,s3,zero
lw v1,0x3348(s1)
or a3,v0,zero
movn a2,zero,v0
lw gp,0x28(sp)
lw a0,0x44(v1)
lw t9,-0x77bc(gp)
jalr t9
_or a1,zero,zero
lw gp,0x28(sp)
b 0x00049c58
_sltiu s8,v0,0x1
lw t9,-0x6f00(gp)
jalr t9
_nop
li v1,0x1
lw gp,0x28(sp)
li a3,0xcd9
sw v1,0x0(v0)
or a0,s3,zero
sw s4,0x1c(sp)
lw v0,-0x7fd0(gp)
lw a2,-0x7fd0(gp)
lw a1,-0x7fd0(gp)
addiu v0,v0,0x3e28
lw t9,-0x7990(gp)
addiu a2,a2,0x23cc
sw v0,0x18(sp)
addiu a1,a1,0x1ad8
lw v0,-0x7fd0(gp)
addiu v0,v0,0x1e9c
sw v0,0x14(sp)
li v0,0x1f3
jalr t9
_sw v0,0x10(sp)
b 0x00049c58
_lw gp,0x28(sp)
lw v0,0x3348(s1)
li a3,0x4000
or a2,zero,zero
b 0x00049fe8
_lw a0,0x44(v0)
b 0x00049f8c
_lw v0,0x0(v0)
lw t9,-0x7074(gp)
addiu s4,sp,0x103c
li a2,0x1000
sb zero,0x103c(sp)
or a1,s6,zero
jalr t9
_or a0,s4,zero
li v0,0x72
lw gp,0x28(sp)
sw v0,0x30(sp)
b 0x00049d80
_li a1,0x1
li v0,0x72
beq v1,v0,0x0004a458
_lw t9,-0x7c48(gp)
or a1,s5,zero
jalr t9
_or a0,s4,zero
lw gp,0x28(sp)
beq v0,zero,0x0004a134
_sw v0,0x44(s7)
lw a1,-0x7fd0(gp)
li v0,0x1
lw t9,-0x7748(gp)
or a0,s0,zero
sw v0,0x40(s7)
jalr t9
_addiu a1,a1,0x1eac
beq v0,zero,0x0004a70c
_lw gp,0x28(sp)
lw t9,-0x7570(gp)
li a2,0xa
or a1,zero,zero
jalr t9
_or a0,v0,zero
li a2,0x2
lw v1,0x3348(s1)
or a3,v0,zero
movn a2,zero,v0
lw gp,0x28(sp)
lw a0,0x44(v1)
lw t9,-0x77bc(gp)
jalr t9
_or a1,zero,zero
lw gp,0x28(sp)
lw v0,0x40(s7)
sw zero,0x38(s7)
bne v0,zero,0x00049e88
_sw zero,0x1c(s7)
lw t9,-0x6f00(gp)
jalr t9
_nop
lw gp,0x28(sp)
lw t9,-0x74c4(gp)
jalr t9
_lw a0,0x0(v0)
li a3,0xdd1
lw gp,0x28(sp)
or s0,v0,zero
lw v0,-0x7fd0(gp)
or a0,s3,zero
lw a2,-0x7fd0(gp)
or s8,zero,zero
lw a1,-0x7fd0(gp)
addiu v0,v0,0xe78
lw t9,-0x7990(gp)
addiu a2,a2,0x23cc
sw s0,0x20(sp)
sw v0,0x18(sp)
addiu a1,a1,0x1ad8
lw v0,-0x7fd0(gp)
sw s4,0x1c(sp)
addiu v0,v0,0x1ec4
sw v0,0x14(sp)
li v0,0x1b3
jalr t9
_sw v0,0x10(sp)
lw gp,0x28(sp)
lw t9,-0x783c(gp)
jalr t9
_or a0,s0,zero
b 0x00049c58
_lw gp,0x28(sp)
lw v0,0x30(sp)
li a2,0xa
lw t9,-0x7364(gp)
or a1,zero,zero
lw a0,0x34(sp)
sb v0,0x203c(sp)
jalr t9
_sb zero,0x203d(sp)
addiu a1,sp,0x203c
lw gp,0x28(sp)
lw t9,-0x70d8(gp)
jalr t9
_or a0,v0,zero
lw gp,0x28(sp)
beq v0,zero,0x0004a688
_sw v0,0x44(s7)
lw a1,-0x7fd0(gp)
li v0,0x1
lw t9,-0x7748(gp)
or a0,s0,zero
sw v0,0x40(s7)
addiu a1,a1,0x1eac
jalr t9
_sw v0,0x30(s7)
beq v0,zero,0x0004a678
_lw gp,0x28(sp)
lw t9,-0x7570(gp)
li a2,0xa
or a1,zero,zero
jalr t9
_or a0,v0,zero
li v1,0x2
lw a0,0x3348(s1)
or a3,v0,zero
movn v1,zero,v0
lw gp,0x28(sp)
lw a0,0x44(a0)
or s8,v1,zero
lw t9,-0x77bc(gp)
or a1,zero,zero
jalr t9
_or a2,s8,zero
lw gp,0x28(sp)
b 0x00049c58
_sltiu s8,v0,0x1
lw t9,-0x7074(gp)
li a2,0x1000
or a1,s6,zero
jalr t9
_or a0,s4,zero
lw v0,0xc(s0)
beq v0,zero,0x0004a2b8
_lw gp,0x28(sp)
lw t9,-0x7128(gp)
li a1,0x25
jalr t9
_or a0,s4,zero
beq v0,zero,0x0004a388
_lw gp,0x28(sp)
lw a3,0x26c(s1)
or a1,s1,zero
lw t9,-0x6f18(gp)
or a0,s0,zero
or a2,s6,zero
sw s3,0x14(sp)
jalr t9
_sw s4,0x10(sp)
or a1,s6,zero
lw gp,0x28(sp)
lw t9,-0x77a0(gp)
jalr t9
_or a0,s4,zero
bne v0,zero,0x0004a370
_lw gp,0x28(sp)
lw t9,-0x7c04(gp)
jalr t9
_or a0,s1,zero
beq v0,zero,0x0004a74c
_lw gp,0x28(sp)
addiu a3,sp,0x203c
lw t9,-0x7a98(gp)
li a1,0x2
or a2,a3,zero
sw a3,0x30(sp)
jalr t9
_or a0,s6,zero
lb v0,0x3c(sp)
lw gp,0x28(sp)
bne v0,zero,0x0004a768
_lw a3,0x30(sp)
lw v0,0x26c(s1)
mtc1 v0,f0
bgez v0,0x0004a350
_cvt.d.W f0,f0
lw v0,-0x7fd0(gp)
ldc1 f2,0x1418(v0)
add.D f0,f0,f2
lw a2,-0x7fd0(gp)
li a1,0x1000
lw t9,-0x7b34(gp)
or a0,s4,zero
sdc1 f0,0x10(sp)
jalr t9
_addiu a2,a2,0x1ed8
lw gp,0x28(sp)
lw t9,-0x7074(gp)
li a2,0x1000
or a1,s4,zero
jalr t9
_or a0,s6,zero
lw gp,0x28(sp)
lw v0,0x204(s0)
bne v0,zero,0x00049e74
_li v1,0x1
b 0x0004a0bc
_lw t9,-0x7c48(gp)
lw s5,-0x7fd0(gp)
addiu s5,s5,0x1e94
lw t9,-0x7074(gp)
addiu s4,sp,0x103c
li a2,0x1000
sb zero,0x103c(sp)
or a1,s6,zero
jalr t9
_or a0,s4,zero
li v0,0x61
lw gp,0x28(sp)
b 0x0004a0a8
_sw v0,0x30(sp)
lw s5,-0x7fd0(gp)
b 0x0004a3a4
_addiu s5,s5,0x10f4
lw s5,-0x7fd0(gp)
b 0x00049ee4
_addiu s5,s5,0x1e98
or a1,s5,zero
jalr t9
_or a0,s4,zero
lw gp,0x28(sp)
beq v0,zero,0x0004a720
_sw v0,0x44(s7)
lw a1,-0x7fd0(gp)
li v0,0x1
lw t9,-0x7748(gp)
or a0,s0,zero
sw v0,0x40(s7)
addiu a1,a1,0x1eac
jalr t9
_sw v0,0x30(s7)
beq v0,zero,0x0004a064
_lw gp,0x28(sp)
lw t9,-0x7570(gp)
li a2,0xa
or a1,zero,zero
jalr t9
_or a0,v0,zero
li a2,0x2
lw v1,0x3348(s1)
or a3,v0,zero
lw gp,0x28(sp)
movn a2,zero,v0
b 0x00049fe8
_lw a0,0x44(v1)
or a1,s5,zero
jalr t9
_or a0,s4,zero
lw gp,0x28(sp)
beq v0,zero,0x0004a134
_sw v0,0x44(s7)
lw a1,-0x7fd0(gp)
li v0,0x1
lw t9,-0x7748(gp)
or a0,s0,zero
sw v0,0x40(s7)
jalr t9
_addiu a1,a1,0x1eac
beq v0,zero,0x0004a7ac
_lw gp,0x28(sp)
lw t9,-0x7570(gp)
li a2,0xa
or a1,zero,zero
jalr t9
_or a0,v0,zero
lw v1,0x3348(s1)
sltiu a2,v0,0x1
lw gp,0x28(sp)
sll a2,a2,0x1
lw a0,0x44(v1)
lw t9,-0x77bc(gp)
or a1,zero,zero
jalr t9
_or a3,v0,zero
addiu a0,sp,0x203c
lw gp,0x28(sp)
li a1,0x1
sh zero,0x203c(sp)
li a2,0x3
sb zero,0x2(a0)
lw t9,-0x7af8(gp)
jalr t9
_lw a3,0x44(s7)
lw gp,0x28(sp)
subu a3,zero,v0
lw a0,0x44(s7)
or s5,v0,zero
sltu a2,zero,a3
li v0,0x1
lw t9,-0x6f6c(gp)
subu a2,zero,a2
jalr t9
_sw v0,0x10(sp)
lw gp,0x28(sp)
lw t9,-0x7424(gp)
jalr t9
_lw a0,0x44(s7)
mtc1 s5,f0
lw gp,0x28(sp)
bgez s5,0x0004a544
_cvt.d.W f0,f0
lw v0,-0x7fd0(gp)
ldc1 f2,0x1418(v0)
add.D f0,f0,f2
lw v0,-0x7fd0(gp)
li a3,0xd66
lw a2,-0x7fd0(gp)
li a0,0x4
lw a1,-0x7fd0(gp)
lw t9,-0x76d0(gp)
addiu v0,v0,0x1ef0
sdc1 f0,0x18(sp)
addiu a2,a2,0x23cc
addiu a1,a1,0x1ad8
jalr t9
_sw v0,0x10(sp)
li v1,0x1
lw v0,0x40(s7)
bne v0,v1,0x0004a138
_lw gp,0x28(sp)
lw t9,-0x79c4(gp)
jalr t9
_nop
addiu a0,s0,0x210
lw gp,0x28(sp)
or a1,v0,zero
lw t9,-0x74a4(gp)
jalr t9
_or s5,v0,zero
or a0,s5,zero
lw gp,0x28(sp)
lw t9,-0x7b60(gp)
jalr t9
_or s5,v0,zero
beq s5,zero,0x0004a134
_lw gp,0x28(sp)
lw t9,-0x713c(gp)
jalr t9
_or a0,s5,zero
beq v0,zero,0x0004a134
_lw gp,0x28(sp)
lui v0,0x1
lw s5,0x84(s7)
addiu v0,v0,0x4001
sltu v0,s5,v0
bne v0,zero,0x0004a134
_lw t9,-0x7094(gp)
or a2,zero,zero
li a0,0x5
jalr t9
_or a3,s5,zero
beq v0,zero,0x0004a134
_lw gp,0x28(sp)
lw t9,-0x6ee4(gp)
jalr t9
_lw a0,0x44(s7)
or a1,zero,zero
lw gp,0x28(sp)
or a3,zero,zero
or a2,zero,zero
sw s5,0x10(sp)
lw t9,-0x7124(gp)
jalr t9
_or a0,v0,zero
lw gp,0x28(sp)
beq v0,zero,0x0004a864
_or s6,v0,zero
lw v0,0x204(s0)
beq v0,zero,0x0004a850
_lw t9,-0x7514(gp)
sw zero,0x30(s7)
lw t9,-0x75e8(gp)
or a2,s5,zero
or a1,s6,zero
jalr t9
_or a0,s7,zero
li v1,0x1
lw gp,0x28(sp)
lw v0,0x40(s7)
b 0x0004a138
_sw v1,0x10(s7)
lw v0,0x3348(s1)
li a3,0x4000
b 0x0004a264
_lw a0,0x44(v0)
lw t9,-0x6f00(gp)
jalr t9
_nop
lw gp,0x28(sp)
lw t9,-0x74c4(gp)
jalr t9
_lw a0,0x0(v0)
li a3,0xcf4
lw gp,0x28(sp)
or s0,v0,zero
sw v0,0x20(sp)
or a0,s3,zero
sw s4,0x1c(sp)
lw v0,-0x7fd0(gp)
lw a2,-0x7fd0(gp)
lw a1,-0x7fd0(gp)
addiu v0,v0,0xe78
lw t9,-0x7990(gp)
addiu a2,a2,0x23cc
sw v0,0x18(sp)
addiu a1,a1,0x1ad8
lw v0,-0x7fd0(gp)
addiu v0,v0,0x1ec4
sw v0,0x14(sp)
li v0,0x1b3
jalr t9
_sw v0,0x10(sp)
lw gp,0x28(sp)
lw t9,-0x783c(gp)
jalr t9
_or a0,s0,zero
b 0x00049c58
_lw gp,0x28(sp)
lw v0,0x3348(s1)
li a3,0x4000
or a2,zero,zero
b 0x0004a124
_lw a0,0x44(v0)
lw t9,-0x6f00(gp)
jalr t9
_nop
lw gp,0x28(sp)
lw t9,-0x74c4(gp)
jalr t9
_lw a0,0x0(v0)
li a3,0xd23
lw gp,0x28(sp)
b 0x0004a16c
_or s0,v0,zero
lw t9,-0x7440(gp)
jalr t9
_or a0,s1,zero
bne v0,zero,0x0004a308
_lw gp,0x28(sp)
b 0x0004a374
_lw t9,-0x7074(gp)
lw v0,0x26c(s1)
sw s8,0x18(sp)
mtc1 v0,f0
bgez v0,0x0004a788
_cvt.d.W f0,f0
lw v0,-0x7fd0(gp)
ldc1 f2,0x1418(v0)
add.D f0,f0,f2
lw a2,-0x7fd0(gp)
li a1,0x1000
lw t9,-0x7b34(gp)
or a0,s4,zero
sdc1 f0,0x10(sp)
jalr t9
_addiu a2,a2,0x1ee4
b 0x0004a370
_lw gp,0x28(sp)
lw v1,0x3348(s1)
li v0,0x4000
or a2,zero,zero
b 0x0004a4bc
_lw a0,0x44(v1)
lw a3,-0x7fd0(gp)
li a2,0xca2
lw a1,-0x7fd0(gp)
lw a0,-0x7fd0(gp)
lw t9,-0x72a8(gp)
addiu a3,a3,0x23d8
addiu a1,a1,0x1ad8
jalr t9
_addiu a0,a0,0xda0
lw a3,-0x7fd0(gp)
li a2,0xca1
lw a1,-0x7fd0(gp)
lw a0,-0x7fd0(gp)
addiu a3,a3,0x23d8
addiu a1,a1,0x1ad8
jalr t9
_addiu a0,a0,0x1c88
lw a3,-0x7fd0(gp)
lw a1,-0x7fd0(gp)
lw a0,-0x7fc8(gp)
lw t9,-0x72a8(gp)
addiu a3,a3,0x23d8
addiu a1,a1,0x1ad8
jalr t9
_addiu a0,a0,-0x3784
lw a3,-0x7fd0(gp)
lw a1,-0x7fd0(gp)
lw a0,-0x7fd0(gp)
lw t9,-0x72a8(gp)
addiu a3,a3,0x23d8
addiu a1,a1,0x1ad8
jalr t9
_addiu a0,a0,0xdd0
lw t9,-0x784c(gp)
jalr t9
_nop
jalr t9
_lw a0,0x44(s7)
lw gp,0x28(sp)
b 0x0004a650
_sw zero,0x44(s7)
lw t9,-0x71a4(gp)
or a2,zero,zero
li a0,0x5
jalr t9
_or a3,s5,zero
lw gp,0x28(sp)
b 0x0004a138
_lw v0,0x40(s7)
(translation_unit "/* WARNING: Removing unreachable block (ram,0x0004a280) */\n/* WARNING: Removing unreachable block (ram,0x0004a2a0) */\n/* WARNING: Removing unreachable block (ram,0x0004a2b8) */\n/* WARNING: Removing unreachable block (ram,0x0004a2f4) */\n/* WARNING: Removing unreachable block (ram,0x0004a74c) */\n/* WARNING: Removing unreachable block (ram,0x0004a308) */\n/* WARNING: Removing unreachable block (ram,0x0004a768) */\n/* WARNING: Removing unreachable block (ram,0x0004a77c) */\n/* WARNING: Removing unreachable block (ram,0x0004a788) */\n/* WARNING: Removing unreachable block (ram,0x0004a334) */\n/* WARNING: Removing unreachable block (ram,0x0004a344) */\n/* WARNING: Removing unreachable block (ram,0x0004a350) */\n/* WARNING: Removing unreachable block (ram,0x0004a370) */\n/* WARNING: Removing unreachable block (ram,0x0004a760) */\n/* WARNING: Removing unreachable block (ram,0x0004a374) */\n/* WARNING: Removing unreachable block (ram,0x0004a388) */\n/* WARNING: Removing unreachable block (ram,0x0004a394) */\n/* WARNING: Removing unreachable block (ram,0x0004a0bc) */\n/* WARNING: Removing unreachable block (ram,0x0004a0d4) */\n/* WARNING: Removing unreachable block (ram,0x0004a70c) */\n/* WARNING: Removing unreachable block (ram,0x0004a0f8) */\n/* WARNING: Removing unreachable block (ram,0x0004a118) */\n/* WARNING: Removing unreachable block (ram,0x0004a11c) */\n/* WARNING: Removing unreachable block (ram,0x0004a124) */\n/* WARNING: Removing unreachable block (ram,0x00049f84) */\n\nuint OpenBlob(int param_1,int param_2,char *param_3,undefined4 param_4)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  undefined4 uVar8;\n  int unaff_s1;\n  undefined4 unaff_s3;\n  char *unaff_s4;\n  undefined1 *unaff_s5;\n  int unaff_s6;\n  int unaff_s7;\n  code *pcVar9;\n  uint uVar10;\n  undefined8 uVar11;\n  undefined1 local_302c [4096];\n  char local_202c [3];\n  undefined1 auStack_2029 [4093];\n  undefined2 local_102c;\n  undefined1 local_102a;\n  int local_2c;\n  \n  puVar3 = PTR___stack_chk_guard_003a9230;\n  local_2c = *(int *)PTR___stack_chk_guard_003a9230;\n  pcVar9 = (code *)PTR___assert_fail_003a9608;\n  if (param_1 == 0) {\nLAB_0004a7e4:\n    (*pcVar9)(PTR_LAB_003a88e0 + 0x1c88,PTR_LAB_003a88e0 + 0x1ad8,0xca1,PTR_LAB_003a88e0 + 0x23d8);\n    param_2 = unaff_s1;\n    param_4 = unaff_s3;\n    param_3 = unaff_s4;\n  }\n  else {\n    if (*(int *)(param_1 + 0x3214) != -0x54535255) {\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xda0,PTR_LAB_003a88e0 + 0x1ad8,0xca2,PTR_LAB_003a88e0 + 0x23d8)\n      ;\n      goto LAB_0004a7e4;\n    }\n    if (*(int *)(param_1 + 0x3210) != 0) {\n      (*(code *)PTR_LogMagickEvent_003a91e0)\n                (0x8000,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xca4,\n                 PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210);\n    }\n    puVar1 = PTR_AttachBlob_003a92c8;\n    if (param_2 == 0) goto LAB_0004a824;\n    if (*(int *)(param_2 + 0x336c) == -0x54535255) {\n      iVar6 = *(int *)(param_1 + 0x208);\n      unaff_s7 = *(int *)(param_2 + 0x3348);\n      if (iVar6 != 0) {\n        if (*(int *)(param_1 + 0x200) != 0) {\n          *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        }\n        uVar10 = 1;\n        (*(code *)puVar1)(unaff_s7,iVar6,*(undefined4 *)(param_1 + 0x20c));\n        goto LAB_00049c58;\n      }\n      if ((*(int *)(param_1 + 0x3218) != 0) && (uVar10 = 1, *(char *)(param_2 + 0x340) == '\0')) {\n        *(int *)(unaff_s7 + 0xec) = *(int *)(param_1 + 0x3218);\n        *(undefined4 *)(unaff_s7 + 0x40) = 8;\n        goto LAB_00049c58;\n      }\n      (*(code *)PTR_DetachBlob_003a976c)(unaff_s7,0,0xca7);\n      *(char **)(unaff_s7 + 0xc) = param_3;\n      if (param_3 < &DAT_00000007) {\n                    /* WARNING: Could not emulate address calculation at 0x00049d10 */\n                    /* WARNING: Treating indirect jump as call */\n        uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098)))();\n        return uVar10;\n      }\n      unaff_s5 = PTR_LAB_003a88e0 + 0x4aa0;\n      unaff_s6 = param_2 + 0x340;\n      if (*(int *)(param_1 + 0x200) == 0) {\n        local_202c[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);\n      }\n      else {\n        *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        local_202c[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);\n      }\n      param_3 = local_202c;\n      iVar6 = (*(code *)PTR_IsRightsAuthorized_003a8db0)(4,1,param_3);\n      if (iVar6 == 0) {\n        puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n        *puVar4 = 1;\n        (*(code *)PTR_ThrowMagickException_003a8f20)\n                  (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcd9,499,\n                   PTR_LAB_003a88e0 + 0x1e9c,PTR_LAB_003a88e0 + 0x3e28,param_3);\n        uVar10 = 0;\n        goto LAB_00049c58;\n      }\n      iVar6 = (*(code *)PTR_LocaleCompare_003a9110)(param_3,PTR_s_courses_003a88ec + -0x7ac);\n      puVar2 = PTR_GetImageOption_003a9168;\n      puVar1 = PTR_LAB_003a88e0;\n      if ((iVar6 == 0) || ((local_202c[0] == '\0' && (*(int *)(param_1 + 0x204) == 0)))) {\n        param_4 = 2;\n        *(undefined4 *)(unaff_s7 + 0x44) = *(undefined4 *)PTR_stdin_003a8fc4;\n        *(undefined4 *)(unaff_s7 + 0x40) = 2;\n        *(undefined4 *)(unaff_s7 + 0x30) = 1;\n        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n        if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }\n      }\n      else {\n        iVar6 = (*(code *)PTR_LocaleNCompare_003a961c)(param_3,PTR_LAB_003a88e0 + 0x1ec0,3);\n        if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_IsGeometry_003a9418)(auStack_2029);\n          if (iVar6 != 0) {\n            local_102c = 0x7200;\n            uVar5 = (*(code *)PTR_strtol_003a954c)(auStack_2029,0,10);\n            iVar6 = (*(code *)PTR_fdopen_003a97d8)(uVar5,&local_102c);\n            *(int *)(unaff_s7 + 0x44) = iVar6;\n            puVar2 = PTR_GetImageOption_003a9168;\n            puVar1 = PTR_LAB_003a88e0;\n            if (iVar6 != 0) {\n              *(undefined4 *)(unaff_s7 + 0x40) = 1;\n              *(undefined4 *)(unaff_s7 + 0x30) = 1;\n              iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n              if (iVar6 == 0) {\n                iVar6 = 0x4000;\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n                uVar5 = 0;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n                uVar5 = 2;\n                if (iVar6 != 0) {\n                  uVar5 = 0;\n                }\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n              }\n              iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n              uVar10 = (uint)(iVar6 == 0);\n              goto LAB_00049c58;\n            }\n            puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n            (*(code *)PTR_DestroyString_003a9074)(uVar5);\n            uVar10 = 0;\n            goto LAB_00049c58;\n          }\n        }\n        iVar6 = (*(code *)PTR_GetPathAttributes_003a9364)(param_3,unaff_s7 + 0x48);\n        if ((iVar6 == 0) || ((*(uint *)(unaff_s7 + 0x60) & 0xf000) != 0x1000)) {\n          (*(code *)PTR_GetPathComponent_003a8e18)(unaff_s6,6,local_302c);\n          if (*(int *)(param_1 + 0x204) != 0) {\n            *(int *)(unaff_s7 + 0x44) = *(int *)(param_1 + 0x204);\n            *(undefined4 *)(unaff_s7 + 0x38) = 0;\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            *(undefined4 *)(unaff_s7 + 0x30) = 1;\n            *(undefined4 *)(unaff_s7 + 0x1c) = 0;\n            goto LAB_00049e88;\n          }\n          iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n          *(int *)(unaff_s7 + 0x44) = iVar6;\n          puVar2 = PTR_GetImageOption_003a9168;\n          puVar1 = PTR_LAB_003a88e0;\n          if (iVar6 != 0) {\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n            if (iVar6 == 0) {\n              iVar6 = 0x4000;\n              iVar7 = 0;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            else {\n              iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n              iVar7 = (uint)(iVar6 == 0) << 1;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            (*(code *)PTR_setvbuf_003a90f4)(uVar5,0,iVar7,iVar6);\n            local_102c = 0;\n            local_102a = 0;\n            unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)\n                                 (&local_102c,1,3,*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fseeko64_003a9944)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fflush_003a948c)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0);\n            iVar6 = *(int *)(unaff_s7 + 0x40);\n            if (iVar6 != 1) goto LAB_0004a138;\n            uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(param_1 + 0x210,uVar5);\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);\n            if ((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)) &&\n                (unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar6 != 0)) {\n              uVar5 = (*(code *)PTR_fileno_003a99cc)(*(undefined4 *)(unaff_s7 + 0x44));\n              unaff_s6 = (*(code *)PTR_MapBlob_003a978c)(uVar5,0,0,0,unaff_s5);\n              if (unaff_s6 == 0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                iVar6 = *(int *)(unaff_s7 + 0x40);\n                goto LAB_0004a138;\n              }\n              pcVar9 = (code *)PTR_fclose_003a939c;\n              if (*(int *)(param_1 + 0x204) == 0) goto LAB_0004a850;\n              *(undefined4 *)(unaff_s7 + 0x30) = 0;\n              goto LAB_0004a650;\n            }\n          }\n          iVar6 = *(int *)(unaff_s7 + 0x40);\n          goto LAB_0004a138;\n        }\n        iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n        *(int *)(unaff_s7 + 0x44) = iVar6;\n        puVar2 = PTR_GetImageOption_003a9168;\n        puVar1 = PTR_LAB_003a88e0;\n        if (iVar6 == 0) {\n          puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n          uVar8 = 0xd23;\n          goto LAB_0004a16c;\n        }\n        *(undefined4 *)(unaff_s7 + 0x40) = 1;\n        *(undefined4 *)(unaff_s7 + 0x30) = 1;\n        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n        if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }\n      }\n      iVar6 = 0x4000;\n      uVar5 = 0;\n      uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\nLAB_00049fe8:\n      iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n      uVar10 = (uint)(iVar6 == 0);\n      goto LAB_00049c58;\n    }\n  }\n  (*(code *)PTR___assert_fail_003a9608)\n            (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,PTR_LAB_003a88e0 + 0x1ad8);\nLAB_0004a824:\n  (*(code *)PTR___assert_fail_003a9608)(PTR_LAB_003a88e0 + 0xdd0,PTR_LAB_003a88e0 + 0x1ad8);\n  do {\n    pcVar9 = (code *)PTR___stack_chk_fail_003a9064;\n    (*(code *)PTR___stack_chk_fail_003a9064)();\nLAB_0004a850:\n    (*pcVar9)(*(undefined4 *)(unaff_s7 + 0x44));\n    *(undefined4 *)(unaff_s7 + 0x44) = 0;\nLAB_0004a650:\n    (*(code *)PTR_AttachBlob_003a92c8)(unaff_s7,unaff_s6,unaff_s5);\n    iVar6 = *(int *)(unaff_s7 + 0x40);\n    *(undefined4 *)(unaff_s7 + 0x10) = 1;\nLAB_0004a138:\n    *(undefined4 *)(unaff_s7 + 0x38) = 0;\n    *(undefined4 *)(unaff_s7 + 0x1c) = 0;\n    if (iVar6 == 0) {\n      puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n      uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n      uVar8 = 0xdd1;\nLAB_0004a16c:\n      uVar10 = 0;\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,uVar8,0x1b3,\n                 PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n      (*(code *)PTR_DestroyString_003a9074)(uVar5);\n    }\n    else {\nLAB_00049e88:\n      uVar10 = 1;\n      uVar11 = (*(code *)PTR_GetBlobSize_003a94b8)(param_2);\n      *(undefined8 *)(unaff_s7 + 0x28) = uVar11;\n    }\nLAB_00049c58:\n  } while (local_2c != *(int *)puVar3);\n  return uVar10;\n}\n\n" comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment (function_definition "uint OpenBlob(int param_1,int param_2,char *param_3,undefined4 param_4)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  undefined4 uVar8;\n  int unaff_s1;\n  undefined4 unaff_s3;\n  char *unaff_s4;\n  undefined1 *unaff_s5;\n  int unaff_s6;\n  int unaff_s7;\n  code *pcVar9;\n  uint uVar10;\n  undefined8 uVar11;\n  undefined1 local_302c [4096];\n  char local_202c [3];\n  undefined1 auStack_2029 [4093];\n  undefined2 local_102c;\n  undefined1 local_102a;\n  int local_2c;\n  \n  puVar3 = PTR___stack_chk_guard_003a9230;\n  local_2c = *(int *)PTR___stack_chk_guard_003a9230;\n  pcVar9 = (code *)PTR___assert_fail_003a9608;\n  if (param_1 == 0) {\nLAB_0004a7e4:\n    (*pcVar9)(PTR_LAB_003a88e0 + 0x1c88,PTR_LAB_003a88e0 + 0x1ad8,0xca1,PTR_LAB_003a88e0 + 0x23d8);\n    param_2 = unaff_s1;\n    param_4 = unaff_s3;\n    param_3 = unaff_s4;\n  }\n  else {\n    if (*(int *)(param_1 + 0x3214) != -0x54535255) {\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xda0,PTR_LAB_003a88e0 + 0x1ad8,0xca2,PTR_LAB_003a88e0 + 0x23d8)\n      ;\n      goto LAB_0004a7e4;\n    }\n    if (*(int *)(param_1 + 0x3210) != 0) {\n      (*(code *)PTR_LogMagickEvent_003a91e0)\n                (0x8000,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xca4,\n                 PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210);\n    }\n    puVar1 = PTR_AttachBlob_003a92c8;\n    if (param_2 == 0) goto LAB_0004a824;\n    if (*(int *)(param_2 + 0x336c) == -0x54535255) {\n      iVar6 = *(int *)(param_1 + 0x208);\n      unaff_s7 = *(int *)(param_2 + 0x3348);\n      if (iVar6 != 0) {\n        if (*(int *)(param_1 + 0x200) != 0) {\n          *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        }\n        uVar10 = 1;\n        (*(code *)puVar1)(unaff_s7,iVar6,*(undefined4 *)(param_1 + 0x20c));\n        goto LAB_00049c58;\n      }\n      if ((*(int *)(param_1 + 0x3218) != 0) && (uVar10 = 1, *(char *)(param_2 + 0x340) == '\0')) {\n        *(int *)(unaff_s7 + 0xec) = *(int *)(param_1 + 0x3218);\n        *(undefined4 *)(unaff_s7 + 0x40) = 8;\n        goto LAB_00049c58;\n      }\n      (*(code *)PTR_DetachBlob_003a976c)(unaff_s7,0,0xca7);\n      *(char **)(unaff_s7 + 0xc) = param_3;\n      if (param_3 < &DAT_00000007) {\n                    /* WARNING: Could not emulate address calculation at 0x00049d10 */\n                    /* WARNING: Treating indirect jump as call */\n        uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098)))();\n        return uVar10;\n      }\n      unaff_s5 = PTR_LAB_003a88e0 + 0x4aa0;\n      unaff_s6 = param_2 + 0x340;\n      if (*(int *)(param_1 + 0x200) == 0) {\n        local_202c[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);\n      }\n      else {\n        *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        local_202c[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);\n      }\n      param_3 = local_202c;\n      iVar6 = (*(code *)PTR_IsRightsAuthorized_003a8db0)(4,1,param_3);\n      if (iVar6 == 0) {\n        puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n        *puVar4 = 1;\n        (*(code *)PTR_ThrowMagickException_003a8f20)\n                  (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcd9,499,\n                   PTR_LAB_003a88e0 + 0x1e9c,PTR_LAB_003a88e0 + 0x3e28,param_3);\n        uVar10 = 0;\n        goto LAB_00049c58;\n      }\n      iVar6 = (*(code *)PTR_LocaleCompare_003a9110)(param_3,PTR_s_courses_003a88ec + -0x7ac);\n      puVar2 = PTR_GetImageOption_003a9168;\n      puVar1 = PTR_LAB_003a88e0;\n      if ((iVar6 == 0) || ((local_202c[0] == '\0' && (*(int *)(param_1 + 0x204) == 0)))) {\n        param_4 = 2;\n        *(undefined4 *)(unaff_s7 + 0x44) = *(undefined4 *)PTR_stdin_003a8fc4;\n        *(undefined4 *)(unaff_s7 + 0x40) = 2;\n        *(undefined4 *)(unaff_s7 + 0x30) = 1;\n        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n        if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }\n      }\n      else {\n        iVar6 = (*(code *)PTR_LocaleNCompare_003a961c)(param_3,PTR_LAB_003a88e0 + 0x1ec0,3);\n        if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_IsGeometry_003a9418)(auStack_2029);\n          if (iVar6 != 0) {\n            local_102c = 0x7200;\n            uVar5 = (*(code *)PTR_strtol_003a954c)(auStack_2029,0,10);\n            iVar6 = (*(code *)PTR_fdopen_003a97d8)(uVar5,&local_102c);\n            *(int *)(unaff_s7 + 0x44) = iVar6;\n            puVar2 = PTR_GetImageOption_003a9168;\n            puVar1 = PTR_LAB_003a88e0;\n            if (iVar6 != 0) {\n              *(undefined4 *)(unaff_s7 + 0x40) = 1;\n              *(undefined4 *)(unaff_s7 + 0x30) = 1;\n              iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n              if (iVar6 == 0) {\n                iVar6 = 0x4000;\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n                uVar5 = 0;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n                uVar5 = 2;\n                if (iVar6 != 0) {\n                  uVar5 = 0;\n                }\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n              }\n              iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n              uVar10 = (uint)(iVar6 == 0);\n              goto LAB_00049c58;\n            }\n            puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n            (*(code *)PTR_DestroyString_003a9074)(uVar5);\n            uVar10 = 0;\n            goto LAB_00049c58;\n          }\n        }\n        iVar6 = (*(code *)PTR_GetPathAttributes_003a9364)(param_3,unaff_s7 + 0x48);\n        if ((iVar6 == 0) || ((*(uint *)(unaff_s7 + 0x60) & 0xf000) != 0x1000)) {\n          (*(code *)PTR_GetPathComponent_003a8e18)(unaff_s6,6,local_302c);\n          if (*(int *)(param_1 + 0x204) != 0) {\n            *(int *)(unaff_s7 + 0x44) = *(int *)(param_1 + 0x204);\n            *(undefined4 *)(unaff_s7 + 0x38) = 0;\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            *(undefined4 *)(unaff_s7 + 0x30) = 1;\n            *(undefined4 *)(unaff_s7 + 0x1c) = 0;\n            goto LAB_00049e88;\n          }\n          iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n          *(int *)(unaff_s7 + 0x44) = iVar6;\n          puVar2 = PTR_GetImageOption_003a9168;\n          puVar1 = PTR_LAB_003a88e0;\n          if (iVar6 != 0) {\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n            if (iVar6 == 0) {\n              iVar6 = 0x4000;\n              iVar7 = 0;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            else {\n              iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n              iVar7 = (uint)(iVar6 == 0) << 1;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            (*(code *)PTR_setvbuf_003a90f4)(uVar5,0,iVar7,iVar6);\n            local_102c = 0;\n            local_102a = 0;\n            unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)\n                                 (&local_102c,1,3,*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fseeko64_003a9944)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fflush_003a948c)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0);\n            iVar6 = *(int *)(unaff_s7 + 0x40);\n            if (iVar6 != 1) goto LAB_0004a138;\n            uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(param_1 + 0x210,uVar5);\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);\n            if ((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)) &&\n                (unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar6 != 0)) {\n              uVar5 = (*(code *)PTR_fileno_003a99cc)(*(undefined4 *)(unaff_s7 + 0x44));\n              unaff_s6 = (*(code *)PTR_MapBlob_003a978c)(uVar5,0,0,0,unaff_s5);\n              if (unaff_s6 == 0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                iVar6 = *(int *)(unaff_s7 + 0x40);\n                goto LAB_0004a138;\n              }\n              pcVar9 = (code *)PTR_fclose_003a939c;\n              if (*(int *)(param_1 + 0x204) == 0) goto LAB_0004a850;\n              *(undefined4 *)(unaff_s7 + 0x30) = 0;\n              goto LAB_0004a650;\n            }\n          }\n          iVar6 = *(int *)(unaff_s7 + 0x40);\n          goto LAB_0004a138;\n        }\n        iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n        *(int *)(unaff_s7 + 0x44) = iVar6;\n        puVar2 = PTR_GetImageOption_003a9168;\n        puVar1 = PTR_LAB_003a88e0;\n        if (iVar6 == 0) {\n          puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n          uVar8 = 0xd23;\n          goto LAB_0004a16c;\n        }\n        *(undefined4 *)(unaff_s7 + 0x40) = 1;\n        *(undefined4 *)(unaff_s7 + 0x30) = 1;\n        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n        if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }\n      }\n      iVar6 = 0x4000;\n      uVar5 = 0;\n      uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\nLAB_00049fe8:\n      iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n      uVar10 = (uint)(iVar6 == 0);\n      goto LAB_00049c58;\n    }\n  }\n  (*(code *)PTR___assert_fail_003a9608)\n            (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,PTR_LAB_003a88e0 + 0x1ad8);\nLAB_0004a824:\n  (*(code *)PTR___assert_fail_003a9608)(PTR_LAB_003a88e0 + 0xdd0,PTR_LAB_003a88e0 + 0x1ad8);\n  do {\n    pcVar9 = (code *)PTR___stack_chk_fail_003a9064;\n    (*(code *)PTR___stack_chk_fail_003a9064)();\nLAB_0004a850:\n    (*pcVar9)(*(undefined4 *)(unaff_s7 + 0x44));\n    *(undefined4 *)(unaff_s7 + 0x44) = 0;\nLAB_0004a650:\n    (*(code *)PTR_AttachBlob_003a92c8)(unaff_s7,unaff_s6,unaff_s5);\n    iVar6 = *(int *)(unaff_s7 + 0x40);\n    *(undefined4 *)(unaff_s7 + 0x10) = 1;\nLAB_0004a138:\n    *(undefined4 *)(unaff_s7 + 0x38) = 0;\n    *(undefined4 *)(unaff_s7 + 0x1c) = 0;\n    if (iVar6 == 0) {\n      puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n      uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n      uVar8 = 0xdd1;\nLAB_0004a16c:\n      uVar10 = 0;\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,uVar8,0x1b3,\n                 PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n      (*(code *)PTR_DestroyString_003a9074)(uVar5);\n    }\n    else {\nLAB_00049e88:\n      uVar10 = 1;\n      uVar11 = (*(code *)PTR_GetBlobSize_003a94b8)(param_2);\n      *(undefined8 *)(unaff_s7 + 0x28) = uVar11;\n    }\nLAB_00049c58:\n  } while (local_2c != *(int *)puVar3);\n  return uVar10;\n}" type_identifier (function_declarator "OpenBlob(int param_1,int param_2,char *param_3,undefined4 param_4)" identifier (parameter_list "(int param_1,int param_2,char *param_3,undefined4 param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "char *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  undefined4 uVar8;\n  int unaff_s1;\n  undefined4 unaff_s3;\n  char *unaff_s4;\n  undefined1 *unaff_s5;\n  int unaff_s6;\n  int unaff_s7;\n  code *pcVar9;\n  uint uVar10;\n  undefined8 uVar11;\n  undefined1 local_302c [4096];\n  char local_202c [3];\n  undefined1 auStack_2029 [4093];\n  undefined2 local_102c;\n  undefined1 local_102a;\n  int local_2c;\n  \n  puVar3 = PTR___stack_chk_guard_003a9230;\n  local_2c = *(int *)PTR___stack_chk_guard_003a9230;\n  pcVar9 = (code *)PTR___assert_fail_003a9608;\n  if (param_1 == 0) {\nLAB_0004a7e4:\n    (*pcVar9)(PTR_LAB_003a88e0 + 0x1c88,PTR_LAB_003a88e0 + 0x1ad8,0xca1,PTR_LAB_003a88e0 + 0x23d8);\n    param_2 = unaff_s1;\n    param_4 = unaff_s3;\n    param_3 = unaff_s4;\n  }\n  else {\n    if (*(int *)(param_1 + 0x3214) != -0x54535255) {\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xda0,PTR_LAB_003a88e0 + 0x1ad8,0xca2,PTR_LAB_003a88e0 + 0x23d8)\n      ;\n      goto LAB_0004a7e4;\n    }\n    if (*(int *)(param_1 + 0x3210) != 0) {\n      (*(code *)PTR_LogMagickEvent_003a91e0)\n                (0x8000,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xca4,\n                 PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210);\n    }\n    puVar1 = PTR_AttachBlob_003a92c8;\n    if (param_2 == 0) goto LAB_0004a824;\n    if (*(int *)(param_2 + 0x336c) == -0x54535255) {\n      iVar6 = *(int *)(param_1 + 0x208);\n      unaff_s7 = *(int *)(param_2 + 0x3348);\n      if (iVar6 != 0) {\n        if (*(int *)(param_1 + 0x200) != 0) {\n          *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        }\n        uVar10 = 1;\n        (*(code *)puVar1)(unaff_s7,iVar6,*(undefined4 *)(param_1 + 0x20c));\n        goto LAB_00049c58;\n      }\n      if ((*(int *)(param_1 + 0x3218) != 0) && (uVar10 = 1, *(char *)(param_2 + 0x340) == '\0')) {\n        *(int *)(unaff_s7 + 0xec) = *(int *)(param_1 + 0x3218);\n        *(undefined4 *)(unaff_s7 + 0x40) = 8;\n        goto LAB_00049c58;\n      }\n      (*(code *)PTR_DetachBlob_003a976c)(unaff_s7,0,0xca7);\n      *(char **)(unaff_s7 + 0xc) = param_3;\n      if (param_3 < &DAT_00000007) {\n                    /* WARNING: Could not emulate address calculation at 0x00049d10 */\n                    /* WARNING: Treating indirect jump as call */\n        uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098)))();\n        return uVar10;\n      }\n      unaff_s5 = PTR_LAB_003a88e0 + 0x4aa0;\n      unaff_s6 = param_2 + 0x340;\n      if (*(int *)(param_1 + 0x200) == 0) {\n        local_202c[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);\n      }\n      else {\n        *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        local_202c[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);\n      }\n      param_3 = local_202c;\n      iVar6 = (*(code *)PTR_IsRightsAuthorized_003a8db0)(4,1,param_3);\n      if (iVar6 == 0) {\n        puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n        *puVar4 = 1;\n        (*(code *)PTR_ThrowMagickException_003a8f20)\n                  (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcd9,499,\n                   PTR_LAB_003a88e0 + 0x1e9c,PTR_LAB_003a88e0 + 0x3e28,param_3);\n        uVar10 = 0;\n        goto LAB_00049c58;\n      }\n      iVar6 = (*(code *)PTR_LocaleCompare_003a9110)(param_3,PTR_s_courses_003a88ec + -0x7ac);\n      puVar2 = PTR_GetImageOption_003a9168;\n      puVar1 = PTR_LAB_003a88e0;\n      if ((iVar6 == 0) || ((local_202c[0] == '\0' && (*(int *)(param_1 + 0x204) == 0)))) {\n        param_4 = 2;\n        *(undefined4 *)(unaff_s7 + 0x44) = *(undefined4 *)PTR_stdin_003a8fc4;\n        *(undefined4 *)(unaff_s7 + 0x40) = 2;\n        *(undefined4 *)(unaff_s7 + 0x30) = 1;\n        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n        if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }\n      }\n      else {\n        iVar6 = (*(code *)PTR_LocaleNCompare_003a961c)(param_3,PTR_LAB_003a88e0 + 0x1ec0,3);\n        if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_IsGeometry_003a9418)(auStack_2029);\n          if (iVar6 != 0) {\n            local_102c = 0x7200;\n            uVar5 = (*(code *)PTR_strtol_003a954c)(auStack_2029,0,10);\n            iVar6 = (*(code *)PTR_fdopen_003a97d8)(uVar5,&local_102c);\n            *(int *)(unaff_s7 + 0x44) = iVar6;\n            puVar2 = PTR_GetImageOption_003a9168;\n            puVar1 = PTR_LAB_003a88e0;\n            if (iVar6 != 0) {\n              *(undefined4 *)(unaff_s7 + 0x40) = 1;\n              *(undefined4 *)(unaff_s7 + 0x30) = 1;\n              iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n              if (iVar6 == 0) {\n                iVar6 = 0x4000;\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n                uVar5 = 0;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n                uVar5 = 2;\n                if (iVar6 != 0) {\n                  uVar5 = 0;\n                }\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n              }\n              iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n              uVar10 = (uint)(iVar6 == 0);\n              goto LAB_00049c58;\n            }\n            puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n            (*(code *)PTR_DestroyString_003a9074)(uVar5);\n            uVar10 = 0;\n            goto LAB_00049c58;\n          }\n        }\n        iVar6 = (*(code *)PTR_GetPathAttributes_003a9364)(param_3,unaff_s7 + 0x48);\n        if ((iVar6 == 0) || ((*(uint *)(unaff_s7 + 0x60) & 0xf000) != 0x1000)) {\n          (*(code *)PTR_GetPathComponent_003a8e18)(unaff_s6,6,local_302c);\n          if (*(int *)(param_1 + 0x204) != 0) {\n            *(int *)(unaff_s7 + 0x44) = *(int *)(param_1 + 0x204);\n            *(undefined4 *)(unaff_s7 + 0x38) = 0;\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            *(undefined4 *)(unaff_s7 + 0x30) = 1;\n            *(undefined4 *)(unaff_s7 + 0x1c) = 0;\n            goto LAB_00049e88;\n          }\n          iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n          *(int *)(unaff_s7 + 0x44) = iVar6;\n          puVar2 = PTR_GetImageOption_003a9168;\n          puVar1 = PTR_LAB_003a88e0;\n          if (iVar6 != 0) {\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n            if (iVar6 == 0) {\n              iVar6 = 0x4000;\n              iVar7 = 0;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            else {\n              iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n              iVar7 = (uint)(iVar6 == 0) << 1;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            (*(code *)PTR_setvbuf_003a90f4)(uVar5,0,iVar7,iVar6);\n            local_102c = 0;\n            local_102a = 0;\n            unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)\n                                 (&local_102c,1,3,*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fseeko64_003a9944)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fflush_003a948c)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0);\n            iVar6 = *(int *)(unaff_s7 + 0x40);\n            if (iVar6 != 1) goto LAB_0004a138;\n            uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(param_1 + 0x210,uVar5);\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);\n            if ((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)) &&\n                (unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar6 != 0)) {\n              uVar5 = (*(code *)PTR_fileno_003a99cc)(*(undefined4 *)(unaff_s7 + 0x44));\n              unaff_s6 = (*(code *)PTR_MapBlob_003a978c)(uVar5,0,0,0,unaff_s5);\n              if (unaff_s6 == 0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                iVar6 = *(int *)(unaff_s7 + 0x40);\n                goto LAB_0004a138;\n              }\n              pcVar9 = (code *)PTR_fclose_003a939c;\n              if (*(int *)(param_1 + 0x204) == 0) goto LAB_0004a850;\n              *(undefined4 *)(unaff_s7 + 0x30) = 0;\n              goto LAB_0004a650;\n            }\n          }\n          iVar6 = *(int *)(unaff_s7 + 0x40);\n          goto LAB_0004a138;\n        }\n        iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n        *(int *)(unaff_s7 + 0x44) = iVar6;\n        puVar2 = PTR_GetImageOption_003a9168;\n        puVar1 = PTR_LAB_003a88e0;\n        if (iVar6 == 0) {\n          puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n          uVar8 = 0xd23;\n          goto LAB_0004a16c;\n        }\n        *(undefined4 *)(unaff_s7 + 0x40) = 1;\n        *(undefined4 *)(unaff_s7 + 0x30) = 1;\n        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n        if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }\n      }\n      iVar6 = 0x4000;\n      uVar5 = 0;\n      uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\nLAB_00049fe8:\n      iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n      uVar10 = (uint)(iVar6 == 0);\n      goto LAB_00049c58;\n    }\n  }\n  (*(code *)PTR___assert_fail_003a9608)\n            (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,PTR_LAB_003a88e0 + 0x1ad8);\nLAB_0004a824:\n  (*(code *)PTR___assert_fail_003a9608)(PTR_LAB_003a88e0 + 0xdd0,PTR_LAB_003a88e0 + 0x1ad8);\n  do {\n    pcVar9 = (code *)PTR___stack_chk_fail_003a9064;\n    (*(code *)PTR___stack_chk_fail_003a9064)();\nLAB_0004a850:\n    (*pcVar9)(*(undefined4 *)(unaff_s7 + 0x44));\n    *(undefined4 *)(unaff_s7 + 0x44) = 0;\nLAB_0004a650:\n    (*(code *)PTR_AttachBlob_003a92c8)(unaff_s7,unaff_s6,unaff_s5);\n    iVar6 = *(int *)(unaff_s7 + 0x40);\n    *(undefined4 *)(unaff_s7 + 0x10) = 1;\nLAB_0004a138:\n    *(undefined4 *)(unaff_s7 + 0x38) = 0;\n    *(undefined4 *)(unaff_s7 + 0x1c) = 0;\n    if (iVar6 == 0) {\n      puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n      uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n      uVar8 = 0xdd1;\nLAB_0004a16c:\n      uVar10 = 0;\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,uVar8,0x1b3,\n                 PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n      (*(code *)PTR_DestroyString_003a9074)(uVar5);\n    }\n    else {\nLAB_00049e88:\n      uVar10 = 1;\n      uVar11 = (*(code *)PTR_GetBlobSize_003a94b8)(param_2);\n      *(undefined8 *)(unaff_s7 + 0x28) = uVar11;\n    }\nLAB_00049c58:\n  } while (local_2c != *(int *)puVar3);\n  return uVar10;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "int unaff_s1;" primitive_type identifier ;) (declaration "undefined4 unaff_s3;" type_identifier identifier ;) (declaration "char *unaff_s4;" primitive_type (pointer_declarator "*unaff_s4" * identifier) ;) (declaration "undefined1 *unaff_s5;" type_identifier (pointer_declarator "*unaff_s5" * identifier) ;) (declaration "int unaff_s6;" primitive_type identifier ;) (declaration "int unaff_s7;" primitive_type identifier ;) (declaration "code *pcVar9;" type_identifier (pointer_declarator "*pcVar9" * identifier) ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "undefined8 uVar11;" type_identifier identifier ;) (declaration "undefined1 local_302c [4096];" type_identifier (array_declarator "local_302c [4096]" identifier [ number_literal ]) ;) (declaration "char local_202c [3];" primitive_type (array_declarator "local_202c [3]" identifier [ number_literal ]) ;) (declaration "undefined1 auStack_2029 [4093];" type_identifier (array_declarator "auStack_2029 [4093]" identifier [ number_literal ]) ;) (declaration "undefined2 local_102c;" type_identifier identifier ;) (declaration "undefined1 local_102a;" type_identifier identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (expression_statement "puVar3 = PTR___stack_chk_guard_003a9230;" (assignment_expression "puVar3 = PTR___stack_chk_guard_003a9230" identifier = identifier) ;) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_003a9230;" (assignment_expression "local_2c = *(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))) ;) (expression_statement "pcVar9 = (code *)PTR___assert_fail_003a9608;" (assignment_expression "pcVar9 = (code *)PTR___assert_fail_003a9608" identifier = (cast_expression "(code *)PTR___assert_fail_003a9608" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (param_1 == 0) {\nLAB_0004a7e4:\n    (*pcVar9)(PTR_LAB_003a88e0 + 0x1c88,PTR_LAB_003a88e0 + 0x1ad8,0xca1,PTR_LAB_003a88e0 + 0x23d8);\n    param_2 = unaff_s1;\n    param_4 = unaff_s3;\n    param_3 = unaff_s4;\n  }\n  else {\n    if (*(int *)(param_1 + 0x3214) != -0x54535255) {\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xda0,PTR_LAB_003a88e0 + 0x1ad8,0xca2,PTR_LAB_003a88e0 + 0x23d8)\n      ;\n      goto LAB_0004a7e4;\n    }\n    if (*(int *)(param_1 + 0x3210) != 0) {\n      (*(code *)PTR_LogMagickEvent_003a91e0)\n                (0x8000,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xca4,\n                 PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210);\n    }\n    puVar1 = PTR_AttachBlob_003a92c8;\n    if (param_2 == 0) goto LAB_0004a824;\n    if (*(int *)(param_2 + 0x336c) == -0x54535255) {\n      iVar6 = *(int *)(param_1 + 0x208);\n      unaff_s7 = *(int *)(param_2 + 0x3348);\n      if (iVar6 != 0) {\n        if (*(int *)(param_1 + 0x200) != 0) {\n          *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        }\n        uVar10 = 1;\n        (*(code *)puVar1)(unaff_s7,iVar6,*(undefined4 *)(param_1 + 0x20c));\n        goto LAB_00049c58;\n      }\n      if ((*(int *)(param_1 + 0x3218) != 0) && (uVar10 = 1, *(char *)(param_2 + 0x340) == '\0')) {\n        *(int *)(unaff_s7 + 0xec) = *(int *)(param_1 + 0x3218);\n        *(undefined4 *)(unaff_s7 + 0x40) = 8;\n        goto LAB_00049c58;\n      }\n      (*(code *)PTR_DetachBlob_003a976c)(unaff_s7,0,0xca7);\n      *(char **)(unaff_s7 + 0xc) = param_3;\n      if (param_3 < &DAT_00000007) {\n                    /* WARNING: Could not emulate address calculation at 0x00049d10 */\n                    /* WARNING: Treating indirect jump as call */\n        uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098)))();\n        return uVar10;\n      }\n      unaff_s5 = PTR_LAB_003a88e0 + 0x4aa0;\n      unaff_s6 = param_2 + 0x340;\n      if (*(int *)(param_1 + 0x200) == 0) {\n        local_202c[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);\n      }\n      else {\n        *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        local_202c[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);\n      }\n      param_3 = local_202c;\n      iVar6 = (*(code *)PTR_IsRightsAuthorized_003a8db0)(4,1,param_3);\n      if (iVar6 == 0) {\n        puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n        *puVar4 = 1;\n        (*(code *)PTR_ThrowMagickException_003a8f20)\n                  (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcd9,499,\n                   PTR_LAB_003a88e0 + 0x1e9c,PTR_LAB_003a88e0 + 0x3e28,param_3);\n        uVar10 = 0;\n        goto LAB_00049c58;\n      }\n      iVar6 = (*(code *)PTR_LocaleCompare_003a9110)(param_3,PTR_s_courses_003a88ec + -0x7ac);\n      puVar2 = PTR_GetImageOption_003a9168;\n      puVar1 = PTR_LAB_003a88e0;\n      if ((iVar6 == 0) || ((local_202c[0] == '\0' && (*(int *)(param_1 + 0x204) == 0)))) {\n        param_4 = 2;\n        *(undefined4 *)(unaff_s7 + 0x44) = *(undefined4 *)PTR_stdin_003a8fc4;\n        *(undefined4 *)(unaff_s7 + 0x40) = 2;\n        *(undefined4 *)(unaff_s7 + 0x30) = 1;\n        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n        if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }\n      }\n      else {\n        iVar6 = (*(code *)PTR_LocaleNCompare_003a961c)(param_3,PTR_LAB_003a88e0 + 0x1ec0,3);\n        if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_IsGeometry_003a9418)(auStack_2029);\n          if (iVar6 != 0) {\n            local_102c = 0x7200;\n            uVar5 = (*(code *)PTR_strtol_003a954c)(auStack_2029,0,10);\n            iVar6 = (*(code *)PTR_fdopen_003a97d8)(uVar5,&local_102c);\n            *(int *)(unaff_s7 + 0x44) = iVar6;\n            puVar2 = PTR_GetImageOption_003a9168;\n            puVar1 = PTR_LAB_003a88e0;\n            if (iVar6 != 0) {\n              *(undefined4 *)(unaff_s7 + 0x40) = 1;\n              *(undefined4 *)(unaff_s7 + 0x30) = 1;\n              iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n              if (iVar6 == 0) {\n                iVar6 = 0x4000;\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n                uVar5 = 0;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n                uVar5 = 2;\n                if (iVar6 != 0) {\n                  uVar5 = 0;\n                }\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n              }\n              iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n              uVar10 = (uint)(iVar6 == 0);\n              goto LAB_00049c58;\n            }\n            puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n            (*(code *)PTR_DestroyString_003a9074)(uVar5);\n            uVar10 = 0;\n            goto LAB_00049c58;\n          }\n        }\n        iVar6 = (*(code *)PTR_GetPathAttributes_003a9364)(param_3,unaff_s7 + 0x48);\n        if ((iVar6 == 0) || ((*(uint *)(unaff_s7 + 0x60) & 0xf000) != 0x1000)) {\n          (*(code *)PTR_GetPathComponent_003a8e18)(unaff_s6,6,local_302c);\n          if (*(int *)(param_1 + 0x204) != 0) {\n            *(int *)(unaff_s7 + 0x44) = *(int *)(param_1 + 0x204);\n            *(undefined4 *)(unaff_s7 + 0x38) = 0;\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            *(undefined4 *)(unaff_s7 + 0x30) = 1;\n            *(undefined4 *)(unaff_s7 + 0x1c) = 0;\n            goto LAB_00049e88;\n          }\n          iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n          *(int *)(unaff_s7 + 0x44) = iVar6;\n          puVar2 = PTR_GetImageOption_003a9168;\n          puVar1 = PTR_LAB_003a88e0;\n          if (iVar6 != 0) {\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n            if (iVar6 == 0) {\n              iVar6 = 0x4000;\n              iVar7 = 0;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            else {\n              iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n              iVar7 = (uint)(iVar6 == 0) << 1;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            (*(code *)PTR_setvbuf_003a90f4)(uVar5,0,iVar7,iVar6);\n            local_102c = 0;\n            local_102a = 0;\n            unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)\n                                 (&local_102c,1,3,*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fseeko64_003a9944)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fflush_003a948c)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0);\n            iVar6 = *(int *)(unaff_s7 + 0x40);\n            if (iVar6 != 1) goto LAB_0004a138;\n            uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(param_1 + 0x210,uVar5);\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);\n            if ((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)) &&\n                (unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar6 != 0)) {\n              uVar5 = (*(code *)PTR_fileno_003a99cc)(*(undefined4 *)(unaff_s7 + 0x44));\n              unaff_s6 = (*(code *)PTR_MapBlob_003a978c)(uVar5,0,0,0,unaff_s5);\n              if (unaff_s6 == 0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                iVar6 = *(int *)(unaff_s7 + 0x40);\n                goto LAB_0004a138;\n              }\n              pcVar9 = (code *)PTR_fclose_003a939c;\n              if (*(int *)(param_1 + 0x204) == 0) goto LAB_0004a850;\n              *(undefined4 *)(unaff_s7 + 0x30) = 0;\n              goto LAB_0004a650;\n            }\n          }\n          iVar6 = *(int *)(unaff_s7 + 0x40);\n          goto LAB_0004a138;\n        }\n        iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n        *(int *)(unaff_s7 + 0x44) = iVar6;\n        puVar2 = PTR_GetImageOption_003a9168;\n        puVar1 = PTR_LAB_003a88e0;\n        if (iVar6 == 0) {\n          puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n          uVar8 = 0xd23;\n          goto LAB_0004a16c;\n        }\n        *(undefined4 *)(unaff_s7 + 0x40) = 1;\n        *(undefined4 *)(unaff_s7 + 0x30) = 1;\n        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n        if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }\n      }\n      iVar6 = 0x4000;\n      uVar5 = 0;\n      uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\nLAB_00049fe8:\n      iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n      uVar10 = (uint)(iVar6 == 0);\n      goto LAB_00049c58;\n    }\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_0004a7e4:\n    (*pcVar9)(PTR_LAB_003a88e0 + 0x1c88,PTR_LAB_003a88e0 + 0x1ad8,0xca1,PTR_LAB_003a88e0 + 0x23d8);\n    param_2 = unaff_s1;\n    param_4 = unaff_s3;\n    param_3 = unaff_s4;\n  }" { (labeled_statement "LAB_0004a7e4:\n    (*pcVar9)(PTR_LAB_003a88e0 + 0x1c88,PTR_LAB_003a88e0 + 0x1ad8,0xca1,PTR_LAB_003a88e0 + 0x23d8);" statement_identifier : (expression_statement "(*pcVar9)(PTR_LAB_003a88e0 + 0x1c88,PTR_LAB_003a88e0 + 0x1ad8,0xca1,PTR_LAB_003a88e0 + 0x23d8);" (call_expression "(*pcVar9)(PTR_LAB_003a88e0 + 0x1c88,PTR_LAB_003a88e0 + 0x1ad8,0xca1,PTR_LAB_003a88e0 + 0x23d8)" (parenthesized_expression "(*pcVar9)" ( (pointer_expression "*pcVar9" * identifier) )) (argument_list "(PTR_LAB_003a88e0 + 0x1c88,PTR_LAB_003a88e0 + 0x1ad8,0xca1,PTR_LAB_003a88e0 + 0x23d8)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1c88" identifier + number_literal) , (binary_expression "PTR_LAB_003a88e0 + 0x1ad8" identifier + number_literal) , number_literal , (binary_expression "PTR_LAB_003a88e0 + 0x23d8" identifier + number_literal) ))) ;)) (expression_statement "param_2 = unaff_s1;" (assignment_expression "param_2 = unaff_s1" identifier = identifier) ;) (expression_statement "param_4 = unaff_s3;" (assignment_expression "param_4 = unaff_s3" identifier = identifier) ;) (expression_statement "param_3 = unaff_s4;" (assignment_expression "param_3 = unaff_s4" identifier = identifier) ;) }) (else_clause "else {\n    if (*(int *)(param_1 + 0x3214) != -0x54535255) {\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xda0,PTR_LAB_003a88e0 + 0x1ad8,0xca2,PTR_LAB_003a88e0 + 0x23d8)\n      ;\n      goto LAB_0004a7e4;\n    }\n    if (*(int *)(param_1 + 0x3210) != 0) {\n      (*(code *)PTR_LogMagickEvent_003a91e0)\n                (0x8000,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xca4,\n                 PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210);\n    }\n    puVar1 = PTR_AttachBlob_003a92c8;\n    if (param_2 == 0) goto LAB_0004a824;\n    if (*(int *)(param_2 + 0x336c) == -0x54535255) {\n      iVar6 = *(int *)(param_1 + 0x208);\n      unaff_s7 = *(int *)(param_2 + 0x3348);\n      if (iVar6 != 0) {\n        if (*(int *)(param_1 + 0x200) != 0) {\n          *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        }\n        uVar10 = 1;\n        (*(code *)puVar1)(unaff_s7,iVar6,*(undefined4 *)(param_1 + 0x20c));\n        goto LAB_00049c58;\n      }\n      if ((*(int *)(param_1 + 0x3218) != 0) && (uVar10 = 1, *(char *)(param_2 + 0x340) == '\0')) {\n        *(int *)(unaff_s7 + 0xec) = *(int *)(param_1 + 0x3218);\n        *(undefined4 *)(unaff_s7 + 0x40) = 8;\n        goto LAB_00049c58;\n      }\n      (*(code *)PTR_DetachBlob_003a976c)(unaff_s7,0,0xca7);\n      *(char **)(unaff_s7 + 0xc) = param_3;\n      if (param_3 < &DAT_00000007) {\n                    /* WARNING: Could not emulate address calculation at 0x00049d10 */\n                    /* WARNING: Treating indirect jump as call */\n        uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098)))();\n        return uVar10;\n      }\n      unaff_s5 = PTR_LAB_003a88e0 + 0x4aa0;\n      unaff_s6 = param_2 + 0x340;\n      if (*(int *)(param_1 + 0x200) == 0) {\n        local_202c[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);\n      }\n      else {\n        *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        local_202c[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);\n      }\n      param_3 = local_202c;\n      iVar6 = (*(code *)PTR_IsRightsAuthorized_003a8db0)(4,1,param_3);\n      if (iVar6 == 0) {\n        puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n        *puVar4 = 1;\n        (*(code *)PTR_ThrowMagickException_003a8f20)\n                  (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcd9,499,\n                   PTR_LAB_003a88e0 + 0x1e9c,PTR_LAB_003a88e0 + 0x3e28,param_3);\n        uVar10 = 0;\n        goto LAB_00049c58;\n      }\n      iVar6 = (*(code *)PTR_LocaleCompare_003a9110)(param_3,PTR_s_courses_003a88ec + -0x7ac);\n      puVar2 = PTR_GetImageOption_003a9168;\n      puVar1 = PTR_LAB_003a88e0;\n      if ((iVar6 == 0) || ((local_202c[0] == '\0' && (*(int *)(param_1 + 0x204) == 0)))) {\n        param_4 = 2;\n        *(undefined4 *)(unaff_s7 + 0x44) = *(undefined4 *)PTR_stdin_003a8fc4;\n        *(undefined4 *)(unaff_s7 + 0x40) = 2;\n        *(undefined4 *)(unaff_s7 + 0x30) = 1;\n        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n        if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }\n      }\n      else {\n        iVar6 = (*(code *)PTR_LocaleNCompare_003a961c)(param_3,PTR_LAB_003a88e0 + 0x1ec0,3);\n        if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_IsGeometry_003a9418)(auStack_2029);\n          if (iVar6 != 0) {\n            local_102c = 0x7200;\n            uVar5 = (*(code *)PTR_strtol_003a954c)(auStack_2029,0,10);\n            iVar6 = (*(code *)PTR_fdopen_003a97d8)(uVar5,&local_102c);\n            *(int *)(unaff_s7 + 0x44) = iVar6;\n            puVar2 = PTR_GetImageOption_003a9168;\n            puVar1 = PTR_LAB_003a88e0;\n            if (iVar6 != 0) {\n              *(undefined4 *)(unaff_s7 + 0x40) = 1;\n              *(undefined4 *)(unaff_s7 + 0x30) = 1;\n              iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n              if (iVar6 == 0) {\n                iVar6 = 0x4000;\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n                uVar5 = 0;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n                uVar5 = 2;\n                if (iVar6 != 0) {\n                  uVar5 = 0;\n                }\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n              }\n              iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n              uVar10 = (uint)(iVar6 == 0);\n              goto LAB_00049c58;\n            }\n            puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n            (*(code *)PTR_DestroyString_003a9074)(uVar5);\n            uVar10 = 0;\n            goto LAB_00049c58;\n          }\n        }\n        iVar6 = (*(code *)PTR_GetPathAttributes_003a9364)(param_3,unaff_s7 + 0x48);\n        if ((iVar6 == 0) || ((*(uint *)(unaff_s7 + 0x60) & 0xf000) != 0x1000)) {\n          (*(code *)PTR_GetPathComponent_003a8e18)(unaff_s6,6,local_302c);\n          if (*(int *)(param_1 + 0x204) != 0) {\n            *(int *)(unaff_s7 + 0x44) = *(int *)(param_1 + 0x204);\n            *(undefined4 *)(unaff_s7 + 0x38) = 0;\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            *(undefined4 *)(unaff_s7 + 0x30) = 1;\n            *(undefined4 *)(unaff_s7 + 0x1c) = 0;\n            goto LAB_00049e88;\n          }\n          iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n          *(int *)(unaff_s7 + 0x44) = iVar6;\n          puVar2 = PTR_GetImageOption_003a9168;\n          puVar1 = PTR_LAB_003a88e0;\n          if (iVar6 != 0) {\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n            if (iVar6 == 0) {\n              iVar6 = 0x4000;\n              iVar7 = 0;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            else {\n              iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n              iVar7 = (uint)(iVar6 == 0) << 1;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            (*(code *)PTR_setvbuf_003a90f4)(uVar5,0,iVar7,iVar6);\n            local_102c = 0;\n            local_102a = 0;\n            unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)\n                                 (&local_102c,1,3,*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fseeko64_003a9944)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fflush_003a948c)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0);\n            iVar6 = *(int *)(unaff_s7 + 0x40);\n            if (iVar6 != 1) goto LAB_0004a138;\n            uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(param_1 + 0x210,uVar5);\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);\n            if ((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)) &&\n                (unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar6 != 0)) {\n              uVar5 = (*(code *)PTR_fileno_003a99cc)(*(undefined4 *)(unaff_s7 + 0x44));\n              unaff_s6 = (*(code *)PTR_MapBlob_003a978c)(uVar5,0,0,0,unaff_s5);\n              if (unaff_s6 == 0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                iVar6 = *(int *)(unaff_s7 + 0x40);\n                goto LAB_0004a138;\n              }\n              pcVar9 = (code *)PTR_fclose_003a939c;\n              if (*(int *)(param_1 + 0x204) == 0) goto LAB_0004a850;\n              *(undefined4 *)(unaff_s7 + 0x30) = 0;\n              goto LAB_0004a650;\n            }\n          }\n          iVar6 = *(int *)(unaff_s7 + 0x40);\n          goto LAB_0004a138;\n        }\n        iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n        *(int *)(unaff_s7 + 0x44) = iVar6;\n        puVar2 = PTR_GetImageOption_003a9168;\n        puVar1 = PTR_LAB_003a88e0;\n        if (iVar6 == 0) {\n          puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n          uVar8 = 0xd23;\n          goto LAB_0004a16c;\n        }\n        *(undefined4 *)(unaff_s7 + 0x40) = 1;\n        *(undefined4 *)(unaff_s7 + 0x30) = 1;\n        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n        if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }\n      }\n      iVar6 = 0x4000;\n      uVar5 = 0;\n      uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\nLAB_00049fe8:\n      iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n      uVar10 = (uint)(iVar6 == 0);\n      goto LAB_00049c58;\n    }\n  }" else (compound_statement "{\n    if (*(int *)(param_1 + 0x3214) != -0x54535255) {\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xda0,PTR_LAB_003a88e0 + 0x1ad8,0xca2,PTR_LAB_003a88e0 + 0x23d8)\n      ;\n      goto LAB_0004a7e4;\n    }\n    if (*(int *)(param_1 + 0x3210) != 0) {\n      (*(code *)PTR_LogMagickEvent_003a91e0)\n                (0x8000,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xca4,\n                 PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210);\n    }\n    puVar1 = PTR_AttachBlob_003a92c8;\n    if (param_2 == 0) goto LAB_0004a824;\n    if (*(int *)(param_2 + 0x336c) == -0x54535255) {\n      iVar6 = *(int *)(param_1 + 0x208);\n      unaff_s7 = *(int *)(param_2 + 0x3348);\n      if (iVar6 != 0) {\n        if (*(int *)(param_1 + 0x200) != 0) {\n          *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        }\n        uVar10 = 1;\n        (*(code *)puVar1)(unaff_s7,iVar6,*(undefined4 *)(param_1 + 0x20c));\n        goto LAB_00049c58;\n      }\n      if ((*(int *)(param_1 + 0x3218) != 0) && (uVar10 = 1, *(char *)(param_2 + 0x340) == '\0')) {\n        *(int *)(unaff_s7 + 0xec) = *(int *)(param_1 + 0x3218);\n        *(undefined4 *)(unaff_s7 + 0x40) = 8;\n        goto LAB_00049c58;\n      }\n      (*(code *)PTR_DetachBlob_003a976c)(unaff_s7,0,0xca7);\n      *(char **)(unaff_s7 + 0xc) = param_3;\n      if (param_3 < &DAT_00000007) {\n                    /* WARNING: Could not emulate address calculation at 0x00049d10 */\n                    /* WARNING: Treating indirect jump as call */\n        uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098)))();\n        return uVar10;\n      }\n      unaff_s5 = PTR_LAB_003a88e0 + 0x4aa0;\n      unaff_s6 = param_2 + 0x340;\n      if (*(int *)(param_1 + 0x200) == 0) {\n        local_202c[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);\n      }\n      else {\n        *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        local_202c[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);\n      }\n      param_3 = local_202c;\n      iVar6 = (*(code *)PTR_IsRightsAuthorized_003a8db0)(4,1,param_3);\n      if (iVar6 == 0) {\n        puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n        *puVar4 = 1;\n        (*(code *)PTR_ThrowMagickException_003a8f20)\n                  (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcd9,499,\n                   PTR_LAB_003a88e0 + 0x1e9c,PTR_LAB_003a88e0 + 0x3e28,param_3);\n        uVar10 = 0;\n        goto LAB_00049c58;\n      }\n      iVar6 = (*(code *)PTR_LocaleCompare_003a9110)(param_3,PTR_s_courses_003a88ec + -0x7ac);\n      puVar2 = PTR_GetImageOption_003a9168;\n      puVar1 = PTR_LAB_003a88e0;\n      if ((iVar6 == 0) || ((local_202c[0] == '\0' && (*(int *)(param_1 + 0x204) == 0)))) {\n        param_4 = 2;\n        *(undefined4 *)(unaff_s7 + 0x44) = *(undefined4 *)PTR_stdin_003a8fc4;\n        *(undefined4 *)(unaff_s7 + 0x40) = 2;\n        *(undefined4 *)(unaff_s7 + 0x30) = 1;\n        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n        if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }\n      }\n      else {\n        iVar6 = (*(code *)PTR_LocaleNCompare_003a961c)(param_3,PTR_LAB_003a88e0 + 0x1ec0,3);\n        if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_IsGeometry_003a9418)(auStack_2029);\n          if (iVar6 != 0) {\n            local_102c = 0x7200;\n            uVar5 = (*(code *)PTR_strtol_003a954c)(auStack_2029,0,10);\n            iVar6 = (*(code *)PTR_fdopen_003a97d8)(uVar5,&local_102c);\n            *(int *)(unaff_s7 + 0x44) = iVar6;\n            puVar2 = PTR_GetImageOption_003a9168;\n            puVar1 = PTR_LAB_003a88e0;\n            if (iVar6 != 0) {\n              *(undefined4 *)(unaff_s7 + 0x40) = 1;\n              *(undefined4 *)(unaff_s7 + 0x30) = 1;\n              iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n              if (iVar6 == 0) {\n                iVar6 = 0x4000;\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n                uVar5 = 0;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n                uVar5 = 2;\n                if (iVar6 != 0) {\n                  uVar5 = 0;\n                }\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n              }\n              iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n              uVar10 = (uint)(iVar6 == 0);\n              goto LAB_00049c58;\n            }\n            puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n            (*(code *)PTR_DestroyString_003a9074)(uVar5);\n            uVar10 = 0;\n            goto LAB_00049c58;\n          }\n        }\n        iVar6 = (*(code *)PTR_GetPathAttributes_003a9364)(param_3,unaff_s7 + 0x48);\n        if ((iVar6 == 0) || ((*(uint *)(unaff_s7 + 0x60) & 0xf000) != 0x1000)) {\n          (*(code *)PTR_GetPathComponent_003a8e18)(unaff_s6,6,local_302c);\n          if (*(int *)(param_1 + 0x204) != 0) {\n            *(int *)(unaff_s7 + 0x44) = *(int *)(param_1 + 0x204);\n            *(undefined4 *)(unaff_s7 + 0x38) = 0;\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            *(undefined4 *)(unaff_s7 + 0x30) = 1;\n            *(undefined4 *)(unaff_s7 + 0x1c) = 0;\n            goto LAB_00049e88;\n          }\n          iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n          *(int *)(unaff_s7 + 0x44) = iVar6;\n          puVar2 = PTR_GetImageOption_003a9168;\n          puVar1 = PTR_LAB_003a88e0;\n          if (iVar6 != 0) {\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n            if (iVar6 == 0) {\n              iVar6 = 0x4000;\n              iVar7 = 0;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            else {\n              iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n              iVar7 = (uint)(iVar6 == 0) << 1;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            (*(code *)PTR_setvbuf_003a90f4)(uVar5,0,iVar7,iVar6);\n            local_102c = 0;\n            local_102a = 0;\n            unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)\n                                 (&local_102c,1,3,*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fseeko64_003a9944)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fflush_003a948c)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0);\n            iVar6 = *(int *)(unaff_s7 + 0x40);\n            if (iVar6 != 1) goto LAB_0004a138;\n            uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(param_1 + 0x210,uVar5);\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);\n            if ((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)) &&\n                (unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar6 != 0)) {\n              uVar5 = (*(code *)PTR_fileno_003a99cc)(*(undefined4 *)(unaff_s7 + 0x44));\n              unaff_s6 = (*(code *)PTR_MapBlob_003a978c)(uVar5,0,0,0,unaff_s5);\n              if (unaff_s6 == 0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                iVar6 = *(int *)(unaff_s7 + 0x40);\n                goto LAB_0004a138;\n              }\n              pcVar9 = (code *)PTR_fclose_003a939c;\n              if (*(int *)(param_1 + 0x204) == 0) goto LAB_0004a850;\n              *(undefined4 *)(unaff_s7 + 0x30) = 0;\n              goto LAB_0004a650;\n            }\n          }\n          iVar6 = *(int *)(unaff_s7 + 0x40);\n          goto LAB_0004a138;\n        }\n        iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n        *(int *)(unaff_s7 + 0x44) = iVar6;\n        puVar2 = PTR_GetImageOption_003a9168;\n        puVar1 = PTR_LAB_003a88e0;\n        if (iVar6 == 0) {\n          puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n          uVar8 = 0xd23;\n          goto LAB_0004a16c;\n        }\n        *(undefined4 *)(unaff_s7 + 0x40) = 1;\n        *(undefined4 *)(unaff_s7 + 0x30) = 1;\n        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n        if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }\n      }\n      iVar6 = 0x4000;\n      uVar5 = 0;\n      uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\nLAB_00049fe8:\n      iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n      uVar10 = (uint)(iVar6 == 0);\n      goto LAB_00049c58;\n    }\n  }" { (if_statement "if (*(int *)(param_1 + 0x3214) != -0x54535255) {\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xda0,PTR_LAB_003a88e0 + 0x1ad8,0xca2,PTR_LAB_003a88e0 + 0x23d8)\n      ;\n      goto LAB_0004a7e4;\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      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xda0,PTR_LAB_003a88e0 + 0x1ad8,0xca2,PTR_LAB_003a88e0 + 0x23d8)\n      ;\n      goto LAB_0004a7e4;\n    }" { (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xda0,PTR_LAB_003a88e0 + 0x1ad8,0xca2,PTR_LAB_003a88e0 + 0x23d8)\n      ;" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xda0,PTR_LAB_003a88e0 + 0x1ad8,0xca2,PTR_LAB_003a88e0 + 0x23d8)" (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_LAB_003a88e0 + 0x1ad8,0xca2,PTR_LAB_003a88e0 + 0x23d8)" ( (binary_expression "PTR_LAB_003a88e0 + 0xda0" identifier + number_literal) , (binary_expression "PTR_LAB_003a88e0 + 0x1ad8" identifier + number_literal) , number_literal , (binary_expression "PTR_LAB_003a88e0 + 0x23d8" identifier + number_literal) ))) ;) (goto_statement "goto LAB_0004a7e4;" goto statement_identifier ;) })) (if_statement "if (*(int *)(param_1 + 0x3210) != 0) {\n      (*(code *)PTR_LogMagickEvent_003a91e0)\n                (0x8000,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xca4,\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_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xca4,\n                 PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210);\n    }" { (expression_statement "(*(code *)PTR_LogMagickEvent_003a91e0)\n                (0x8000,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xca4,\n                 PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210);" (call_expression "(*(code *)PTR_LogMagickEvent_003a91e0)\n                (0x8000,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xca4,\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_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xca4,\n                 PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210)" ( number_literal , (binary_expression "PTR_LAB_003a88e0 + 0x1ad8" identifier + number_literal) , (binary_expression "PTR_LAB_003a88e0 + 0x23cc" 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) ))) ;) })) (expression_statement "puVar1 = PTR_AttachBlob_003a92c8;" (assignment_expression "puVar1 = PTR_AttachBlob_003a92c8" identifier = identifier) ;) (if_statement "if (param_2 == 0) goto LAB_0004a824;" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0004a824;" goto statement_identifier ;)) (if_statement "if (*(int *)(param_2 + 0x336c) == -0x54535255) {\n      iVar6 = *(int *)(param_1 + 0x208);\n      unaff_s7 = *(int *)(param_2 + 0x3348);\n      if (iVar6 != 0) {\n        if (*(int *)(param_1 + 0x200) != 0) {\n          *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        }\n        uVar10 = 1;\n        (*(code *)puVar1)(unaff_s7,iVar6,*(undefined4 *)(param_1 + 0x20c));\n        goto LAB_00049c58;\n      }\n      if ((*(int *)(param_1 + 0x3218) != 0) && (uVar10 = 1, *(char *)(param_2 + 0x340) == '\0')) {\n        *(int *)(unaff_s7 + 0xec) = *(int *)(param_1 + 0x3218);\n        *(undefined4 *)(unaff_s7 + 0x40) = 8;\n        goto LAB_00049c58;\n      }\n      (*(code *)PTR_DetachBlob_003a976c)(unaff_s7,0,0xca7);\n      *(char **)(unaff_s7 + 0xc) = param_3;\n      if (param_3 < &DAT_00000007) {\n                    /* WARNING: Could not emulate address calculation at 0x00049d10 */\n                    /* WARNING: Treating indirect jump as call */\n        uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098)))();\n        return uVar10;\n      }\n      unaff_s5 = PTR_LAB_003a88e0 + 0x4aa0;\n      unaff_s6 = param_2 + 0x340;\n      if (*(int *)(param_1 + 0x200) == 0) {\n        local_202c[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);\n      }\n      else {\n        *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        local_202c[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);\n      }\n      param_3 = local_202c;\n      iVar6 = (*(code *)PTR_IsRightsAuthorized_003a8db0)(4,1,param_3);\n      if (iVar6 == 0) {\n        puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n        *puVar4 = 1;\n        (*(code *)PTR_ThrowMagickException_003a8f20)\n                  (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcd9,499,\n                   PTR_LAB_003a88e0 + 0x1e9c,PTR_LAB_003a88e0 + 0x3e28,param_3);\n        uVar10 = 0;\n        goto LAB_00049c58;\n      }\n      iVar6 = (*(code *)PTR_LocaleCompare_003a9110)(param_3,PTR_s_courses_003a88ec + -0x7ac);\n      puVar2 = PTR_GetImageOption_003a9168;\n      puVar1 = PTR_LAB_003a88e0;\n      if ((iVar6 == 0) || ((local_202c[0] == '\0' && (*(int *)(param_1 + 0x204) == 0)))) {\n        param_4 = 2;\n        *(undefined4 *)(unaff_s7 + 0x44) = *(undefined4 *)PTR_stdin_003a8fc4;\n        *(undefined4 *)(unaff_s7 + 0x40) = 2;\n        *(undefined4 *)(unaff_s7 + 0x30) = 1;\n        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n        if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }\n      }\n      else {\n        iVar6 = (*(code *)PTR_LocaleNCompare_003a961c)(param_3,PTR_LAB_003a88e0 + 0x1ec0,3);\n        if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_IsGeometry_003a9418)(auStack_2029);\n          if (iVar6 != 0) {\n            local_102c = 0x7200;\n            uVar5 = (*(code *)PTR_strtol_003a954c)(auStack_2029,0,10);\n            iVar6 = (*(code *)PTR_fdopen_003a97d8)(uVar5,&local_102c);\n            *(int *)(unaff_s7 + 0x44) = iVar6;\n            puVar2 = PTR_GetImageOption_003a9168;\n            puVar1 = PTR_LAB_003a88e0;\n            if (iVar6 != 0) {\n              *(undefined4 *)(unaff_s7 + 0x40) = 1;\n              *(undefined4 *)(unaff_s7 + 0x30) = 1;\n              iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n              if (iVar6 == 0) {\n                iVar6 = 0x4000;\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n                uVar5 = 0;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n                uVar5 = 2;\n                if (iVar6 != 0) {\n                  uVar5 = 0;\n                }\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n              }\n              iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n              uVar10 = (uint)(iVar6 == 0);\n              goto LAB_00049c58;\n            }\n            puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n            (*(code *)PTR_DestroyString_003a9074)(uVar5);\n            uVar10 = 0;\n            goto LAB_00049c58;\n          }\n        }\n        iVar6 = (*(code *)PTR_GetPathAttributes_003a9364)(param_3,unaff_s7 + 0x48);\n        if ((iVar6 == 0) || ((*(uint *)(unaff_s7 + 0x60) & 0xf000) != 0x1000)) {\n          (*(code *)PTR_GetPathComponent_003a8e18)(unaff_s6,6,local_302c);\n          if (*(int *)(param_1 + 0x204) != 0) {\n            *(int *)(unaff_s7 + 0x44) = *(int *)(param_1 + 0x204);\n            *(undefined4 *)(unaff_s7 + 0x38) = 0;\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            *(undefined4 *)(unaff_s7 + 0x30) = 1;\n            *(undefined4 *)(unaff_s7 + 0x1c) = 0;\n            goto LAB_00049e88;\n          }\n          iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n          *(int *)(unaff_s7 + 0x44) = iVar6;\n          puVar2 = PTR_GetImageOption_003a9168;\n          puVar1 = PTR_LAB_003a88e0;\n          if (iVar6 != 0) {\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n            if (iVar6 == 0) {\n              iVar6 = 0x4000;\n              iVar7 = 0;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            else {\n              iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n              iVar7 = (uint)(iVar6 == 0) << 1;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            (*(code *)PTR_setvbuf_003a90f4)(uVar5,0,iVar7,iVar6);\n            local_102c = 0;\n            local_102a = 0;\n            unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)\n                                 (&local_102c,1,3,*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fseeko64_003a9944)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fflush_003a948c)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0);\n            iVar6 = *(int *)(unaff_s7 + 0x40);\n            if (iVar6 != 1) goto LAB_0004a138;\n            uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(param_1 + 0x210,uVar5);\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);\n            if ((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)) &&\n                (unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar6 != 0)) {\n              uVar5 = (*(code *)PTR_fileno_003a99cc)(*(undefined4 *)(unaff_s7 + 0x44));\n              unaff_s6 = (*(code *)PTR_MapBlob_003a978c)(uVar5,0,0,0,unaff_s5);\n              if (unaff_s6 == 0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                iVar6 = *(int *)(unaff_s7 + 0x40);\n                goto LAB_0004a138;\n              }\n              pcVar9 = (code *)PTR_fclose_003a939c;\n              if (*(int *)(param_1 + 0x204) == 0) goto LAB_0004a850;\n              *(undefined4 *)(unaff_s7 + 0x30) = 0;\n              goto LAB_0004a650;\n            }\n          }\n          iVar6 = *(int *)(unaff_s7 + 0x40);\n          goto LAB_0004a138;\n        }\n        iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n        *(int *)(unaff_s7 + 0x44) = iVar6;\n        puVar2 = PTR_GetImageOption_003a9168;\n        puVar1 = PTR_LAB_003a88e0;\n        if (iVar6 == 0) {\n          puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n          uVar8 = 0xd23;\n          goto LAB_0004a16c;\n        }\n        *(undefined4 *)(unaff_s7 + 0x40) = 1;\n        *(undefined4 *)(unaff_s7 + 0x30) = 1;\n        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n        if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }\n      }\n      iVar6 = 0x4000;\n      uVar5 = 0;\n      uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\nLAB_00049fe8:\n      iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n      uVar10 = (uint)(iVar6 == 0);\n      goto LAB_00049c58;\n    }" if (parenthesized_expression "(*(int *)(param_2 + 0x336c) == -0x54535255)" ( (binary_expression "*(int *)(param_2 + 0x336c) == -0x54535255" (pointer_expression "*(int *)(param_2 + 0x336c)" * (cast_expression "(int *)(param_2 + 0x336c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x336c)" ( (binary_expression "param_2 + 0x336c" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      iVar6 = *(int *)(param_1 + 0x208);\n      unaff_s7 = *(int *)(param_2 + 0x3348);\n      if (iVar6 != 0) {\n        if (*(int *)(param_1 + 0x200) != 0) {\n          *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        }\n        uVar10 = 1;\n        (*(code *)puVar1)(unaff_s7,iVar6,*(undefined4 *)(param_1 + 0x20c));\n        goto LAB_00049c58;\n      }\n      if ((*(int *)(param_1 + 0x3218) != 0) && (uVar10 = 1, *(char *)(param_2 + 0x340) == '\0')) {\n        *(int *)(unaff_s7 + 0xec) = *(int *)(param_1 + 0x3218);\n        *(undefined4 *)(unaff_s7 + 0x40) = 8;\n        goto LAB_00049c58;\n      }\n      (*(code *)PTR_DetachBlob_003a976c)(unaff_s7,0,0xca7);\n      *(char **)(unaff_s7 + 0xc) = param_3;\n      if (param_3 < &DAT_00000007) {\n                    /* WARNING: Could not emulate address calculation at 0x00049d10 */\n                    /* WARNING: Treating indirect jump as call */\n        uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098)))();\n        return uVar10;\n      }\n      unaff_s5 = PTR_LAB_003a88e0 + 0x4aa0;\n      unaff_s6 = param_2 + 0x340;\n      if (*(int *)(param_1 + 0x200) == 0) {\n        local_202c[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);\n      }\n      else {\n        *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        local_202c[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);\n      }\n      param_3 = local_202c;\n      iVar6 = (*(code *)PTR_IsRightsAuthorized_003a8db0)(4,1,param_3);\n      if (iVar6 == 0) {\n        puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n        *puVar4 = 1;\n        (*(code *)PTR_ThrowMagickException_003a8f20)\n                  (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcd9,499,\n                   PTR_LAB_003a88e0 + 0x1e9c,PTR_LAB_003a88e0 + 0x3e28,param_3);\n        uVar10 = 0;\n        goto LAB_00049c58;\n      }\n      iVar6 = (*(code *)PTR_LocaleCompare_003a9110)(param_3,PTR_s_courses_003a88ec + -0x7ac);\n      puVar2 = PTR_GetImageOption_003a9168;\n      puVar1 = PTR_LAB_003a88e0;\n      if ((iVar6 == 0) || ((local_202c[0] == '\0' && (*(int *)(param_1 + 0x204) == 0)))) {\n        param_4 = 2;\n        *(undefined4 *)(unaff_s7 + 0x44) = *(undefined4 *)PTR_stdin_003a8fc4;\n        *(undefined4 *)(unaff_s7 + 0x40) = 2;\n        *(undefined4 *)(unaff_s7 + 0x30) = 1;\n        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n        if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }\n      }\n      else {\n        iVar6 = (*(code *)PTR_LocaleNCompare_003a961c)(param_3,PTR_LAB_003a88e0 + 0x1ec0,3);\n        if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_IsGeometry_003a9418)(auStack_2029);\n          if (iVar6 != 0) {\n            local_102c = 0x7200;\n            uVar5 = (*(code *)PTR_strtol_003a954c)(auStack_2029,0,10);\n            iVar6 = (*(code *)PTR_fdopen_003a97d8)(uVar5,&local_102c);\n            *(int *)(unaff_s7 + 0x44) = iVar6;\n            puVar2 = PTR_GetImageOption_003a9168;\n            puVar1 = PTR_LAB_003a88e0;\n            if (iVar6 != 0) {\n              *(undefined4 *)(unaff_s7 + 0x40) = 1;\n              *(undefined4 *)(unaff_s7 + 0x30) = 1;\n              iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n              if (iVar6 == 0) {\n                iVar6 = 0x4000;\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n                uVar5 = 0;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n                uVar5 = 2;\n                if (iVar6 != 0) {\n                  uVar5 = 0;\n                }\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n              }\n              iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n              uVar10 = (uint)(iVar6 == 0);\n              goto LAB_00049c58;\n            }\n            puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n            (*(code *)PTR_DestroyString_003a9074)(uVar5);\n            uVar10 = 0;\n            goto LAB_00049c58;\n          }\n        }\n        iVar6 = (*(code *)PTR_GetPathAttributes_003a9364)(param_3,unaff_s7 + 0x48);\n        if ((iVar6 == 0) || ((*(uint *)(unaff_s7 + 0x60) & 0xf000) != 0x1000)) {\n          (*(code *)PTR_GetPathComponent_003a8e18)(unaff_s6,6,local_302c);\n          if (*(int *)(param_1 + 0x204) != 0) {\n            *(int *)(unaff_s7 + 0x44) = *(int *)(param_1 + 0x204);\n            *(undefined4 *)(unaff_s7 + 0x38) = 0;\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            *(undefined4 *)(unaff_s7 + 0x30) = 1;\n            *(undefined4 *)(unaff_s7 + 0x1c) = 0;\n            goto LAB_00049e88;\n          }\n          iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n          *(int *)(unaff_s7 + 0x44) = iVar6;\n          puVar2 = PTR_GetImageOption_003a9168;\n          puVar1 = PTR_LAB_003a88e0;\n          if (iVar6 != 0) {\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n            if (iVar6 == 0) {\n              iVar6 = 0x4000;\n              iVar7 = 0;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            else {\n              iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n              iVar7 = (uint)(iVar6 == 0) << 1;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            (*(code *)PTR_setvbuf_003a90f4)(uVar5,0,iVar7,iVar6);\n            local_102c = 0;\n            local_102a = 0;\n            unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)\n                                 (&local_102c,1,3,*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fseeko64_003a9944)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fflush_003a948c)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0);\n            iVar6 = *(int *)(unaff_s7 + 0x40);\n            if (iVar6 != 1) goto LAB_0004a138;\n            uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(param_1 + 0x210,uVar5);\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);\n            if ((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)) &&\n                (unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar6 != 0)) {\n              uVar5 = (*(code *)PTR_fileno_003a99cc)(*(undefined4 *)(unaff_s7 + 0x44));\n              unaff_s6 = (*(code *)PTR_MapBlob_003a978c)(uVar5,0,0,0,unaff_s5);\n              if (unaff_s6 == 0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                iVar6 = *(int *)(unaff_s7 + 0x40);\n                goto LAB_0004a138;\n              }\n              pcVar9 = (code *)PTR_fclose_003a939c;\n              if (*(int *)(param_1 + 0x204) == 0) goto LAB_0004a850;\n              *(undefined4 *)(unaff_s7 + 0x30) = 0;\n              goto LAB_0004a650;\n            }\n          }\n          iVar6 = *(int *)(unaff_s7 + 0x40);\n          goto LAB_0004a138;\n        }\n        iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n        *(int *)(unaff_s7 + 0x44) = iVar6;\n        puVar2 = PTR_GetImageOption_003a9168;\n        puVar1 = PTR_LAB_003a88e0;\n        if (iVar6 == 0) {\n          puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n          uVar8 = 0xd23;\n          goto LAB_0004a16c;\n        }\n        *(undefined4 *)(unaff_s7 + 0x40) = 1;\n        *(undefined4 *)(unaff_s7 + 0x30) = 1;\n        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n        if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }\n      }\n      iVar6 = 0x4000;\n      uVar5 = 0;\n      uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\nLAB_00049fe8:\n      iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n      uVar10 = (uint)(iVar6 == 0);\n      goto LAB_00049c58;\n    }" { (expression_statement "iVar6 = *(int *)(param_1 + 0x208);" (assignment_expression "iVar6 = *(int *)(param_1 + 0x208)" identifier = (pointer_expression "*(int *)(param_1 + 0x208)" * (cast_expression "(int *)(param_1 + 0x208)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x208)" ( (binary_expression "param_1 + 0x208" identifier + number_literal) ))))) ;) (expression_statement "unaff_s7 = *(int *)(param_2 + 0x3348);" (assignment_expression "unaff_s7 = *(int *)(param_2 + 0x3348)" identifier = (pointer_expression "*(int *)(param_2 + 0x3348)" * (cast_expression "(int *)(param_2 + 0x3348)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x3348)" ( (binary_expression "param_2 + 0x3348" identifier + number_literal) ))))) ;) (if_statement "if (iVar6 != 0) {\n        if (*(int *)(param_1 + 0x200) != 0) {\n          *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        }\n        uVar10 = 1;\n        (*(code *)puVar1)(unaff_s7,iVar6,*(undefined4 *)(param_1 + 0x20c));\n        goto LAB_00049c58;\n      }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n        if (*(int *)(param_1 + 0x200) != 0) {\n          *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        }\n        uVar10 = 1;\n        (*(code *)puVar1)(unaff_s7,iVar6,*(undefined4 *)(param_1 + 0x20c));\n        goto LAB_00049c58;\n      }" { (if_statement "if (*(int *)(param_1 + 0x200) != 0) {\n          *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        }" if (parenthesized_expression "(*(int *)(param_1 + 0x200) != 0)" ( (binary_expression "*(int *)(param_1 + 0x200) != 0" (pointer_expression "*(int *)(param_1 + 0x200)" * (cast_expression "(int *)(param_1 + 0x200)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x200)" ( (binary_expression "param_1 + 0x200" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n          *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        }" { (expression_statement "*(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);" (assignment_expression "*(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200)" (pointer_expression "*(int *)(unaff_s7 + 0xe8)" * (cast_expression "(int *)(unaff_s7 + 0xe8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0xe8)" ( (binary_expression "unaff_s7 + 0xe8" identifier + number_literal) )))) = (pointer_expression "*(int *)(param_1 + 0x200)" * (cast_expression "(int *)(param_1 + 0x200)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x200)" ( (binary_expression "param_1 + 0x200" identifier + number_literal) ))))) ;) })) (expression_statement "uVar10 = 1;" (assignment_expression "uVar10 = 1" identifier = number_literal) ;) (expression_statement "(*(code *)puVar1)(unaff_s7,iVar6,*(undefined4 *)(param_1 + 0x20c));" (call_expression "(*(code *)puVar1)(unaff_s7,iVar6,*(undefined4 *)(param_1 + 0x20c))" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s7,iVar6,*(undefined4 *)(param_1 + 0x20c))" ( identifier , identifier , (pointer_expression "*(undefined4 *)(param_1 + 0x20c)" * (cast_expression "(undefined4 *)(param_1 + 0x20c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20c)" ( (binary_expression "param_1 + 0x20c" identifier + number_literal) )))) ))) ;) (goto_statement "goto LAB_00049c58;" goto statement_identifier ;) })) (if_statement "if ((*(int *)(param_1 + 0x3218) != 0) && (uVar10 = 1, *(char *)(param_2 + 0x340) == '\0')) {\n        *(int *)(unaff_s7 + 0xec) = *(int *)(param_1 + 0x3218);\n        *(undefined4 *)(unaff_s7 + 0x40) = 8;\n        goto LAB_00049c58;\n      }" if (parenthesized_expression "((*(int *)(param_1 + 0x3218) != 0) && (uVar10 = 1, *(char *)(param_2 + 0x340) == '\0'))" ( (binary_expression "(*(int *)(param_1 + 0x3218) != 0) && (uVar10 = 1, *(char *)(param_2 + 0x340) == '\0')" (parenthesized_expression "(*(int *)(param_1 + 0x3218) != 0)" ( (binary_expression "*(int *)(param_1 + 0x3218) != 0" (pointer_expression "*(int *)(param_1 + 0x3218)" * (cast_expression "(int *)(param_1 + 0x3218)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3218)" ( (binary_expression "param_1 + 0x3218" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(uVar10 = 1, *(char *)(param_2 + 0x340) == '\0')" ( (comma_expression "uVar10 = 1, *(char *)(param_2 + 0x340) == '\0'" (assignment_expression "uVar10 = 1" identifier = number_literal) , (binary_expression "*(char *)(param_2 + 0x340) == '\0'" (pointer_expression "*(char *)(param_2 + 0x340)" * (cast_expression "(char *)(param_2 + 0x340)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x340)" ( (binary_expression "param_2 + 0x340" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence '))) ))) )) (compound_statement "{\n        *(int *)(unaff_s7 + 0xec) = *(int *)(param_1 + 0x3218);\n        *(undefined4 *)(unaff_s7 + 0x40) = 8;\n        goto LAB_00049c58;\n      }" { (expression_statement "*(int *)(unaff_s7 + 0xec) = *(int *)(param_1 + 0x3218);" (assignment_expression "*(int *)(unaff_s7 + 0xec) = *(int *)(param_1 + 0x3218)" (pointer_expression "*(int *)(unaff_s7 + 0xec)" * (cast_expression "(int *)(unaff_s7 + 0xec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0xec)" ( (binary_expression "unaff_s7 + 0xec" identifier + number_literal) )))) = (pointer_expression "*(int *)(param_1 + 0x3218)" * (cast_expression "(int *)(param_1 + 0x3218)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3218)" ( (binary_expression "param_1 + 0x3218" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(unaff_s7 + 0x40) = 8;" (assignment_expression "*(undefined4 *)(unaff_s7 + 0x40) = 8" (pointer_expression "*(undefined4 *)(unaff_s7 + 0x40)" * (cast_expression "(undefined4 *)(unaff_s7 + 0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x40)" ( (binary_expression "unaff_s7 + 0x40" identifier + number_literal) )))) = number_literal) ;) (goto_statement "goto LAB_00049c58;" goto statement_identifier ;) })) (expression_statement "(*(code *)PTR_DetachBlob_003a976c)(unaff_s7,0,0xca7);" (call_expression "(*(code *)PTR_DetachBlob_003a976c)(unaff_s7,0,0xca7)" (parenthesized_expression "(*(code *)PTR_DetachBlob_003a976c)" ( (pointer_expression "*(code *)PTR_DetachBlob_003a976c" * (cast_expression "(code *)PTR_DetachBlob_003a976c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s7,0,0xca7)" ( identifier , number_literal , number_literal ))) ;) (expression_statement "*(char **)(unaff_s7 + 0xc) = param_3;" (assignment_expression "*(char **)(unaff_s7 + 0xc) = param_3" (pointer_expression "*(char **)(unaff_s7 + 0xc)" * (cast_expression "(char **)(unaff_s7 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_s7 + 0xc)" ( (binary_expression "unaff_s7 + 0xc" identifier + number_literal) )))) = identifier) ;) (if_statement "if (param_3 < &DAT_00000007) {\n                    /* WARNING: Could not emulate address calculation at 0x00049d10 */\n                    /* WARNING: Treating indirect jump as call */\n        uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098)))();\n        return uVar10;\n      }" if (parenthesized_expression "(param_3 < &DAT_00000007)" ( (binary_expression "param_3 < &DAT_00000007" identifier < (pointer_expression "&DAT_00000007" & identifier)) )) (compound_statement "{\n                    /* WARNING: Could not emulate address calculation at 0x00049d10 */\n                    /* WARNING: Treating indirect jump as call */\n        uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098)))();\n        return uVar10;\n      }" { comment comment (expression_statement "uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098)))();" (assignment_expression "uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098)))()" identifier = (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098)))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098)))" ( (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098))" * (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp_1 + *(int *)(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098))" ( (binary_expression "&_gp_1 + *(int *)(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098)" (pointer_expression "&_gp_1" & identifier) + (pointer_expression "*(int *)(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098)" * (cast_expression "(int *)(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098)" ( (binary_expression "PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098" (binary_expression "PTR_LAB_003a88e0 + (int)param_3 * 4" identifier + (binary_expression "(int)param_3 * 4" (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier) * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( )))) ;) (return_statement "return uVar10;" return identifier ;) })) (expression_statement "unaff_s5 = PTR_LAB_003a88e0 + 0x4aa0;" (assignment_expression "unaff_s5 = PTR_LAB_003a88e0 + 0x4aa0" identifier = (binary_expression "PTR_LAB_003a88e0 + 0x4aa0" identifier + number_literal)) ;) (expression_statement "unaff_s6 = param_2 + 0x340;" (assignment_expression "unaff_s6 = param_2 + 0x340" identifier = (binary_expression "param_2 + 0x340" identifier + number_literal)) ;) (if_statement "if (*(int *)(param_1 + 0x200) == 0) {\n        local_202c[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);\n      }\n      else {\n        *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        local_202c[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);\n      }" if (parenthesized_expression "(*(int *)(param_1 + 0x200) == 0)" ( (binary_expression "*(int *)(param_1 + 0x200) == 0" (pointer_expression "*(int *)(param_1 + 0x200)" * (cast_expression "(int *)(param_1 + 0x200)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x200)" ( (binary_expression "param_1 + 0x200" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n        local_202c[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);\n      }" { (expression_statement "local_202c[0] = '\0';" (assignment_expression "local_202c[0] = '\0'" (subscript_expression "local_202c[0]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "(*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);" (call_expression "(*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000)" (parenthesized_expression "(*(code *)PTR_CopyMagickString_003a983c)" ( (pointer_expression "*(code *)PTR_CopyMagickString_003a983c" * (cast_expression "(code *)PTR_CopyMagickString_003a983c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_202c,unaff_s6,0x1000)" ( identifier , identifier , number_literal ))) ;) }) (else_clause "else {\n        *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        local_202c[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);\n      }" else (compound_statement "{\n        *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        local_202c[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);\n      }" { (expression_statement "*(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);" (assignment_expression "*(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200)" (pointer_expression "*(int *)(unaff_s7 + 0xe8)" * (cast_expression "(int *)(unaff_s7 + 0xe8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0xe8)" ( (binary_expression "unaff_s7 + 0xe8" identifier + number_literal) )))) = (pointer_expression "*(int *)(param_1 + 0x200)" * (cast_expression "(int *)(param_1 + 0x200)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x200)" ( (binary_expression "param_1 + 0x200" identifier + number_literal) ))))) ;) (expression_statement "local_202c[0] = '\0';" (assignment_expression "local_202c[0] = '\0'" (subscript_expression "local_202c[0]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "(*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);" (call_expression "(*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000)" (parenthesized_expression "(*(code *)PTR_CopyMagickString_003a983c)" ( (pointer_expression "*(code *)PTR_CopyMagickString_003a983c" * (cast_expression "(code *)PTR_CopyMagickString_003a983c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_202c,unaff_s6,0x1000)" ( identifier , identifier , number_literal ))) ;) }))) (expression_statement "param_3 = local_202c;" (assignment_expression "param_3 = local_202c" identifier = identifier) ;) (expression_statement "iVar6 = (*(code *)PTR_IsRightsAuthorized_003a8db0)(4,1,param_3);" (assignment_expression "iVar6 = (*(code *)PTR_IsRightsAuthorized_003a8db0)(4,1,param_3)" identifier = (call_expression "(*(code *)PTR_IsRightsAuthorized_003a8db0)(4,1,param_3)" (parenthesized_expression "(*(code *)PTR_IsRightsAuthorized_003a8db0)" ( (pointer_expression "*(code *)PTR_IsRightsAuthorized_003a8db0" * (cast_expression "(code *)PTR_IsRightsAuthorized_003a8db0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(4,1,param_3)" ( number_literal , number_literal , identifier )))) ;) (if_statement "if (iVar6 == 0) {\n        puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n        *puVar4 = 1;\n        (*(code *)PTR_ThrowMagickException_003a8f20)\n                  (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcd9,499,\n                   PTR_LAB_003a88e0 + 0x1e9c,PTR_LAB_003a88e0 + 0x3e28,param_3);\n        uVar10 = 0;\n        goto LAB_00049c58;\n      }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n        puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n        *puVar4 = 1;\n        (*(code *)PTR_ThrowMagickException_003a8f20)\n                  (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcd9,499,\n                   PTR_LAB_003a88e0 + 0x1e9c,PTR_LAB_003a88e0 + 0x3e28,param_3);\n        uVar10 = 0;\n        goto LAB_00049c58;\n      }" { (expression_statement "puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();" (assignment_expression "puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_003a99b0)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_003a99b0)()" (parenthesized_expression "(*(code *)PTR___errno_location_003a99b0)" ( (pointer_expression "*(code *)PTR___errno_location_003a99b0" * (cast_expression "(code *)PTR___errno_location_003a99b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "*puVar4 = 1;" (assignment_expression "*puVar4 = 1" (pointer_expression "*puVar4" * identifier) = number_literal) ;) (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n                  (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcd9,499,\n                   PTR_LAB_003a88e0 + 0x1e9c,PTR_LAB_003a88e0 + 0x3e28,param_3);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n                  (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcd9,499,\n                   PTR_LAB_003a88e0 + 0x1e9c,PTR_LAB_003a88e0 + 0x3e28,param_3)" (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_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcd9,499,\n                   PTR_LAB_003a88e0 + 0x1e9c,PTR_LAB_003a88e0 + 0x3e28,param_3)" ( identifier , (binary_expression "PTR_LAB_003a88e0 + 0x1ad8" identifier + number_literal) , (binary_expression "PTR_LAB_003a88e0 + 0x23cc" identifier + number_literal) , number_literal , number_literal , (binary_expression "PTR_LAB_003a88e0 + 0x1e9c" identifier + number_literal) , (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal) , identifier ))) ;) (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_00049c58;" goto statement_identifier ;) })) (expression_statement "iVar6 = (*(code *)PTR_LocaleCompare_003a9110)(param_3,PTR_s_courses_003a88ec + -0x7ac);" (assignment_expression "iVar6 = (*(code *)PTR_LocaleCompare_003a9110)(param_3,PTR_s_courses_003a88ec + -0x7ac)" identifier = (call_expression "(*(code *)PTR_LocaleCompare_003a9110)(param_3,PTR_s_courses_003a88ec + -0x7ac)" (parenthesized_expression "(*(code *)PTR_LocaleCompare_003a9110)" ( (pointer_expression "*(code *)PTR_LocaleCompare_003a9110" * (cast_expression "(code *)PTR_LocaleCompare_003a9110" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_3,PTR_s_courses_003a88ec + -0x7ac)" ( identifier , (binary_expression "PTR_s_courses_003a88ec + -0x7ac" identifier + number_literal) )))) ;) (expression_statement "puVar2 = PTR_GetImageOption_003a9168;" (assignment_expression "puVar2 = PTR_GetImageOption_003a9168" identifier = identifier) ;) (expression_statement "puVar1 = PTR_LAB_003a88e0;" (assignment_expression "puVar1 = PTR_LAB_003a88e0" identifier = identifier) ;) (if_statement "if ((iVar6 == 0) || ((local_202c[0] == '\0' && (*(int *)(param_1 + 0x204) == 0)))) {\n        param_4 = 2;\n        *(undefined4 *)(unaff_s7 + 0x44) = *(undefined4 *)PTR_stdin_003a8fc4;\n        *(undefined4 *)(unaff_s7 + 0x40) = 2;\n        *(undefined4 *)(unaff_s7 + 0x30) = 1;\n        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n        if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }\n      }\n      else {\n        iVar6 = (*(code *)PTR_LocaleNCompare_003a961c)(param_3,PTR_LAB_003a88e0 + 0x1ec0,3);\n        if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_IsGeometry_003a9418)(auStack_2029);\n          if (iVar6 != 0) {\n            local_102c = 0x7200;\n            uVar5 = (*(code *)PTR_strtol_003a954c)(auStack_2029,0,10);\n            iVar6 = (*(code *)PTR_fdopen_003a97d8)(uVar5,&local_102c);\n            *(int *)(unaff_s7 + 0x44) = iVar6;\n            puVar2 = PTR_GetImageOption_003a9168;\n            puVar1 = PTR_LAB_003a88e0;\n            if (iVar6 != 0) {\n              *(undefined4 *)(unaff_s7 + 0x40) = 1;\n              *(undefined4 *)(unaff_s7 + 0x30) = 1;\n              iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n              if (iVar6 == 0) {\n                iVar6 = 0x4000;\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n                uVar5 = 0;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n                uVar5 = 2;\n                if (iVar6 != 0) {\n                  uVar5 = 0;\n                }\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n              }\n              iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n              uVar10 = (uint)(iVar6 == 0);\n              goto LAB_00049c58;\n            }\n            puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n            (*(code *)PTR_DestroyString_003a9074)(uVar5);\n            uVar10 = 0;\n            goto LAB_00049c58;\n          }\n        }\n        iVar6 = (*(code *)PTR_GetPathAttributes_003a9364)(param_3,unaff_s7 + 0x48);\n        if ((iVar6 == 0) || ((*(uint *)(unaff_s7 + 0x60) & 0xf000) != 0x1000)) {\n          (*(code *)PTR_GetPathComponent_003a8e18)(unaff_s6,6,local_302c);\n          if (*(int *)(param_1 + 0x204) != 0) {\n            *(int *)(unaff_s7 + 0x44) = *(int *)(param_1 + 0x204);\n            *(undefined4 *)(unaff_s7 + 0x38) = 0;\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            *(undefined4 *)(unaff_s7 + 0x30) = 1;\n            *(undefined4 *)(unaff_s7 + 0x1c) = 0;\n            goto LAB_00049e88;\n          }\n          iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n          *(int *)(unaff_s7 + 0x44) = iVar6;\n          puVar2 = PTR_GetImageOption_003a9168;\n          puVar1 = PTR_LAB_003a88e0;\n          if (iVar6 != 0) {\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n            if (iVar6 == 0) {\n              iVar6 = 0x4000;\n              iVar7 = 0;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            else {\n              iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n              iVar7 = (uint)(iVar6 == 0) << 1;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            (*(code *)PTR_setvbuf_003a90f4)(uVar5,0,iVar7,iVar6);\n            local_102c = 0;\n            local_102a = 0;\n            unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)\n                                 (&local_102c,1,3,*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fseeko64_003a9944)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fflush_003a948c)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0);\n            iVar6 = *(int *)(unaff_s7 + 0x40);\n            if (iVar6 != 1) goto LAB_0004a138;\n            uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(param_1 + 0x210,uVar5);\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);\n            if ((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)) &&\n                (unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar6 != 0)) {\n              uVar5 = (*(code *)PTR_fileno_003a99cc)(*(undefined4 *)(unaff_s7 + 0x44));\n              unaff_s6 = (*(code *)PTR_MapBlob_003a978c)(uVar5,0,0,0,unaff_s5);\n              if (unaff_s6 == 0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                iVar6 = *(int *)(unaff_s7 + 0x40);\n                goto LAB_0004a138;\n              }\n              pcVar9 = (code *)PTR_fclose_003a939c;\n              if (*(int *)(param_1 + 0x204) == 0) goto LAB_0004a850;\n              *(undefined4 *)(unaff_s7 + 0x30) = 0;\n              goto LAB_0004a650;\n            }\n          }\n          iVar6 = *(int *)(unaff_s7 + 0x40);\n          goto LAB_0004a138;\n        }\n        iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n        *(int *)(unaff_s7 + 0x44) = iVar6;\n        puVar2 = PTR_GetImageOption_003a9168;\n        puVar1 = PTR_LAB_003a88e0;\n        if (iVar6 == 0) {\n          puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n          uVar8 = 0xd23;\n          goto LAB_0004a16c;\n        }\n        *(undefined4 *)(unaff_s7 + 0x40) = 1;\n        *(undefined4 *)(unaff_s7 + 0x30) = 1;\n        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n        if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }\n      }" if (parenthesized_expression "((iVar6 == 0) || ((local_202c[0] == '\0' && (*(int *)(param_1 + 0x204) == 0))))" ( (binary_expression "(iVar6 == 0) || ((local_202c[0] == '\0' && (*(int *)(param_1 + 0x204) == 0)))" (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) || (parenthesized_expression "((local_202c[0] == '\0' && (*(int *)(param_1 + 0x204) == 0)))" ( (parenthesized_expression "(local_202c[0] == '\0' && (*(int *)(param_1 + 0x204) == 0))" ( (binary_expression "local_202c[0] == '\0' && (*(int *)(param_1 + 0x204) == 0)" (binary_expression "local_202c[0] == '\0'" (subscript_expression "local_202c[0]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) && (parenthesized_expression "(*(int *)(param_1 + 0x204) == 0)" ( (binary_expression "*(int *)(param_1 + 0x204) == 0" (pointer_expression "*(int *)(param_1 + 0x204)" * (cast_expression "(int *)(param_1 + 0x204)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x204)" ( (binary_expression "param_1 + 0x204" identifier + number_literal) )))) == number_literal) ))) )) ))) )) (compound_statement "{\n        param_4 = 2;\n        *(undefined4 *)(unaff_s7 + 0x44) = *(undefined4 *)PTR_stdin_003a8fc4;\n        *(undefined4 *)(unaff_s7 + 0x40) = 2;\n        *(undefined4 *)(unaff_s7 + 0x30) = 1;\n        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n        if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }\n      }" { (expression_statement "param_4 = 2;" (assignment_expression "param_4 = 2" identifier = number_literal) ;) (expression_statement "*(undefined4 *)(unaff_s7 + 0x44) = *(undefined4 *)PTR_stdin_003a8fc4;" (assignment_expression "*(undefined4 *)(unaff_s7 + 0x44) = *(undefined4 *)PTR_stdin_003a8fc4" (pointer_expression "*(undefined4 *)(unaff_s7 + 0x44)" * (cast_expression "(undefined4 *)(unaff_s7 + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x44)" ( (binary_expression "unaff_s7 + 0x44" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)PTR_stdin_003a8fc4" * (cast_expression "(undefined4 *)PTR_stdin_003a8fc4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "*(undefined4 *)(unaff_s7 + 0x40) = 2;" (assignment_expression "*(undefined4 *)(unaff_s7 + 0x40) = 2" (pointer_expression "*(undefined4 *)(unaff_s7 + 0x40)" * (cast_expression "(undefined4 *)(unaff_s7 + 0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x40)" ( (binary_expression "unaff_s7 + 0x40" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(unaff_s7 + 0x30) = 1;" (assignment_expression "*(undefined4 *)(unaff_s7 + 0x30) = 1" (pointer_expression "*(undefined4 *)(unaff_s7 + 0x30)" * (cast_expression "(undefined4 *)(unaff_s7 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x30)" ( (binary_expression "unaff_s7 + 0x30" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);" (assignment_expression "iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac)" identifier = (call_expression "(*(code *)puVar2)(param_1,puVar1 + 0x1eac)" (parenthesized_expression "(*(code *)puVar2)" ( (pointer_expression "*(code *)puVar2" * (cast_expression "(code *)puVar2" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,puVar1 + 0x1eac)" ( identifier , (binary_expression "puVar1 + 0x1eac" identifier + number_literal) )))) ;) (if_statement "if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }" { (expression_statement "iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);" (assignment_expression "iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10)" identifier = (call_expression "(*(code *)PTR_strtoul_003a9340)(iVar6,0,10)" (parenthesized_expression "(*(code *)PTR_strtoul_003a9340)" ( (pointer_expression "*(code *)PTR_strtoul_003a9340" * (cast_expression "(code *)PTR_strtoul_003a9340" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar6,0,10)" ( identifier , number_literal , number_literal )))) ;) (expression_statement "uVar5 = 2;" (assignment_expression "uVar5 = 2" identifier = number_literal) ;) (if_statement "if (iVar6 != 0) {\n            uVar5 = 0;\n          }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n            uVar5 = 0;\n          }" { (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) })) (expression_statement "uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);" (assignment_expression "uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44)" identifier = (pointer_expression "*(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44)" * (cast_expression "(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_2 + 0x3348) + 0x44)" ( (binary_expression "*(int *)(param_2 + 0x3348) + 0x44" (pointer_expression "*(int *)(param_2 + 0x3348)" * (cast_expression "(int *)(param_2 + 0x3348)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x3348)" ( (binary_expression "param_2 + 0x3348" identifier + number_literal) )))) + number_literal) ))))) ;) (goto_statement "goto LAB_00049fe8;" goto statement_identifier ;) })) }) (else_clause "else {\n        iVar6 = (*(code *)PTR_LocaleNCompare_003a961c)(param_3,PTR_LAB_003a88e0 + 0x1ec0,3);\n        if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_IsGeometry_003a9418)(auStack_2029);\n          if (iVar6 != 0) {\n            local_102c = 0x7200;\n            uVar5 = (*(code *)PTR_strtol_003a954c)(auStack_2029,0,10);\n            iVar6 = (*(code *)PTR_fdopen_003a97d8)(uVar5,&local_102c);\n            *(int *)(unaff_s7 + 0x44) = iVar6;\n            puVar2 = PTR_GetImageOption_003a9168;\n            puVar1 = PTR_LAB_003a88e0;\n            if (iVar6 != 0) {\n              *(undefined4 *)(unaff_s7 + 0x40) = 1;\n              *(undefined4 *)(unaff_s7 + 0x30) = 1;\n              iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n              if (iVar6 == 0) {\n                iVar6 = 0x4000;\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n                uVar5 = 0;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n                uVar5 = 2;\n                if (iVar6 != 0) {\n                  uVar5 = 0;\n                }\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n              }\n              iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n              uVar10 = (uint)(iVar6 == 0);\n              goto LAB_00049c58;\n            }\n            puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n            (*(code *)PTR_DestroyString_003a9074)(uVar5);\n            uVar10 = 0;\n            goto LAB_00049c58;\n          }\n        }\n        iVar6 = (*(code *)PTR_GetPathAttributes_003a9364)(param_3,unaff_s7 + 0x48);\n        if ((iVar6 == 0) || ((*(uint *)(unaff_s7 + 0x60) & 0xf000) != 0x1000)) {\n          (*(code *)PTR_GetPathComponent_003a8e18)(unaff_s6,6,local_302c);\n          if (*(int *)(param_1 + 0x204) != 0) {\n            *(int *)(unaff_s7 + 0x44) = *(int *)(param_1 + 0x204);\n            *(undefined4 *)(unaff_s7 + 0x38) = 0;\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            *(undefined4 *)(unaff_s7 + 0x30) = 1;\n            *(undefined4 *)(unaff_s7 + 0x1c) = 0;\n            goto LAB_00049e88;\n          }\n          iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n          *(int *)(unaff_s7 + 0x44) = iVar6;\n          puVar2 = PTR_GetImageOption_003a9168;\n          puVar1 = PTR_LAB_003a88e0;\n          if (iVar6 != 0) {\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n            if (iVar6 == 0) {\n              iVar6 = 0x4000;\n              iVar7 = 0;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            else {\n              iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n              iVar7 = (uint)(iVar6 == 0) << 1;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            (*(code *)PTR_setvbuf_003a90f4)(uVar5,0,iVar7,iVar6);\n            local_102c = 0;\n            local_102a = 0;\n            unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)\n                                 (&local_102c,1,3,*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fseeko64_003a9944)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fflush_003a948c)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0);\n            iVar6 = *(int *)(unaff_s7 + 0x40);\n            if (iVar6 != 1) goto LAB_0004a138;\n            uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(param_1 + 0x210,uVar5);\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);\n            if ((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)) &&\n                (unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar6 != 0)) {\n              uVar5 = (*(code *)PTR_fileno_003a99cc)(*(undefined4 *)(unaff_s7 + 0x44));\n              unaff_s6 = (*(code *)PTR_MapBlob_003a978c)(uVar5,0,0,0,unaff_s5);\n              if (unaff_s6 == 0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                iVar6 = *(int *)(unaff_s7 + 0x40);\n                goto LAB_0004a138;\n              }\n              pcVar9 = (code *)PTR_fclose_003a939c;\n              if (*(int *)(param_1 + 0x204) == 0) goto LAB_0004a850;\n              *(undefined4 *)(unaff_s7 + 0x30) = 0;\n              goto LAB_0004a650;\n            }\n          }\n          iVar6 = *(int *)(unaff_s7 + 0x40);\n          goto LAB_0004a138;\n        }\n        iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n        *(int *)(unaff_s7 + 0x44) = iVar6;\n        puVar2 = PTR_GetImageOption_003a9168;\n        puVar1 = PTR_LAB_003a88e0;\n        if (iVar6 == 0) {\n          puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n          uVar8 = 0xd23;\n          goto LAB_0004a16c;\n        }\n        *(undefined4 *)(unaff_s7 + 0x40) = 1;\n        *(undefined4 *)(unaff_s7 + 0x30) = 1;\n        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n        if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }\n      }" else (compound_statement "{\n        iVar6 = (*(code *)PTR_LocaleNCompare_003a961c)(param_3,PTR_LAB_003a88e0 + 0x1ec0,3);\n        if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_IsGeometry_003a9418)(auStack_2029);\n          if (iVar6 != 0) {\n            local_102c = 0x7200;\n            uVar5 = (*(code *)PTR_strtol_003a954c)(auStack_2029,0,10);\n            iVar6 = (*(code *)PTR_fdopen_003a97d8)(uVar5,&local_102c);\n            *(int *)(unaff_s7 + 0x44) = iVar6;\n            puVar2 = PTR_GetImageOption_003a9168;\n            puVar1 = PTR_LAB_003a88e0;\n            if (iVar6 != 0) {\n              *(undefined4 *)(unaff_s7 + 0x40) = 1;\n              *(undefined4 *)(unaff_s7 + 0x30) = 1;\n              iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n              if (iVar6 == 0) {\n                iVar6 = 0x4000;\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n                uVar5 = 0;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n                uVar5 = 2;\n                if (iVar6 != 0) {\n                  uVar5 = 0;\n                }\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n              }\n              iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n              uVar10 = (uint)(iVar6 == 0);\n              goto LAB_00049c58;\n            }\n            puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n            (*(code *)PTR_DestroyString_003a9074)(uVar5);\n            uVar10 = 0;\n            goto LAB_00049c58;\n          }\n        }\n        iVar6 = (*(code *)PTR_GetPathAttributes_003a9364)(param_3,unaff_s7 + 0x48);\n        if ((iVar6 == 0) || ((*(uint *)(unaff_s7 + 0x60) & 0xf000) != 0x1000)) {\n          (*(code *)PTR_GetPathComponent_003a8e18)(unaff_s6,6,local_302c);\n          if (*(int *)(param_1 + 0x204) != 0) {\n            *(int *)(unaff_s7 + 0x44) = *(int *)(param_1 + 0x204);\n            *(undefined4 *)(unaff_s7 + 0x38) = 0;\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            *(undefined4 *)(unaff_s7 + 0x30) = 1;\n            *(undefined4 *)(unaff_s7 + 0x1c) = 0;\n            goto LAB_00049e88;\n          }\n          iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n          *(int *)(unaff_s7 + 0x44) = iVar6;\n          puVar2 = PTR_GetImageOption_003a9168;\n          puVar1 = PTR_LAB_003a88e0;\n          if (iVar6 != 0) {\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n            if (iVar6 == 0) {\n              iVar6 = 0x4000;\n              iVar7 = 0;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            else {\n              iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n              iVar7 = (uint)(iVar6 == 0) << 1;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            (*(code *)PTR_setvbuf_003a90f4)(uVar5,0,iVar7,iVar6);\n            local_102c = 0;\n            local_102a = 0;\n            unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)\n                                 (&local_102c,1,3,*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fseeko64_003a9944)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fflush_003a948c)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0);\n            iVar6 = *(int *)(unaff_s7 + 0x40);\n            if (iVar6 != 1) goto LAB_0004a138;\n            uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(param_1 + 0x210,uVar5);\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);\n            if ((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)) &&\n                (unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar6 != 0)) {\n              uVar5 = (*(code *)PTR_fileno_003a99cc)(*(undefined4 *)(unaff_s7 + 0x44));\n              unaff_s6 = (*(code *)PTR_MapBlob_003a978c)(uVar5,0,0,0,unaff_s5);\n              if (unaff_s6 == 0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                iVar6 = *(int *)(unaff_s7 + 0x40);\n                goto LAB_0004a138;\n              }\n              pcVar9 = (code *)PTR_fclose_003a939c;\n              if (*(int *)(param_1 + 0x204) == 0) goto LAB_0004a850;\n              *(undefined4 *)(unaff_s7 + 0x30) = 0;\n              goto LAB_0004a650;\n            }\n          }\n          iVar6 = *(int *)(unaff_s7 + 0x40);\n          goto LAB_0004a138;\n        }\n        iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n        *(int *)(unaff_s7 + 0x44) = iVar6;\n        puVar2 = PTR_GetImageOption_003a9168;\n        puVar1 = PTR_LAB_003a88e0;\n        if (iVar6 == 0) {\n          puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n          uVar8 = 0xd23;\n          goto LAB_0004a16c;\n        }\n        *(undefined4 *)(unaff_s7 + 0x40) = 1;\n        *(undefined4 *)(unaff_s7 + 0x30) = 1;\n        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n        if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }\n      }" { (expression_statement "iVar6 = (*(code *)PTR_LocaleNCompare_003a961c)(param_3,PTR_LAB_003a88e0 + 0x1ec0,3);" (assignment_expression "iVar6 = (*(code *)PTR_LocaleNCompare_003a961c)(param_3,PTR_LAB_003a88e0 + 0x1ec0,3)" identifier = (call_expression "(*(code *)PTR_LocaleNCompare_003a961c)(param_3,PTR_LAB_003a88e0 + 0x1ec0,3)" (parenthesized_expression "(*(code *)PTR_LocaleNCompare_003a961c)" ( (pointer_expression "*(code *)PTR_LocaleNCompare_003a961c" * (cast_expression "(code *)PTR_LocaleNCompare_003a961c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_3,PTR_LAB_003a88e0 + 0x1ec0,3)" ( identifier , (binary_expression "PTR_LAB_003a88e0 + 0x1ec0" identifier + number_literal) , number_literal )))) ;) (if_statement "if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_IsGeometry_003a9418)(auStack_2029);\n          if (iVar6 != 0) {\n            local_102c = 0x7200;\n            uVar5 = (*(code *)PTR_strtol_003a954c)(auStack_2029,0,10);\n            iVar6 = (*(code *)PTR_fdopen_003a97d8)(uVar5,&local_102c);\n            *(int *)(unaff_s7 + 0x44) = iVar6;\n            puVar2 = PTR_GetImageOption_003a9168;\n            puVar1 = PTR_LAB_003a88e0;\n            if (iVar6 != 0) {\n              *(undefined4 *)(unaff_s7 + 0x40) = 1;\n              *(undefined4 *)(unaff_s7 + 0x30) = 1;\n              iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n              if (iVar6 == 0) {\n                iVar6 = 0x4000;\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n                uVar5 = 0;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n                uVar5 = 2;\n                if (iVar6 != 0) {\n                  uVar5 = 0;\n                }\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n              }\n              iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n              uVar10 = (uint)(iVar6 == 0);\n              goto LAB_00049c58;\n            }\n            puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n            (*(code *)PTR_DestroyString_003a9074)(uVar5);\n            uVar10 = 0;\n            goto LAB_00049c58;\n          }\n        }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n          iVar6 = (*(code *)PTR_IsGeometry_003a9418)(auStack_2029);\n          if (iVar6 != 0) {\n            local_102c = 0x7200;\n            uVar5 = (*(code *)PTR_strtol_003a954c)(auStack_2029,0,10);\n            iVar6 = (*(code *)PTR_fdopen_003a97d8)(uVar5,&local_102c);\n            *(int *)(unaff_s7 + 0x44) = iVar6;\n            puVar2 = PTR_GetImageOption_003a9168;\n            puVar1 = PTR_LAB_003a88e0;\n            if (iVar6 != 0) {\n              *(undefined4 *)(unaff_s7 + 0x40) = 1;\n              *(undefined4 *)(unaff_s7 + 0x30) = 1;\n              iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n              if (iVar6 == 0) {\n                iVar6 = 0x4000;\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n                uVar5 = 0;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n                uVar5 = 2;\n                if (iVar6 != 0) {\n                  uVar5 = 0;\n                }\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n              }\n              iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n              uVar10 = (uint)(iVar6 == 0);\n              goto LAB_00049c58;\n            }\n            puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n            (*(code *)PTR_DestroyString_003a9074)(uVar5);\n            uVar10 = 0;\n            goto LAB_00049c58;\n          }\n        }" { (expression_statement "iVar6 = (*(code *)PTR_IsGeometry_003a9418)(auStack_2029);" (assignment_expression "iVar6 = (*(code *)PTR_IsGeometry_003a9418)(auStack_2029)" identifier = (call_expression "(*(code *)PTR_IsGeometry_003a9418)(auStack_2029)" (parenthesized_expression "(*(code *)PTR_IsGeometry_003a9418)" ( (pointer_expression "*(code *)PTR_IsGeometry_003a9418" * (cast_expression "(code *)PTR_IsGeometry_003a9418" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_2029)" ( identifier )))) ;) (if_statement "if (iVar6 != 0) {\n            local_102c = 0x7200;\n            uVar5 = (*(code *)PTR_strtol_003a954c)(auStack_2029,0,10);\n            iVar6 = (*(code *)PTR_fdopen_003a97d8)(uVar5,&local_102c);\n            *(int *)(unaff_s7 + 0x44) = iVar6;\n            puVar2 = PTR_GetImageOption_003a9168;\n            puVar1 = PTR_LAB_003a88e0;\n            if (iVar6 != 0) {\n              *(undefined4 *)(unaff_s7 + 0x40) = 1;\n              *(undefined4 *)(unaff_s7 + 0x30) = 1;\n              iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n              if (iVar6 == 0) {\n                iVar6 = 0x4000;\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n                uVar5 = 0;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n                uVar5 = 2;\n                if (iVar6 != 0) {\n                  uVar5 = 0;\n                }\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n              }\n              iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n              uVar10 = (uint)(iVar6 == 0);\n              goto LAB_00049c58;\n            }\n            puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n            (*(code *)PTR_DestroyString_003a9074)(uVar5);\n            uVar10 = 0;\n            goto LAB_00049c58;\n          }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n            local_102c = 0x7200;\n            uVar5 = (*(code *)PTR_strtol_003a954c)(auStack_2029,0,10);\n            iVar6 = (*(code *)PTR_fdopen_003a97d8)(uVar5,&local_102c);\n            *(int *)(unaff_s7 + 0x44) = iVar6;\n            puVar2 = PTR_GetImageOption_003a9168;\n            puVar1 = PTR_LAB_003a88e0;\n            if (iVar6 != 0) {\n              *(undefined4 *)(unaff_s7 + 0x40) = 1;\n              *(undefined4 *)(unaff_s7 + 0x30) = 1;\n              iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n              if (iVar6 == 0) {\n                iVar6 = 0x4000;\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n                uVar5 = 0;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n                uVar5 = 2;\n                if (iVar6 != 0) {\n                  uVar5 = 0;\n                }\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n              }\n              iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n              uVar10 = (uint)(iVar6 == 0);\n              goto LAB_00049c58;\n            }\n            puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n            (*(code *)PTR_DestroyString_003a9074)(uVar5);\n            uVar10 = 0;\n            goto LAB_00049c58;\n          }" { (expression_statement "local_102c = 0x7200;" (assignment_expression "local_102c = 0x7200" identifier = number_literal) ;) (expression_statement "uVar5 = (*(code *)PTR_strtol_003a954c)(auStack_2029,0,10);" (assignment_expression "uVar5 = (*(code *)PTR_strtol_003a954c)(auStack_2029,0,10)" identifier = (call_expression "(*(code *)PTR_strtol_003a954c)(auStack_2029,0,10)" (parenthesized_expression "(*(code *)PTR_strtol_003a954c)" ( (pointer_expression "*(code *)PTR_strtol_003a954c" * (cast_expression "(code *)PTR_strtol_003a954c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_2029,0,10)" ( identifier , number_literal , number_literal )))) ;) (expression_statement "iVar6 = (*(code *)PTR_fdopen_003a97d8)(uVar5,&local_102c);" (assignment_expression "iVar6 = (*(code *)PTR_fdopen_003a97d8)(uVar5,&local_102c)" identifier = (call_expression "(*(code *)PTR_fdopen_003a97d8)(uVar5,&local_102c)" (parenthesized_expression "(*(code *)PTR_fdopen_003a97d8)" ( (pointer_expression "*(code *)PTR_fdopen_003a97d8" * (cast_expression "(code *)PTR_fdopen_003a97d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5,&local_102c)" ( identifier , (pointer_expression "&local_102c" & identifier) )))) ;) (expression_statement "*(int *)(unaff_s7 + 0x44) = iVar6;" (assignment_expression "*(int *)(unaff_s7 + 0x44) = iVar6" (pointer_expression "*(int *)(unaff_s7 + 0x44)" * (cast_expression "(int *)(unaff_s7 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x44)" ( (binary_expression "unaff_s7 + 0x44" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar2 = PTR_GetImageOption_003a9168;" (assignment_expression "puVar2 = PTR_GetImageOption_003a9168" identifier = identifier) ;) (expression_statement "puVar1 = PTR_LAB_003a88e0;" (assignment_expression "puVar1 = PTR_LAB_003a88e0" identifier = identifier) ;) (if_statement "if (iVar6 != 0) {\n              *(undefined4 *)(unaff_s7 + 0x40) = 1;\n              *(undefined4 *)(unaff_s7 + 0x30) = 1;\n              iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n              if (iVar6 == 0) {\n                iVar6 = 0x4000;\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n                uVar5 = 0;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n                uVar5 = 2;\n                if (iVar6 != 0) {\n                  uVar5 = 0;\n                }\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n              }\n              iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n              uVar10 = (uint)(iVar6 == 0);\n              goto LAB_00049c58;\n            }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n              *(undefined4 *)(unaff_s7 + 0x40) = 1;\n              *(undefined4 *)(unaff_s7 + 0x30) = 1;\n              iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n              if (iVar6 == 0) {\n                iVar6 = 0x4000;\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n                uVar5 = 0;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n                uVar5 = 2;\n                if (iVar6 != 0) {\n                  uVar5 = 0;\n                }\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n              }\n              iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n              uVar10 = (uint)(iVar6 == 0);\n              goto LAB_00049c58;\n            }" { (expression_statement "*(undefined4 *)(unaff_s7 + 0x40) = 1;" (assignment_expression "*(undefined4 *)(unaff_s7 + 0x40) = 1" (pointer_expression "*(undefined4 *)(unaff_s7 + 0x40)" * (cast_expression "(undefined4 *)(unaff_s7 + 0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x40)" ( (binary_expression "unaff_s7 + 0x40" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(unaff_s7 + 0x30) = 1;" (assignment_expression "*(undefined4 *)(unaff_s7 + 0x30) = 1" (pointer_expression "*(undefined4 *)(unaff_s7 + 0x30)" * (cast_expression "(undefined4 *)(unaff_s7 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x30)" ( (binary_expression "unaff_s7 + 0x30" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);" (assignment_expression "iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac)" identifier = (call_expression "(*(code *)puVar2)(param_1,puVar1 + 0x1eac)" (parenthesized_expression "(*(code *)puVar2)" ( (pointer_expression "*(code *)puVar2" * (cast_expression "(code *)puVar2" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,puVar1 + 0x1eac)" ( identifier , (binary_expression "puVar1 + 0x1eac" identifier + number_literal) )))) ;) (if_statement "if (iVar6 == 0) {\n                iVar6 = 0x4000;\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n                uVar5 = 0;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n                uVar5 = 2;\n                if (iVar6 != 0) {\n                  uVar5 = 0;\n                }\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n              }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n                iVar6 = 0x4000;\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n                uVar5 = 0;\n              }" { (expression_statement "iVar6 = 0x4000;" (assignment_expression "iVar6 = 0x4000" identifier = number_literal) ;) (expression_statement "uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);" (assignment_expression "uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44)" identifier = (pointer_expression "*(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44)" * (cast_expression "(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_2 + 0x3348) + 0x44)" ( (binary_expression "*(int *)(param_2 + 0x3348) + 0x44" (pointer_expression "*(int *)(param_2 + 0x3348)" * (cast_expression "(int *)(param_2 + 0x3348)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x3348)" ( (binary_expression "param_2 + 0x3348" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) }) (else_clause "else {\n                iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n                uVar5 = 2;\n                if (iVar6 != 0) {\n                  uVar5 = 0;\n                }\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n              }" else (compound_statement "{\n                iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n                uVar5 = 2;\n                if (iVar6 != 0) {\n                  uVar5 = 0;\n                }\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n              }" { (expression_statement "iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);" (assignment_expression "iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10)" identifier = (call_expression "(*(code *)PTR_strtoul_003a9340)(iVar6,0,10)" (parenthesized_expression "(*(code *)PTR_strtoul_003a9340)" ( (pointer_expression "*(code *)PTR_strtoul_003a9340" * (cast_expression "(code *)PTR_strtoul_003a9340" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar6,0,10)" ( identifier , number_literal , number_literal )))) ;) (expression_statement "uVar5 = 2;" (assignment_expression "uVar5 = 2" identifier = number_literal) ;) (if_statement "if (iVar6 != 0) {\n                  uVar5 = 0;\n                }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n                  uVar5 = 0;\n                }" { (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) })) (expression_statement "uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);" (assignment_expression "uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44)" identifier = (pointer_expression "*(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44)" * (cast_expression "(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_2 + 0x3348) + 0x44)" ( (binary_expression "*(int *)(param_2 + 0x3348) + 0x44" (pointer_expression "*(int *)(param_2 + 0x3348)" * (cast_expression "(int *)(param_2 + 0x3348)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x3348)" ( (binary_expression "param_2 + 0x3348" identifier + number_literal) )))) + number_literal) ))))) ;) }))) (expression_statement "iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);" (assignment_expression "iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6)" identifier = (call_expression "(*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6)" (parenthesized_expression "(*(code *)PTR_setvbuf_003a90f4)" ( (pointer_expression "*(code *)PTR_setvbuf_003a90f4" * (cast_expression "(code *)PTR_setvbuf_003a90f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar8,0,uVar5,iVar6)" ( identifier , number_literal , identifier , identifier )))) ;) (expression_statement "uVar10 = (uint)(iVar6 == 0);" (assignment_expression "uVar10 = (uint)(iVar6 == 0)" identifier = (call_expression "(uint)(iVar6 == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )))) ;) (goto_statement "goto LAB_00049c58;" goto statement_identifier ;) })) (expression_statement "puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();" (assignment_expression "puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_003a99b0)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_003a99b0)()" (parenthesized_expression "(*(code *)PTR___errno_location_003a99b0)" ( (pointer_expression "*(code *)PTR___errno_location_003a99b0" * (cast_expression "(code *)PTR___errno_location_003a99b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);" (assignment_expression "uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4)" identifier = (call_expression "(*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4)" (parenthesized_expression "(*(code *)PTR_GetExceptionMessage_003a93ec)" ( (pointer_expression "*(code *)PTR_GetExceptionMessage_003a93ec" * (cast_expression "(code *)PTR_GetExceptionMessage_003a93ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*puVar4)" ( (pointer_expression "*puVar4" * identifier) )))) ;) (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n                      (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n                      (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5)" (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_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5)" ( identifier , (binary_expression "PTR_LAB_003a88e0 + 0x1ad8" identifier + number_literal) , (binary_expression "PTR_LAB_003a88e0 + 0x23cc" identifier + number_literal) , number_literal , number_literal , (binary_expression "PTR_LAB_003a88e0 + 0x1ec4" identifier + number_literal) , (binary_expression "PTR_LAB_003a88e0 + 0xe78" identifier + number_literal) , identifier , identifier ))) ;) (expression_statement "(*(code *)PTR_DestroyString_003a9074)(uVar5);" (call_expression "(*(code *)PTR_DestroyString_003a9074)(uVar5)" (parenthesized_expression "(*(code *)PTR_DestroyString_003a9074)" ( (pointer_expression "*(code *)PTR_DestroyString_003a9074" * (cast_expression "(code *)PTR_DestroyString_003a9074" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5)" ( identifier ))) ;) (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_00049c58;" goto statement_identifier ;) })) })) (expression_statement "iVar6 = (*(code *)PTR_GetPathAttributes_003a9364)(param_3,unaff_s7 + 0x48);" (assignment_expression "iVar6 = (*(code *)PTR_GetPathAttributes_003a9364)(param_3,unaff_s7 + 0x48)" identifier = (call_expression "(*(code *)PTR_GetPathAttributes_003a9364)(param_3,unaff_s7 + 0x48)" (parenthesized_expression "(*(code *)PTR_GetPathAttributes_003a9364)" ( (pointer_expression "*(code *)PTR_GetPathAttributes_003a9364" * (cast_expression "(code *)PTR_GetPathAttributes_003a9364" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_3,unaff_s7 + 0x48)" ( identifier , (binary_expression "unaff_s7 + 0x48" identifier + number_literal) )))) ;) (if_statement "if ((iVar6 == 0) || ((*(uint *)(unaff_s7 + 0x60) & 0xf000) != 0x1000)) {\n          (*(code *)PTR_GetPathComponent_003a8e18)(unaff_s6,6,local_302c);\n          if (*(int *)(param_1 + 0x204) != 0) {\n            *(int *)(unaff_s7 + 0x44) = *(int *)(param_1 + 0x204);\n            *(undefined4 *)(unaff_s7 + 0x38) = 0;\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            *(undefined4 *)(unaff_s7 + 0x30) = 1;\n            *(undefined4 *)(unaff_s7 + 0x1c) = 0;\n            goto LAB_00049e88;\n          }\n          iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n          *(int *)(unaff_s7 + 0x44) = iVar6;\n          puVar2 = PTR_GetImageOption_003a9168;\n          puVar1 = PTR_LAB_003a88e0;\n          if (iVar6 != 0) {\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n            if (iVar6 == 0) {\n              iVar6 = 0x4000;\n              iVar7 = 0;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            else {\n              iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n              iVar7 = (uint)(iVar6 == 0) << 1;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            (*(code *)PTR_setvbuf_003a90f4)(uVar5,0,iVar7,iVar6);\n            local_102c = 0;\n            local_102a = 0;\n            unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)\n                                 (&local_102c,1,3,*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fseeko64_003a9944)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fflush_003a948c)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0);\n            iVar6 = *(int *)(unaff_s7 + 0x40);\n            if (iVar6 != 1) goto LAB_0004a138;\n            uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(param_1 + 0x210,uVar5);\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);\n            if ((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)) &&\n                (unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar6 != 0)) {\n              uVar5 = (*(code *)PTR_fileno_003a99cc)(*(undefined4 *)(unaff_s7 + 0x44));\n              unaff_s6 = (*(code *)PTR_MapBlob_003a978c)(uVar5,0,0,0,unaff_s5);\n              if (unaff_s6 == 0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                iVar6 = *(int *)(unaff_s7 + 0x40);\n                goto LAB_0004a138;\n              }\n              pcVar9 = (code *)PTR_fclose_003a939c;\n              if (*(int *)(param_1 + 0x204) == 0) goto LAB_0004a850;\n              *(undefined4 *)(unaff_s7 + 0x30) = 0;\n              goto LAB_0004a650;\n            }\n          }\n          iVar6 = *(int *)(unaff_s7 + 0x40);\n          goto LAB_0004a138;\n        }" if (parenthesized_expression "((iVar6 == 0) || ((*(uint *)(unaff_s7 + 0x60) & 0xf000) != 0x1000))" ( (binary_expression "(iVar6 == 0) || ((*(uint *)(unaff_s7 + 0x60) & 0xf000) != 0x1000)" (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) || (parenthesized_expression "((*(uint *)(unaff_s7 + 0x60) & 0xf000) != 0x1000)" ( (binary_expression "(*(uint *)(unaff_s7 + 0x60) & 0xf000) != 0x1000" (parenthesized_expression "(*(uint *)(unaff_s7 + 0x60) & 0xf000)" ( (binary_expression "*(uint *)(unaff_s7 + 0x60) & 0xf000" (pointer_expression "*(uint *)(unaff_s7 + 0x60)" * (cast_expression "(uint *)(unaff_s7 + 0x60)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x60)" ( (binary_expression "unaff_s7 + 0x60" identifier + number_literal) )))) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n          (*(code *)PTR_GetPathComponent_003a8e18)(unaff_s6,6,local_302c);\n          if (*(int *)(param_1 + 0x204) != 0) {\n            *(int *)(unaff_s7 + 0x44) = *(int *)(param_1 + 0x204);\n            *(undefined4 *)(unaff_s7 + 0x38) = 0;\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            *(undefined4 *)(unaff_s7 + 0x30) = 1;\n            *(undefined4 *)(unaff_s7 + 0x1c) = 0;\n            goto LAB_00049e88;\n          }\n          iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n          *(int *)(unaff_s7 + 0x44) = iVar6;\n          puVar2 = PTR_GetImageOption_003a9168;\n          puVar1 = PTR_LAB_003a88e0;\n          if (iVar6 != 0) {\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n            if (iVar6 == 0) {\n              iVar6 = 0x4000;\n              iVar7 = 0;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            else {\n              iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n              iVar7 = (uint)(iVar6 == 0) << 1;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            (*(code *)PTR_setvbuf_003a90f4)(uVar5,0,iVar7,iVar6);\n            local_102c = 0;\n            local_102a = 0;\n            unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)\n                                 (&local_102c,1,3,*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fseeko64_003a9944)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fflush_003a948c)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0);\n            iVar6 = *(int *)(unaff_s7 + 0x40);\n            if (iVar6 != 1) goto LAB_0004a138;\n            uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(param_1 + 0x210,uVar5);\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);\n            if ((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)) &&\n                (unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar6 != 0)) {\n              uVar5 = (*(code *)PTR_fileno_003a99cc)(*(undefined4 *)(unaff_s7 + 0x44));\n              unaff_s6 = (*(code *)PTR_MapBlob_003a978c)(uVar5,0,0,0,unaff_s5);\n              if (unaff_s6 == 0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                iVar6 = *(int *)(unaff_s7 + 0x40);\n                goto LAB_0004a138;\n              }\n              pcVar9 = (code *)PTR_fclose_003a939c;\n              if (*(int *)(param_1 + 0x204) == 0) goto LAB_0004a850;\n              *(undefined4 *)(unaff_s7 + 0x30) = 0;\n              goto LAB_0004a650;\n            }\n          }\n          iVar6 = *(int *)(unaff_s7 + 0x40);\n          goto LAB_0004a138;\n        }" { (expression_statement "(*(code *)PTR_GetPathComponent_003a8e18)(unaff_s6,6,local_302c);" (call_expression "(*(code *)PTR_GetPathComponent_003a8e18)(unaff_s6,6,local_302c)" (parenthesized_expression "(*(code *)PTR_GetPathComponent_003a8e18)" ( (pointer_expression "*(code *)PTR_GetPathComponent_003a8e18" * (cast_expression "(code *)PTR_GetPathComponent_003a8e18" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s6,6,local_302c)" ( identifier , number_literal , identifier ))) ;) (if_statement "if (*(int *)(param_1 + 0x204) != 0) {\n            *(int *)(unaff_s7 + 0x44) = *(int *)(param_1 + 0x204);\n            *(undefined4 *)(unaff_s7 + 0x38) = 0;\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            *(undefined4 *)(unaff_s7 + 0x30) = 1;\n            *(undefined4 *)(unaff_s7 + 0x1c) = 0;\n            goto LAB_00049e88;\n          }" if (parenthesized_expression "(*(int *)(param_1 + 0x204) != 0)" ( (binary_expression "*(int *)(param_1 + 0x204) != 0" (pointer_expression "*(int *)(param_1 + 0x204)" * (cast_expression "(int *)(param_1 + 0x204)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x204)" ( (binary_expression "param_1 + 0x204" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n            *(int *)(unaff_s7 + 0x44) = *(int *)(param_1 + 0x204);\n            *(undefined4 *)(unaff_s7 + 0x38) = 0;\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            *(undefined4 *)(unaff_s7 + 0x30) = 1;\n            *(undefined4 *)(unaff_s7 + 0x1c) = 0;\n            goto LAB_00049e88;\n          }" { (expression_statement "*(int *)(unaff_s7 + 0x44) = *(int *)(param_1 + 0x204);" (assignment_expression "*(int *)(unaff_s7 + 0x44) = *(int *)(param_1 + 0x204)" (pointer_expression "*(int *)(unaff_s7 + 0x44)" * (cast_expression "(int *)(unaff_s7 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x44)" ( (binary_expression "unaff_s7 + 0x44" identifier + number_literal) )))) = (pointer_expression "*(int *)(param_1 + 0x204)" * (cast_expression "(int *)(param_1 + 0x204)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x204)" ( (binary_expression "param_1 + 0x204" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(unaff_s7 + 0x38) = 0;" (assignment_expression "*(undefined4 *)(unaff_s7 + 0x38) = 0" (pointer_expression "*(undefined4 *)(unaff_s7 + 0x38)" * (cast_expression "(undefined4 *)(unaff_s7 + 0x38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x38)" ( (binary_expression "unaff_s7 + 0x38" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(unaff_s7 + 0x40) = 1;" (assignment_expression "*(undefined4 *)(unaff_s7 + 0x40) = 1" (pointer_expression "*(undefined4 *)(unaff_s7 + 0x40)" * (cast_expression "(undefined4 *)(unaff_s7 + 0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x40)" ( (binary_expression "unaff_s7 + 0x40" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(unaff_s7 + 0x30) = 1;" (assignment_expression "*(undefined4 *)(unaff_s7 + 0x30) = 1" (pointer_expression "*(undefined4 *)(unaff_s7 + 0x30)" * (cast_expression "(undefined4 *)(unaff_s7 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x30)" ( (binary_expression "unaff_s7 + 0x30" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(unaff_s7 + 0x1c) = 0;" (assignment_expression "*(undefined4 *)(unaff_s7 + 0x1c) = 0" (pointer_expression "*(undefined4 *)(unaff_s7 + 0x1c)" * (cast_expression "(undefined4 *)(unaff_s7 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x1c)" ( (binary_expression "unaff_s7 + 0x1c" identifier + number_literal) )))) = number_literal) ;) (goto_statement "goto LAB_00049e88;" goto statement_identifier ;) })) (expression_statement "iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);" (assignment_expression "iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5)" identifier = (call_expression "(*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5)" (parenthesized_expression "(*(code *)PTR_fopen64_003a8c68)" ( (pointer_expression "*(code *)PTR_fopen64_003a8c68" * (cast_expression "(code *)PTR_fopen64_003a8c68" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_3,unaff_s5)" ( identifier , identifier )))) ;) (expression_statement "*(int *)(unaff_s7 + 0x44) = iVar6;" (assignment_expression "*(int *)(unaff_s7 + 0x44) = iVar6" (pointer_expression "*(int *)(unaff_s7 + 0x44)" * (cast_expression "(int *)(unaff_s7 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x44)" ( (binary_expression "unaff_s7 + 0x44" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar2 = PTR_GetImageOption_003a9168;" (assignment_expression "puVar2 = PTR_GetImageOption_003a9168" identifier = identifier) ;) (expression_statement "puVar1 = PTR_LAB_003a88e0;" (assignment_expression "puVar1 = PTR_LAB_003a88e0" identifier = identifier) ;) (if_statement "if (iVar6 != 0) {\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n            if (iVar6 == 0) {\n              iVar6 = 0x4000;\n              iVar7 = 0;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            else {\n              iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n              iVar7 = (uint)(iVar6 == 0) << 1;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            (*(code *)PTR_setvbuf_003a90f4)(uVar5,0,iVar7,iVar6);\n            local_102c = 0;\n            local_102a = 0;\n            unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)\n                                 (&local_102c,1,3,*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fseeko64_003a9944)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fflush_003a948c)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0);\n            iVar6 = *(int *)(unaff_s7 + 0x40);\n            if (iVar6 != 1) goto LAB_0004a138;\n            uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(param_1 + 0x210,uVar5);\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);\n            if ((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)) &&\n                (unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar6 != 0)) {\n              uVar5 = (*(code *)PTR_fileno_003a99cc)(*(undefined4 *)(unaff_s7 + 0x44));\n              unaff_s6 = (*(code *)PTR_MapBlob_003a978c)(uVar5,0,0,0,unaff_s5);\n              if (unaff_s6 == 0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                iVar6 = *(int *)(unaff_s7 + 0x40);\n                goto LAB_0004a138;\n              }\n              pcVar9 = (code *)PTR_fclose_003a939c;\n              if (*(int *)(param_1 + 0x204) == 0) goto LAB_0004a850;\n              *(undefined4 *)(unaff_s7 + 0x30) = 0;\n              goto LAB_0004a650;\n            }\n          }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n            if (iVar6 == 0) {\n              iVar6 = 0x4000;\n              iVar7 = 0;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            else {\n              iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n              iVar7 = (uint)(iVar6 == 0) << 1;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            (*(code *)PTR_setvbuf_003a90f4)(uVar5,0,iVar7,iVar6);\n            local_102c = 0;\n            local_102a = 0;\n            unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)\n                                 (&local_102c,1,3,*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fseeko64_003a9944)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fflush_003a948c)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0);\n            iVar6 = *(int *)(unaff_s7 + 0x40);\n            if (iVar6 != 1) goto LAB_0004a138;\n            uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(param_1 + 0x210,uVar5);\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);\n            if ((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)) &&\n                (unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar6 != 0)) {\n              uVar5 = (*(code *)PTR_fileno_003a99cc)(*(undefined4 *)(unaff_s7 + 0x44));\n              unaff_s6 = (*(code *)PTR_MapBlob_003a978c)(uVar5,0,0,0,unaff_s5);\n              if (unaff_s6 == 0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                iVar6 = *(int *)(unaff_s7 + 0x40);\n                goto LAB_0004a138;\n              }\n              pcVar9 = (code *)PTR_fclose_003a939c;\n              if (*(int *)(param_1 + 0x204) == 0) goto LAB_0004a850;\n              *(undefined4 *)(unaff_s7 + 0x30) = 0;\n              goto LAB_0004a650;\n            }\n          }" { (expression_statement "*(undefined4 *)(unaff_s7 + 0x40) = 1;" (assignment_expression "*(undefined4 *)(unaff_s7 + 0x40) = 1" (pointer_expression "*(undefined4 *)(unaff_s7 + 0x40)" * (cast_expression "(undefined4 *)(unaff_s7 + 0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x40)" ( (binary_expression "unaff_s7 + 0x40" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);" (assignment_expression "iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac)" identifier = (call_expression "(*(code *)puVar2)(param_1,puVar1 + 0x1eac)" (parenthesized_expression "(*(code *)puVar2)" ( (pointer_expression "*(code *)puVar2" * (cast_expression "(code *)puVar2" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,puVar1 + 0x1eac)" ( identifier , (binary_expression "puVar1 + 0x1eac" identifier + number_literal) )))) ;) (if_statement "if (iVar6 == 0) {\n              iVar6 = 0x4000;\n              iVar7 = 0;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            else {\n              iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n              iVar7 = (uint)(iVar6 == 0) << 1;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n              iVar6 = 0x4000;\n              iVar7 = 0;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }" { (expression_statement "iVar6 = 0x4000;" (assignment_expression "iVar6 = 0x4000" identifier = number_literal) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);" (assignment_expression "uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44)" identifier = (pointer_expression "*(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44)" * (cast_expression "(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_2 + 0x3348) + 0x44)" ( (binary_expression "*(int *)(param_2 + 0x3348) + 0x44" (pointer_expression "*(int *)(param_2 + 0x3348)" * (cast_expression "(int *)(param_2 + 0x3348)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x3348)" ( (binary_expression "param_2 + 0x3348" identifier + number_literal) )))) + number_literal) ))))) ;) }) (else_clause "else {\n              iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n              iVar7 = (uint)(iVar6 == 0) << 1;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }" else (compound_statement "{\n              iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n              iVar7 = (uint)(iVar6 == 0) << 1;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }" { (expression_statement "iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);" (assignment_expression "iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10)" identifier = (call_expression "(*(code *)PTR_strtoul_003a9340)(iVar6,0,10)" (parenthesized_expression "(*(code *)PTR_strtoul_003a9340)" ( (pointer_expression "*(code *)PTR_strtoul_003a9340" * (cast_expression "(code *)PTR_strtoul_003a9340" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar6,0,10)" ( identifier , number_literal , number_literal )))) ;) (expression_statement "iVar7 = (uint)(iVar6 == 0) << 1;" (assignment_expression "iVar7 = (uint)(iVar6 == 0) << 1" identifier = (binary_expression "(uint)(iVar6 == 0) << 1" (call_expression "(uint)(iVar6 == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) ))) << number_literal)) ;) (expression_statement "uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);" (assignment_expression "uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44)" identifier = (pointer_expression "*(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44)" * (cast_expression "(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_2 + 0x3348) + 0x44)" ( (binary_expression "*(int *)(param_2 + 0x3348) + 0x44" (pointer_expression "*(int *)(param_2 + 0x3348)" * (cast_expression "(int *)(param_2 + 0x3348)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x3348)" ( (binary_expression "param_2 + 0x3348" identifier + number_literal) )))) + number_literal) ))))) ;) }))) (expression_statement "(*(code *)PTR_setvbuf_003a90f4)(uVar5,0,iVar7,iVar6);" (call_expression "(*(code *)PTR_setvbuf_003a90f4)(uVar5,0,iVar7,iVar6)" (parenthesized_expression "(*(code *)PTR_setvbuf_003a90f4)" ( (pointer_expression "*(code *)PTR_setvbuf_003a90f4" * (cast_expression "(code *)PTR_setvbuf_003a90f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5,0,iVar7,iVar6)" ( identifier , number_literal , identifier , identifier ))) ;) (expression_statement "local_102c = 0;" (assignment_expression "local_102c = 0" identifier = number_literal) ;) (expression_statement "local_102a = 0;" (assignment_expression "local_102a = 0" identifier = number_literal) ;) (expression_statement "unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)\n                                 (&local_102c,1,3,*(undefined4 *)(unaff_s7 + 0x44));" (assignment_expression "unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)\n                                 (&local_102c,1,3,*(undefined4 *)(unaff_s7 + 0x44))" identifier = (cast_expression "(undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)\n                                 (&local_102c,1,3,*(undefined4 *)(unaff_s7 + 0x44))" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_fread_003a8db8)\n                                 (&local_102c,1,3,*(undefined4 *)(unaff_s7 + 0x44))" (parenthesized_expression "(*(code *)PTR_fread_003a8db8)" ( (pointer_expression "*(code *)PTR_fread_003a8db8" * (cast_expression "(code *)PTR_fread_003a8db8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&local_102c,1,3,*(undefined4 *)(unaff_s7 + 0x44))" ( (pointer_expression "&local_102c" & identifier) , number_literal , number_literal , (pointer_expression "*(undefined4 *)(unaff_s7 + 0x44)" * (cast_expression "(undefined4 *)(unaff_s7 + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x44)" ( (binary_expression "unaff_s7 + 0x44" identifier + number_literal) )))) ))))) ;) (expression_statement "(*(code *)PTR_fseeko64_003a9944)(*(undefined4 *)(unaff_s7 + 0x44));" (call_expression "(*(code *)PTR_fseeko64_003a9944)(*(undefined4 *)(unaff_s7 + 0x44))" (parenthesized_expression "(*(code *)PTR_fseeko64_003a9944)" ( (pointer_expression "*(code *)PTR_fseeko64_003a9944" * (cast_expression "(code *)PTR_fseeko64_003a9944" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(unaff_s7 + 0x44))" ( (pointer_expression "*(undefined4 *)(unaff_s7 + 0x44)" * (cast_expression "(undefined4 *)(unaff_s7 + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x44)" ( (binary_expression "unaff_s7 + 0x44" identifier + number_literal) )))) ))) ;) (expression_statement "(*(code *)PTR_fflush_003a948c)(*(undefined4 *)(unaff_s7 + 0x44));" (call_expression "(*(code *)PTR_fflush_003a948c)(*(undefined4 *)(unaff_s7 + 0x44))" (parenthesized_expression "(*(code *)PTR_fflush_003a948c)" ( (pointer_expression "*(code *)PTR_fflush_003a948c" * (cast_expression "(code *)PTR_fflush_003a948c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(unaff_s7 + 0x44))" ( (pointer_expression "*(undefined4 *)(unaff_s7 + 0x44)" * (cast_expression "(undefined4 *)(unaff_s7 + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x44)" ( (binary_expression "unaff_s7 + 0x44" identifier + number_literal) )))) ))) ;) (expression_statement "(*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0);" (call_expression "(*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0)" (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 "(4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0)" ( number_literal , (binary_expression "PTR_LAB_003a88e0 + 0x1ad8" identifier + number_literal) , (binary_expression "PTR_LAB_003a88e0 + 0x23cc" identifier + number_literal) , number_literal , (binary_expression "PTR_LAB_003a88e0 + 0x1ef0" identifier + number_literal) ))) ;) (expression_statement "iVar6 = *(int *)(unaff_s7 + 0x40);" (assignment_expression "iVar6 = *(int *)(unaff_s7 + 0x40)" identifier = (pointer_expression "*(int *)(unaff_s7 + 0x40)" * (cast_expression "(int *)(unaff_s7 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x40)" ( (binary_expression "unaff_s7 + 0x40" identifier + number_literal) ))))) ;) (if_statement "if (iVar6 != 1) goto LAB_0004a138;" if (parenthesized_expression "(iVar6 != 1)" ( (binary_expression "iVar6 != 1" identifier != number_literal) )) (goto_statement "goto LAB_0004a138;" goto statement_identifier ;)) (expression_statement "uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();" (assignment_expression "uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)()" identifier = (call_expression "(*(code *)PTR_AcquireExceptionInfo_003a8eec)()" (parenthesized_expression "(*(code *)PTR_AcquireExceptionInfo_003a8eec)" ( (pointer_expression "*(code *)PTR_AcquireExceptionInfo_003a8eec" * (cast_expression "(code *)PTR_AcquireExceptionInfo_003a8eec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(param_1 + 0x210,uVar5);" (assignment_expression "unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(param_1 + 0x210,uVar5)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(param_1 + 0x210,uVar5)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_GetMagickInfo_003a940c)(param_1 + 0x210,uVar5)" (parenthesized_expression "(*(code *)PTR_GetMagickInfo_003a940c)" ( (pointer_expression "*(code *)PTR_GetMagickInfo_003a940c" * (cast_expression "(code *)PTR_GetMagickInfo_003a940c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1 + 0x210,uVar5)" ( (binary_expression "param_1 + 0x210" identifier + number_literal) , identifier ))))) ;) (expression_statement "(*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);" (call_expression "(*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5)" (parenthesized_expression "(*(code *)PTR_DestroyExceptionInfo_003a8d50)" ( (pointer_expression "*(code *)PTR_DestroyExceptionInfo_003a8d50" * (cast_expression "(code *)PTR_DestroyExceptionInfo_003a8d50" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5)" ( identifier ))) ;) (if_statement "if ((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)) &&\n                (unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar6 != 0)) {\n              uVar5 = (*(code *)PTR_fileno_003a99cc)(*(undefined4 *)(unaff_s7 + 0x44));\n              unaff_s6 = (*(code *)PTR_MapBlob_003a978c)(uVar5,0,0,0,unaff_s5);\n              if (unaff_s6 == 0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                iVar6 = *(int *)(unaff_s7 + 0x40);\n                goto LAB_0004a138;\n              }\n              pcVar9 = (code *)PTR_fclose_003a939c;\n              if (*(int *)(param_1 + 0x204) == 0) goto LAB_0004a850;\n              *(undefined4 *)(unaff_s7 + 0x30) = 0;\n              goto LAB_0004a650;\n            }" if (parenthesized_expression "((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)) &&\n                (unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar6 != 0))" ( (binary_expression "(((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)) &&\n                (unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar6 != 0)" (parenthesized_expression "(((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)) &&\n                (unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5))" ( (binary_expression "((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)) &&\n                (unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)" (parenthesized_expression "((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0))" ( (binary_expression "(unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)" (parenthesized_expression "(unaff_s5 != (undefined1 *)0x0)" ( (binary_expression "unaff_s5 != (undefined1 *)0x0" identifier != (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)" ( (comma_expression "iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0" (assignment_expression "iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5)" identifier = (call_expression "(*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5)" (parenthesized_expression "(*(code *)PTR_GetMagickBlobSupport_003a9774)" ( (pointer_expression "*(code *)PTR_GetMagickBlobSupport_003a9774" * (cast_expression "(code *)PTR_GetMagickBlobSupport_003a9774" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s5)" ( identifier )))) , (binary_expression "iVar6 != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "(unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)" ( (comma_expression "unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5" (assignment_expression "unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84)" identifier = (pointer_expression "*(undefined1 **)(unaff_s7 + 0x84)" * (cast_expression "(undefined1 **)(unaff_s7 + 0x84)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_s7 + 0x84)" ( (binary_expression "unaff_s7 + 0x84" identifier + number_literal) ))))) , (binary_expression "&__DT_SYMTAB[0x16e].st_size < unaff_s5" (pointer_expression "&__DT_SYMTAB[0x16e].st_size" & (field_expression "__DT_SYMTAB[0x16e].st_size" (subscript_expression "__DT_SYMTAB[0x16e]" identifier [ number_literal ]) . field_identifier)) < identifier)) ))) )) && (parenthesized_expression "(iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar6 != 0)" ( (comma_expression "iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar6 != 0" (assignment_expression "iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5)" identifier = (call_expression "(*(code *)PTR_AcquireMagickResource_003a981c)(5)" (parenthesized_expression "(*(code *)PTR_AcquireMagickResource_003a981c)" ( (pointer_expression "*(code *)PTR_AcquireMagickResource_003a981c" * (cast_expression "(code *)PTR_AcquireMagickResource_003a981c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(5)" ( number_literal )))) , (binary_expression "iVar6 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n              uVar5 = (*(code *)PTR_fileno_003a99cc)(*(undefined4 *)(unaff_s7 + 0x44));\n              unaff_s6 = (*(code *)PTR_MapBlob_003a978c)(uVar5,0,0,0,unaff_s5);\n              if (unaff_s6 == 0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                iVar6 = *(int *)(unaff_s7 + 0x40);\n                goto LAB_0004a138;\n              }\n              pcVar9 = (code *)PTR_fclose_003a939c;\n              if (*(int *)(param_1 + 0x204) == 0) goto LAB_0004a850;\n              *(undefined4 *)(unaff_s7 + 0x30) = 0;\n              goto LAB_0004a650;\n            }" { (expression_statement "uVar5 = (*(code *)PTR_fileno_003a99cc)(*(undefined4 *)(unaff_s7 + 0x44));" (assignment_expression "uVar5 = (*(code *)PTR_fileno_003a99cc)(*(undefined4 *)(unaff_s7 + 0x44))" identifier = (call_expression "(*(code *)PTR_fileno_003a99cc)(*(undefined4 *)(unaff_s7 + 0x44))" (parenthesized_expression "(*(code *)PTR_fileno_003a99cc)" ( (pointer_expression "*(code *)PTR_fileno_003a99cc" * (cast_expression "(code *)PTR_fileno_003a99cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(unaff_s7 + 0x44))" ( (pointer_expression "*(undefined4 *)(unaff_s7 + 0x44)" * (cast_expression "(undefined4 *)(unaff_s7 + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x44)" ( (binary_expression "unaff_s7 + 0x44" identifier + number_literal) )))) )))) ;) (expression_statement "unaff_s6 = (*(code *)PTR_MapBlob_003a978c)(uVar5,0,0,0,unaff_s5);" (assignment_expression "unaff_s6 = (*(code *)PTR_MapBlob_003a978c)(uVar5,0,0,0,unaff_s5)" identifier = (call_expression "(*(code *)PTR_MapBlob_003a978c)(uVar5,0,0,0,unaff_s5)" (parenthesized_expression "(*(code *)PTR_MapBlob_003a978c)" ( (pointer_expression "*(code *)PTR_MapBlob_003a978c" * (cast_expression "(code *)PTR_MapBlob_003a978c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5,0,0,0,unaff_s5)" ( identifier , number_literal , number_literal , number_literal , identifier )))) ;) (if_statement "if (unaff_s6 == 0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                iVar6 = *(int *)(unaff_s7 + 0x40);\n                goto LAB_0004a138;\n              }" if (parenthesized_expression "(unaff_s6 == 0)" ( (binary_expression "unaff_s6 == 0" identifier == number_literal) )) (compound_statement "{\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                iVar6 = *(int *)(unaff_s7 + 0x40);\n                goto LAB_0004a138;\n              }" { (expression_statement "(*(code *)PTR_RelinquishMagickResource_003a970c)(5);" (call_expression "(*(code *)PTR_RelinquishMagickResource_003a970c)(5)" (parenthesized_expression "(*(code *)PTR_RelinquishMagickResource_003a970c)" ( (pointer_expression "*(code *)PTR_RelinquishMagickResource_003a970c" * (cast_expression "(code *)PTR_RelinquishMagickResource_003a970c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(5)" ( number_literal ))) ;) (expression_statement "iVar6 = *(int *)(unaff_s7 + 0x40);" (assignment_expression "iVar6 = *(int *)(unaff_s7 + 0x40)" identifier = (pointer_expression "*(int *)(unaff_s7 + 0x40)" * (cast_expression "(int *)(unaff_s7 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x40)" ( (binary_expression "unaff_s7 + 0x40" identifier + number_literal) ))))) ;) (goto_statement "goto LAB_0004a138;" goto statement_identifier ;) })) (expression_statement "pcVar9 = (code *)PTR_fclose_003a939c;" (assignment_expression "pcVar9 = (code *)PTR_fclose_003a939c" identifier = (cast_expression "(code *)PTR_fclose_003a939c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (*(int *)(param_1 + 0x204) == 0) goto LAB_0004a850;" if (parenthesized_expression "(*(int *)(param_1 + 0x204) == 0)" ( (binary_expression "*(int *)(param_1 + 0x204) == 0" (pointer_expression "*(int *)(param_1 + 0x204)" * (cast_expression "(int *)(param_1 + 0x204)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x204)" ( (binary_expression "param_1 + 0x204" identifier + number_literal) )))) == number_literal) )) (goto_statement "goto LAB_0004a850;" goto statement_identifier ;)) (expression_statement "*(undefined4 *)(unaff_s7 + 0x30) = 0;" (assignment_expression "*(undefined4 *)(unaff_s7 + 0x30) = 0" (pointer_expression "*(undefined4 *)(unaff_s7 + 0x30)" * (cast_expression "(undefined4 *)(unaff_s7 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x30)" ( (binary_expression "unaff_s7 + 0x30" identifier + number_literal) )))) = number_literal) ;) (goto_statement "goto LAB_0004a650;" goto statement_identifier ;) })) })) (expression_statement "iVar6 = *(int *)(unaff_s7 + 0x40);" (assignment_expression "iVar6 = *(int *)(unaff_s7 + 0x40)" identifier = (pointer_expression "*(int *)(unaff_s7 + 0x40)" * (cast_expression "(int *)(unaff_s7 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x40)" ( (binary_expression "unaff_s7 + 0x40" identifier + number_literal) ))))) ;) (goto_statement "goto LAB_0004a138;" goto statement_identifier ;) })) (expression_statement "iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);" (assignment_expression "iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5)" identifier = (call_expression "(*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5)" (parenthesized_expression "(*(code *)PTR_fopen64_003a8c68)" ( (pointer_expression "*(code *)PTR_fopen64_003a8c68" * (cast_expression "(code *)PTR_fopen64_003a8c68" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_3,unaff_s5)" ( identifier , identifier )))) ;) (expression_statement "*(int *)(unaff_s7 + 0x44) = iVar6;" (assignment_expression "*(int *)(unaff_s7 + 0x44) = iVar6" (pointer_expression "*(int *)(unaff_s7 + 0x44)" * (cast_expression "(int *)(unaff_s7 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x44)" ( (binary_expression "unaff_s7 + 0x44" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar2 = PTR_GetImageOption_003a9168;" (assignment_expression "puVar2 = PTR_GetImageOption_003a9168" identifier = identifier) ;) (expression_statement "puVar1 = PTR_LAB_003a88e0;" (assignment_expression "puVar1 = PTR_LAB_003a88e0" identifier = identifier) ;) (if_statement "if (iVar6 == 0) {\n          puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n          uVar8 = 0xd23;\n          goto LAB_0004a16c;\n        }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n          puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n          uVar8 = 0xd23;\n          goto LAB_0004a16c;\n        }" { (expression_statement "puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();" (assignment_expression "puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_003a99b0)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_003a99b0)()" (parenthesized_expression "(*(code *)PTR___errno_location_003a99b0)" ( (pointer_expression "*(code *)PTR___errno_location_003a99b0" * (cast_expression "(code *)PTR___errno_location_003a99b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);" (assignment_expression "uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4)" identifier = (call_expression "(*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4)" (parenthesized_expression "(*(code *)PTR_GetExceptionMessage_003a93ec)" ( (pointer_expression "*(code *)PTR_GetExceptionMessage_003a93ec" * (cast_expression "(code *)PTR_GetExceptionMessage_003a93ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*puVar4)" ( (pointer_expression "*puVar4" * identifier) )))) ;) (expression_statement "uVar8 = 0xd23;" (assignment_expression "uVar8 = 0xd23" identifier = number_literal) ;) (goto_statement "goto LAB_0004a16c;" goto statement_identifier ;) })) (expression_statement "*(undefined4 *)(unaff_s7 + 0x40) = 1;" (assignment_expression "*(undefined4 *)(unaff_s7 + 0x40) = 1" (pointer_expression "*(undefined4 *)(unaff_s7 + 0x40)" * (cast_expression "(undefined4 *)(unaff_s7 + 0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x40)" ( (binary_expression "unaff_s7 + 0x40" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(unaff_s7 + 0x30) = 1;" (assignment_expression "*(undefined4 *)(unaff_s7 + 0x30) = 1" (pointer_expression "*(undefined4 *)(unaff_s7 + 0x30)" * (cast_expression "(undefined4 *)(unaff_s7 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x30)" ( (binary_expression "unaff_s7 + 0x30" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);" (assignment_expression "iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac)" identifier = (call_expression "(*(code *)puVar2)(param_1,puVar1 + 0x1eac)" (parenthesized_expression "(*(code *)puVar2)" ( (pointer_expression "*(code *)puVar2" * (cast_expression "(code *)puVar2" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,puVar1 + 0x1eac)" ( identifier , (binary_expression "puVar1 + 0x1eac" identifier + number_literal) )))) ;) (if_statement "if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }" { (expression_statement "iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);" (assignment_expression "iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10)" identifier = (call_expression "(*(code *)PTR_strtoul_003a9340)(iVar6,0,10)" (parenthesized_expression "(*(code *)PTR_strtoul_003a9340)" ( (pointer_expression "*(code *)PTR_strtoul_003a9340" * (cast_expression "(code *)PTR_strtoul_003a9340" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar6,0,10)" ( identifier , number_literal , number_literal )))) ;) (expression_statement "uVar5 = 2;" (assignment_expression "uVar5 = 2" identifier = number_literal) ;) (if_statement "if (iVar6 != 0) {\n            uVar5 = 0;\n          }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n            uVar5 = 0;\n          }" { (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) })) (expression_statement "uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);" (assignment_expression "uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44)" identifier = (pointer_expression "*(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44)" * (cast_expression "(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_2 + 0x3348) + 0x44)" ( (binary_expression "*(int *)(param_2 + 0x3348) + 0x44" (pointer_expression "*(int *)(param_2 + 0x3348)" * (cast_expression "(int *)(param_2 + 0x3348)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x3348)" ( (binary_expression "param_2 + 0x3348" identifier + number_literal) )))) + number_literal) ))))) ;) (goto_statement "goto LAB_00049fe8;" goto statement_identifier ;) })) }))) (expression_statement "iVar6 = 0x4000;" (assignment_expression "iVar6 = 0x4000" identifier = number_literal) ;) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (expression_statement "uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);" (assignment_expression "uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44)" identifier = (pointer_expression "*(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44)" * (cast_expression "(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_2 + 0x3348) + 0x44)" ( (binary_expression "*(int *)(param_2 + 0x3348) + 0x44" (pointer_expression "*(int *)(param_2 + 0x3348)" * (cast_expression "(int *)(param_2 + 0x3348)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x3348)" ( (binary_expression "param_2 + 0x3348" identifier + number_literal) )))) + number_literal) ))))) ;) (labeled_statement "LAB_00049fe8:\n      iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);" statement_identifier : (expression_statement "iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);" (assignment_expression "iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6)" identifier = (call_expression "(*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6)" (parenthesized_expression "(*(code *)PTR_setvbuf_003a90f4)" ( (pointer_expression "*(code *)PTR_setvbuf_003a90f4" * (cast_expression "(code *)PTR_setvbuf_003a90f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar8,0,uVar5,iVar6)" ( identifier , number_literal , identifier , identifier )))) ;)) (expression_statement "uVar10 = (uint)(iVar6 == 0);" (assignment_expression "uVar10 = (uint)(iVar6 == 0)" identifier = (call_expression "(uint)(iVar6 == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )))) ;) (goto_statement "goto LAB_00049c58;" goto statement_identifier ;) })) }))) (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n            (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,PTR_LAB_003a88e0 + 0x1ad8);" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n            (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,PTR_LAB_003a88e0 + 0x1ad8)" (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_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,PTR_LAB_003a88e0 + 0x1ad8)" ( (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784" identifier + number_literal) , (binary_expression "PTR_LAB_003a88e0 + 0x1ad8" identifier + number_literal) ))) ;) (labeled_statement "LAB_0004a824:\n  (*(code *)PTR___assert_fail_003a9608)(PTR_LAB_003a88e0 + 0xdd0,PTR_LAB_003a88e0 + 0x1ad8);" statement_identifier : (expression_statement "(*(code *)PTR___assert_fail_003a9608)(PTR_LAB_003a88e0 + 0xdd0,PTR_LAB_003a88e0 + 0x1ad8);" (call_expression "(*(code *)PTR___assert_fail_003a9608)(PTR_LAB_003a88e0 + 0xdd0,PTR_LAB_003a88e0 + 0x1ad8)" (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 + 0xdd0,PTR_LAB_003a88e0 + 0x1ad8)" ( (binary_expression "PTR_LAB_003a88e0 + 0xdd0" identifier + number_literal) , (binary_expression "PTR_LAB_003a88e0 + 0x1ad8" identifier + number_literal) ))) ;)) (do_statement "do {\n    pcVar9 = (code *)PTR___stack_chk_fail_003a9064;\n    (*(code *)PTR___stack_chk_fail_003a9064)();\nLAB_0004a850:\n    (*pcVar9)(*(undefined4 *)(unaff_s7 + 0x44));\n    *(undefined4 *)(unaff_s7 + 0x44) = 0;\nLAB_0004a650:\n    (*(code *)PTR_AttachBlob_003a92c8)(unaff_s7,unaff_s6,unaff_s5);\n    iVar6 = *(int *)(unaff_s7 + 0x40);\n    *(undefined4 *)(unaff_s7 + 0x10) = 1;\nLAB_0004a138:\n    *(undefined4 *)(unaff_s7 + 0x38) = 0;\n    *(undefined4 *)(unaff_s7 + 0x1c) = 0;\n    if (iVar6 == 0) {\n      puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n      uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n      uVar8 = 0xdd1;\nLAB_0004a16c:\n      uVar10 = 0;\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,uVar8,0x1b3,\n                 PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n      (*(code *)PTR_DestroyString_003a9074)(uVar5);\n    }\n    else {\nLAB_00049e88:\n      uVar10 = 1;\n      uVar11 = (*(code *)PTR_GetBlobSize_003a94b8)(param_2);\n      *(undefined8 *)(unaff_s7 + 0x28) = uVar11;\n    }\nLAB_00049c58:\n  } while (local_2c != *(int *)puVar3);" do (compound_statement "{\n    pcVar9 = (code *)PTR___stack_chk_fail_003a9064;\n    (*(code *)PTR___stack_chk_fail_003a9064)();\nLAB_0004a850:\n    (*pcVar9)(*(undefined4 *)(unaff_s7 + 0x44));\n    *(undefined4 *)(unaff_s7 + 0x44) = 0;\nLAB_0004a650:\n    (*(code *)PTR_AttachBlob_003a92c8)(unaff_s7,unaff_s6,unaff_s5);\n    iVar6 = *(int *)(unaff_s7 + 0x40);\n    *(undefined4 *)(unaff_s7 + 0x10) = 1;\nLAB_0004a138:\n    *(undefined4 *)(unaff_s7 + 0x38) = 0;\n    *(undefined4 *)(unaff_s7 + 0x1c) = 0;\n    if (iVar6 == 0) {\n      puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n      uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n      uVar8 = 0xdd1;\nLAB_0004a16c:\n      uVar10 = 0;\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,uVar8,0x1b3,\n                 PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n      (*(code *)PTR_DestroyString_003a9074)(uVar5);\n    }\n    else {\nLAB_00049e88:\n      uVar10 = 1;\n      uVar11 = (*(code *)PTR_GetBlobSize_003a94b8)(param_2);\n      *(undefined8 *)(unaff_s7 + 0x28) = uVar11;\n    }\nLAB_00049c58:\n  }" { (expression_statement "pcVar9 = (code *)PTR___stack_chk_fail_003a9064;" (assignment_expression "pcVar9 = (code *)PTR___stack_chk_fail_003a9064" identifier = (cast_expression "(code *)PTR___stack_chk_fail_003a9064" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_003a9064)();" (call_expression "(*(code *)PTR___stack_chk_fail_003a9064)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_003a9064)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_003a9064" * (cast_expression "(code *)PTR___stack_chk_fail_003a9064" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (labeled_statement "LAB_0004a850:\n    (*pcVar9)(*(undefined4 *)(unaff_s7 + 0x44));" statement_identifier : (expression_statement "(*pcVar9)(*(undefined4 *)(unaff_s7 + 0x44));" (call_expression "(*pcVar9)(*(undefined4 *)(unaff_s7 + 0x44))" (parenthesized_expression "(*pcVar9)" ( (pointer_expression "*pcVar9" * identifier) )) (argument_list "(*(undefined4 *)(unaff_s7 + 0x44))" ( (pointer_expression "*(undefined4 *)(unaff_s7 + 0x44)" * (cast_expression "(undefined4 *)(unaff_s7 + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x44)" ( (binary_expression "unaff_s7 + 0x44" identifier + number_literal) )))) ))) ;)) (expression_statement "*(undefined4 *)(unaff_s7 + 0x44) = 0;" (assignment_expression "*(undefined4 *)(unaff_s7 + 0x44) = 0" (pointer_expression "*(undefined4 *)(unaff_s7 + 0x44)" * (cast_expression "(undefined4 *)(unaff_s7 + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x44)" ( (binary_expression "unaff_s7 + 0x44" identifier + number_literal) )))) = number_literal) ;) (labeled_statement "LAB_0004a650:\n    (*(code *)PTR_AttachBlob_003a92c8)(unaff_s7,unaff_s6,unaff_s5);" statement_identifier : (expression_statement "(*(code *)PTR_AttachBlob_003a92c8)(unaff_s7,unaff_s6,unaff_s5);" (call_expression "(*(code *)PTR_AttachBlob_003a92c8)(unaff_s7,unaff_s6,unaff_s5)" (parenthesized_expression "(*(code *)PTR_AttachBlob_003a92c8)" ( (pointer_expression "*(code *)PTR_AttachBlob_003a92c8" * (cast_expression "(code *)PTR_AttachBlob_003a92c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s7,unaff_s6,unaff_s5)" ( identifier , identifier , identifier ))) ;)) (expression_statement "iVar6 = *(int *)(unaff_s7 + 0x40);" (assignment_expression "iVar6 = *(int *)(unaff_s7 + 0x40)" identifier = (pointer_expression "*(int *)(unaff_s7 + 0x40)" * (cast_expression "(int *)(unaff_s7 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x40)" ( (binary_expression "unaff_s7 + 0x40" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(unaff_s7 + 0x10) = 1;" (assignment_expression "*(undefined4 *)(unaff_s7 + 0x10) = 1" (pointer_expression "*(undefined4 *)(unaff_s7 + 0x10)" * (cast_expression "(undefined4 *)(unaff_s7 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x10)" ( (binary_expression "unaff_s7 + 0x10" identifier + number_literal) )))) = number_literal) ;) (labeled_statement "LAB_0004a138:\n    *(undefined4 *)(unaff_s7 + 0x38) = 0;" statement_identifier : (expression_statement "*(undefined4 *)(unaff_s7 + 0x38) = 0;" (assignment_expression "*(undefined4 *)(unaff_s7 + 0x38) = 0" (pointer_expression "*(undefined4 *)(unaff_s7 + 0x38)" * (cast_expression "(undefined4 *)(unaff_s7 + 0x38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x38)" ( (binary_expression "unaff_s7 + 0x38" identifier + number_literal) )))) = number_literal) ;)) (expression_statement "*(undefined4 *)(unaff_s7 + 0x1c) = 0;" (assignment_expression "*(undefined4 *)(unaff_s7 + 0x1c) = 0" (pointer_expression "*(undefined4 *)(unaff_s7 + 0x1c)" * (cast_expression "(undefined4 *)(unaff_s7 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x1c)" ( (binary_expression "unaff_s7 + 0x1c" identifier + number_literal) )))) = number_literal) ;) (if_statement "if (iVar6 == 0) {\n      puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n      uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n      uVar8 = 0xdd1;\nLAB_0004a16c:\n      uVar10 = 0;\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,uVar8,0x1b3,\n                 PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n      (*(code *)PTR_DestroyString_003a9074)(uVar5);\n    }\n    else {\nLAB_00049e88:\n      uVar10 = 1;\n      uVar11 = (*(code *)PTR_GetBlobSize_003a94b8)(param_2);\n      *(undefined8 *)(unaff_s7 + 0x28) = uVar11;\n    }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n      puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n      uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n      uVar8 = 0xdd1;\nLAB_0004a16c:\n      uVar10 = 0;\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,uVar8,0x1b3,\n                 PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n      (*(code *)PTR_DestroyString_003a9074)(uVar5);\n    }" { (expression_statement "puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();" (assignment_expression "puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_003a99b0)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_003a99b0)()" (parenthesized_expression "(*(code *)PTR___errno_location_003a99b0)" ( (pointer_expression "*(code *)PTR___errno_location_003a99b0" * (cast_expression "(code *)PTR___errno_location_003a99b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);" (assignment_expression "uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4)" identifier = (call_expression "(*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4)" (parenthesized_expression "(*(code *)PTR_GetExceptionMessage_003a93ec)" ( (pointer_expression "*(code *)PTR_GetExceptionMessage_003a93ec" * (cast_expression "(code *)PTR_GetExceptionMessage_003a93ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*puVar4)" ( (pointer_expression "*puVar4" * identifier) )))) ;) (expression_statement "uVar8 = 0xdd1;" (assignment_expression "uVar8 = 0xdd1" identifier = number_literal) ;) (labeled_statement "LAB_0004a16c:\n      uVar10 = 0;" statement_identifier : (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;)) (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,uVar8,0x1b3,\n                 PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,uVar8,0x1b3,\n                 PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5)" (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_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,uVar8,0x1b3,\n                 PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5)" ( identifier , (binary_expression "PTR_LAB_003a88e0 + 0x1ad8" identifier + number_literal) , (binary_expression "PTR_LAB_003a88e0 + 0x23cc" identifier + number_literal) , identifier , number_literal , (binary_expression "PTR_LAB_003a88e0 + 0x1ec4" identifier + number_literal) , (binary_expression "PTR_LAB_003a88e0 + 0xe78" identifier + number_literal) , identifier , identifier ))) ;) (expression_statement "(*(code *)PTR_DestroyString_003a9074)(uVar5);" (call_expression "(*(code *)PTR_DestroyString_003a9074)(uVar5)" (parenthesized_expression "(*(code *)PTR_DestroyString_003a9074)" ( (pointer_expression "*(code *)PTR_DestroyString_003a9074" * (cast_expression "(code *)PTR_DestroyString_003a9074" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5)" ( identifier ))) ;) }) (else_clause "else {\nLAB_00049e88:\n      uVar10 = 1;\n      uVar11 = (*(code *)PTR_GetBlobSize_003a94b8)(param_2);\n      *(undefined8 *)(unaff_s7 + 0x28) = uVar11;\n    }" else (compound_statement "{\nLAB_00049e88:\n      uVar10 = 1;\n      uVar11 = (*(code *)PTR_GetBlobSize_003a94b8)(param_2);\n      *(undefined8 *)(unaff_s7 + 0x28) = uVar11;\n    }" { (labeled_statement "LAB_00049e88:\n      uVar10 = 1;" statement_identifier : (expression_statement "uVar10 = 1;" (assignment_expression "uVar10 = 1" identifier = number_literal) ;)) (expression_statement "uVar11 = (*(code *)PTR_GetBlobSize_003a94b8)(param_2);" (assignment_expression "uVar11 = (*(code *)PTR_GetBlobSize_003a94b8)(param_2)" identifier = (call_expression "(*(code *)PTR_GetBlobSize_003a94b8)(param_2)" (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 "(param_2)" ( identifier )))) ;) (expression_statement "*(undefined8 *)(unaff_s7 + 0x28) = uVar11;" (assignment_expression "*(undefined8 *)(unaff_s7 + 0x28) = uVar11" (pointer_expression "*(undefined8 *)(unaff_s7 + 0x28)" * (cast_expression "(undefined8 *)(unaff_s7 + 0x28)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x28)" ( (binary_expression "unaff_s7 + 0x28" identifier + number_literal) )))) = identifier) ;) }))) (labeled_statement "LAB_00049c58:" statement_identifier : (expression_statement "" ;)) }) while (parenthesized_expression "(local_2c != *(int *)puVar3)" ( (binary_expression "local_2c != *(int *)puVar3" identifier != (pointer_expression "*(int *)puVar3" * (cast_expression "(int *)puVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) ;) (return_statement "return uVar10;" return identifier ;) })))
(translation_unit "/* WARNING: Removing unreachable block (ram,0x0004a280) */\n/* WARNING: Removing unreachable block (ram,0x0004a2a0) */\n/* WARNING: Removing unreachable block (ram,0x0004a2b8) */\n/* WARNING: Removing unreachable block (ram,0x0004a2f4) */\n/* WARNING: Removing unreachable block (ram,0x0004a74c) */\n/* WARNING: Removing unreachable block (ram,0x0004a308) */\n/* WARNING: Removing unreachable block (ram,0x0004a768) */\n/* WARNING: Removing unreachable block (ram,0x0004a77c) */\n/* WARNING: Removing unreachable block (ram,0x0004a788) */\n/* WARNING: Removing unreachable block (ram,0x0004a334) */\n/* WARNING: Removing unreachable block (ram,0x0004a344) */\n/* WARNING: Removing unreachable block (ram,0x0004a350) */\n/* WARNING: Removing unreachable block (ram,0x0004a370) */\n/* WARNING: Removing unreachable block (ram,0x0004a760) */\n/* WARNING: Removing unreachable block (ram,0x0004a374) */\n/* WARNING: Removing unreachable block (ram,0x0004a388) */\n/* WARNING: Removing unreachable block (ram,0x0004a394) */\n/* WARNING: Removing unreachable block (ram,0x0004a0bc) */\n/* WARNING: Removing unreachable block (ram,0x0004a0d4) */\n/* WARNING: Removing unreachable block (ram,0x0004a70c) */\n/* WARNING: Removing unreachable block (ram,0x0004a0f8) */\n/* WARNING: Removing unreachable block (ram,0x0004a118) */\n/* WARNING: Removing unreachable block (ram,0x0004a11c) */\n/* WARNING: Removing unreachable block (ram,0x0004a124) */\n/* WARNING: Removing unreachable block (ram,0x00049f84) */\n/* WARNING: Enum "ChannelType": Some values do not have unique names */\n/* WARNING: Enum "GravityType": Some values do not have unique names */\n/* WARNING: Enum "DisposeType": Some values do not have unique names */\n/* WARNING: Enum "PixelChannel": Some values do not have unique names */\n/* WARNING: Enum "ExceptionType": Some values do not have unique names */\n\nMagickBooleanType\nOpenBlob(ImageInfo *image_info,Image *image,BlobMode mode,ExceptionInfo *exception)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  undefined4 uVar7;\n  FILE *pFVar8;\n  StreamType SVar9;\n  void *pvVar10;\n  int iVar11;\n  undefined4 uVar12;\n  Image *unaff_s1;\n  ExceptionInfo *unaff_s3;\n  char *unaff_s4;\n  undefined1 *unaff_s5;\n  char *unaff_s6;\n  BlobInfo *unaff_s7;\n  code *pcVar13;\n  MagickBooleanType MVar14;\n  MagickSizeType MVar15;\n  char extension [4096];\n  char filename [4096];\n  char fileMode [4096];\n  \n  puVar3 = PTR___stack_chk_guard_003a9230;\n  iVar4 = *(int *)PTR___stack_chk_guard_003a9230;\n  pcVar13 = (code *)PTR___assert_fail_003a9608;\n  if (image_info == (ImageInfo *)0x0) {\nLAB_0004a7e4:\n    (*pcVar13)(PTR_LAB_003a88e0 + 0x1c88,PTR_LAB_003a88e0 + 0x1ad8,0xca1,PTR_LAB_003a88e0 + 0x23d8);\n    image = unaff_s1;\n    exception = unaff_s3;\n    mode = (BlobMode)unaff_s4;\n  }\n  else {\n    if (image_info->signature != 0xabacadab) {\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xda0,PTR_LAB_003a88e0 + 0x1ad8,0xca2,PTR_LAB_003a88e0 + 0x23d8)\n      ;\n      goto LAB_0004a7e4;\n    }\n    if (image_info->debug != MagickFalse) {\n      (*(code *)PTR_LogMagickEvent_003a91e0)\n                (0x8000,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xca4,\n                 PTR_s_t_to_left_003a88e4 + -0x62ac,image_info->filename);\n    }\n    puVar1 = PTR_AttachBlob_003a92c8;\n    if (image == (Image *)0x0) goto LAB_0004a824;\n    if (image->signature == 0xabacadab) {\n      pvVar10 = image_info->blob;\n      unaff_s7 = image->blob;\n      if (pvVar10 != (void *)0x0) {\n        if (image_info->stream != (StreamHandler)0x0) {\n          unaff_s7->stream = image_info->stream;\n        }\n        MVar14 = MagickTrue;\n        (*(code *)puVar1)(unaff_s7,pvVar10,image_info->length);\n        goto LAB_00049c58;\n      }\n      if ((image_info->custom_stream != (CustomStreamInfo *)0x0) &&\n         (MVar14 = MagickTrue, image->filename[0] == '\0')) {\n        unaff_s7->custom_stream = image_info->custom_stream;\n        unaff_s7->type = CustomStream;\n        goto LAB_00049c58;\n      }\n      (*(code *)PTR_DetachBlob_003a976c)(unaff_s7,0,0xca7);\n      unaff_s7->mode = mode;\n      if (mode < (AppendBinaryBlobMode|ReadBlobMode)) {\n                    /* WARNING: Could not emulate address calculation at 0x00049d10 */\n                    /* WARNING: Treating indirect jump as call */\n        MVar14 = (*(code *)(&_gp + *(int *)(PTR_LAB_003a88e0 + mode * 4 + 0x2098)))();\n        return MVar14;\n      }\n      unaff_s5 = PTR_LAB_003a88e0 + 0x4aa0;\n      unaff_s6 = image->filename;\n      if (image_info->stream == (StreamHandler)0x0) {\n        filename[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(filename,unaff_s6,0x1000);\n      }\n      else {\n        unaff_s7->stream = image_info->stream;\n        filename[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(filename,unaff_s6,0x1000);\n      }\n      mode = (BlobMode)filename;\n      iVar5 = (*(code *)PTR_IsRightsAuthorized_003a8db0)(4,1,mode);\n      if (iVar5 == 0) {\n        puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n        *puVar6 = 1;\n        (*(code *)PTR_ThrowMagickException_003a8f20)\n                  (exception,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcd9,499,\n                   PTR_LAB_003a88e0 + 0x1e9c,PTR_LAB_003a88e0 + 0x3e28,mode);\n        MVar14 = MagickFalse;\n        goto LAB_00049c58;\n      }\n      iVar5 = (*(code *)PTR_LocaleCompare_003a9110)(mode,PTR_s_courses_003a88ec + -0x7ac);\n      puVar2 = PTR_GetImageOption_003a9168;\n      puVar1 = PTR_LAB_003a88e0;\n      if ((iVar5 == 0) || ((filename[0] == '\0' && (image_info->file == (FILE *)0x0)))) {\n        exception = (ExceptionInfo *)0x2;\n        unaff_s7->file_info = *(FileInfo *)PTR_stdin_003a8fc4;\n        unaff_s7->type = StandardStream;\n        unaff_s7->exempt = MagickTrue;\n        iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac);\n        if (iVar5 != 0) {\n          iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);\n          uVar7 = 2;\n          if (iVar5 != 0) {\n            uVar7 = 0;\n          }\n          pFVar8 = (image->blob->file_info).file;\n          goto LAB_00049fe8;\n        }\n      }\n      else {\n        iVar5 = (*(code *)PTR_LocaleNCompare_003a961c)(mode,PTR_LAB_003a88e0 + 0x1ec0,3);\n        if (iVar5 == 0) {\n          iVar5 = (*(code *)PTR_IsGeometry_003a9418)(filename + 3);\n          if (iVar5 != 0) {\n            fileMode[0] = 'r';\n            fileMode[1] = '\0';\n            uVar7 = (*(code *)PTR_strtol_003a954c)(filename + 3,0,10);\n            pFVar8 = (FILE *)(*(code *)PTR_fdopen_003a97d8)(uVar7,fileMode);\n            (unaff_s7->file_info).file = pFVar8;\n            puVar2 = PTR_GetImageOption_003a9168;\n            puVar1 = PTR_LAB_003a88e0;\n            if (pFVar8 != (FILE *)0x0) {\n              unaff_s7->type = FileStream;\n              unaff_s7->exempt = MagickTrue;\n              iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac);\n              if (iVar5 == 0) {\n                iVar5 = 0x4000;\n                pFVar8 = (image->blob->file_info).file;\n                uVar7 = 0;\n              }\n              else {\n                iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);\n                uVar7 = 2;\n                if (iVar5 != 0) {\n                  uVar7 = 0;\n                }\n                pFVar8 = (image->blob->file_info).file;\n              }\n              iVar5 = (*(code *)PTR_setvbuf_003a90f4)(pFVar8,0,uVar7,iVar5);\n              MVar14 = (MagickBooleanType)(iVar5 == 0);\n              goto LAB_00049c58;\n            }\n            puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (exception,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,mode,uVar7);\n            (*(code *)PTR_DestroyString_003a9074)(uVar7);\n            MVar14 = MagickFalse;\n            goto LAB_00049c58;\n          }\n        }\n        iVar5 = (*(code *)PTR_GetPathAttributes_003a9364)(mode,&unaff_s7->properties);\n        if ((iVar5 == 0) || (((unaff_s7->properties).st_mode & 0xf000) != 0x1000)) {\n          (*(code *)PTR_GetPathComponent_003a8e18)(unaff_s6,6,extension);\n          if (image_info->file != (FILE *)0x0) {\n            (unaff_s7->file_info).file = image_info->file;\n            unaff_s7->status = MagickFalse;\n            unaff_s7->type = FileStream;\n            unaff_s7->exempt = MagickTrue;\n            unaff_s7->error_number = 0;\n            goto LAB_00049e88;\n          }\n          pFVar8 = (FILE *)(*(code *)PTR_fopen64_003a8c68)(mode,unaff_s5);\n          (unaff_s7->file_info).file = pFVar8;\n          puVar2 = PTR_GetImageOption_003a9168;\n          puVar1 = PTR_LAB_003a88e0;\n          if (pFVar8 != (FILE *)0x0) {\n            unaff_s7->type = FileStream;\n            iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac);\n            if (iVar5 == 0) {\n              iVar5 = 0x4000;\n              iVar11 = 0;\n              pFVar8 = (image->blob->file_info).file;\n            }\n            else {\n              iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);\n              iVar11 = (uint)(iVar5 == 0) << 1;\n              pFVar8 = (image->blob->file_info).file;\n            }\n            (*(code *)PTR_setvbuf_003a90f4)(pFVar8,0,iVar11,iVar5);\n            fileMode[0] = '\0';\n            fileMode[1] = '\0';\n            fileMode[2] = '\0';\n            unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)(fileMode,1,3,(unaff_s7->file_info).file);\n            (*(code *)PTR_fseeko64_003a9944)((unaff_s7->file_info).file);\n            (*(code *)PTR_fflush_003a948c)((unaff_s7->file_info).file);\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0);\n            SVar9 = unaff_s7->type;\n            if (SVar9 != FileStream) goto LAB_0004a138;\n            uVar7 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(image_info->magick,uVar7)\n            ;\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar7);\n            if ((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar5 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar5 != 0)) &&\n                (unaff_s5 = *(undefined1 **)((int)&(unaff_s7->properties).st_size + 4),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar5 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar5 != 0)) {\n              uVar7 = (*(code *)PTR_fileno_003a99cc)((unaff_s7->file_info).file);\n              unaff_s6 = (char *)(*(code *)PTR_MapBlob_003a978c)(uVar7,0,0,0,unaff_s5);\n              if (unaff_s6 == (char *)0x0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                SVar9 = unaff_s7->type;\n                goto LAB_0004a138;\n              }\n              pcVar13 = (code *)PTR_fclose_003a939c;\n              if (image_info->file == (FILE *)0x0) goto LAB_0004a850;\n              unaff_s7->exempt = MagickFalse;\n              goto LAB_0004a650;\n            }\n          }\n          SVar9 = unaff_s7->type;\n          goto LAB_0004a138;\n        }\n        pFVar8 = (FILE *)(*(code *)PTR_fopen64_003a8c68)(mode,unaff_s5);\n        (unaff_s7->file_info).file = pFVar8;\n        puVar2 = PTR_GetImageOption_003a9168;\n        puVar1 = PTR_LAB_003a88e0;\n        if (pFVar8 == (FILE *)0x0) {\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);\n          uVar12 = 0xd23;\n          goto LAB_0004a16c;\n        }\n        unaff_s7->type = FileStream;\n        unaff_s7->exempt = MagickTrue;\n        iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac);\n        if (iVar5 != 0) {\n          iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);\n          uVar7 = 2;\n          if (iVar5 != 0) {\n            uVar7 = 0;\n          }\n          pFVar8 = (image->blob->file_info).file;\n          goto LAB_00049fe8;\n        }\n      }\n      iVar5 = 0x4000;\n      uVar7 = 0;\n      pFVar8 = (image->blob->file_info).file;\nLAB_00049fe8:\n      iVar5 = (*(code *)PTR_setvbuf_003a90f4)(pFVar8,0,uVar7,iVar5);\n      MVar14 = (MagickBooleanType)(iVar5 == 0);\n      goto LAB_00049c58;\n    }\n  }\n  (*(code *)PTR___assert_fail_003a9608)\n            (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,PTR_LAB_003a88e0 + 0x1ad8);\nLAB_0004a824:\n  (*(code *)PTR___assert_fail_003a9608)(PTR_LAB_003a88e0 + 0xdd0,PTR_LAB_003a88e0 + 0x1ad8);\n  do {\n    pcVar13 = (code *)PTR___stack_chk_fail_003a9064;\n    (*(code *)PTR___stack_chk_fail_003a9064)();\nLAB_0004a850:\n    (*pcVar13)((unaff_s7->file_info).file);\n    (unaff_s7->file_info).file = (FILE *)0x0;\nLAB_0004a650:\n    (*(code *)PTR_AttachBlob_003a92c8)(unaff_s7,unaff_s6,unaff_s5);\n    SVar9 = unaff_s7->type;\n    unaff_s7->mapped = MagickTrue;\nLAB_0004a138:\n    unaff_s7->status = MagickFalse;\n    unaff_s7->error_number = 0;\n    if (SVar9 == UndefinedStream) {\n      puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n      uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);\n      uVar12 = 0xdd1;\nLAB_0004a16c:\n      MVar14 = MagickFalse;\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (exception,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,uVar12,0x1b3,\n                 PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,mode,uVar7);\n      (*(code *)PTR_DestroyString_003a9074)(uVar7);\n    }\n    else {\nLAB_00049e88:\n      MVar14 = MagickTrue;\n      MVar15 = (*(code *)PTR_GetBlobSize_003a94b8)(image);\n      unaff_s7->size = MVar15;\n    }\nLAB_00049c58:\n  } while (iVar4 != *(int *)puVar3);\n  return MVar14;\n}\n\n" comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment comment (function_definition "MagickBooleanType\nOpenBlob(ImageInfo *image_info,Image *image,BlobMode mode,ExceptionInfo *exception)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  undefined4 uVar7;\n  FILE *pFVar8;\n  StreamType SVar9;\n  void *pvVar10;\n  int iVar11;\n  undefined4 uVar12;\n  Image *unaff_s1;\n  ExceptionInfo *unaff_s3;\n  char *unaff_s4;\n  undefined1 *unaff_s5;\n  char *unaff_s6;\n  BlobInfo *unaff_s7;\n  code *pcVar13;\n  MagickBooleanType MVar14;\n  MagickSizeType MVar15;\n  char extension [4096];\n  char filename [4096];\n  char fileMode [4096];\n  \n  puVar3 = PTR___stack_chk_guard_003a9230;\n  iVar4 = *(int *)PTR___stack_chk_guard_003a9230;\n  pcVar13 = (code *)PTR___assert_fail_003a9608;\n  if (image_info == (ImageInfo *)0x0) {\nLAB_0004a7e4:\n    (*pcVar13)(PTR_LAB_003a88e0 + 0x1c88,PTR_LAB_003a88e0 + 0x1ad8,0xca1,PTR_LAB_003a88e0 + 0x23d8);\n    image = unaff_s1;\n    exception = unaff_s3;\n    mode = (BlobMode)unaff_s4;\n  }\n  else {\n    if (image_info->signature != 0xabacadab) {\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xda0,PTR_LAB_003a88e0 + 0x1ad8,0xca2,PTR_LAB_003a88e0 + 0x23d8)\n      ;\n      goto LAB_0004a7e4;\n    }\n    if (image_info->debug != MagickFalse) {\n      (*(code *)PTR_LogMagickEvent_003a91e0)\n                (0x8000,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xca4,\n                 PTR_s_t_to_left_003a88e4 + -0x62ac,image_info->filename);\n    }\n    puVar1 = PTR_AttachBlob_003a92c8;\n    if (image == (Image *)0x0) goto LAB_0004a824;\n    if (image->signature == 0xabacadab) {\n      pvVar10 = image_info->blob;\n      unaff_s7 = image->blob;\n      if (pvVar10 != (void *)0x0) {\n        if (image_info->stream != (StreamHandler)0x0) {\n          unaff_s7->stream = image_info->stream;\n        }\n        MVar14 = MagickTrue;\n        (*(code *)puVar1)(unaff_s7,pvVar10,image_info->length);\n        goto LAB_00049c58;\n      }\n      if ((image_info->custom_stream != (CustomStreamInfo *)0x0) &&\n         (MVar14 = MagickTrue, image->filename[0] == '\0')) {\n        unaff_s7->custom_stream = image_info->custom_stream;\n        unaff_s7->type = CustomStream;\n        goto LAB_00049c58;\n      }\n      (*(code *)PTR_DetachBlob_003a976c)(unaff_s7,0,0xca7);\n      unaff_s7->mode = mode;\n      if (mode < (AppendBinaryBlobMode|ReadBlobMode)) {\n                    /* WARNING: Could not emulate address calculation at 0x00049d10 */\n                    /* WARNING: Treating indirect jump as call */\n        MVar14 = (*(code *)(&_gp + *(int *)(PTR_LAB_003a88e0 + mode * 4 + 0x2098)))();\n        return MVar14;\n      }\n      unaff_s5 = PTR_LAB_003a88e0 + 0x4aa0;\n      unaff_s6 = image->filename;\n      if (image_info->stream == (StreamHandler)0x0) {\n        filename[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(filename,unaff_s6,0x1000);\n      }\n      else {\n        unaff_s7->stream = image_info->stream;\n        filename[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(filename,unaff_s6,0x1000);\n      }\n      mode = (BlobMode)filename;\n      iVar5 = (*(code *)PTR_IsRightsAuthorized_003a8db0)(4,1,mode);\n      if (iVar5 == 0) {\n        puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n        *puVar6 = 1;\n        (*(code *)PTR_ThrowMagickException_003a8f20)\n                  (exception,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcd9,499,\n                   PTR_LAB_003a88e0 + 0x1e9c,PTR_LAB_003a88e0 + 0x3e28,mode);\n        MVar14 = MagickFalse;\n        goto LAB_00049c58;\n      }\n      iVar5 = (*(code *)PTR_LocaleCompare_003a9110)(mode,PTR_s_courses_003a88ec + -0x7ac);\n      puVar2 = PTR_GetImageOption_003a9168;\n      puVar1 = PTR_LAB_003a88e0;\n      if ((iVar5 == 0) || ((filename[0] == '\0' && (image_info->file == (FILE *)0x0)))) {\n        exception = (ExceptionInfo *)0x2;\n        unaff_s7->file_info = *(FileInfo *)PTR_stdin_003a8fc4;\n        unaff_s7->type = StandardStream;\n        unaff_s7->exempt = MagickTrue;\n        iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac);\n        if (iVar5 != 0) {\n          iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);\n          uVar7 = 2;\n          if (iVar5 != 0) {\n            uVar7 = 0;\n          }\n          pFVar8 = (image->blob->file_info).file;\n          goto LAB_00049fe8;\n        }\n      }\n      else {\n        iVar5 = (*(code *)PTR_LocaleNCompare_003a961c)(mode,PTR_LAB_003a88e0 + 0x1ec0,3);\n        if (iVar5 == 0) {\n          iVar5 = (*(code *)PTR_IsGeometry_003a9418)(filename + 3);\n          if (iVar5 != 0) {\n            fileMode[0] = 'r';\n            fileMode[1] = '\0';\n            uVar7 = (*(code *)PTR_strtol_003a954c)(filename + 3,0,10);\n            pFVar8 = (FILE *)(*(code *)PTR_fdopen_003a97d8)(uVar7,fileMode);\n            (unaff_s7->file_info).file = pFVar8;\n            puVar2 = PTR_GetImageOption_003a9168;\n            puVar1 = PTR_LAB_003a88e0;\n            if (pFVar8 != (FILE *)0x0) {\n              unaff_s7->type = FileStream;\n              unaff_s7->exempt = MagickTrue;\n              iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac);\n              if (iVar5 == 0) {\n                iVar5 = 0x4000;\n                pFVar8 = (image->blob->file_info).file;\n                uVar7 = 0;\n              }\n              else {\n                iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);\n                uVar7 = 2;\n                if (iVar5 != 0) {\n                  uVar7 = 0;\n                }\n                pFVar8 = (image->blob->file_info).file;\n              }\n              iVar5 = (*(code *)PTR_setvbuf_003a90f4)(pFVar8,0,uVar7,iVar5);\n              MVar14 = (MagickBooleanType)(iVar5 == 0);\n              goto LAB_00049c58;\n            }\n            puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (exception,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,mode,uVar7);\n            (*(code *)PTR_DestroyString_003a9074)(uVar7);\n            MVar14 = MagickFalse;\n            goto LAB_00049c58;\n          }\n        }\n        iVar5 = (*(code *)PTR_GetPathAttributes_003a9364)(mode,&unaff_s7->properties);\n        if ((iVar5 == 0) || (((unaff_s7->properties).st_mode & 0xf000) != 0x1000)) {\n          (*(code *)PTR_GetPathComponent_003a8e18)(unaff_s6,6,extension);\n          if (image_info->file != (FILE *)0x0) {\n            (unaff_s7->file_info).file = image_info->file;\n            unaff_s7->status = MagickFalse;\n            unaff_s7->type = FileStream;\n            unaff_s7->exempt = MagickTrue;\n            unaff_s7->error_number = 0;\n            goto LAB_00049e88;\n          }\n          pFVar8 = (FILE *)(*(code *)PTR_fopen64_003a8c68)(mode,unaff_s5);\n          (unaff_s7->file_info).file = pFVar8;\n          puVar2 = PTR_GetImageOption_003a9168;\n          puVar1 = PTR_LAB_003a88e0;\n          if (pFVar8 != (FILE *)0x0) {\n            unaff_s7->type = FileStream;\n            iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac);\n            if (iVar5 == 0) {\n              iVar5 = 0x4000;\n              iVar11 = 0;\n              pFVar8 = (image->blob->file_info).file;\n            }\n            else {\n              iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);\n              iVar11 = (uint)(iVar5 == 0) << 1;\n              pFVar8 = (image->blob->file_info).file;\n            }\n            (*(code *)PTR_setvbuf_003a90f4)(pFVar8,0,iVar11,iVar5);\n            fileMode[0] = '\0';\n            fileMode[1] = '\0';\n            fileMode[2] = '\0';\n            unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)(fileMode,1,3,(unaff_s7->file_info).file);\n            (*(code *)PTR_fseeko64_003a9944)((unaff_s7->file_info).file);\n            (*(code *)PTR_fflush_003a948c)((unaff_s7->file_info).file);\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0);\n            SVar9 = unaff_s7->type;\n            if (SVar9 != FileStream) goto LAB_0004a138;\n            uVar7 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(image_info->magick,uVar7)\n            ;\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar7);\n            if ((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar5 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar5 != 0)) &&\n                (unaff_s5 = *(undefined1 **)((int)&(unaff_s7->properties).st_size + 4),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar5 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar5 != 0)) {\n              uVar7 = (*(code *)PTR_fileno_003a99cc)((unaff_s7->file_info).file);\n              unaff_s6 = (char *)(*(code *)PTR_MapBlob_003a978c)(uVar7,0,0,0,unaff_s5);\n              if (unaff_s6 == (char *)0x0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                SVar9 = unaff_s7->type;\n                goto LAB_0004a138;\n              }\n              pcVar13 = (code *)PTR_fclose_003a939c;\n              if (image_info->file == (FILE *)0x0) goto LAB_0004a850;\n              unaff_s7->exempt = MagickFalse;\n              goto LAB_0004a650;\n            }\n          }\n          SVar9 = unaff_s7->type;\n          goto LAB_0004a138;\n        }\n        pFVar8 = (FILE *)(*(code *)PTR_fopen64_003a8c68)(mode,unaff_s5);\n        (unaff_s7->file_info).file = pFVar8;\n        puVar2 = PTR_GetImageOption_003a9168;\n        puVar1 = PTR_LAB_003a88e0;\n        if (pFVar8 == (FILE *)0x0) {\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);\n          uVar12 = 0xd23;\n          goto LAB_0004a16c;\n        }\n        unaff_s7->type = FileStream;\n        unaff_s7->exempt = MagickTrue;\n        iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac);\n        if (iVar5 != 0) {\n          iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);\n          uVar7 = 2;\n          if (iVar5 != 0) {\n            uVar7 = 0;\n          }\n          pFVar8 = (image->blob->file_info).file;\n          goto LAB_00049fe8;\n        }\n      }\n      iVar5 = 0x4000;\n      uVar7 = 0;\n      pFVar8 = (image->blob->file_info).file;\nLAB_00049fe8:\n      iVar5 = (*(code *)PTR_setvbuf_003a90f4)(pFVar8,0,uVar7,iVar5);\n      MVar14 = (MagickBooleanType)(iVar5 == 0);\n      goto LAB_00049c58;\n    }\n  }\n  (*(code *)PTR___assert_fail_003a9608)\n            (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,PTR_LAB_003a88e0 + 0x1ad8);\nLAB_0004a824:\n  (*(code *)PTR___assert_fail_003a9608)(PTR_LAB_003a88e0 + 0xdd0,PTR_LAB_003a88e0 + 0x1ad8);\n  do {\n    pcVar13 = (code *)PTR___stack_chk_fail_003a9064;\n    (*(code *)PTR___stack_chk_fail_003a9064)();\nLAB_0004a850:\n    (*pcVar13)((unaff_s7->file_info).file);\n    (unaff_s7->file_info).file = (FILE *)0x0;\nLAB_0004a650:\n    (*(code *)PTR_AttachBlob_003a92c8)(unaff_s7,unaff_s6,unaff_s5);\n    SVar9 = unaff_s7->type;\n    unaff_s7->mapped = MagickTrue;\nLAB_0004a138:\n    unaff_s7->status = MagickFalse;\n    unaff_s7->error_number = 0;\n    if (SVar9 == UndefinedStream) {\n      puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n      uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);\n      uVar12 = 0xdd1;\nLAB_0004a16c:\n      MVar14 = MagickFalse;\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (exception,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,uVar12,0x1b3,\n                 PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,mode,uVar7);\n      (*(code *)PTR_DestroyString_003a9074)(uVar7);\n    }\n    else {\nLAB_00049e88:\n      MVar14 = MagickTrue;\n      MVar15 = (*(code *)PTR_GetBlobSize_003a94b8)(image);\n      unaff_s7->size = MVar15;\n    }\nLAB_00049c58:\n  } while (iVar4 != *(int *)puVar3);\n  return MVar14;\n}" type_identifier (function_declarator "OpenBlob(ImageInfo *image_info,Image *image,BlobMode mode,ExceptionInfo *exception)" identifier (parameter_list "(ImageInfo *image_info,Image *image,BlobMode mode,ExceptionInfo *exception)" ( (parameter_declaration "ImageInfo *image_info" type_identifier (pointer_declarator "*image_info" * identifier)) , (parameter_declaration "Image *image" type_identifier (pointer_declarator "*image" * identifier)) , (parameter_declaration "BlobMode mode" type_identifier identifier) , (parameter_declaration "ExceptionInfo *exception" type_identifier (pointer_declarator "*exception" * identifier)) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  int iVar4;\n  int iVar5;\n  undefined4 *puVar6;\n  undefined4 uVar7;\n  FILE *pFVar8;\n  StreamType SVar9;\n  void *pvVar10;\n  int iVar11;\n  undefined4 uVar12;\n  Image *unaff_s1;\n  ExceptionInfo *unaff_s3;\n  char *unaff_s4;\n  undefined1 *unaff_s5;\n  char *unaff_s6;\n  BlobInfo *unaff_s7;\n  code *pcVar13;\n  MagickBooleanType MVar14;\n  MagickSizeType MVar15;\n  char extension [4096];\n  char filename [4096];\n  char fileMode [4096];\n  \n  puVar3 = PTR___stack_chk_guard_003a9230;\n  iVar4 = *(int *)PTR___stack_chk_guard_003a9230;\n  pcVar13 = (code *)PTR___assert_fail_003a9608;\n  if (image_info == (ImageInfo *)0x0) {\nLAB_0004a7e4:\n    (*pcVar13)(PTR_LAB_003a88e0 + 0x1c88,PTR_LAB_003a88e0 + 0x1ad8,0xca1,PTR_LAB_003a88e0 + 0x23d8);\n    image = unaff_s1;\n    exception = unaff_s3;\n    mode = (BlobMode)unaff_s4;\n  }\n  else {\n    if (image_info->signature != 0xabacadab) {\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xda0,PTR_LAB_003a88e0 + 0x1ad8,0xca2,PTR_LAB_003a88e0 + 0x23d8)\n      ;\n      goto LAB_0004a7e4;\n    }\n    if (image_info->debug != MagickFalse) {\n      (*(code *)PTR_LogMagickEvent_003a91e0)\n                (0x8000,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xca4,\n                 PTR_s_t_to_left_003a88e4 + -0x62ac,image_info->filename);\n    }\n    puVar1 = PTR_AttachBlob_003a92c8;\n    if (image == (Image *)0x0) goto LAB_0004a824;\n    if (image->signature == 0xabacadab) {\n      pvVar10 = image_info->blob;\n      unaff_s7 = image->blob;\n      if (pvVar10 != (void *)0x0) {\n        if (image_info->stream != (StreamHandler)0x0) {\n          unaff_s7->stream = image_info->stream;\n        }\n        MVar14 = MagickTrue;\n        (*(code *)puVar1)(unaff_s7,pvVar10,image_info->length);\n        goto LAB_00049c58;\n      }\n      if ((image_info->custom_stream != (CustomStreamInfo *)0x0) &&\n         (MVar14 = MagickTrue, image->filename[0] == '\0')) {\n        unaff_s7->custom_stream = image_info->custom_stream;\n        unaff_s7->type = CustomStream;\n        goto LAB_00049c58;\n      }\n      (*(code *)PTR_DetachBlob_003a976c)(unaff_s7,0,0xca7);\n      unaff_s7->mode = mode;\n      if (mode < (AppendBinaryBlobMode|ReadBlobMode)) {\n                    /* WARNING: Could not emulate address calculation at 0x00049d10 */\n                    /* WARNING: Treating indirect jump as call */\n        MVar14 = (*(code *)(&_gp + *(int *)(PTR_LAB_003a88e0 + mode * 4 + 0x2098)))();\n        return MVar14;\n      }\n      unaff_s5 = PTR_LAB_003a88e0 + 0x4aa0;\n      unaff_s6 = image->filename;\n      if (image_info->stream == (StreamHandler)0x0) {\n        filename[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(filename,unaff_s6,0x1000);\n      }\n      else {\n        unaff_s7->stream = image_info->stream;\n        filename[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(filename,unaff_s6,0x1000);\n      }\n      mode = (BlobMode)filename;\n      iVar5 = (*(code *)PTR_IsRightsAuthorized_003a8db0)(4,1,mode);\n      if (iVar5 == 0) {\n        puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n        *puVar6 = 1;\n        (*(code *)PTR_ThrowMagickException_003a8f20)\n                  (exception,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcd9,499,\n                   PTR_LAB_003a88e0 + 0x1e9c,PTR_LAB_003a88e0 + 0x3e28,mode);\n        MVar14 = MagickFalse;\n        goto LAB_00049c58;\n      }\n      iVar5 = (*(code *)PTR_LocaleCompare_003a9110)(mode,PTR_s_courses_003a88ec + -0x7ac);\n      puVar2 = PTR_GetImageOption_003a9168;\n      puVar1 = PTR_LAB_003a88e0;\n      if ((iVar5 == 0) || ((filename[0] == '\0' && (image_info->file == (FILE *)0x0)))) {\n        exception = (ExceptionInfo *)0x2;\n        unaff_s7->file_info = *(FileInfo *)PTR_stdin_003a8fc4;\n        unaff_s7->type = StandardStream;\n        unaff_s7->exempt = MagickTrue;\n        iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac);\n        if (iVar5 != 0) {\n          iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);\n          uVar7 = 2;\n          if (iVar5 != 0) {\n            uVar7 = 0;\n          }\n          pFVar8 = (image->blob->file_info).file;\n          goto LAB_00049fe8;\n        }\n      }\n      else {\n        iVar5 = (*(code *)PTR_LocaleNCompare_003a961c)(mode,PTR_LAB_003a88e0 + 0x1ec0,3);\n        if (iVar5 == 0) {\n          iVar5 = (*(code *)PTR_IsGeometry_003a9418)(filename + 3);\n          if (iVar5 != 0) {\n            fileMode[0] = 'r';\n            fileMode[1] = '\0';\n            uVar7 = (*(code *)PTR_strtol_003a954c)(filename + 3,0,10);\n            pFVar8 = (FILE *)(*(code *)PTR_fdopen_003a97d8)(uVar7,fileMode);\n            (unaff_s7->file_info).file = pFVar8;\n            puVar2 = PTR_GetImageOption_003a9168;\n            puVar1 = PTR_LAB_003a88e0;\n            if (pFVar8 != (FILE *)0x0) {\n              unaff_s7->type = FileStream;\n              unaff_s7->exempt = MagickTrue;\n              iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac);\n              if (iVar5 == 0) {\n                iVar5 = 0x4000;\n                pFVar8 = (image->blob->file_info).file;\n                uVar7 = 0;\n              }\n              else {\n                iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);\n                uVar7 = 2;\n                if (iVar5 != 0) {\n                  uVar7 = 0;\n                }\n                pFVar8 = (image->blob->file_info).file;\n              }\n              iVar5 = (*(code *)PTR_setvbuf_003a90f4)(pFVar8,0,uVar7,iVar5);\n              MVar14 = (MagickBooleanType)(iVar5 == 0);\n              goto LAB_00049c58;\n            }\n            puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (exception,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,mode,uVar7);\n            (*(code *)PTR_DestroyString_003a9074)(uVar7);\n            MVar14 = MagickFalse;\n            goto LAB_00049c58;\n          }\n        }\n        iVar5 = (*(code *)PTR_GetPathAttributes_003a9364)(mode,&unaff_s7->properties);\n        if ((iVar5 == 0) || (((unaff_s7->properties).st_mode & 0xf000) != 0x1000)) {\n          (*(code *)PTR_GetPathComponent_003a8e18)(unaff_s6,6,extension);\n          if (image_info->file != (FILE *)0x0) {\n            (unaff_s7->file_info).file = image_info->file;\n            unaff_s7->status = MagickFalse;\n            unaff_s7->type = FileStream;\n            unaff_s7->exempt = MagickTrue;\n            unaff_s7->error_number = 0;\n            goto LAB_00049e88;\n          }\n          pFVar8 = (FILE *)(*(code *)PTR_fopen64_003a8c68)(mode,unaff_s5);\n          (unaff_s7->file_info).file = pFVar8;\n          puVar2 = PTR_GetImageOption_003a9168;\n          puVar1 = PTR_LAB_003a88e0;\n          if (pFVar8 != (FILE *)0x0) {\n            unaff_s7->type = FileStream;\n            iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac);\n            if (iVar5 == 0) {\n              iVar5 = 0x4000;\n              iVar11 = 0;\n              pFVar8 = (image->blob->file_info).file;\n            }\n            else {\n              iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);\n              iVar11 = (uint)(iVar5 == 0) << 1;\n              pFVar8 = (image->blob->file_info).file;\n            }\n            (*(code *)PTR_setvbuf_003a90f4)(pFVar8,0,iVar11,iVar5);\n            fileMode[0] = '\0';\n            fileMode[1] = '\0';\n            fileMode[2] = '\0';\n            unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)(fileMode,1,3,(unaff_s7->file_info).file);\n            (*(code *)PTR_fseeko64_003a9944)((unaff_s7->file_info).file);\n            (*(code *)PTR_fflush_003a948c)((unaff_s7->file_info).file);\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0);\n            SVar9 = unaff_s7->type;\n            if (SVar9 != FileStream) goto LAB_0004a138;\n            uVar7 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(image_info->magick,uVar7)\n            ;\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar7);\n            if ((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar5 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar5 != 0)) &&\n                (unaff_s5 = *(undefined1 **)((int)&(unaff_s7->properties).st_size + 4),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar5 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar5 != 0)) {\n              uVar7 = (*(code *)PTR_fileno_003a99cc)((unaff_s7->file_info).file);\n              unaff_s6 = (char *)(*(code *)PTR_MapBlob_003a978c)(uVar7,0,0,0,unaff_s5);\n              if (unaff_s6 == (char *)0x0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                SVar9 = unaff_s7->type;\n                goto LAB_0004a138;\n              }\n              pcVar13 = (code *)PTR_fclose_003a939c;\n              if (image_info->file == (FILE *)0x0) goto LAB_0004a850;\n              unaff_s7->exempt = MagickFalse;\n              goto LAB_0004a650;\n            }\n          }\n          SVar9 = unaff_s7->type;\n          goto LAB_0004a138;\n        }\n        pFVar8 = (FILE *)(*(code *)PTR_fopen64_003a8c68)(mode,unaff_s5);\n        (unaff_s7->file_info).file = pFVar8;\n        puVar2 = PTR_GetImageOption_003a9168;\n        puVar1 = PTR_LAB_003a88e0;\n        if (pFVar8 == (FILE *)0x0) {\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);\n          uVar12 = 0xd23;\n          goto LAB_0004a16c;\n        }\n        unaff_s7->type = FileStream;\n        unaff_s7->exempt = MagickTrue;\n        iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac);\n        if (iVar5 != 0) {\n          iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);\n          uVar7 = 2;\n          if (iVar5 != 0) {\n            uVar7 = 0;\n          }\n          pFVar8 = (image->blob->file_info).file;\n          goto LAB_00049fe8;\n        }\n      }\n      iVar5 = 0x4000;\n      uVar7 = 0;\n      pFVar8 = (image->blob->file_info).file;\nLAB_00049fe8:\n      iVar5 = (*(code *)PTR_setvbuf_003a90f4)(pFVar8,0,uVar7,iVar5);\n      MVar14 = (MagickBooleanType)(iVar5 == 0);\n      goto LAB_00049c58;\n    }\n  }\n  (*(code *)PTR___assert_fail_003a9608)\n            (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,PTR_LAB_003a88e0 + 0x1ad8);\nLAB_0004a824:\n  (*(code *)PTR___assert_fail_003a9608)(PTR_LAB_003a88e0 + 0xdd0,PTR_LAB_003a88e0 + 0x1ad8);\n  do {\n    pcVar13 = (code *)PTR___stack_chk_fail_003a9064;\n    (*(code *)PTR___stack_chk_fail_003a9064)();\nLAB_0004a850:\n    (*pcVar13)((unaff_s7->file_info).file);\n    (unaff_s7->file_info).file = (FILE *)0x0;\nLAB_0004a650:\n    (*(code *)PTR_AttachBlob_003a92c8)(unaff_s7,unaff_s6,unaff_s5);\n    SVar9 = unaff_s7->type;\n    unaff_s7->mapped = MagickTrue;\nLAB_0004a138:\n    unaff_s7->status = MagickFalse;\n    unaff_s7->error_number = 0;\n    if (SVar9 == UndefinedStream) {\n      puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n      uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);\n      uVar12 = 0xdd1;\nLAB_0004a16c:\n      MVar14 = MagickFalse;\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (exception,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,uVar12,0x1b3,\n                 PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,mode,uVar7);\n      (*(code *)PTR_DestroyString_003a9074)(uVar7);\n    }\n    else {\nLAB_00049e88:\n      MVar14 = MagickTrue;\n      MVar15 = (*(code *)PTR_GetBlobSize_003a94b8)(image);\n      unaff_s7->size = MVar15;\n    }\nLAB_00049c58:\n  } while (iVar4 != *(int *)puVar3);\n  return MVar14;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 *puVar6;" type_identifier (pointer_declarator "*puVar6" * identifier) ;) (declaration "undefined4 uVar7;" type_identifier identifier ;) (declaration "FILE *pFVar8;" type_identifier (pointer_declarator "*pFVar8" * identifier) ;) (declaration "StreamType SVar9;" type_identifier identifier ;) (declaration "void *pvVar10;" primitive_type (pointer_declarator "*pvVar10" * identifier) ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "undefined4 uVar12;" type_identifier identifier ;) (declaration "Image *unaff_s1;" type_identifier (pointer_declarator "*unaff_s1" * identifier) ;) (declaration "ExceptionInfo *unaff_s3;" type_identifier (pointer_declarator "*unaff_s3" * identifier) ;) (declaration "char *unaff_s4;" primitive_type (pointer_declarator "*unaff_s4" * identifier) ;) (declaration "undefined1 *unaff_s5;" type_identifier (pointer_declarator "*unaff_s5" * identifier) ;) (declaration "char *unaff_s6;" primitive_type (pointer_declarator "*unaff_s6" * identifier) ;) (declaration "BlobInfo *unaff_s7;" type_identifier (pointer_declarator "*unaff_s7" * identifier) ;) (declaration "code *pcVar13;" type_identifier (pointer_declarator "*pcVar13" * identifier) ;) (declaration "MagickBooleanType MVar14;" type_identifier identifier ;) (declaration "MagickSizeType MVar15;" type_identifier identifier ;) (declaration "char extension [4096];" primitive_type (array_declarator "extension [4096]" identifier [ number_literal ]) ;) (declaration "char filename [4096];" primitive_type (array_declarator "filename [4096]" identifier [ number_literal ]) ;) (declaration "char fileMode [4096];" primitive_type (array_declarator "fileMode [4096]" identifier [ number_literal ]) ;) (expression_statement "puVar3 = PTR___stack_chk_guard_003a9230;" (assignment_expression "puVar3 = PTR___stack_chk_guard_003a9230" identifier = identifier) ;) (expression_statement "iVar4 = *(int *)PTR___stack_chk_guard_003a9230;" (assignment_expression "iVar4 = *(int *)PTR___stack_chk_guard_003a9230" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_003a9230" * (cast_expression "(int *)PTR___stack_chk_guard_003a9230" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "pcVar13 = (code *)PTR___assert_fail_003a9608;" (assignment_expression "pcVar13 = (code *)PTR___assert_fail_003a9608" identifier = (cast_expression "(code *)PTR___assert_fail_003a9608" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (image_info == (ImageInfo *)0x0) {\nLAB_0004a7e4:\n    (*pcVar13)(PTR_LAB_003a88e0 + 0x1c88,PTR_LAB_003a88e0 + 0x1ad8,0xca1,PTR_LAB_003a88e0 + 0x23d8);\n    image = unaff_s1;\n    exception = unaff_s3;\n    mode = (BlobMode)unaff_s4;\n  }\n  else {\n    if (image_info->signature != 0xabacadab) {\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xda0,PTR_LAB_003a88e0 + 0x1ad8,0xca2,PTR_LAB_003a88e0 + 0x23d8)\n      ;\n      goto LAB_0004a7e4;\n    }\n    if (image_info->debug != MagickFalse) {\n      (*(code *)PTR_LogMagickEvent_003a91e0)\n                (0x8000,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xca4,\n                 PTR_s_t_to_left_003a88e4 + -0x62ac,image_info->filename);\n    }\n    puVar1 = PTR_AttachBlob_003a92c8;\n    if (image == (Image *)0x0) goto LAB_0004a824;\n    if (image->signature == 0xabacadab) {\n      pvVar10 = image_info->blob;\n      unaff_s7 = image->blob;\n      if (pvVar10 != (void *)0x0) {\n        if (image_info->stream != (StreamHandler)0x0) {\n          unaff_s7->stream = image_info->stream;\n        }\n        MVar14 = MagickTrue;\n        (*(code *)puVar1)(unaff_s7,pvVar10,image_info->length);\n        goto LAB_00049c58;\n      }\n      if ((image_info->custom_stream != (CustomStreamInfo *)0x0) &&\n         (MVar14 = MagickTrue, image->filename[0] == '\0')) {\n        unaff_s7->custom_stream = image_info->custom_stream;\n        unaff_s7->type = CustomStream;\n        goto LAB_00049c58;\n      }\n      (*(code *)PTR_DetachBlob_003a976c)(unaff_s7,0,0xca7);\n      unaff_s7->mode = mode;\n      if (mode < (AppendBinaryBlobMode|ReadBlobMode)) {\n                    /* WARNING: Could not emulate address calculation at 0x00049d10 */\n                    /* WARNING: Treating indirect jump as call */\n        MVar14 = (*(code *)(&_gp + *(int *)(PTR_LAB_003a88e0 + mode * 4 + 0x2098)))();\n        return MVar14;\n      }\n      unaff_s5 = PTR_LAB_003a88e0 + 0x4aa0;\n      unaff_s6 = image->filename;\n      if (image_info->stream == (StreamHandler)0x0) {\n        filename[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(filename,unaff_s6,0x1000);\n      }\n      else {\n        unaff_s7->stream = image_info->stream;\n        filename[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(filename,unaff_s6,0x1000);\n      }\n      mode = (BlobMode)filename;\n      iVar5 = (*(code *)PTR_IsRightsAuthorized_003a8db0)(4,1,mode);\n      if (iVar5 == 0) {\n        puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n        *puVar6 = 1;\n        (*(code *)PTR_ThrowMagickException_003a8f20)\n                  (exception,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcd9,499,\n                   PTR_LAB_003a88e0 + 0x1e9c,PTR_LAB_003a88e0 + 0x3e28,mode);\n        MVar14 = MagickFalse;\n        goto LAB_00049c58;\n      }\n      iVar5 = (*(code *)PTR_LocaleCompare_003a9110)(mode,PTR_s_courses_003a88ec + -0x7ac);\n      puVar2 = PTR_GetImageOption_003a9168;\n      puVar1 = PTR_LAB_003a88e0;\n      if ((iVar5 == 0) || ((filename[0] == '\0' && (image_info->file == (FILE *)0x0)))) {\n        exception = (ExceptionInfo *)0x2;\n        unaff_s7->file_info = *(FileInfo *)PTR_stdin_003a8fc4;\n        unaff_s7->type = StandardStream;\n        unaff_s7->exempt = MagickTrue;\n        iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac);\n        if (iVar5 != 0) {\n          iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);\n          uVar7 = 2;\n          if (iVar5 != 0) {\n            uVar7 = 0;\n          }\n          pFVar8 = (image->blob->file_info).file;\n          goto LAB_00049fe8;\n        }\n      }\n      else {\n        iVar5 = (*(code *)PTR_LocaleNCompare_003a961c)(mode,PTR_LAB_003a88e0 + 0x1ec0,3);\n        if (iVar5 == 0) {\n          iVar5 = (*(code *)PTR_IsGeometry_003a9418)(filename + 3);\n          if (iVar5 != 0) {\n            fileMode[0] = 'r';\n            fileMode[1] = '\0';\n            uVar7 = (*(code *)PTR_strtol_003a954c)(filename + 3,0,10);\n            pFVar8 = (FILE *)(*(code *)PTR_fdopen_003a97d8)(uVar7,fileMode);\n            (unaff_s7->file_info).file = pFVar8;\n            puVar2 = PTR_GetImageOption_003a9168;\n            puVar1 = PTR_LAB_003a88e0;\n            if (pFVar8 != (FILE *)0x0) {\n              unaff_s7->type = FileStream;\n              unaff_s7->exempt = MagickTrue;\n              iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac);\n              if (iVar5 == 0) {\n                iVar5 = 0x4000;\n                pFVar8 = (image->blob->file_info).file;\n                uVar7 = 0;\n              }\n              else {\n                iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);\n                uVar7 = 2;\n                if (iVar5 != 0) {\n                  uVar7 = 0;\n                }\n                pFVar8 = (image->blob->file_info).file;\n              }\n              iVar5 = (*(code *)PTR_setvbuf_003a90f4)(pFVar8,0,uVar7,iVar5);\n              MVar14 = (MagickBooleanType)(iVar5 == 0);\n              goto LAB_00049c58;\n            }\n            puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (exception,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,mode,uVar7);\n            (*(code *)PTR_DestroyString_003a9074)(uVar7);\n            MVar14 = MagickFalse;\n            goto LAB_00049c58;\n          }\n        }\n        iVar5 = (*(code *)PTR_GetPathAttributes_003a9364)(mode,&unaff_s7->properties);\n        if ((iVar5 == 0) || (((unaff_s7->properties).st_mode & 0xf000) != 0x1000)) {\n          (*(code *)PTR_GetPathComponent_003a8e18)(unaff_s6,6,extension);\n          if (image_info->file != (FILE *)0x0) {\n            (unaff_s7->file_info).file = image_info->file;\n            unaff_s7->status = MagickFalse;\n            unaff_s7->type = FileStream;\n            unaff_s7->exempt = MagickTrue;\n            unaff_s7->error_number = 0;\n            goto LAB_00049e88;\n          }\n          pFVar8 = (FILE *)(*(code *)PTR_fopen64_003a8c68)(mode,unaff_s5);\n          (unaff_s7->file_info).file = pFVar8;\n          puVar2 = PTR_GetImageOption_003a9168;\n          puVar1 = PTR_LAB_003a88e0;\n          if (pFVar8 != (FILE *)0x0) {\n            unaff_s7->type = FileStream;\n            iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac);\n            if (iVar5 == 0) {\n              iVar5 = 0x4000;\n              iVar11 = 0;\n              pFVar8 = (image->blob->file_info).file;\n            }\n            else {\n              iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);\n              iVar11 = (uint)(iVar5 == 0) << 1;\n              pFVar8 = (image->blob->file_info).file;\n            }\n            (*(code *)PTR_setvbuf_003a90f4)(pFVar8,0,iVar11,iVar5);\n            fileMode[0] = '\0';\n            fileMode[1] = '\0';\n            fileMode[2] = '\0';\n            unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)(fileMode,1,3,(unaff_s7->file_info).file);\n            (*(code *)PTR_fseeko64_003a9944)((unaff_s7->file_info).file);\n            (*(code *)PTR_fflush_003a948c)((unaff_s7->file_info).file);\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0);\n            SVar9 = unaff_s7->type;\n            if (SVar9 != FileStream) goto LAB_0004a138;\n            uVar7 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(image_info->magick,uVar7)\n            ;\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar7);\n            if ((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar5 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar5 != 0)) &&\n                (unaff_s5 = *(undefined1 **)((int)&(unaff_s7->properties).st_size + 4),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar5 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar5 != 0)) {\n              uVar7 = (*(code *)PTR_fileno_003a99cc)((unaff_s7->file_info).file);\n              unaff_s6 = (char *)(*(code *)PTR_MapBlob_003a978c)(uVar7,0,0,0,unaff_s5);\n              if (unaff_s6 == (char *)0x0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                SVar9 = unaff_s7->type;\n                goto LAB_0004a138;\n              }\n              pcVar13 = (code *)PTR_fclose_003a939c;\n              if (image_info->file == (FILE *)0x0) goto LAB_0004a850;\n              unaff_s7->exempt = MagickFalse;\n              goto LAB_0004a650;\n            }\n          }\n          SVar9 = unaff_s7->type;\n          goto LAB_0004a138;\n        }\n        pFVar8 = (FILE *)(*(code *)PTR_fopen64_003a8c68)(mode,unaff_s5);\n        (unaff_s7->file_info).file = pFVar8;\n        puVar2 = PTR_GetImageOption_003a9168;\n        puVar1 = PTR_LAB_003a88e0;\n        if (pFVar8 == (FILE *)0x0) {\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);\n          uVar12 = 0xd23;\n          goto LAB_0004a16c;\n        }\n        unaff_s7->type = FileStream;\n        unaff_s7->exempt = MagickTrue;\n        iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac);\n        if (iVar5 != 0) {\n          iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);\n          uVar7 = 2;\n          if (iVar5 != 0) {\n            uVar7 = 0;\n          }\n          pFVar8 = (image->blob->file_info).file;\n          goto LAB_00049fe8;\n        }\n      }\n      iVar5 = 0x4000;\n      uVar7 = 0;\n      pFVar8 = (image->blob->file_info).file;\nLAB_00049fe8:\n      iVar5 = (*(code *)PTR_setvbuf_003a90f4)(pFVar8,0,uVar7,iVar5);\n      MVar14 = (MagickBooleanType)(iVar5 == 0);\n      goto LAB_00049c58;\n    }\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 "{\nLAB_0004a7e4:\n    (*pcVar13)(PTR_LAB_003a88e0 + 0x1c88,PTR_LAB_003a88e0 + 0x1ad8,0xca1,PTR_LAB_003a88e0 + 0x23d8);\n    image = unaff_s1;\n    exception = unaff_s3;\n    mode = (BlobMode)unaff_s4;\n  }" { (labeled_statement "LAB_0004a7e4:\n    (*pcVar13)(PTR_LAB_003a88e0 + 0x1c88,PTR_LAB_003a88e0 + 0x1ad8,0xca1,PTR_LAB_003a88e0 + 0x23d8);" statement_identifier : (expression_statement "(*pcVar13)(PTR_LAB_003a88e0 + 0x1c88,PTR_LAB_003a88e0 + 0x1ad8,0xca1,PTR_LAB_003a88e0 + 0x23d8);" (call_expression "(*pcVar13)(PTR_LAB_003a88e0 + 0x1c88,PTR_LAB_003a88e0 + 0x1ad8,0xca1,PTR_LAB_003a88e0 + 0x23d8)" (parenthesized_expression "(*pcVar13)" ( (pointer_expression "*pcVar13" * identifier) )) (argument_list "(PTR_LAB_003a88e0 + 0x1c88,PTR_LAB_003a88e0 + 0x1ad8,0xca1,PTR_LAB_003a88e0 + 0x23d8)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1c88" identifier + number_literal) , (binary_expression "PTR_LAB_003a88e0 + 0x1ad8" identifier + number_literal) , number_literal , (binary_expression "PTR_LAB_003a88e0 + 0x23d8" identifier + number_literal) ))) ;)) (expression_statement "image = unaff_s1;" (assignment_expression "image = unaff_s1" identifier = identifier) ;) (expression_statement "exception = unaff_s3;" (assignment_expression "exception = unaff_s3" identifier = identifier) ;) (expression_statement "mode = (BlobMode)unaff_s4;" (assignment_expression "mode = (BlobMode)unaff_s4" identifier = (cast_expression "(BlobMode)unaff_s4" ( (type_descriptor "BlobMode" type_identifier) ) identifier)) ;) }) (else_clause "else {\n    if (image_info->signature != 0xabacadab) {\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xda0,PTR_LAB_003a88e0 + 0x1ad8,0xca2,PTR_LAB_003a88e0 + 0x23d8)\n      ;\n      goto LAB_0004a7e4;\n    }\n    if (image_info->debug != MagickFalse) {\n      (*(code *)PTR_LogMagickEvent_003a91e0)\n                (0x8000,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xca4,\n                 PTR_s_t_to_left_003a88e4 + -0x62ac,image_info->filename);\n    }\n    puVar1 = PTR_AttachBlob_003a92c8;\n    if (image == (Image *)0x0) goto LAB_0004a824;\n    if (image->signature == 0xabacadab) {\n      pvVar10 = image_info->blob;\n      unaff_s7 = image->blob;\n      if (pvVar10 != (void *)0x0) {\n        if (image_info->stream != (StreamHandler)0x0) {\n          unaff_s7->stream = image_info->stream;\n        }\n        MVar14 = MagickTrue;\n        (*(code *)puVar1)(unaff_s7,pvVar10,image_info->length);\n        goto LAB_00049c58;\n      }\n      if ((image_info->custom_stream != (CustomStreamInfo *)0x0) &&\n         (MVar14 = MagickTrue, image->filename[0] == '\0')) {\n        unaff_s7->custom_stream = image_info->custom_stream;\n        unaff_s7->type = CustomStream;\n        goto LAB_00049c58;\n      }\n      (*(code *)PTR_DetachBlob_003a976c)(unaff_s7,0,0xca7);\n      unaff_s7->mode = mode;\n      if (mode < (AppendBinaryBlobMode|ReadBlobMode)) {\n                    /* WARNING: Could not emulate address calculation at 0x00049d10 */\n                    /* WARNING: Treating indirect jump as call */\n        MVar14 = (*(code *)(&_gp + *(int *)(PTR_LAB_003a88e0 + mode * 4 + 0x2098)))();\n        return MVar14;\n      }\n      unaff_s5 = PTR_LAB_003a88e0 + 0x4aa0;\n      unaff_s6 = image->filename;\n      if (image_info->stream == (StreamHandler)0x0) {\n        filename[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(filename,unaff_s6,0x1000);\n      }\n      else {\n        unaff_s7->stream = image_info->stream;\n        filename[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(filename,unaff_s6,0x1000);\n      }\n      mode = (BlobMode)filename;\n      iVar5 = (*(code *)PTR_IsRightsAuthorized_003a8db0)(4,1,mode);\n      if (iVar5 == 0) {\n        puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n        *puVar6 = 1;\n        (*(code *)PTR_ThrowMagickException_003a8f20)\n                  (exception,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcd9,499,\n                   PTR_LAB_003a88e0 + 0x1e9c,PTR_LAB_003a88e0 + 0x3e28,mode);\n        MVar14 = MagickFalse;\n        goto LAB_00049c58;\n      }\n      iVar5 = (*(code *)PTR_LocaleCompare_003a9110)(mode,PTR_s_courses_003a88ec + -0x7ac);\n      puVar2 = PTR_GetImageOption_003a9168;\n      puVar1 = PTR_LAB_003a88e0;\n      if ((iVar5 == 0) || ((filename[0] == '\0' && (image_info->file == (FILE *)0x0)))) {\n        exception = (ExceptionInfo *)0x2;\n        unaff_s7->file_info = *(FileInfo *)PTR_stdin_003a8fc4;\n        unaff_s7->type = StandardStream;\n        unaff_s7->exempt = MagickTrue;\n        iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac);\n        if (iVar5 != 0) {\n          iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);\n          uVar7 = 2;\n          if (iVar5 != 0) {\n            uVar7 = 0;\n          }\n          pFVar8 = (image->blob->file_info).file;\n          goto LAB_00049fe8;\n        }\n      }\n      else {\n        iVar5 = (*(code *)PTR_LocaleNCompare_003a961c)(mode,PTR_LAB_003a88e0 + 0x1ec0,3);\n        if (iVar5 == 0) {\n          iVar5 = (*(code *)PTR_IsGeometry_003a9418)(filename + 3);\n          if (iVar5 != 0) {\n            fileMode[0] = 'r';\n            fileMode[1] = '\0';\n            uVar7 = (*(code *)PTR_strtol_003a954c)(filename + 3,0,10);\n            pFVar8 = (FILE *)(*(code *)PTR_fdopen_003a97d8)(uVar7,fileMode);\n            (unaff_s7->file_info).file = pFVar8;\n            puVar2 = PTR_GetImageOption_003a9168;\n            puVar1 = PTR_LAB_003a88e0;\n            if (pFVar8 != (FILE *)0x0) {\n              unaff_s7->type = FileStream;\n              unaff_s7->exempt = MagickTrue;\n              iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac);\n              if (iVar5 == 0) {\n                iVar5 = 0x4000;\n                pFVar8 = (image->blob->file_info).file;\n                uVar7 = 0;\n              }\n              else {\n                iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);\n                uVar7 = 2;\n                if (iVar5 != 0) {\n                  uVar7 = 0;\n                }\n                pFVar8 = (image->blob->file_info).file;\n              }\n              iVar5 = (*(code *)PTR_setvbuf_003a90f4)(pFVar8,0,uVar7,iVar5);\n              MVar14 = (MagickBooleanType)(iVar5 == 0);\n              goto LAB_00049c58;\n            }\n            puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (exception,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,mode,uVar7);\n            (*(code *)PTR_DestroyString_003a9074)(uVar7);\n            MVar14 = MagickFalse;\n            goto LAB_00049c58;\n          }\n        }\n        iVar5 = (*(code *)PTR_GetPathAttributes_003a9364)(mode,&unaff_s7->properties);\n        if ((iVar5 == 0) || (((unaff_s7->properties).st_mode & 0xf000) != 0x1000)) {\n          (*(code *)PTR_GetPathComponent_003a8e18)(unaff_s6,6,extension);\n          if (image_info->file != (FILE *)0x0) {\n            (unaff_s7->file_info).file = image_info->file;\n            unaff_s7->status = MagickFalse;\n            unaff_s7->type = FileStream;\n            unaff_s7->exempt = MagickTrue;\n            unaff_s7->error_number = 0;\n            goto LAB_00049e88;\n          }\n          pFVar8 = (FILE *)(*(code *)PTR_fopen64_003a8c68)(mode,unaff_s5);\n          (unaff_s7->file_info).file = pFVar8;\n          puVar2 = PTR_GetImageOption_003a9168;\n          puVar1 = PTR_LAB_003a88e0;\n          if (pFVar8 != (FILE *)0x0) {\n            unaff_s7->type = FileStream;\n            iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac);\n            if (iVar5 == 0) {\n              iVar5 = 0x4000;\n              iVar11 = 0;\n              pFVar8 = (image->blob->file_info).file;\n            }\n            else {\n              iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);\n              iVar11 = (uint)(iVar5 == 0) << 1;\n              pFVar8 = (image->blob->file_info).file;\n            }\n            (*(code *)PTR_setvbuf_003a90f4)(pFVar8,0,iVar11,iVar5);\n            fileMode[0] = '\0';\n            fileMode[1] = '\0';\n            fileMode[2] = '\0';\n            unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)(fileMode,1,3,(unaff_s7->file_info).file);\n            (*(code *)PTR_fseeko64_003a9944)((unaff_s7->file_info).file);\n            (*(code *)PTR_fflush_003a948c)((unaff_s7->file_info).file);\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0);\n            SVar9 = unaff_s7->type;\n            if (SVar9 != FileStream) goto LAB_0004a138;\n            uVar7 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(image_info->magick,uVar7)\n            ;\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar7);\n            if ((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar5 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar5 != 0)) &&\n                (unaff_s5 = *(undefined1 **)((int)&(unaff_s7->properties).st_size + 4),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar5 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar5 != 0)) {\n              uVar7 = (*(code *)PTR_fileno_003a99cc)((unaff_s7->file_info).file);\n              unaff_s6 = (char *)(*(code *)PTR_MapBlob_003a978c)(uVar7,0,0,0,unaff_s5);\n              if (unaff_s6 == (char *)0x0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                SVar9 = unaff_s7->type;\n                goto LAB_0004a138;\n              }\n              pcVar13 = (code *)PTR_fclose_003a939c;\n              if (image_info->file == (FILE *)0x0) goto LAB_0004a850;\n              unaff_s7->exempt = MagickFalse;\n              goto LAB_0004a650;\n            }\n          }\n          SVar9 = unaff_s7->type;\n          goto LAB_0004a138;\n        }\n        pFVar8 = (FILE *)(*(code *)PTR_fopen64_003a8c68)(mode,unaff_s5);\n        (unaff_s7->file_info).file = pFVar8;\n        puVar2 = PTR_GetImageOption_003a9168;\n        puVar1 = PTR_LAB_003a88e0;\n        if (pFVar8 == (FILE *)0x0) {\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);\n          uVar12 = 0xd23;\n          goto LAB_0004a16c;\n        }\n        unaff_s7->type = FileStream;\n        unaff_s7->exempt = MagickTrue;\n        iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac);\n        if (iVar5 != 0) {\n          iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);\n          uVar7 = 2;\n          if (iVar5 != 0) {\n            uVar7 = 0;\n          }\n          pFVar8 = (image->blob->file_info).file;\n          goto LAB_00049fe8;\n        }\n      }\n      iVar5 = 0x4000;\n      uVar7 = 0;\n      pFVar8 = (image->blob->file_info).file;\nLAB_00049fe8:\n      iVar5 = (*(code *)PTR_setvbuf_003a90f4)(pFVar8,0,uVar7,iVar5);\n      MVar14 = (MagickBooleanType)(iVar5 == 0);\n      goto LAB_00049c58;\n    }\n  }" else (compound_statement "{\n    if (image_info->signature != 0xabacadab) {\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xda0,PTR_LAB_003a88e0 + 0x1ad8,0xca2,PTR_LAB_003a88e0 + 0x23d8)\n      ;\n      goto LAB_0004a7e4;\n    }\n    if (image_info->debug != MagickFalse) {\n      (*(code *)PTR_LogMagickEvent_003a91e0)\n                (0x8000,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xca4,\n                 PTR_s_t_to_left_003a88e4 + -0x62ac,image_info->filename);\n    }\n    puVar1 = PTR_AttachBlob_003a92c8;\n    if (image == (Image *)0x0) goto LAB_0004a824;\n    if (image->signature == 0xabacadab) {\n      pvVar10 = image_info->blob;\n      unaff_s7 = image->blob;\n      if (pvVar10 != (void *)0x0) {\n        if (image_info->stream != (StreamHandler)0x0) {\n          unaff_s7->stream = image_info->stream;\n        }\n        MVar14 = MagickTrue;\n        (*(code *)puVar1)(unaff_s7,pvVar10,image_info->length);\n        goto LAB_00049c58;\n      }\n      if ((image_info->custom_stream != (CustomStreamInfo *)0x0) &&\n         (MVar14 = MagickTrue, image->filename[0] == '\0')) {\n        unaff_s7->custom_stream = image_info->custom_stream;\n        unaff_s7->type = CustomStream;\n        goto LAB_00049c58;\n      }\n      (*(code *)PTR_DetachBlob_003a976c)(unaff_s7,0,0xca7);\n      unaff_s7->mode = mode;\n      if (mode < (AppendBinaryBlobMode|ReadBlobMode)) {\n                    /* WARNING: Could not emulate address calculation at 0x00049d10 */\n                    /* WARNING: Treating indirect jump as call */\n        MVar14 = (*(code *)(&_gp + *(int *)(PTR_LAB_003a88e0 + mode * 4 + 0x2098)))();\n        return MVar14;\n      }\n      unaff_s5 = PTR_LAB_003a88e0 + 0x4aa0;\n      unaff_s6 = image->filename;\n      if (image_info->stream == (StreamHandler)0x0) {\n        filename[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(filename,unaff_s6,0x1000);\n      }\n      else {\n        unaff_s7->stream = image_info->stream;\n        filename[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(filename,unaff_s6,0x1000);\n      }\n      mode = (BlobMode)filename;\n      iVar5 = (*(code *)PTR_IsRightsAuthorized_003a8db0)(4,1,mode);\n      if (iVar5 == 0) {\n        puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n        *puVar6 = 1;\n        (*(code *)PTR_ThrowMagickException_003a8f20)\n                  (exception,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcd9,499,\n                   PTR_LAB_003a88e0 + 0x1e9c,PTR_LAB_003a88e0 + 0x3e28,mode);\n        MVar14 = MagickFalse;\n        goto LAB_00049c58;\n      }\n      iVar5 = (*(code *)PTR_LocaleCompare_003a9110)(mode,PTR_s_courses_003a88ec + -0x7ac);\n      puVar2 = PTR_GetImageOption_003a9168;\n      puVar1 = PTR_LAB_003a88e0;\n      if ((iVar5 == 0) || ((filename[0] == '\0' && (image_info->file == (FILE *)0x0)))) {\n        exception = (ExceptionInfo *)0x2;\n        unaff_s7->file_info = *(FileInfo *)PTR_stdin_003a8fc4;\n        unaff_s7->type = StandardStream;\n        unaff_s7->exempt = MagickTrue;\n        iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac);\n        if (iVar5 != 0) {\n          iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);\n          uVar7 = 2;\n          if (iVar5 != 0) {\n            uVar7 = 0;\n          }\n          pFVar8 = (image->blob->file_info).file;\n          goto LAB_00049fe8;\n        }\n      }\n      else {\n        iVar5 = (*(code *)PTR_LocaleNCompare_003a961c)(mode,PTR_LAB_003a88e0 + 0x1ec0,3);\n        if (iVar5 == 0) {\n          iVar5 = (*(code *)PTR_IsGeometry_003a9418)(filename + 3);\n          if (iVar5 != 0) {\n            fileMode[0] = 'r';\n            fileMode[1] = '\0';\n            uVar7 = (*(code *)PTR_strtol_003a954c)(filename + 3,0,10);\n            pFVar8 = (FILE *)(*(code *)PTR_fdopen_003a97d8)(uVar7,fileMode);\n            (unaff_s7->file_info).file = pFVar8;\n            puVar2 = PTR_GetImageOption_003a9168;\n            puVar1 = PTR_LAB_003a88e0;\n            if (pFVar8 != (FILE *)0x0) {\n              unaff_s7->type = FileStream;\n              unaff_s7->exempt = MagickTrue;\n              iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac);\n              if (iVar5 == 0) {\n                iVar5 = 0x4000;\n                pFVar8 = (image->blob->file_info).file;\n                uVar7 = 0;\n              }\n              else {\n                iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);\n                uVar7 = 2;\n                if (iVar5 != 0) {\n                  uVar7 = 0;\n                }\n                pFVar8 = (image->blob->file_info).file;\n              }\n              iVar5 = (*(code *)PTR_setvbuf_003a90f4)(pFVar8,0,uVar7,iVar5);\n              MVar14 = (MagickBooleanType)(iVar5 == 0);\n              goto LAB_00049c58;\n            }\n            puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (exception,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,mode,uVar7);\n            (*(code *)PTR_DestroyString_003a9074)(uVar7);\n            MVar14 = MagickFalse;\n            goto LAB_00049c58;\n          }\n        }\n        iVar5 = (*(code *)PTR_GetPathAttributes_003a9364)(mode,&unaff_s7->properties);\n        if ((iVar5 == 0) || (((unaff_s7->properties).st_mode & 0xf000) != 0x1000)) {\n          (*(code *)PTR_GetPathComponent_003a8e18)(unaff_s6,6,extension);\n          if (image_info->file != (FILE *)0x0) {\n            (unaff_s7->file_info).file = image_info->file;\n            unaff_s7->status = MagickFalse;\n            unaff_s7->type = FileStream;\n            unaff_s7->exempt = MagickTrue;\n            unaff_s7->error_number = 0;\n            goto LAB_00049e88;\n          }\n          pFVar8 = (FILE *)(*(code *)PTR_fopen64_003a8c68)(mode,unaff_s5);\n          (unaff_s7->file_info).file = pFVar8;\n          puVar2 = PTR_GetImageOption_003a9168;\n          puVar1 = PTR_LAB_003a88e0;\n          if (pFVar8 != (FILE *)0x0) {\n            unaff_s7->type = FileStream;\n            iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac);\n            if (iVar5 == 0) {\n              iVar5 = 0x4000;\n              iVar11 = 0;\n              pFVar8 = (image->blob->file_info).file;\n            }\n            else {\n              iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);\n              iVar11 = (uint)(iVar5 == 0) << 1;\n              pFVar8 = (image->blob->file_info).file;\n            }\n            (*(code *)PTR_setvbuf_003a90f4)(pFVar8,0,iVar11,iVar5);\n            fileMode[0] = '\0';\n            fileMode[1] = '\0';\n            fileMode[2] = '\0';\n            unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)(fileMode,1,3,(unaff_s7->file_info).file);\n            (*(code *)PTR_fseeko64_003a9944)((unaff_s7->file_info).file);\n            (*(code *)PTR_fflush_003a948c)((unaff_s7->file_info).file);\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0);\n            SVar9 = unaff_s7->type;\n            if (SVar9 != FileStream) goto LAB_0004a138;\n            uVar7 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(image_info->magick,uVar7)\n            ;\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar7);\n            if ((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar5 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar5 != 0)) &&\n                (unaff_s5 = *(undefined1 **)((int)&(unaff_s7->properties).st_size + 4),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar5 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar5 != 0)) {\n              uVar7 = (*(code *)PTR_fileno_003a99cc)((unaff_s7->file_info).file);\n              unaff_s6 = (char *)(*(code *)PTR_MapBlob_003a978c)(uVar7,0,0,0,unaff_s5);\n              if (unaff_s6 == (char *)0x0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                SVar9 = unaff_s7->type;\n                goto LAB_0004a138;\n              }\n              pcVar13 = (code *)PTR_fclose_003a939c;\n              if (image_info->file == (FILE *)0x0) goto LAB_0004a850;\n              unaff_s7->exempt = MagickFalse;\n              goto LAB_0004a650;\n            }\n          }\n          SVar9 = unaff_s7->type;\n          goto LAB_0004a138;\n        }\n        pFVar8 = (FILE *)(*(code *)PTR_fopen64_003a8c68)(mode,unaff_s5);\n        (unaff_s7->file_info).file = pFVar8;\n        puVar2 = PTR_GetImageOption_003a9168;\n        puVar1 = PTR_LAB_003a88e0;\n        if (pFVar8 == (FILE *)0x0) {\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);\n          uVar12 = 0xd23;\n          goto LAB_0004a16c;\n        }\n        unaff_s7->type = FileStream;\n        unaff_s7->exempt = MagickTrue;\n        iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac);\n        if (iVar5 != 0) {\n          iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);\n          uVar7 = 2;\n          if (iVar5 != 0) {\n            uVar7 = 0;\n          }\n          pFVar8 = (image->blob->file_info).file;\n          goto LAB_00049fe8;\n        }\n      }\n      iVar5 = 0x4000;\n      uVar7 = 0;\n      pFVar8 = (image->blob->file_info).file;\nLAB_00049fe8:\n      iVar5 = (*(code *)PTR_setvbuf_003a90f4)(pFVar8,0,uVar7,iVar5);\n      MVar14 = (MagickBooleanType)(iVar5 == 0);\n      goto LAB_00049c58;\n    }\n  }" { (if_statement "if (image_info->signature != 0xabacadab) {\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xda0,PTR_LAB_003a88e0 + 0x1ad8,0xca2,PTR_LAB_003a88e0 + 0x23d8)\n      ;\n      goto LAB_0004a7e4;\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      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xda0,PTR_LAB_003a88e0 + 0x1ad8,0xca2,PTR_LAB_003a88e0 + 0x23d8)\n      ;\n      goto LAB_0004a7e4;\n    }" { (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xda0,PTR_LAB_003a88e0 + 0x1ad8,0xca2,PTR_LAB_003a88e0 + 0x23d8)\n      ;" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xda0,PTR_LAB_003a88e0 + 0x1ad8,0xca2,PTR_LAB_003a88e0 + 0x23d8)" (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_LAB_003a88e0 + 0x1ad8,0xca2,PTR_LAB_003a88e0 + 0x23d8)" ( (binary_expression "PTR_LAB_003a88e0 + 0xda0" identifier + number_literal) , (binary_expression "PTR_LAB_003a88e0 + 0x1ad8" identifier + number_literal) , number_literal , (binary_expression "PTR_LAB_003a88e0 + 0x23d8" identifier + number_literal) ))) ;) (goto_statement "goto LAB_0004a7e4;" goto statement_identifier ;) })) (if_statement "if (image_info->debug != MagickFalse) {\n      (*(code *)PTR_LogMagickEvent_003a91e0)\n                (0x8000,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xca4,\n                 PTR_s_t_to_left_003a88e4 + -0x62ac,image_info->filename);\n    }" if (parenthesized_expression "(image_info->debug != MagickFalse)" ( (binary_expression "image_info->debug != MagickFalse" (field_expression "image_info->debug" identifier -> field_identifier) != identifier) )) (compound_statement "{\n      (*(code *)PTR_LogMagickEvent_003a91e0)\n                (0x8000,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xca4,\n                 PTR_s_t_to_left_003a88e4 + -0x62ac,image_info->filename);\n    }" { (expression_statement "(*(code *)PTR_LogMagickEvent_003a91e0)\n                (0x8000,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xca4,\n                 PTR_s_t_to_left_003a88e4 + -0x62ac,image_info->filename);" (call_expression "(*(code *)PTR_LogMagickEvent_003a91e0)\n                (0x8000,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xca4,\n                 PTR_s_t_to_left_003a88e4 + -0x62ac,image_info->filename)" (parenthesized_expression "(*(code *)PTR_LogMagickEvent_003a91e0)" ( (pointer_expression "*(code *)PTR_LogMagickEvent_003a91e0" * (cast_expression "(code *)PTR_LogMagickEvent_003a91e0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x8000,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xca4,\n                 PTR_s_t_to_left_003a88e4 + -0x62ac,image_info->filename)" ( number_literal , (binary_expression "PTR_LAB_003a88e0 + 0x1ad8" identifier + number_literal) , (binary_expression "PTR_LAB_003a88e0 + 0x23cc" identifier + number_literal) , number_literal , (binary_expression "PTR_s_t_to_left_003a88e4 + -0x62ac" identifier + number_literal) , (field_expression "image_info->filename" identifier -> field_identifier) ))) ;) })) (expression_statement "puVar1 = PTR_AttachBlob_003a92c8;" (assignment_expression "puVar1 = PTR_AttachBlob_003a92c8" identifier = identifier) ;) (if_statement "if (image == (Image *)0x0) goto LAB_0004a824;" if (parenthesized_expression "(image == (Image *)0x0)" ( (binary_expression "image == (Image *)0x0" identifier == (cast_expression "(Image *)0x0" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0004a824;" goto statement_identifier ;)) (if_statement "if (image->signature == 0xabacadab) {\n      pvVar10 = image_info->blob;\n      unaff_s7 = image->blob;\n      if (pvVar10 != (void *)0x0) {\n        if (image_info->stream != (StreamHandler)0x0) {\n          unaff_s7->stream = image_info->stream;\n        }\n        MVar14 = MagickTrue;\n        (*(code *)puVar1)(unaff_s7,pvVar10,image_info->length);\n        goto LAB_00049c58;\n      }\n      if ((image_info->custom_stream != (CustomStreamInfo *)0x0) &&\n         (MVar14 = MagickTrue, image->filename[0] == '\0')) {\n        unaff_s7->custom_stream = image_info->custom_stream;\n        unaff_s7->type = CustomStream;\n        goto LAB_00049c58;\n      }\n      (*(code *)PTR_DetachBlob_003a976c)(unaff_s7,0,0xca7);\n      unaff_s7->mode = mode;\n      if (mode < (AppendBinaryBlobMode|ReadBlobMode)) {\n                    /* WARNING: Could not emulate address calculation at 0x00049d10 */\n                    /* WARNING: Treating indirect jump as call */\n        MVar14 = (*(code *)(&_gp + *(int *)(PTR_LAB_003a88e0 + mode * 4 + 0x2098)))();\n        return MVar14;\n      }\n      unaff_s5 = PTR_LAB_003a88e0 + 0x4aa0;\n      unaff_s6 = image->filename;\n      if (image_info->stream == (StreamHandler)0x0) {\n        filename[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(filename,unaff_s6,0x1000);\n      }\n      else {\n        unaff_s7->stream = image_info->stream;\n        filename[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(filename,unaff_s6,0x1000);\n      }\n      mode = (BlobMode)filename;\n      iVar5 = (*(code *)PTR_IsRightsAuthorized_003a8db0)(4,1,mode);\n      if (iVar5 == 0) {\n        puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n        *puVar6 = 1;\n        (*(code *)PTR_ThrowMagickException_003a8f20)\n                  (exception,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcd9,499,\n                   PTR_LAB_003a88e0 + 0x1e9c,PTR_LAB_003a88e0 + 0x3e28,mode);\n        MVar14 = MagickFalse;\n        goto LAB_00049c58;\n      }\n      iVar5 = (*(code *)PTR_LocaleCompare_003a9110)(mode,PTR_s_courses_003a88ec + -0x7ac);\n      puVar2 = PTR_GetImageOption_003a9168;\n      puVar1 = PTR_LAB_003a88e0;\n      if ((iVar5 == 0) || ((filename[0] == '\0' && (image_info->file == (FILE *)0x0)))) {\n        exception = (ExceptionInfo *)0x2;\n        unaff_s7->file_info = *(FileInfo *)PTR_stdin_003a8fc4;\n        unaff_s7->type = StandardStream;\n        unaff_s7->exempt = MagickTrue;\n        iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac);\n        if (iVar5 != 0) {\n          iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);\n          uVar7 = 2;\n          if (iVar5 != 0) {\n            uVar7 = 0;\n          }\n          pFVar8 = (image->blob->file_info).file;\n          goto LAB_00049fe8;\n        }\n      }\n      else {\n        iVar5 = (*(code *)PTR_LocaleNCompare_003a961c)(mode,PTR_LAB_003a88e0 + 0x1ec0,3);\n        if (iVar5 == 0) {\n          iVar5 = (*(code *)PTR_IsGeometry_003a9418)(filename + 3);\n          if (iVar5 != 0) {\n            fileMode[0] = 'r';\n            fileMode[1] = '\0';\n            uVar7 = (*(code *)PTR_strtol_003a954c)(filename + 3,0,10);\n            pFVar8 = (FILE *)(*(code *)PTR_fdopen_003a97d8)(uVar7,fileMode);\n            (unaff_s7->file_info).file = pFVar8;\n            puVar2 = PTR_GetImageOption_003a9168;\n            puVar1 = PTR_LAB_003a88e0;\n            if (pFVar8 != (FILE *)0x0) {\n              unaff_s7->type = FileStream;\n              unaff_s7->exempt = MagickTrue;\n              iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac);\n              if (iVar5 == 0) {\n                iVar5 = 0x4000;\n                pFVar8 = (image->blob->file_info).file;\n                uVar7 = 0;\n              }\n              else {\n                iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);\n                uVar7 = 2;\n                if (iVar5 != 0) {\n                  uVar7 = 0;\n                }\n                pFVar8 = (image->blob->file_info).file;\n              }\n              iVar5 = (*(code *)PTR_setvbuf_003a90f4)(pFVar8,0,uVar7,iVar5);\n              MVar14 = (MagickBooleanType)(iVar5 == 0);\n              goto LAB_00049c58;\n            }\n            puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (exception,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,mode,uVar7);\n            (*(code *)PTR_DestroyString_003a9074)(uVar7);\n            MVar14 = MagickFalse;\n            goto LAB_00049c58;\n          }\n        }\n        iVar5 = (*(code *)PTR_GetPathAttributes_003a9364)(mode,&unaff_s7->properties);\n        if ((iVar5 == 0) || (((unaff_s7->properties).st_mode & 0xf000) != 0x1000)) {\n          (*(code *)PTR_GetPathComponent_003a8e18)(unaff_s6,6,extension);\n          if (image_info->file != (FILE *)0x0) {\n            (unaff_s7->file_info).file = image_info->file;\n            unaff_s7->status = MagickFalse;\n            unaff_s7->type = FileStream;\n            unaff_s7->exempt = MagickTrue;\n            unaff_s7->error_number = 0;\n            goto LAB_00049e88;\n          }\n          pFVar8 = (FILE *)(*(code *)PTR_fopen64_003a8c68)(mode,unaff_s5);\n          (unaff_s7->file_info).file = pFVar8;\n          puVar2 = PTR_GetImageOption_003a9168;\n          puVar1 = PTR_LAB_003a88e0;\n          if (pFVar8 != (FILE *)0x0) {\n            unaff_s7->type = FileStream;\n            iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac);\n            if (iVar5 == 0) {\n              iVar5 = 0x4000;\n              iVar11 = 0;\n              pFVar8 = (image->blob->file_info).file;\n            }\n            else {\n              iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);\n              iVar11 = (uint)(iVar5 == 0) << 1;\n              pFVar8 = (image->blob->file_info).file;\n            }\n            (*(code *)PTR_setvbuf_003a90f4)(pFVar8,0,iVar11,iVar5);\n            fileMode[0] = '\0';\n            fileMode[1] = '\0';\n            fileMode[2] = '\0';\n            unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)(fileMode,1,3,(unaff_s7->file_info).file);\n            (*(code *)PTR_fseeko64_003a9944)((unaff_s7->file_info).file);\n            (*(code *)PTR_fflush_003a948c)((unaff_s7->file_info).file);\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0);\n            SVar9 = unaff_s7->type;\n            if (SVar9 != FileStream) goto LAB_0004a138;\n            uVar7 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(image_info->magick,uVar7)\n            ;\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar7);\n            if ((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar5 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar5 != 0)) &&\n                (unaff_s5 = *(undefined1 **)((int)&(unaff_s7->properties).st_size + 4),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar5 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar5 != 0)) {\n              uVar7 = (*(code *)PTR_fileno_003a99cc)((unaff_s7->file_info).file);\n              unaff_s6 = (char *)(*(code *)PTR_MapBlob_003a978c)(uVar7,0,0,0,unaff_s5);\n              if (unaff_s6 == (char *)0x0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                SVar9 = unaff_s7->type;\n                goto LAB_0004a138;\n              }\n              pcVar13 = (code *)PTR_fclose_003a939c;\n              if (image_info->file == (FILE *)0x0) goto LAB_0004a850;\n              unaff_s7->exempt = MagickFalse;\n              goto LAB_0004a650;\n            }\n          }\n          SVar9 = unaff_s7->type;\n          goto LAB_0004a138;\n        }\n        pFVar8 = (FILE *)(*(code *)PTR_fopen64_003a8c68)(mode,unaff_s5);\n        (unaff_s7->file_info).file = pFVar8;\n        puVar2 = PTR_GetImageOption_003a9168;\n        puVar1 = PTR_LAB_003a88e0;\n        if (pFVar8 == (FILE *)0x0) {\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);\n          uVar12 = 0xd23;\n          goto LAB_0004a16c;\n        }\n        unaff_s7->type = FileStream;\n        unaff_s7->exempt = MagickTrue;\n        iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac);\n        if (iVar5 != 0) {\n          iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);\n          uVar7 = 2;\n          if (iVar5 != 0) {\n            uVar7 = 0;\n          }\n          pFVar8 = (image->blob->file_info).file;\n          goto LAB_00049fe8;\n        }\n      }\n      iVar5 = 0x4000;\n      uVar7 = 0;\n      pFVar8 = (image->blob->file_info).file;\nLAB_00049fe8:\n      iVar5 = (*(code *)PTR_setvbuf_003a90f4)(pFVar8,0,uVar7,iVar5);\n      MVar14 = (MagickBooleanType)(iVar5 == 0);\n      goto LAB_00049c58;\n    }" if (parenthesized_expression "(image->signature == 0xabacadab)" ( (binary_expression "image->signature == 0xabacadab" (field_expression "image->signature" identifier -> field_identifier) == number_literal) )) (compound_statement "{\n      pvVar10 = image_info->blob;\n      unaff_s7 = image->blob;\n      if (pvVar10 != (void *)0x0) {\n        if (image_info->stream != (StreamHandler)0x0) {\n          unaff_s7->stream = image_info->stream;\n        }\n        MVar14 = MagickTrue;\n        (*(code *)puVar1)(unaff_s7,pvVar10,image_info->length);\n        goto LAB_00049c58;\n      }\n      if ((image_info->custom_stream != (CustomStreamInfo *)0x0) &&\n         (MVar14 = MagickTrue, image->filename[0] == '\0')) {\n        unaff_s7->custom_stream = image_info->custom_stream;\n        unaff_s7->type = CustomStream;\n        goto LAB_00049c58;\n      }\n      (*(code *)PTR_DetachBlob_003a976c)(unaff_s7,0,0xca7);\n      unaff_s7->mode = mode;\n      if (mode < (AppendBinaryBlobMode|ReadBlobMode)) {\n                    /* WARNING: Could not emulate address calculation at 0x00049d10 */\n                    /* WARNING: Treating indirect jump as call */\n        MVar14 = (*(code *)(&_gp + *(int *)(PTR_LAB_003a88e0 + mode * 4 + 0x2098)))();\n        return MVar14;\n      }\n      unaff_s5 = PTR_LAB_003a88e0 + 0x4aa0;\n      unaff_s6 = image->filename;\n      if (image_info->stream == (StreamHandler)0x0) {\n        filename[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(filename,unaff_s6,0x1000);\n      }\n      else {\n        unaff_s7->stream = image_info->stream;\n        filename[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(filename,unaff_s6,0x1000);\n      }\n      mode = (BlobMode)filename;\n      iVar5 = (*(code *)PTR_IsRightsAuthorized_003a8db0)(4,1,mode);\n      if (iVar5 == 0) {\n        puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n        *puVar6 = 1;\n        (*(code *)PTR_ThrowMagickException_003a8f20)\n                  (exception,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcd9,499,\n                   PTR_LAB_003a88e0 + 0x1e9c,PTR_LAB_003a88e0 + 0x3e28,mode);\n        MVar14 = MagickFalse;\n        goto LAB_00049c58;\n      }\n      iVar5 = (*(code *)PTR_LocaleCompare_003a9110)(mode,PTR_s_courses_003a88ec + -0x7ac);\n      puVar2 = PTR_GetImageOption_003a9168;\n      puVar1 = PTR_LAB_003a88e0;\n      if ((iVar5 == 0) || ((filename[0] == '\0' && (image_info->file == (FILE *)0x0)))) {\n        exception = (ExceptionInfo *)0x2;\n        unaff_s7->file_info = *(FileInfo *)PTR_stdin_003a8fc4;\n        unaff_s7->type = StandardStream;\n        unaff_s7->exempt = MagickTrue;\n        iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac);\n        if (iVar5 != 0) {\n          iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);\n          uVar7 = 2;\n          if (iVar5 != 0) {\n            uVar7 = 0;\n          }\n          pFVar8 = (image->blob->file_info).file;\n          goto LAB_00049fe8;\n        }\n      }\n      else {\n        iVar5 = (*(code *)PTR_LocaleNCompare_003a961c)(mode,PTR_LAB_003a88e0 + 0x1ec0,3);\n        if (iVar5 == 0) {\n          iVar5 = (*(code *)PTR_IsGeometry_003a9418)(filename + 3);\n          if (iVar5 != 0) {\n            fileMode[0] = 'r';\n            fileMode[1] = '\0';\n            uVar7 = (*(code *)PTR_strtol_003a954c)(filename + 3,0,10);\n            pFVar8 = (FILE *)(*(code *)PTR_fdopen_003a97d8)(uVar7,fileMode);\n            (unaff_s7->file_info).file = pFVar8;\n            puVar2 = PTR_GetImageOption_003a9168;\n            puVar1 = PTR_LAB_003a88e0;\n            if (pFVar8 != (FILE *)0x0) {\n              unaff_s7->type = FileStream;\n              unaff_s7->exempt = MagickTrue;\n              iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac);\n              if (iVar5 == 0) {\n                iVar5 = 0x4000;\n                pFVar8 = (image->blob->file_info).file;\n                uVar7 = 0;\n              }\n              else {\n                iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);\n                uVar7 = 2;\n                if (iVar5 != 0) {\n                  uVar7 = 0;\n                }\n                pFVar8 = (image->blob->file_info).file;\n              }\n              iVar5 = (*(code *)PTR_setvbuf_003a90f4)(pFVar8,0,uVar7,iVar5);\n              MVar14 = (MagickBooleanType)(iVar5 == 0);\n              goto LAB_00049c58;\n            }\n            puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (exception,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,mode,uVar7);\n            (*(code *)PTR_DestroyString_003a9074)(uVar7);\n            MVar14 = MagickFalse;\n            goto LAB_00049c58;\n          }\n        }\n        iVar5 = (*(code *)PTR_GetPathAttributes_003a9364)(mode,&unaff_s7->properties);\n        if ((iVar5 == 0) || (((unaff_s7->properties).st_mode & 0xf000) != 0x1000)) {\n          (*(code *)PTR_GetPathComponent_003a8e18)(unaff_s6,6,extension);\n          if (image_info->file != (FILE *)0x0) {\n            (unaff_s7->file_info).file = image_info->file;\n            unaff_s7->status = MagickFalse;\n            unaff_s7->type = FileStream;\n            unaff_s7->exempt = MagickTrue;\n            unaff_s7->error_number = 0;\n            goto LAB_00049e88;\n          }\n          pFVar8 = (FILE *)(*(code *)PTR_fopen64_003a8c68)(mode,unaff_s5);\n          (unaff_s7->file_info).file = pFVar8;\n          puVar2 = PTR_GetImageOption_003a9168;\n          puVar1 = PTR_LAB_003a88e0;\n          if (pFVar8 != (FILE *)0x0) {\n            unaff_s7->type = FileStream;\n            iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac);\n            if (iVar5 == 0) {\n              iVar5 = 0x4000;\n              iVar11 = 0;\n              pFVar8 = (image->blob->file_info).file;\n            }\n            else {\n              iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);\n              iVar11 = (uint)(iVar5 == 0) << 1;\n              pFVar8 = (image->blob->file_info).file;\n            }\n            (*(code *)PTR_setvbuf_003a90f4)(pFVar8,0,iVar11,iVar5);\n            fileMode[0] = '\0';\n            fileMode[1] = '\0';\n            fileMode[2] = '\0';\n            unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)(fileMode,1,3,(unaff_s7->file_info).file);\n            (*(code *)PTR_fseeko64_003a9944)((unaff_s7->file_info).file);\n            (*(code *)PTR_fflush_003a948c)((unaff_s7->file_info).file);\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0);\n            SVar9 = unaff_s7->type;\n            if (SVar9 != FileStream) goto LAB_0004a138;\n            uVar7 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(image_info->magick,uVar7)\n            ;\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar7);\n            if ((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar5 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar5 != 0)) &&\n                (unaff_s5 = *(undefined1 **)((int)&(unaff_s7->properties).st_size + 4),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar5 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar5 != 0)) {\n              uVar7 = (*(code *)PTR_fileno_003a99cc)((unaff_s7->file_info).file);\n              unaff_s6 = (char *)(*(code *)PTR_MapBlob_003a978c)(uVar7,0,0,0,unaff_s5);\n              if (unaff_s6 == (char *)0x0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                SVar9 = unaff_s7->type;\n                goto LAB_0004a138;\n              }\n              pcVar13 = (code *)PTR_fclose_003a939c;\n              if (image_info->file == (FILE *)0x0) goto LAB_0004a850;\n              unaff_s7->exempt = MagickFalse;\n              goto LAB_0004a650;\n            }\n          }\n          SVar9 = unaff_s7->type;\n          goto LAB_0004a138;\n        }\n        pFVar8 = (FILE *)(*(code *)PTR_fopen64_003a8c68)(mode,unaff_s5);\n        (unaff_s7->file_info).file = pFVar8;\n        puVar2 = PTR_GetImageOption_003a9168;\n        puVar1 = PTR_LAB_003a88e0;\n        if (pFVar8 == (FILE *)0x0) {\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);\n          uVar12 = 0xd23;\n          goto LAB_0004a16c;\n        }\n        unaff_s7->type = FileStream;\n        unaff_s7->exempt = MagickTrue;\n        iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac);\n        if (iVar5 != 0) {\n          iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);\n          uVar7 = 2;\n          if (iVar5 != 0) {\n            uVar7 = 0;\n          }\n          pFVar8 = (image->blob->file_info).file;\n          goto LAB_00049fe8;\n        }\n      }\n      iVar5 = 0x4000;\n      uVar7 = 0;\n      pFVar8 = (image->blob->file_info).file;\nLAB_00049fe8:\n      iVar5 = (*(code *)PTR_setvbuf_003a90f4)(pFVar8,0,uVar7,iVar5);\n      MVar14 = (MagickBooleanType)(iVar5 == 0);\n      goto LAB_00049c58;\n    }" { (expression_statement "pvVar10 = image_info->blob;" (assignment_expression "pvVar10 = image_info->blob" identifier = (field_expression "image_info->blob" identifier -> field_identifier)) ;) (expression_statement "unaff_s7 = image->blob;" (assignment_expression "unaff_s7 = image->blob" identifier = (field_expression "image->blob" identifier -> field_identifier)) ;) (if_statement "if (pvVar10 != (void *)0x0) {\n        if (image_info->stream != (StreamHandler)0x0) {\n          unaff_s7->stream = image_info->stream;\n        }\n        MVar14 = MagickTrue;\n        (*(code *)puVar1)(unaff_s7,pvVar10,image_info->length);\n        goto LAB_00049c58;\n      }" if (parenthesized_expression "(pvVar10 != (void *)0x0)" ( (binary_expression "pvVar10 != (void *)0x0" identifier != (cast_expression "(void *)0x0" ( (type_descriptor "void *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n        if (image_info->stream != (StreamHandler)0x0) {\n          unaff_s7->stream = image_info->stream;\n        }\n        MVar14 = MagickTrue;\n        (*(code *)puVar1)(unaff_s7,pvVar10,image_info->length);\n        goto LAB_00049c58;\n      }" { (if_statement "if (image_info->stream != (StreamHandler)0x0) {\n          unaff_s7->stream = image_info->stream;\n        }" if (parenthesized_expression "(image_info->stream != (StreamHandler)0x0)" ( (binary_expression "image_info->stream != (StreamHandler)0x0" (field_expression "image_info->stream" identifier -> field_identifier) != (cast_expression "(StreamHandler)0x0" ( (type_descriptor "StreamHandler" type_identifier) ) number_literal)) )) (compound_statement "{\n          unaff_s7->stream = image_info->stream;\n        }" { (expression_statement "unaff_s7->stream = image_info->stream;" (assignment_expression "unaff_s7->stream = image_info->stream" (field_expression "unaff_s7->stream" identifier -> field_identifier) = (field_expression "image_info->stream" identifier -> field_identifier)) ;) })) (expression_statement "MVar14 = MagickTrue;" (assignment_expression "MVar14 = MagickTrue" identifier = identifier) ;) (expression_statement "(*(code *)puVar1)(unaff_s7,pvVar10,image_info->length);" (call_expression "(*(code *)puVar1)(unaff_s7,pvVar10,image_info->length)" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s7,pvVar10,image_info->length)" ( identifier , identifier , (field_expression "image_info->length" identifier -> field_identifier) ))) ;) (goto_statement "goto LAB_00049c58;" goto statement_identifier ;) })) (if_statement "if ((image_info->custom_stream != (CustomStreamInfo *)0x0) &&\n         (MVar14 = MagickTrue, image->filename[0] == '\0')) {\n        unaff_s7->custom_stream = image_info->custom_stream;\n        unaff_s7->type = CustomStream;\n        goto LAB_00049c58;\n      }" if (parenthesized_expression "((image_info->custom_stream != (CustomStreamInfo *)0x0) &&\n         (MVar14 = MagickTrue, image->filename[0] == '\0'))" ( (binary_expression "(image_info->custom_stream != (CustomStreamInfo *)0x0) &&\n         (MVar14 = MagickTrue, image->filename[0] == '\0')" (parenthesized_expression "(image_info->custom_stream != (CustomStreamInfo *)0x0)" ( (binary_expression "image_info->custom_stream != (CustomStreamInfo *)0x0" (field_expression "image_info->custom_stream" identifier -> field_identifier) != (cast_expression "(CustomStreamInfo *)0x0" ( (type_descriptor "CustomStreamInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(MVar14 = MagickTrue, image->filename[0] == '\0')" ( (comma_expression "MVar14 = MagickTrue, image->filename[0] == '\0'" (assignment_expression "MVar14 = MagickTrue" identifier = identifier) , (binary_expression "image->filename[0] == '\0'" (subscript_expression "image->filename[0]" (field_expression "image->filename" identifier -> field_identifier) [ number_literal ]) == (char_literal "'\0'" ' escape_sequence '))) ))) )) (compound_statement "{\n        unaff_s7->custom_stream = image_info->custom_stream;\n        unaff_s7->type = CustomStream;\n        goto LAB_00049c58;\n      }" { (expression_statement "unaff_s7->custom_stream = image_info->custom_stream;" (assignment_expression "unaff_s7->custom_stream = image_info->custom_stream" (field_expression "unaff_s7->custom_stream" identifier -> field_identifier) = (field_expression "image_info->custom_stream" identifier -> field_identifier)) ;) (expression_statement "unaff_s7->type = CustomStream;" (assignment_expression "unaff_s7->type = CustomStream" (field_expression "unaff_s7->type" identifier -> field_identifier) = identifier) ;) (goto_statement "goto LAB_00049c58;" goto statement_identifier ;) })) (expression_statement "(*(code *)PTR_DetachBlob_003a976c)(unaff_s7,0,0xca7);" (call_expression "(*(code *)PTR_DetachBlob_003a976c)(unaff_s7,0,0xca7)" (parenthesized_expression "(*(code *)PTR_DetachBlob_003a976c)" ( (pointer_expression "*(code *)PTR_DetachBlob_003a976c" * (cast_expression "(code *)PTR_DetachBlob_003a976c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s7,0,0xca7)" ( identifier , number_literal , number_literal ))) ;) (expression_statement "unaff_s7->mode = mode;" (assignment_expression "unaff_s7->mode = mode" (field_expression "unaff_s7->mode" identifier -> field_identifier) = identifier) ;) (if_statement "if (mode < (AppendBinaryBlobMode|ReadBlobMode)) {\n                    /* WARNING: Could not emulate address calculation at 0x00049d10 */\n                    /* WARNING: Treating indirect jump as call */\n        MVar14 = (*(code *)(&_gp + *(int *)(PTR_LAB_003a88e0 + mode * 4 + 0x2098)))();\n        return MVar14;\n      }" if (parenthesized_expression "(mode < (AppendBinaryBlobMode|ReadBlobMode))" ( (binary_expression "mode < (AppendBinaryBlobMode|ReadBlobMode)" identifier < (parenthesized_expression "(AppendBinaryBlobMode|ReadBlobMode)" ( (binary_expression "AppendBinaryBlobMode|ReadBlobMode" identifier | identifier) ))) )) (compound_statement "{\n                    /* WARNING: Could not emulate address calculation at 0x00049d10 */\n                    /* WARNING: Treating indirect jump as call */\n        MVar14 = (*(code *)(&_gp + *(int *)(PTR_LAB_003a88e0 + mode * 4 + 0x2098)))();\n        return MVar14;\n      }" { comment comment (expression_statement "MVar14 = (*(code *)(&_gp + *(int *)(PTR_LAB_003a88e0 + mode * 4 + 0x2098)))();" (assignment_expression "MVar14 = (*(code *)(&_gp + *(int *)(PTR_LAB_003a88e0 + mode * 4 + 0x2098)))()" identifier = (call_expression "(*(code *)(&_gp + *(int *)(PTR_LAB_003a88e0 + mode * 4 + 0x2098)))()" (parenthesized_expression "(*(code *)(&_gp + *(int *)(PTR_LAB_003a88e0 + mode * 4 + 0x2098)))" ( (pointer_expression "*(code *)(&_gp + *(int *)(PTR_LAB_003a88e0 + mode * 4 + 0x2098))" * (cast_expression "(code *)(&_gp + *(int *)(PTR_LAB_003a88e0 + mode * 4 + 0x2098))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp + *(int *)(PTR_LAB_003a88e0 + mode * 4 + 0x2098))" ( (binary_expression "&_gp + *(int *)(PTR_LAB_003a88e0 + mode * 4 + 0x2098)" (pointer_expression "&_gp" & identifier) + (pointer_expression "*(int *)(PTR_LAB_003a88e0 + mode * 4 + 0x2098)" * (cast_expression "(int *)(PTR_LAB_003a88e0 + mode * 4 + 0x2098)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + mode * 4 + 0x2098)" ( (binary_expression "PTR_LAB_003a88e0 + mode * 4 + 0x2098" (binary_expression "PTR_LAB_003a88e0 + mode * 4" identifier + (binary_expression "mode * 4" identifier * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( )))) ;) (return_statement "return MVar14;" return identifier ;) })) (expression_statement "unaff_s5 = PTR_LAB_003a88e0 + 0x4aa0;" (assignment_expression "unaff_s5 = PTR_LAB_003a88e0 + 0x4aa0" identifier = (binary_expression "PTR_LAB_003a88e0 + 0x4aa0" identifier + number_literal)) ;) (expression_statement "unaff_s6 = image->filename;" (assignment_expression "unaff_s6 = image->filename" identifier = (field_expression "image->filename" identifier -> field_identifier)) ;) (if_statement "if (image_info->stream == (StreamHandler)0x0) {\n        filename[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(filename,unaff_s6,0x1000);\n      }\n      else {\n        unaff_s7->stream = image_info->stream;\n        filename[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(filename,unaff_s6,0x1000);\n      }" if (parenthesized_expression "(image_info->stream == (StreamHandler)0x0)" ( (binary_expression "image_info->stream == (StreamHandler)0x0" (field_expression "image_info->stream" identifier -> field_identifier) == (cast_expression "(StreamHandler)0x0" ( (type_descriptor "StreamHandler" type_identifier) ) number_literal)) )) (compound_statement "{\n        filename[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(filename,unaff_s6,0x1000);\n      }" { (expression_statement "filename[0] = '\0';" (assignment_expression "filename[0] = '\0'" (subscript_expression "filename[0]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "(*(code *)PTR_CopyMagickString_003a983c)(filename,unaff_s6,0x1000);" (call_expression "(*(code *)PTR_CopyMagickString_003a983c)(filename,unaff_s6,0x1000)" (parenthesized_expression "(*(code *)PTR_CopyMagickString_003a983c)" ( (pointer_expression "*(code *)PTR_CopyMagickString_003a983c" * (cast_expression "(code *)PTR_CopyMagickString_003a983c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(filename,unaff_s6,0x1000)" ( identifier , identifier , number_literal ))) ;) }) (else_clause "else {\n        unaff_s7->stream = image_info->stream;\n        filename[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(filename,unaff_s6,0x1000);\n      }" else (compound_statement "{\n        unaff_s7->stream = image_info->stream;\n        filename[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(filename,unaff_s6,0x1000);\n      }" { (expression_statement "unaff_s7->stream = image_info->stream;" (assignment_expression "unaff_s7->stream = image_info->stream" (field_expression "unaff_s7->stream" identifier -> field_identifier) = (field_expression "image_info->stream" identifier -> field_identifier)) ;) (expression_statement "filename[0] = '\0';" (assignment_expression "filename[0] = '\0'" (subscript_expression "filename[0]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "(*(code *)PTR_CopyMagickString_003a983c)(filename,unaff_s6,0x1000);" (call_expression "(*(code *)PTR_CopyMagickString_003a983c)(filename,unaff_s6,0x1000)" (parenthesized_expression "(*(code *)PTR_CopyMagickString_003a983c)" ( (pointer_expression "*(code *)PTR_CopyMagickString_003a983c" * (cast_expression "(code *)PTR_CopyMagickString_003a983c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(filename,unaff_s6,0x1000)" ( identifier , identifier , number_literal ))) ;) }))) (expression_statement "mode = (BlobMode)filename;" (assignment_expression "mode = (BlobMode)filename" identifier = (cast_expression "(BlobMode)filename" ( (type_descriptor "BlobMode" type_identifier) ) identifier)) ;) (expression_statement "iVar5 = (*(code *)PTR_IsRightsAuthorized_003a8db0)(4,1,mode);" (assignment_expression "iVar5 = (*(code *)PTR_IsRightsAuthorized_003a8db0)(4,1,mode)" identifier = (call_expression "(*(code *)PTR_IsRightsAuthorized_003a8db0)(4,1,mode)" (parenthesized_expression "(*(code *)PTR_IsRightsAuthorized_003a8db0)" ( (pointer_expression "*(code *)PTR_IsRightsAuthorized_003a8db0" * (cast_expression "(code *)PTR_IsRightsAuthorized_003a8db0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(4,1,mode)" ( number_literal , number_literal , identifier )))) ;) (if_statement "if (iVar5 == 0) {\n        puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n        *puVar6 = 1;\n        (*(code *)PTR_ThrowMagickException_003a8f20)\n                  (exception,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcd9,499,\n                   PTR_LAB_003a88e0 + 0x1e9c,PTR_LAB_003a88e0 + 0x3e28,mode);\n        MVar14 = MagickFalse;\n        goto LAB_00049c58;\n      }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n        puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n        *puVar6 = 1;\n        (*(code *)PTR_ThrowMagickException_003a8f20)\n                  (exception,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcd9,499,\n                   PTR_LAB_003a88e0 + 0x1e9c,PTR_LAB_003a88e0 + 0x3e28,mode);\n        MVar14 = MagickFalse;\n        goto LAB_00049c58;\n      }" { (expression_statement "puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();" (assignment_expression "puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_003a99b0)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_003a99b0)()" (parenthesized_expression "(*(code *)PTR___errno_location_003a99b0)" ( (pointer_expression "*(code *)PTR___errno_location_003a99b0" * (cast_expression "(code *)PTR___errno_location_003a99b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "*puVar6 = 1;" (assignment_expression "*puVar6 = 1" (pointer_expression "*puVar6" * identifier) = number_literal) ;) (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n                  (exception,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcd9,499,\n                   PTR_LAB_003a88e0 + 0x1e9c,PTR_LAB_003a88e0 + 0x3e28,mode);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n                  (exception,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcd9,499,\n                   PTR_LAB_003a88e0 + 0x1e9c,PTR_LAB_003a88e0 + 0x3e28,mode)" (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_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcd9,499,\n                   PTR_LAB_003a88e0 + 0x1e9c,PTR_LAB_003a88e0 + 0x3e28,mode)" ( identifier , (binary_expression "PTR_LAB_003a88e0 + 0x1ad8" identifier + number_literal) , (binary_expression "PTR_LAB_003a88e0 + 0x23cc" identifier + number_literal) , number_literal , number_literal , (binary_expression "PTR_LAB_003a88e0 + 0x1e9c" identifier + number_literal) , (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal) , identifier ))) ;) (expression_statement "MVar14 = MagickFalse;" (assignment_expression "MVar14 = MagickFalse" identifier = identifier) ;) (goto_statement "goto LAB_00049c58;" goto statement_identifier ;) })) (expression_statement "iVar5 = (*(code *)PTR_LocaleCompare_003a9110)(mode,PTR_s_courses_003a88ec + -0x7ac);" (assignment_expression "iVar5 = (*(code *)PTR_LocaleCompare_003a9110)(mode,PTR_s_courses_003a88ec + -0x7ac)" identifier = (call_expression "(*(code *)PTR_LocaleCompare_003a9110)(mode,PTR_s_courses_003a88ec + -0x7ac)" (parenthesized_expression "(*(code *)PTR_LocaleCompare_003a9110)" ( (pointer_expression "*(code *)PTR_LocaleCompare_003a9110" * (cast_expression "(code *)PTR_LocaleCompare_003a9110" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(mode,PTR_s_courses_003a88ec + -0x7ac)" ( identifier , (binary_expression "PTR_s_courses_003a88ec + -0x7ac" identifier + number_literal) )))) ;) (expression_statement "puVar2 = PTR_GetImageOption_003a9168;" (assignment_expression "puVar2 = PTR_GetImageOption_003a9168" identifier = identifier) ;) (expression_statement "puVar1 = PTR_LAB_003a88e0;" (assignment_expression "puVar1 = PTR_LAB_003a88e0" identifier = identifier) ;) (if_statement "if ((iVar5 == 0) || ((filename[0] == '\0' && (image_info->file == (FILE *)0x0)))) {\n        exception = (ExceptionInfo *)0x2;\n        unaff_s7->file_info = *(FileInfo *)PTR_stdin_003a8fc4;\n        unaff_s7->type = StandardStream;\n        unaff_s7->exempt = MagickTrue;\n        iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac);\n        if (iVar5 != 0) {\n          iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);\n          uVar7 = 2;\n          if (iVar5 != 0) {\n            uVar7 = 0;\n          }\n          pFVar8 = (image->blob->file_info).file;\n          goto LAB_00049fe8;\n        }\n      }\n      else {\n        iVar5 = (*(code *)PTR_LocaleNCompare_003a961c)(mode,PTR_LAB_003a88e0 + 0x1ec0,3);\n        if (iVar5 == 0) {\n          iVar5 = (*(code *)PTR_IsGeometry_003a9418)(filename + 3);\n          if (iVar5 != 0) {\n            fileMode[0] = 'r';\n            fileMode[1] = '\0';\n            uVar7 = (*(code *)PTR_strtol_003a954c)(filename + 3,0,10);\n            pFVar8 = (FILE *)(*(code *)PTR_fdopen_003a97d8)(uVar7,fileMode);\n            (unaff_s7->file_info).file = pFVar8;\n            puVar2 = PTR_GetImageOption_003a9168;\n            puVar1 = PTR_LAB_003a88e0;\n            if (pFVar8 != (FILE *)0x0) {\n              unaff_s7->type = FileStream;\n              unaff_s7->exempt = MagickTrue;\n              iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac);\n              if (iVar5 == 0) {\n                iVar5 = 0x4000;\n                pFVar8 = (image->blob->file_info).file;\n                uVar7 = 0;\n              }\n              else {\n                iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);\n                uVar7 = 2;\n                if (iVar5 != 0) {\n                  uVar7 = 0;\n                }\n                pFVar8 = (image->blob->file_info).file;\n              }\n              iVar5 = (*(code *)PTR_setvbuf_003a90f4)(pFVar8,0,uVar7,iVar5);\n              MVar14 = (MagickBooleanType)(iVar5 == 0);\n              goto LAB_00049c58;\n            }\n            puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (exception,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,mode,uVar7);\n            (*(code *)PTR_DestroyString_003a9074)(uVar7);\n            MVar14 = MagickFalse;\n            goto LAB_00049c58;\n          }\n        }\n        iVar5 = (*(code *)PTR_GetPathAttributes_003a9364)(mode,&unaff_s7->properties);\n        if ((iVar5 == 0) || (((unaff_s7->properties).st_mode & 0xf000) != 0x1000)) {\n          (*(code *)PTR_GetPathComponent_003a8e18)(unaff_s6,6,extension);\n          if (image_info->file != (FILE *)0x0) {\n            (unaff_s7->file_info).file = image_info->file;\n            unaff_s7->status = MagickFalse;\n            unaff_s7->type = FileStream;\n            unaff_s7->exempt = MagickTrue;\n            unaff_s7->error_number = 0;\n            goto LAB_00049e88;\n          }\n          pFVar8 = (FILE *)(*(code *)PTR_fopen64_003a8c68)(mode,unaff_s5);\n          (unaff_s7->file_info).file = pFVar8;\n          puVar2 = PTR_GetImageOption_003a9168;\n          puVar1 = PTR_LAB_003a88e0;\n          if (pFVar8 != (FILE *)0x0) {\n            unaff_s7->type = FileStream;\n            iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac);\n            if (iVar5 == 0) {\n              iVar5 = 0x4000;\n              iVar11 = 0;\n              pFVar8 = (image->blob->file_info).file;\n            }\n            else {\n              iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);\n              iVar11 = (uint)(iVar5 == 0) << 1;\n              pFVar8 = (image->blob->file_info).file;\n            }\n            (*(code *)PTR_setvbuf_003a90f4)(pFVar8,0,iVar11,iVar5);\n            fileMode[0] = '\0';\n            fileMode[1] = '\0';\n            fileMode[2] = '\0';\n            unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)(fileMode,1,3,(unaff_s7->file_info).file);\n            (*(code *)PTR_fseeko64_003a9944)((unaff_s7->file_info).file);\n            (*(code *)PTR_fflush_003a948c)((unaff_s7->file_info).file);\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0);\n            SVar9 = unaff_s7->type;\n            if (SVar9 != FileStream) goto LAB_0004a138;\n            uVar7 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(image_info->magick,uVar7)\n            ;\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar7);\n            if ((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar5 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar5 != 0)) &&\n                (unaff_s5 = *(undefined1 **)((int)&(unaff_s7->properties).st_size + 4),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar5 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar5 != 0)) {\n              uVar7 = (*(code *)PTR_fileno_003a99cc)((unaff_s7->file_info).file);\n              unaff_s6 = (char *)(*(code *)PTR_MapBlob_003a978c)(uVar7,0,0,0,unaff_s5);\n              if (unaff_s6 == (char *)0x0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                SVar9 = unaff_s7->type;\n                goto LAB_0004a138;\n              }\n              pcVar13 = (code *)PTR_fclose_003a939c;\n              if (image_info->file == (FILE *)0x0) goto LAB_0004a850;\n              unaff_s7->exempt = MagickFalse;\n              goto LAB_0004a650;\n            }\n          }\n          SVar9 = unaff_s7->type;\n          goto LAB_0004a138;\n        }\n        pFVar8 = (FILE *)(*(code *)PTR_fopen64_003a8c68)(mode,unaff_s5);\n        (unaff_s7->file_info).file = pFVar8;\n        puVar2 = PTR_GetImageOption_003a9168;\n        puVar1 = PTR_LAB_003a88e0;\n        if (pFVar8 == (FILE *)0x0) {\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);\n          uVar12 = 0xd23;\n          goto LAB_0004a16c;\n        }\n        unaff_s7->type = FileStream;\n        unaff_s7->exempt = MagickTrue;\n        iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac);\n        if (iVar5 != 0) {\n          iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);\n          uVar7 = 2;\n          if (iVar5 != 0) {\n            uVar7 = 0;\n          }\n          pFVar8 = (image->blob->file_info).file;\n          goto LAB_00049fe8;\n        }\n      }" if (parenthesized_expression "((iVar5 == 0) || ((filename[0] == '\0' && (image_info->file == (FILE *)0x0))))" ( (binary_expression "(iVar5 == 0) || ((filename[0] == '\0' && (image_info->file == (FILE *)0x0)))" (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) || (parenthesized_expression "((filename[0] == '\0' && (image_info->file == (FILE *)0x0)))" ( (parenthesized_expression "(filename[0] == '\0' && (image_info->file == (FILE *)0x0))" ( (binary_expression "filename[0] == '\0' && (image_info->file == (FILE *)0x0)" (binary_expression "filename[0] == '\0'" (subscript_expression "filename[0]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) && (parenthesized_expression "(image_info->file == (FILE *)0x0)" ( (binary_expression "image_info->file == (FILE *)0x0" (field_expression "image_info->file" identifier -> field_identifier) == (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ))) )) ))) )) (compound_statement "{\n        exception = (ExceptionInfo *)0x2;\n        unaff_s7->file_info = *(FileInfo *)PTR_stdin_003a8fc4;\n        unaff_s7->type = StandardStream;\n        unaff_s7->exempt = MagickTrue;\n        iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac);\n        if (iVar5 != 0) {\n          iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);\n          uVar7 = 2;\n          if (iVar5 != 0) {\n            uVar7 = 0;\n          }\n          pFVar8 = (image->blob->file_info).file;\n          goto LAB_00049fe8;\n        }\n      }" { (expression_statement "exception = (ExceptionInfo *)0x2;" (assignment_expression "exception = (ExceptionInfo *)0x2" identifier = (cast_expression "(ExceptionInfo *)0x2" ( (type_descriptor "ExceptionInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "unaff_s7->file_info = *(FileInfo *)PTR_stdin_003a8fc4;" (assignment_expression "unaff_s7->file_info = *(FileInfo *)PTR_stdin_003a8fc4" (field_expression "unaff_s7->file_info" identifier -> field_identifier) = (pointer_expression "*(FileInfo *)PTR_stdin_003a8fc4" * (cast_expression "(FileInfo *)PTR_stdin_003a8fc4" ( (type_descriptor "FileInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "unaff_s7->type = StandardStream;" (assignment_expression "unaff_s7->type = StandardStream" (field_expression "unaff_s7->type" identifier -> field_identifier) = identifier) ;) (expression_statement "unaff_s7->exempt = MagickTrue;" (assignment_expression "unaff_s7->exempt = MagickTrue" (field_expression "unaff_s7->exempt" identifier -> field_identifier) = identifier) ;) (expression_statement "iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac);" (assignment_expression "iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac)" identifier = (call_expression "(*(code *)puVar2)(image_info,puVar1 + 0x1eac)" (parenthesized_expression "(*(code *)puVar2)" ( (pointer_expression "*(code *)puVar2" * (cast_expression "(code *)puVar2" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(image_info,puVar1 + 0x1eac)" ( identifier , (binary_expression "puVar1 + 0x1eac" identifier + number_literal) )))) ;) (if_statement "if (iVar5 != 0) {\n          iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);\n          uVar7 = 2;\n          if (iVar5 != 0) {\n            uVar7 = 0;\n          }\n          pFVar8 = (image->blob->file_info).file;\n          goto LAB_00049fe8;\n        }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n          iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);\n          uVar7 = 2;\n          if (iVar5 != 0) {\n            uVar7 = 0;\n          }\n          pFVar8 = (image->blob->file_info).file;\n          goto LAB_00049fe8;\n        }" { (expression_statement "iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);" (assignment_expression "iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10)" identifier = (call_expression "(*(code *)PTR_strtoul_003a9340)(iVar5,0,10)" (parenthesized_expression "(*(code *)PTR_strtoul_003a9340)" ( (pointer_expression "*(code *)PTR_strtoul_003a9340" * (cast_expression "(code *)PTR_strtoul_003a9340" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar5,0,10)" ( identifier , number_literal , number_literal )))) ;) (expression_statement "uVar7 = 2;" (assignment_expression "uVar7 = 2" identifier = number_literal) ;) (if_statement "if (iVar5 != 0) {\n            uVar7 = 0;\n          }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n            uVar7 = 0;\n          }" { (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) })) (expression_statement "pFVar8 = (image->blob->file_info).file;" (assignment_expression "pFVar8 = (image->blob->file_info).file" identifier = (field_expression "(image->blob->file_info).file" (parenthesized_expression "(image->blob->file_info)" ( (field_expression "image->blob->file_info" (field_expression "image->blob" identifier -> field_identifier) -> field_identifier) )) . field_identifier)) ;) (goto_statement "goto LAB_00049fe8;" goto statement_identifier ;) })) }) (else_clause "else {\n        iVar5 = (*(code *)PTR_LocaleNCompare_003a961c)(mode,PTR_LAB_003a88e0 + 0x1ec0,3);\n        if (iVar5 == 0) {\n          iVar5 = (*(code *)PTR_IsGeometry_003a9418)(filename + 3);\n          if (iVar5 != 0) {\n            fileMode[0] = 'r';\n            fileMode[1] = '\0';\n            uVar7 = (*(code *)PTR_strtol_003a954c)(filename + 3,0,10);\n            pFVar8 = (FILE *)(*(code *)PTR_fdopen_003a97d8)(uVar7,fileMode);\n            (unaff_s7->file_info).file = pFVar8;\n            puVar2 = PTR_GetImageOption_003a9168;\n            puVar1 = PTR_LAB_003a88e0;\n            if (pFVar8 != (FILE *)0x0) {\n              unaff_s7->type = FileStream;\n              unaff_s7->exempt = MagickTrue;\n              iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac);\n              if (iVar5 == 0) {\n                iVar5 = 0x4000;\n                pFVar8 = (image->blob->file_info).file;\n                uVar7 = 0;\n              }\n              else {\n                iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);\n                uVar7 = 2;\n                if (iVar5 != 0) {\n                  uVar7 = 0;\n                }\n                pFVar8 = (image->blob->file_info).file;\n              }\n              iVar5 = (*(code *)PTR_setvbuf_003a90f4)(pFVar8,0,uVar7,iVar5);\n              MVar14 = (MagickBooleanType)(iVar5 == 0);\n              goto LAB_00049c58;\n            }\n            puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (exception,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,mode,uVar7);\n            (*(code *)PTR_DestroyString_003a9074)(uVar7);\n            MVar14 = MagickFalse;\n            goto LAB_00049c58;\n          }\n        }\n        iVar5 = (*(code *)PTR_GetPathAttributes_003a9364)(mode,&unaff_s7->properties);\n        if ((iVar5 == 0) || (((unaff_s7->properties).st_mode & 0xf000) != 0x1000)) {\n          (*(code *)PTR_GetPathComponent_003a8e18)(unaff_s6,6,extension);\n          if (image_info->file != (FILE *)0x0) {\n            (unaff_s7->file_info).file = image_info->file;\n            unaff_s7->status = MagickFalse;\n            unaff_s7->type = FileStream;\n            unaff_s7->exempt = MagickTrue;\n            unaff_s7->error_number = 0;\n            goto LAB_00049e88;\n          }\n          pFVar8 = (FILE *)(*(code *)PTR_fopen64_003a8c68)(mode,unaff_s5);\n          (unaff_s7->file_info).file = pFVar8;\n          puVar2 = PTR_GetImageOption_003a9168;\n          puVar1 = PTR_LAB_003a88e0;\n          if (pFVar8 != (FILE *)0x0) {\n            unaff_s7->type = FileStream;\n            iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac);\n            if (iVar5 == 0) {\n              iVar5 = 0x4000;\n              iVar11 = 0;\n              pFVar8 = (image->blob->file_info).file;\n            }\n            else {\n              iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);\n              iVar11 = (uint)(iVar5 == 0) << 1;\n              pFVar8 = (image->blob->file_info).file;\n            }\n            (*(code *)PTR_setvbuf_003a90f4)(pFVar8,0,iVar11,iVar5);\n            fileMode[0] = '\0';\n            fileMode[1] = '\0';\n            fileMode[2] = '\0';\n            unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)(fileMode,1,3,(unaff_s7->file_info).file);\n            (*(code *)PTR_fseeko64_003a9944)((unaff_s7->file_info).file);\n            (*(code *)PTR_fflush_003a948c)((unaff_s7->file_info).file);\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0);\n            SVar9 = unaff_s7->type;\n            if (SVar9 != FileStream) goto LAB_0004a138;\n            uVar7 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(image_info->magick,uVar7)\n            ;\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar7);\n            if ((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar5 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar5 != 0)) &&\n                (unaff_s5 = *(undefined1 **)((int)&(unaff_s7->properties).st_size + 4),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar5 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar5 != 0)) {\n              uVar7 = (*(code *)PTR_fileno_003a99cc)((unaff_s7->file_info).file);\n              unaff_s6 = (char *)(*(code *)PTR_MapBlob_003a978c)(uVar7,0,0,0,unaff_s5);\n              if (unaff_s6 == (char *)0x0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                SVar9 = unaff_s7->type;\n                goto LAB_0004a138;\n              }\n              pcVar13 = (code *)PTR_fclose_003a939c;\n              if (image_info->file == (FILE *)0x0) goto LAB_0004a850;\n              unaff_s7->exempt = MagickFalse;\n              goto LAB_0004a650;\n            }\n          }\n          SVar9 = unaff_s7->type;\n          goto LAB_0004a138;\n        }\n        pFVar8 = (FILE *)(*(code *)PTR_fopen64_003a8c68)(mode,unaff_s5);\n        (unaff_s7->file_info).file = pFVar8;\n        puVar2 = PTR_GetImageOption_003a9168;\n        puVar1 = PTR_LAB_003a88e0;\n        if (pFVar8 == (FILE *)0x0) {\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);\n          uVar12 = 0xd23;\n          goto LAB_0004a16c;\n        }\n        unaff_s7->type = FileStream;\n        unaff_s7->exempt = MagickTrue;\n        iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac);\n        if (iVar5 != 0) {\n          iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);\n          uVar7 = 2;\n          if (iVar5 != 0) {\n            uVar7 = 0;\n          }\n          pFVar8 = (image->blob->file_info).file;\n          goto LAB_00049fe8;\n        }\n      }" else (compound_statement "{\n        iVar5 = (*(code *)PTR_LocaleNCompare_003a961c)(mode,PTR_LAB_003a88e0 + 0x1ec0,3);\n        if (iVar5 == 0) {\n          iVar5 = (*(code *)PTR_IsGeometry_003a9418)(filename + 3);\n          if (iVar5 != 0) {\n            fileMode[0] = 'r';\n            fileMode[1] = '\0';\n            uVar7 = (*(code *)PTR_strtol_003a954c)(filename + 3,0,10);\n            pFVar8 = (FILE *)(*(code *)PTR_fdopen_003a97d8)(uVar7,fileMode);\n            (unaff_s7->file_info).file = pFVar8;\n            puVar2 = PTR_GetImageOption_003a9168;\n            puVar1 = PTR_LAB_003a88e0;\n            if (pFVar8 != (FILE *)0x0) {\n              unaff_s7->type = FileStream;\n              unaff_s7->exempt = MagickTrue;\n              iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac);\n              if (iVar5 == 0) {\n                iVar5 = 0x4000;\n                pFVar8 = (image->blob->file_info).file;\n                uVar7 = 0;\n              }\n              else {\n                iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);\n                uVar7 = 2;\n                if (iVar5 != 0) {\n                  uVar7 = 0;\n                }\n                pFVar8 = (image->blob->file_info).file;\n              }\n              iVar5 = (*(code *)PTR_setvbuf_003a90f4)(pFVar8,0,uVar7,iVar5);\n              MVar14 = (MagickBooleanType)(iVar5 == 0);\n              goto LAB_00049c58;\n            }\n            puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (exception,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,mode,uVar7);\n            (*(code *)PTR_DestroyString_003a9074)(uVar7);\n            MVar14 = MagickFalse;\n            goto LAB_00049c58;\n          }\n        }\n        iVar5 = (*(code *)PTR_GetPathAttributes_003a9364)(mode,&unaff_s7->properties);\n        if ((iVar5 == 0) || (((unaff_s7->properties).st_mode & 0xf000) != 0x1000)) {\n          (*(code *)PTR_GetPathComponent_003a8e18)(unaff_s6,6,extension);\n          if (image_info->file != (FILE *)0x0) {\n            (unaff_s7->file_info).file = image_info->file;\n            unaff_s7->status = MagickFalse;\n            unaff_s7->type = FileStream;\n            unaff_s7->exempt = MagickTrue;\n            unaff_s7->error_number = 0;\n            goto LAB_00049e88;\n          }\n          pFVar8 = (FILE *)(*(code *)PTR_fopen64_003a8c68)(mode,unaff_s5);\n          (unaff_s7->file_info).file = pFVar8;\n          puVar2 = PTR_GetImageOption_003a9168;\n          puVar1 = PTR_LAB_003a88e0;\n          if (pFVar8 != (FILE *)0x0) {\n            unaff_s7->type = FileStream;\n            iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac);\n            if (iVar5 == 0) {\n              iVar5 = 0x4000;\n              iVar11 = 0;\n              pFVar8 = (image->blob->file_info).file;\n            }\n            else {\n              iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);\n              iVar11 = (uint)(iVar5 == 0) << 1;\n              pFVar8 = (image->blob->file_info).file;\n            }\n            (*(code *)PTR_setvbuf_003a90f4)(pFVar8,0,iVar11,iVar5);\n            fileMode[0] = '\0';\n            fileMode[1] = '\0';\n            fileMode[2] = '\0';\n            unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)(fileMode,1,3,(unaff_s7->file_info).file);\n            (*(code *)PTR_fseeko64_003a9944)((unaff_s7->file_info).file);\n            (*(code *)PTR_fflush_003a948c)((unaff_s7->file_info).file);\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0);\n            SVar9 = unaff_s7->type;\n            if (SVar9 != FileStream) goto LAB_0004a138;\n            uVar7 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(image_info->magick,uVar7)\n            ;\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar7);\n            if ((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar5 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar5 != 0)) &&\n                (unaff_s5 = *(undefined1 **)((int)&(unaff_s7->properties).st_size + 4),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar5 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar5 != 0)) {\n              uVar7 = (*(code *)PTR_fileno_003a99cc)((unaff_s7->file_info).file);\n              unaff_s6 = (char *)(*(code *)PTR_MapBlob_003a978c)(uVar7,0,0,0,unaff_s5);\n              if (unaff_s6 == (char *)0x0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                SVar9 = unaff_s7->type;\n                goto LAB_0004a138;\n              }\n              pcVar13 = (code *)PTR_fclose_003a939c;\n              if (image_info->file == (FILE *)0x0) goto LAB_0004a850;\n              unaff_s7->exempt = MagickFalse;\n              goto LAB_0004a650;\n            }\n          }\n          SVar9 = unaff_s7->type;\n          goto LAB_0004a138;\n        }\n        pFVar8 = (FILE *)(*(code *)PTR_fopen64_003a8c68)(mode,unaff_s5);\n        (unaff_s7->file_info).file = pFVar8;\n        puVar2 = PTR_GetImageOption_003a9168;\n        puVar1 = PTR_LAB_003a88e0;\n        if (pFVar8 == (FILE *)0x0) {\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);\n          uVar12 = 0xd23;\n          goto LAB_0004a16c;\n        }\n        unaff_s7->type = FileStream;\n        unaff_s7->exempt = MagickTrue;\n        iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac);\n        if (iVar5 != 0) {\n          iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);\n          uVar7 = 2;\n          if (iVar5 != 0) {\n            uVar7 = 0;\n          }\n          pFVar8 = (image->blob->file_info).file;\n          goto LAB_00049fe8;\n        }\n      }" { (expression_statement "iVar5 = (*(code *)PTR_LocaleNCompare_003a961c)(mode,PTR_LAB_003a88e0 + 0x1ec0,3);" (assignment_expression "iVar5 = (*(code *)PTR_LocaleNCompare_003a961c)(mode,PTR_LAB_003a88e0 + 0x1ec0,3)" identifier = (call_expression "(*(code *)PTR_LocaleNCompare_003a961c)(mode,PTR_LAB_003a88e0 + 0x1ec0,3)" (parenthesized_expression "(*(code *)PTR_LocaleNCompare_003a961c)" ( (pointer_expression "*(code *)PTR_LocaleNCompare_003a961c" * (cast_expression "(code *)PTR_LocaleNCompare_003a961c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(mode,PTR_LAB_003a88e0 + 0x1ec0,3)" ( identifier , (binary_expression "PTR_LAB_003a88e0 + 0x1ec0" identifier + number_literal) , number_literal )))) ;) (if_statement "if (iVar5 == 0) {\n          iVar5 = (*(code *)PTR_IsGeometry_003a9418)(filename + 3);\n          if (iVar5 != 0) {\n            fileMode[0] = 'r';\n            fileMode[1] = '\0';\n            uVar7 = (*(code *)PTR_strtol_003a954c)(filename + 3,0,10);\n            pFVar8 = (FILE *)(*(code *)PTR_fdopen_003a97d8)(uVar7,fileMode);\n            (unaff_s7->file_info).file = pFVar8;\n            puVar2 = PTR_GetImageOption_003a9168;\n            puVar1 = PTR_LAB_003a88e0;\n            if (pFVar8 != (FILE *)0x0) {\n              unaff_s7->type = FileStream;\n              unaff_s7->exempt = MagickTrue;\n              iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac);\n              if (iVar5 == 0) {\n                iVar5 = 0x4000;\n                pFVar8 = (image->blob->file_info).file;\n                uVar7 = 0;\n              }\n              else {\n                iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);\n                uVar7 = 2;\n                if (iVar5 != 0) {\n                  uVar7 = 0;\n                }\n                pFVar8 = (image->blob->file_info).file;\n              }\n              iVar5 = (*(code *)PTR_setvbuf_003a90f4)(pFVar8,0,uVar7,iVar5);\n              MVar14 = (MagickBooleanType)(iVar5 == 0);\n              goto LAB_00049c58;\n            }\n            puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (exception,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,mode,uVar7);\n            (*(code *)PTR_DestroyString_003a9074)(uVar7);\n            MVar14 = MagickFalse;\n            goto LAB_00049c58;\n          }\n        }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n          iVar5 = (*(code *)PTR_IsGeometry_003a9418)(filename + 3);\n          if (iVar5 != 0) {\n            fileMode[0] = 'r';\n            fileMode[1] = '\0';\n            uVar7 = (*(code *)PTR_strtol_003a954c)(filename + 3,0,10);\n            pFVar8 = (FILE *)(*(code *)PTR_fdopen_003a97d8)(uVar7,fileMode);\n            (unaff_s7->file_info).file = pFVar8;\n            puVar2 = PTR_GetImageOption_003a9168;\n            puVar1 = PTR_LAB_003a88e0;\n            if (pFVar8 != (FILE *)0x0) {\n              unaff_s7->type = FileStream;\n              unaff_s7->exempt = MagickTrue;\n              iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac);\n              if (iVar5 == 0) {\n                iVar5 = 0x4000;\n                pFVar8 = (image->blob->file_info).file;\n                uVar7 = 0;\n              }\n              else {\n                iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);\n                uVar7 = 2;\n                if (iVar5 != 0) {\n                  uVar7 = 0;\n                }\n                pFVar8 = (image->blob->file_info).file;\n              }\n              iVar5 = (*(code *)PTR_setvbuf_003a90f4)(pFVar8,0,uVar7,iVar5);\n              MVar14 = (MagickBooleanType)(iVar5 == 0);\n              goto LAB_00049c58;\n            }\n            puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (exception,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,mode,uVar7);\n            (*(code *)PTR_DestroyString_003a9074)(uVar7);\n            MVar14 = MagickFalse;\n            goto LAB_00049c58;\n          }\n        }" { (expression_statement "iVar5 = (*(code *)PTR_IsGeometry_003a9418)(filename + 3);" (assignment_expression "iVar5 = (*(code *)PTR_IsGeometry_003a9418)(filename + 3)" identifier = (call_expression "(*(code *)PTR_IsGeometry_003a9418)(filename + 3)" (parenthesized_expression "(*(code *)PTR_IsGeometry_003a9418)" ( (pointer_expression "*(code *)PTR_IsGeometry_003a9418" * (cast_expression "(code *)PTR_IsGeometry_003a9418" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(filename + 3)" ( (binary_expression "filename + 3" identifier + number_literal) )))) ;) (if_statement "if (iVar5 != 0) {\n            fileMode[0] = 'r';\n            fileMode[1] = '\0';\n            uVar7 = (*(code *)PTR_strtol_003a954c)(filename + 3,0,10);\n            pFVar8 = (FILE *)(*(code *)PTR_fdopen_003a97d8)(uVar7,fileMode);\n            (unaff_s7->file_info).file = pFVar8;\n            puVar2 = PTR_GetImageOption_003a9168;\n            puVar1 = PTR_LAB_003a88e0;\n            if (pFVar8 != (FILE *)0x0) {\n              unaff_s7->type = FileStream;\n              unaff_s7->exempt = MagickTrue;\n              iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac);\n              if (iVar5 == 0) {\n                iVar5 = 0x4000;\n                pFVar8 = (image->blob->file_info).file;\n                uVar7 = 0;\n              }\n              else {\n                iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);\n                uVar7 = 2;\n                if (iVar5 != 0) {\n                  uVar7 = 0;\n                }\n                pFVar8 = (image->blob->file_info).file;\n              }\n              iVar5 = (*(code *)PTR_setvbuf_003a90f4)(pFVar8,0,uVar7,iVar5);\n              MVar14 = (MagickBooleanType)(iVar5 == 0);\n              goto LAB_00049c58;\n            }\n            puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (exception,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,mode,uVar7);\n            (*(code *)PTR_DestroyString_003a9074)(uVar7);\n            MVar14 = MagickFalse;\n            goto LAB_00049c58;\n          }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n            fileMode[0] = 'r';\n            fileMode[1] = '\0';\n            uVar7 = (*(code *)PTR_strtol_003a954c)(filename + 3,0,10);\n            pFVar8 = (FILE *)(*(code *)PTR_fdopen_003a97d8)(uVar7,fileMode);\n            (unaff_s7->file_info).file = pFVar8;\n            puVar2 = PTR_GetImageOption_003a9168;\n            puVar1 = PTR_LAB_003a88e0;\n            if (pFVar8 != (FILE *)0x0) {\n              unaff_s7->type = FileStream;\n              unaff_s7->exempt = MagickTrue;\n              iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac);\n              if (iVar5 == 0) {\n                iVar5 = 0x4000;\n                pFVar8 = (image->blob->file_info).file;\n                uVar7 = 0;\n              }\n              else {\n                iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);\n                uVar7 = 2;\n                if (iVar5 != 0) {\n                  uVar7 = 0;\n                }\n                pFVar8 = (image->blob->file_info).file;\n              }\n              iVar5 = (*(code *)PTR_setvbuf_003a90f4)(pFVar8,0,uVar7,iVar5);\n              MVar14 = (MagickBooleanType)(iVar5 == 0);\n              goto LAB_00049c58;\n            }\n            puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (exception,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,mode,uVar7);\n            (*(code *)PTR_DestroyString_003a9074)(uVar7);\n            MVar14 = MagickFalse;\n            goto LAB_00049c58;\n          }" { (expression_statement "fileMode[0] = 'r';" (assignment_expression "fileMode[0] = 'r'" (subscript_expression "fileMode[0]" identifier [ number_literal ]) = (char_literal "'r'" ' character ')) ;) (expression_statement "fileMode[1] = '\0';" (assignment_expression "fileMode[1] = '\0'" (subscript_expression "fileMode[1]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "uVar7 = (*(code *)PTR_strtol_003a954c)(filename + 3,0,10);" (assignment_expression "uVar7 = (*(code *)PTR_strtol_003a954c)(filename + 3,0,10)" identifier = (call_expression "(*(code *)PTR_strtol_003a954c)(filename + 3,0,10)" (parenthesized_expression "(*(code *)PTR_strtol_003a954c)" ( (pointer_expression "*(code *)PTR_strtol_003a954c" * (cast_expression "(code *)PTR_strtol_003a954c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(filename + 3,0,10)" ( (binary_expression "filename + 3" identifier + number_literal) , number_literal , number_literal )))) ;) (expression_statement "pFVar8 = (FILE *)(*(code *)PTR_fdopen_003a97d8)(uVar7,fileMode);" (assignment_expression "pFVar8 = (FILE *)(*(code *)PTR_fdopen_003a97d8)(uVar7,fileMode)" identifier = (cast_expression "(FILE *)(*(code *)PTR_fdopen_003a97d8)(uVar7,fileMode)" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_fdopen_003a97d8)(uVar7,fileMode)" (parenthesized_expression "(*(code *)PTR_fdopen_003a97d8)" ( (pointer_expression "*(code *)PTR_fdopen_003a97d8" * (cast_expression "(code *)PTR_fdopen_003a97d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar7,fileMode)" ( identifier , identifier ))))) ;) (expression_statement "(unaff_s7->file_info).file = pFVar8;" (assignment_expression "(unaff_s7->file_info).file = pFVar8" (field_expression "(unaff_s7->file_info).file" (parenthesized_expression "(unaff_s7->file_info)" ( (field_expression "unaff_s7->file_info" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "puVar2 = PTR_GetImageOption_003a9168;" (assignment_expression "puVar2 = PTR_GetImageOption_003a9168" identifier = identifier) ;) (expression_statement "puVar1 = PTR_LAB_003a88e0;" (assignment_expression "puVar1 = PTR_LAB_003a88e0" identifier = identifier) ;) (if_statement "if (pFVar8 != (FILE *)0x0) {\n              unaff_s7->type = FileStream;\n              unaff_s7->exempt = MagickTrue;\n              iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac);\n              if (iVar5 == 0) {\n                iVar5 = 0x4000;\n                pFVar8 = (image->blob->file_info).file;\n                uVar7 = 0;\n              }\n              else {\n                iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);\n                uVar7 = 2;\n                if (iVar5 != 0) {\n                  uVar7 = 0;\n                }\n                pFVar8 = (image->blob->file_info).file;\n              }\n              iVar5 = (*(code *)PTR_setvbuf_003a90f4)(pFVar8,0,uVar7,iVar5);\n              MVar14 = (MagickBooleanType)(iVar5 == 0);\n              goto LAB_00049c58;\n            }" if (parenthesized_expression "(pFVar8 != (FILE *)0x0)" ( (binary_expression "pFVar8 != (FILE *)0x0" identifier != (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              unaff_s7->type = FileStream;\n              unaff_s7->exempt = MagickTrue;\n              iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac);\n              if (iVar5 == 0) {\n                iVar5 = 0x4000;\n                pFVar8 = (image->blob->file_info).file;\n                uVar7 = 0;\n              }\n              else {\n                iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);\n                uVar7 = 2;\n                if (iVar5 != 0) {\n                  uVar7 = 0;\n                }\n                pFVar8 = (image->blob->file_info).file;\n              }\n              iVar5 = (*(code *)PTR_setvbuf_003a90f4)(pFVar8,0,uVar7,iVar5);\n              MVar14 = (MagickBooleanType)(iVar5 == 0);\n              goto LAB_00049c58;\n            }" { (expression_statement "unaff_s7->type = FileStream;" (assignment_expression "unaff_s7->type = FileStream" (field_expression "unaff_s7->type" identifier -> field_identifier) = identifier) ;) (expression_statement "unaff_s7->exempt = MagickTrue;" (assignment_expression "unaff_s7->exempt = MagickTrue" (field_expression "unaff_s7->exempt" identifier -> field_identifier) = identifier) ;) (expression_statement "iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac);" (assignment_expression "iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac)" identifier = (call_expression "(*(code *)puVar2)(image_info,puVar1 + 0x1eac)" (parenthesized_expression "(*(code *)puVar2)" ( (pointer_expression "*(code *)puVar2" * (cast_expression "(code *)puVar2" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(image_info,puVar1 + 0x1eac)" ( identifier , (binary_expression "puVar1 + 0x1eac" identifier + number_literal) )))) ;) (if_statement "if (iVar5 == 0) {\n                iVar5 = 0x4000;\n                pFVar8 = (image->blob->file_info).file;\n                uVar7 = 0;\n              }\n              else {\n                iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);\n                uVar7 = 2;\n                if (iVar5 != 0) {\n                  uVar7 = 0;\n                }\n                pFVar8 = (image->blob->file_info).file;\n              }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n                iVar5 = 0x4000;\n                pFVar8 = (image->blob->file_info).file;\n                uVar7 = 0;\n              }" { (expression_statement "iVar5 = 0x4000;" (assignment_expression "iVar5 = 0x4000" identifier = number_literal) ;) (expression_statement "pFVar8 = (image->blob->file_info).file;" (assignment_expression "pFVar8 = (image->blob->file_info).file" identifier = (field_expression "(image->blob->file_info).file" (parenthesized_expression "(image->blob->file_info)" ( (field_expression "image->blob->file_info" (field_expression "image->blob" identifier -> field_identifier) -> field_identifier) )) . field_identifier)) ;) (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) }) (else_clause "else {\n                iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);\n                uVar7 = 2;\n                if (iVar5 != 0) {\n                  uVar7 = 0;\n                }\n                pFVar8 = (image->blob->file_info).file;\n              }" else (compound_statement "{\n                iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);\n                uVar7 = 2;\n                if (iVar5 != 0) {\n                  uVar7 = 0;\n                }\n                pFVar8 = (image->blob->file_info).file;\n              }" { (expression_statement "iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);" (assignment_expression "iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10)" identifier = (call_expression "(*(code *)PTR_strtoul_003a9340)(iVar5,0,10)" (parenthesized_expression "(*(code *)PTR_strtoul_003a9340)" ( (pointer_expression "*(code *)PTR_strtoul_003a9340" * (cast_expression "(code *)PTR_strtoul_003a9340" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar5,0,10)" ( identifier , number_literal , number_literal )))) ;) (expression_statement "uVar7 = 2;" (assignment_expression "uVar7 = 2" identifier = number_literal) ;) (if_statement "if (iVar5 != 0) {\n                  uVar7 = 0;\n                }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n                  uVar7 = 0;\n                }" { (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) })) (expression_statement "pFVar8 = (image->blob->file_info).file;" (assignment_expression "pFVar8 = (image->blob->file_info).file" identifier = (field_expression "(image->blob->file_info).file" (parenthesized_expression "(image->blob->file_info)" ( (field_expression "image->blob->file_info" (field_expression "image->blob" identifier -> field_identifier) -> field_identifier) )) . field_identifier)) ;) }))) (expression_statement "iVar5 = (*(code *)PTR_setvbuf_003a90f4)(pFVar8,0,uVar7,iVar5);" (assignment_expression "iVar5 = (*(code *)PTR_setvbuf_003a90f4)(pFVar8,0,uVar7,iVar5)" identifier = (call_expression "(*(code *)PTR_setvbuf_003a90f4)(pFVar8,0,uVar7,iVar5)" (parenthesized_expression "(*(code *)PTR_setvbuf_003a90f4)" ( (pointer_expression "*(code *)PTR_setvbuf_003a90f4" * (cast_expression "(code *)PTR_setvbuf_003a90f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pFVar8,0,uVar7,iVar5)" ( identifier , number_literal , identifier , identifier )))) ;) (expression_statement "MVar14 = (MagickBooleanType)(iVar5 == 0);" (assignment_expression "MVar14 = (MagickBooleanType)(iVar5 == 0)" identifier = (call_expression "(MagickBooleanType)(iVar5 == 0)" (parenthesized_expression "(MagickBooleanType)" ( identifier )) (argument_list "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )))) ;) (goto_statement "goto LAB_00049c58;" goto statement_identifier ;) })) (expression_statement "puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();" (assignment_expression "puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_003a99b0)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_003a99b0)()" (parenthesized_expression "(*(code *)PTR___errno_location_003a99b0)" ( (pointer_expression "*(code *)PTR___errno_location_003a99b0" * (cast_expression "(code *)PTR___errno_location_003a99b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);" (assignment_expression "uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6)" identifier = (call_expression "(*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6)" (parenthesized_expression "(*(code *)PTR_GetExceptionMessage_003a93ec)" ( (pointer_expression "*(code *)PTR_GetExceptionMessage_003a93ec" * (cast_expression "(code *)PTR_GetExceptionMessage_003a93ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*puVar6)" ( (pointer_expression "*puVar6" * identifier) )))) ;) (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n                      (exception,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,mode,uVar7);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n                      (exception,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,mode,uVar7)" (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_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,mode,uVar7)" ( identifier , (binary_expression "PTR_LAB_003a88e0 + 0x1ad8" identifier + number_literal) , (binary_expression "PTR_LAB_003a88e0 + 0x23cc" identifier + number_literal) , number_literal , number_literal , (binary_expression "PTR_LAB_003a88e0 + 0x1ec4" identifier + number_literal) , (binary_expression "PTR_LAB_003a88e0 + 0xe78" identifier + number_literal) , identifier , identifier ))) ;) (expression_statement "(*(code *)PTR_DestroyString_003a9074)(uVar7);" (call_expression "(*(code *)PTR_DestroyString_003a9074)(uVar7)" (parenthesized_expression "(*(code *)PTR_DestroyString_003a9074)" ( (pointer_expression "*(code *)PTR_DestroyString_003a9074" * (cast_expression "(code *)PTR_DestroyString_003a9074" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar7)" ( identifier ))) ;) (expression_statement "MVar14 = MagickFalse;" (assignment_expression "MVar14 = MagickFalse" identifier = identifier) ;) (goto_statement "goto LAB_00049c58;" goto statement_identifier ;) })) })) (expression_statement "iVar5 = (*(code *)PTR_GetPathAttributes_003a9364)(mode,&unaff_s7->properties);" (assignment_expression "iVar5 = (*(code *)PTR_GetPathAttributes_003a9364)(mode,&unaff_s7->properties)" identifier = (call_expression "(*(code *)PTR_GetPathAttributes_003a9364)(mode,&unaff_s7->properties)" (parenthesized_expression "(*(code *)PTR_GetPathAttributes_003a9364)" ( (pointer_expression "*(code *)PTR_GetPathAttributes_003a9364" * (cast_expression "(code *)PTR_GetPathAttributes_003a9364" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(mode,&unaff_s7->properties)" ( identifier , (pointer_expression "&unaff_s7->properties" & (field_expression "unaff_s7->properties" identifier -> field_identifier)) )))) ;) (if_statement "if ((iVar5 == 0) || (((unaff_s7->properties).st_mode & 0xf000) != 0x1000)) {\n          (*(code *)PTR_GetPathComponent_003a8e18)(unaff_s6,6,extension);\n          if (image_info->file != (FILE *)0x0) {\n            (unaff_s7->file_info).file = image_info->file;\n            unaff_s7->status = MagickFalse;\n            unaff_s7->type = FileStream;\n            unaff_s7->exempt = MagickTrue;\n            unaff_s7->error_number = 0;\n            goto LAB_00049e88;\n          }\n          pFVar8 = (FILE *)(*(code *)PTR_fopen64_003a8c68)(mode,unaff_s5);\n          (unaff_s7->file_info).file = pFVar8;\n          puVar2 = PTR_GetImageOption_003a9168;\n          puVar1 = PTR_LAB_003a88e0;\n          if (pFVar8 != (FILE *)0x0) {\n            unaff_s7->type = FileStream;\n            iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac);\n            if (iVar5 == 0) {\n              iVar5 = 0x4000;\n              iVar11 = 0;\n              pFVar8 = (image->blob->file_info).file;\n            }\n            else {\n              iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);\n              iVar11 = (uint)(iVar5 == 0) << 1;\n              pFVar8 = (image->blob->file_info).file;\n            }\n            (*(code *)PTR_setvbuf_003a90f4)(pFVar8,0,iVar11,iVar5);\n            fileMode[0] = '\0';\n            fileMode[1] = '\0';\n            fileMode[2] = '\0';\n            unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)(fileMode,1,3,(unaff_s7->file_info).file);\n            (*(code *)PTR_fseeko64_003a9944)((unaff_s7->file_info).file);\n            (*(code *)PTR_fflush_003a948c)((unaff_s7->file_info).file);\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0);\n            SVar9 = unaff_s7->type;\n            if (SVar9 != FileStream) goto LAB_0004a138;\n            uVar7 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(image_info->magick,uVar7)\n            ;\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar7);\n            if ((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar5 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar5 != 0)) &&\n                (unaff_s5 = *(undefined1 **)((int)&(unaff_s7->properties).st_size + 4),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar5 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar5 != 0)) {\n              uVar7 = (*(code *)PTR_fileno_003a99cc)((unaff_s7->file_info).file);\n              unaff_s6 = (char *)(*(code *)PTR_MapBlob_003a978c)(uVar7,0,0,0,unaff_s5);\n              if (unaff_s6 == (char *)0x0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                SVar9 = unaff_s7->type;\n                goto LAB_0004a138;\n              }\n              pcVar13 = (code *)PTR_fclose_003a939c;\n              if (image_info->file == (FILE *)0x0) goto LAB_0004a850;\n              unaff_s7->exempt = MagickFalse;\n              goto LAB_0004a650;\n            }\n          }\n          SVar9 = unaff_s7->type;\n          goto LAB_0004a138;\n        }" if (parenthesized_expression "((iVar5 == 0) || (((unaff_s7->properties).st_mode & 0xf000) != 0x1000))" ( (binary_expression "(iVar5 == 0) || (((unaff_s7->properties).st_mode & 0xf000) != 0x1000)" (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) || (parenthesized_expression "(((unaff_s7->properties).st_mode & 0xf000) != 0x1000)" ( (binary_expression "((unaff_s7->properties).st_mode & 0xf000) != 0x1000" (parenthesized_expression "((unaff_s7->properties).st_mode & 0xf000)" ( (binary_expression "(unaff_s7->properties).st_mode & 0xf000" (field_expression "(unaff_s7->properties).st_mode" (parenthesized_expression "(unaff_s7->properties)" ( (field_expression "unaff_s7->properties" identifier -> field_identifier) )) . field_identifier) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n          (*(code *)PTR_GetPathComponent_003a8e18)(unaff_s6,6,extension);\n          if (image_info->file != (FILE *)0x0) {\n            (unaff_s7->file_info).file = image_info->file;\n            unaff_s7->status = MagickFalse;\n            unaff_s7->type = FileStream;\n            unaff_s7->exempt = MagickTrue;\n            unaff_s7->error_number = 0;\n            goto LAB_00049e88;\n          }\n          pFVar8 = (FILE *)(*(code *)PTR_fopen64_003a8c68)(mode,unaff_s5);\n          (unaff_s7->file_info).file = pFVar8;\n          puVar2 = PTR_GetImageOption_003a9168;\n          puVar1 = PTR_LAB_003a88e0;\n          if (pFVar8 != (FILE *)0x0) {\n            unaff_s7->type = FileStream;\n            iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac);\n            if (iVar5 == 0) {\n              iVar5 = 0x4000;\n              iVar11 = 0;\n              pFVar8 = (image->blob->file_info).file;\n            }\n            else {\n              iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);\n              iVar11 = (uint)(iVar5 == 0) << 1;\n              pFVar8 = (image->blob->file_info).file;\n            }\n            (*(code *)PTR_setvbuf_003a90f4)(pFVar8,0,iVar11,iVar5);\n            fileMode[0] = '\0';\n            fileMode[1] = '\0';\n            fileMode[2] = '\0';\n            unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)(fileMode,1,3,(unaff_s7->file_info).file);\n            (*(code *)PTR_fseeko64_003a9944)((unaff_s7->file_info).file);\n            (*(code *)PTR_fflush_003a948c)((unaff_s7->file_info).file);\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0);\n            SVar9 = unaff_s7->type;\n            if (SVar9 != FileStream) goto LAB_0004a138;\n            uVar7 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(image_info->magick,uVar7)\n            ;\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar7);\n            if ((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar5 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar5 != 0)) &&\n                (unaff_s5 = *(undefined1 **)((int)&(unaff_s7->properties).st_size + 4),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar5 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar5 != 0)) {\n              uVar7 = (*(code *)PTR_fileno_003a99cc)((unaff_s7->file_info).file);\n              unaff_s6 = (char *)(*(code *)PTR_MapBlob_003a978c)(uVar7,0,0,0,unaff_s5);\n              if (unaff_s6 == (char *)0x0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                SVar9 = unaff_s7->type;\n                goto LAB_0004a138;\n              }\n              pcVar13 = (code *)PTR_fclose_003a939c;\n              if (image_info->file == (FILE *)0x0) goto LAB_0004a850;\n              unaff_s7->exempt = MagickFalse;\n              goto LAB_0004a650;\n            }\n          }\n          SVar9 = unaff_s7->type;\n          goto LAB_0004a138;\n        }" { (expression_statement "(*(code *)PTR_GetPathComponent_003a8e18)(unaff_s6,6,extension);" (call_expression "(*(code *)PTR_GetPathComponent_003a8e18)(unaff_s6,6,extension)" (parenthesized_expression "(*(code *)PTR_GetPathComponent_003a8e18)" ( (pointer_expression "*(code *)PTR_GetPathComponent_003a8e18" * (cast_expression "(code *)PTR_GetPathComponent_003a8e18" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s6,6,extension)" ( identifier , number_literal , identifier ))) ;) (if_statement "if (image_info->file != (FILE *)0x0) {\n            (unaff_s7->file_info).file = image_info->file;\n            unaff_s7->status = MagickFalse;\n            unaff_s7->type = FileStream;\n            unaff_s7->exempt = MagickTrue;\n            unaff_s7->error_number = 0;\n            goto LAB_00049e88;\n          }" if (parenthesized_expression "(image_info->file != (FILE *)0x0)" ( (binary_expression "image_info->file != (FILE *)0x0" (field_expression "image_info->file" identifier -> field_identifier) != (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (unaff_s7->file_info).file = image_info->file;\n            unaff_s7->status = MagickFalse;\n            unaff_s7->type = FileStream;\n            unaff_s7->exempt = MagickTrue;\n            unaff_s7->error_number = 0;\n            goto LAB_00049e88;\n          }" { (expression_statement "(unaff_s7->file_info).file = image_info->file;" (assignment_expression "(unaff_s7->file_info).file = image_info->file" (field_expression "(unaff_s7->file_info).file" (parenthesized_expression "(unaff_s7->file_info)" ( (field_expression "unaff_s7->file_info" identifier -> field_identifier) )) . field_identifier) = (field_expression "image_info->file" identifier -> field_identifier)) ;) (expression_statement "unaff_s7->status = MagickFalse;" (assignment_expression "unaff_s7->status = MagickFalse" (field_expression "unaff_s7->status" identifier -> field_identifier) = identifier) ;) (expression_statement "unaff_s7->type = FileStream;" (assignment_expression "unaff_s7->type = FileStream" (field_expression "unaff_s7->type" identifier -> field_identifier) = identifier) ;) (expression_statement "unaff_s7->exempt = MagickTrue;" (assignment_expression "unaff_s7->exempt = MagickTrue" (field_expression "unaff_s7->exempt" identifier -> field_identifier) = identifier) ;) (expression_statement "unaff_s7->error_number = 0;" (assignment_expression "unaff_s7->error_number = 0" (field_expression "unaff_s7->error_number" identifier -> field_identifier) = number_literal) ;) (goto_statement "goto LAB_00049e88;" goto statement_identifier ;) })) (expression_statement "pFVar8 = (FILE *)(*(code *)PTR_fopen64_003a8c68)(mode,unaff_s5);" (assignment_expression "pFVar8 = (FILE *)(*(code *)PTR_fopen64_003a8c68)(mode,unaff_s5)" identifier = (cast_expression "(FILE *)(*(code *)PTR_fopen64_003a8c68)(mode,unaff_s5)" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_fopen64_003a8c68)(mode,unaff_s5)" (parenthesized_expression "(*(code *)PTR_fopen64_003a8c68)" ( (pointer_expression "*(code *)PTR_fopen64_003a8c68" * (cast_expression "(code *)PTR_fopen64_003a8c68" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(mode,unaff_s5)" ( identifier , identifier ))))) ;) (expression_statement "(unaff_s7->file_info).file = pFVar8;" (assignment_expression "(unaff_s7->file_info).file = pFVar8" (field_expression "(unaff_s7->file_info).file" (parenthesized_expression "(unaff_s7->file_info)" ( (field_expression "unaff_s7->file_info" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "puVar2 = PTR_GetImageOption_003a9168;" (assignment_expression "puVar2 = PTR_GetImageOption_003a9168" identifier = identifier) ;) (expression_statement "puVar1 = PTR_LAB_003a88e0;" (assignment_expression "puVar1 = PTR_LAB_003a88e0" identifier = identifier) ;) (if_statement "if (pFVar8 != (FILE *)0x0) {\n            unaff_s7->type = FileStream;\n            iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac);\n            if (iVar5 == 0) {\n              iVar5 = 0x4000;\n              iVar11 = 0;\n              pFVar8 = (image->blob->file_info).file;\n            }\n            else {\n              iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);\n              iVar11 = (uint)(iVar5 == 0) << 1;\n              pFVar8 = (image->blob->file_info).file;\n            }\n            (*(code *)PTR_setvbuf_003a90f4)(pFVar8,0,iVar11,iVar5);\n            fileMode[0] = '\0';\n            fileMode[1] = '\0';\n            fileMode[2] = '\0';\n            unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)(fileMode,1,3,(unaff_s7->file_info).file);\n            (*(code *)PTR_fseeko64_003a9944)((unaff_s7->file_info).file);\n            (*(code *)PTR_fflush_003a948c)((unaff_s7->file_info).file);\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0);\n            SVar9 = unaff_s7->type;\n            if (SVar9 != FileStream) goto LAB_0004a138;\n            uVar7 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(image_info->magick,uVar7)\n            ;\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar7);\n            if ((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar5 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar5 != 0)) &&\n                (unaff_s5 = *(undefined1 **)((int)&(unaff_s7->properties).st_size + 4),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar5 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar5 != 0)) {\n              uVar7 = (*(code *)PTR_fileno_003a99cc)((unaff_s7->file_info).file);\n              unaff_s6 = (char *)(*(code *)PTR_MapBlob_003a978c)(uVar7,0,0,0,unaff_s5);\n              if (unaff_s6 == (char *)0x0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                SVar9 = unaff_s7->type;\n                goto LAB_0004a138;\n              }\n              pcVar13 = (code *)PTR_fclose_003a939c;\n              if (image_info->file == (FILE *)0x0) goto LAB_0004a850;\n              unaff_s7->exempt = MagickFalse;\n              goto LAB_0004a650;\n            }\n          }" if (parenthesized_expression "(pFVar8 != (FILE *)0x0)" ( (binary_expression "pFVar8 != (FILE *)0x0" identifier != (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            unaff_s7->type = FileStream;\n            iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac);\n            if (iVar5 == 0) {\n              iVar5 = 0x4000;\n              iVar11 = 0;\n              pFVar8 = (image->blob->file_info).file;\n            }\n            else {\n              iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);\n              iVar11 = (uint)(iVar5 == 0) << 1;\n              pFVar8 = (image->blob->file_info).file;\n            }\n            (*(code *)PTR_setvbuf_003a90f4)(pFVar8,0,iVar11,iVar5);\n            fileMode[0] = '\0';\n            fileMode[1] = '\0';\n            fileMode[2] = '\0';\n            unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)(fileMode,1,3,(unaff_s7->file_info).file);\n            (*(code *)PTR_fseeko64_003a9944)((unaff_s7->file_info).file);\n            (*(code *)PTR_fflush_003a948c)((unaff_s7->file_info).file);\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0);\n            SVar9 = unaff_s7->type;\n            if (SVar9 != FileStream) goto LAB_0004a138;\n            uVar7 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(image_info->magick,uVar7)\n            ;\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar7);\n            if ((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar5 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar5 != 0)) &&\n                (unaff_s5 = *(undefined1 **)((int)&(unaff_s7->properties).st_size + 4),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar5 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar5 != 0)) {\n              uVar7 = (*(code *)PTR_fileno_003a99cc)((unaff_s7->file_info).file);\n              unaff_s6 = (char *)(*(code *)PTR_MapBlob_003a978c)(uVar7,0,0,0,unaff_s5);\n              if (unaff_s6 == (char *)0x0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                SVar9 = unaff_s7->type;\n                goto LAB_0004a138;\n              }\n              pcVar13 = (code *)PTR_fclose_003a939c;\n              if (image_info->file == (FILE *)0x0) goto LAB_0004a850;\n              unaff_s7->exempt = MagickFalse;\n              goto LAB_0004a650;\n            }\n          }" { (expression_statement "unaff_s7->type = FileStream;" (assignment_expression "unaff_s7->type = FileStream" (field_expression "unaff_s7->type" identifier -> field_identifier) = identifier) ;) (expression_statement "iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac);" (assignment_expression "iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac)" identifier = (call_expression "(*(code *)puVar2)(image_info,puVar1 + 0x1eac)" (parenthesized_expression "(*(code *)puVar2)" ( (pointer_expression "*(code *)puVar2" * (cast_expression "(code *)puVar2" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(image_info,puVar1 + 0x1eac)" ( identifier , (binary_expression "puVar1 + 0x1eac" identifier + number_literal) )))) ;) (if_statement "if (iVar5 == 0) {\n              iVar5 = 0x4000;\n              iVar11 = 0;\n              pFVar8 = (image->blob->file_info).file;\n            }\n            else {\n              iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);\n              iVar11 = (uint)(iVar5 == 0) << 1;\n              pFVar8 = (image->blob->file_info).file;\n            }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n              iVar5 = 0x4000;\n              iVar11 = 0;\n              pFVar8 = (image->blob->file_info).file;\n            }" { (expression_statement "iVar5 = 0x4000;" (assignment_expression "iVar5 = 0x4000" identifier = number_literal) ;) (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;) (expression_statement "pFVar8 = (image->blob->file_info).file;" (assignment_expression "pFVar8 = (image->blob->file_info).file" identifier = (field_expression "(image->blob->file_info).file" (parenthesized_expression "(image->blob->file_info)" ( (field_expression "image->blob->file_info" (field_expression "image->blob" identifier -> field_identifier) -> field_identifier) )) . field_identifier)) ;) }) (else_clause "else {\n              iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);\n              iVar11 = (uint)(iVar5 == 0) << 1;\n              pFVar8 = (image->blob->file_info).file;\n            }" else (compound_statement "{\n              iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);\n              iVar11 = (uint)(iVar5 == 0) << 1;\n              pFVar8 = (image->blob->file_info).file;\n            }" { (expression_statement "iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);" (assignment_expression "iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10)" identifier = (call_expression "(*(code *)PTR_strtoul_003a9340)(iVar5,0,10)" (parenthesized_expression "(*(code *)PTR_strtoul_003a9340)" ( (pointer_expression "*(code *)PTR_strtoul_003a9340" * (cast_expression "(code *)PTR_strtoul_003a9340" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar5,0,10)" ( identifier , number_literal , number_literal )))) ;) (expression_statement "iVar11 = (uint)(iVar5 == 0) << 1;" (assignment_expression "iVar11 = (uint)(iVar5 == 0) << 1" identifier = (binary_expression "(uint)(iVar5 == 0) << 1" (call_expression "(uint)(iVar5 == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) ))) << number_literal)) ;) (expression_statement "pFVar8 = (image->blob->file_info).file;" (assignment_expression "pFVar8 = (image->blob->file_info).file" identifier = (field_expression "(image->blob->file_info).file" (parenthesized_expression "(image->blob->file_info)" ( (field_expression "image->blob->file_info" (field_expression "image->blob" identifier -> field_identifier) -> field_identifier) )) . field_identifier)) ;) }))) (expression_statement "(*(code *)PTR_setvbuf_003a90f4)(pFVar8,0,iVar11,iVar5);" (call_expression "(*(code *)PTR_setvbuf_003a90f4)(pFVar8,0,iVar11,iVar5)" (parenthesized_expression "(*(code *)PTR_setvbuf_003a90f4)" ( (pointer_expression "*(code *)PTR_setvbuf_003a90f4" * (cast_expression "(code *)PTR_setvbuf_003a90f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pFVar8,0,iVar11,iVar5)" ( identifier , number_literal , identifier , identifier ))) ;) (expression_statement "fileMode[0] = '\0';" (assignment_expression "fileMode[0] = '\0'" (subscript_expression "fileMode[0]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "fileMode[1] = '\0';" (assignment_expression "fileMode[1] = '\0'" (subscript_expression "fileMode[1]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "fileMode[2] = '\0';" (assignment_expression "fileMode[2] = '\0'" (subscript_expression "fileMode[2]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)(fileMode,1,3,(unaff_s7->file_info).file);" (assignment_expression "unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)(fileMode,1,3,(unaff_s7->file_info).file)" identifier = (cast_expression "(undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)(fileMode,1,3,(unaff_s7->file_info).file)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_fread_003a8db8)(fileMode,1,3,(unaff_s7->file_info).file)" (parenthesized_expression "(*(code *)PTR_fread_003a8db8)" ( (pointer_expression "*(code *)PTR_fread_003a8db8" * (cast_expression "(code *)PTR_fread_003a8db8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(fileMode,1,3,(unaff_s7->file_info).file)" ( identifier , number_literal , number_literal , (field_expression "(unaff_s7->file_info).file" (parenthesized_expression "(unaff_s7->file_info)" ( (field_expression "unaff_s7->file_info" identifier -> field_identifier) )) . field_identifier) ))))) ;) (expression_statement "(*(code *)PTR_fseeko64_003a9944)((unaff_s7->file_info).file);" (call_expression "(*(code *)PTR_fseeko64_003a9944)((unaff_s7->file_info).file)" (parenthesized_expression "(*(code *)PTR_fseeko64_003a9944)" ( (pointer_expression "*(code *)PTR_fseeko64_003a9944" * (cast_expression "(code *)PTR_fseeko64_003a9944" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "((unaff_s7->file_info).file)" ( (field_expression "(unaff_s7->file_info).file" (parenthesized_expression "(unaff_s7->file_info)" ( (field_expression "unaff_s7->file_info" identifier -> field_identifier) )) . field_identifier) ))) ;) (expression_statement "(*(code *)PTR_fflush_003a948c)((unaff_s7->file_info).file);" (call_expression "(*(code *)PTR_fflush_003a948c)((unaff_s7->file_info).file)" (parenthesized_expression "(*(code *)PTR_fflush_003a948c)" ( (pointer_expression "*(code *)PTR_fflush_003a948c" * (cast_expression "(code *)PTR_fflush_003a948c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "((unaff_s7->file_info).file)" ( (field_expression "(unaff_s7->file_info).file" (parenthesized_expression "(unaff_s7->file_info)" ( (field_expression "unaff_s7->file_info" identifier -> field_identifier) )) . field_identifier) ))) ;) (expression_statement "(*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0);" (call_expression "(*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0)" (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 "(4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0)" ( number_literal , (binary_expression "PTR_LAB_003a88e0 + 0x1ad8" identifier + number_literal) , (binary_expression "PTR_LAB_003a88e0 + 0x23cc" identifier + number_literal) , number_literal , (binary_expression "PTR_LAB_003a88e0 + 0x1ef0" identifier + number_literal) ))) ;) (expression_statement "SVar9 = unaff_s7->type;" (assignment_expression "SVar9 = unaff_s7->type" identifier = (field_expression "unaff_s7->type" identifier -> field_identifier)) ;) (if_statement "if (SVar9 != FileStream) goto LAB_0004a138;" if (parenthesized_expression "(SVar9 != FileStream)" ( (binary_expression "SVar9 != FileStream" identifier != identifier) )) (goto_statement "goto LAB_0004a138;" goto statement_identifier ;)) (expression_statement "uVar7 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();" (assignment_expression "uVar7 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)()" identifier = (call_expression "(*(code *)PTR_AcquireExceptionInfo_003a8eec)()" (parenthesized_expression "(*(code *)PTR_AcquireExceptionInfo_003a8eec)" ( (pointer_expression "*(code *)PTR_AcquireExceptionInfo_003a8eec" * (cast_expression "(code *)PTR_AcquireExceptionInfo_003a8eec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(image_info->magick,uVar7)\n            ;" (assignment_expression "unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(image_info->magick,uVar7)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(image_info->magick,uVar7)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_GetMagickInfo_003a940c)(image_info->magick,uVar7)" (parenthesized_expression "(*(code *)PTR_GetMagickInfo_003a940c)" ( (pointer_expression "*(code *)PTR_GetMagickInfo_003a940c" * (cast_expression "(code *)PTR_GetMagickInfo_003a940c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(image_info->magick,uVar7)" ( (field_expression "image_info->magick" identifier -> field_identifier) , identifier ))))) ;) (expression_statement "(*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar7);" (call_expression "(*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar7)" (parenthesized_expression "(*(code *)PTR_DestroyExceptionInfo_003a8d50)" ( (pointer_expression "*(code *)PTR_DestroyExceptionInfo_003a8d50" * (cast_expression "(code *)PTR_DestroyExceptionInfo_003a8d50" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar7)" ( identifier ))) ;) (if_statement "if ((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar5 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar5 != 0)) &&\n                (unaff_s5 = *(undefined1 **)((int)&(unaff_s7->properties).st_size + 4),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar5 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar5 != 0)) {\n              uVar7 = (*(code *)PTR_fileno_003a99cc)((unaff_s7->file_info).file);\n              unaff_s6 = (char *)(*(code *)PTR_MapBlob_003a978c)(uVar7,0,0,0,unaff_s5);\n              if (unaff_s6 == (char *)0x0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                SVar9 = unaff_s7->type;\n                goto LAB_0004a138;\n              }\n              pcVar13 = (code *)PTR_fclose_003a939c;\n              if (image_info->file == (FILE *)0x0) goto LAB_0004a850;\n              unaff_s7->exempt = MagickFalse;\n              goto LAB_0004a650;\n            }" if (parenthesized_expression "((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar5 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar5 != 0)) &&\n                (unaff_s5 = *(undefined1 **)((int)&(unaff_s7->properties).st_size + 4),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar5 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar5 != 0))" ( (binary_expression "(((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar5 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar5 != 0)) &&\n                (unaff_s5 = *(undefined1 **)((int)&(unaff_s7->properties).st_size + 4),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar5 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar5 != 0)" (parenthesized_expression "(((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar5 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar5 != 0)) &&\n                (unaff_s5 = *(undefined1 **)((int)&(unaff_s7->properties).st_size + 4),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5))" ( (binary_expression "((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar5 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar5 != 0)) &&\n                (unaff_s5 = *(undefined1 **)((int)&(unaff_s7->properties).st_size + 4),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)" (parenthesized_expression "((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar5 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar5 != 0))" ( (binary_expression "(unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar5 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar5 != 0)" (parenthesized_expression "(unaff_s5 != (undefined1 *)0x0)" ( (binary_expression "unaff_s5 != (undefined1 *)0x0" identifier != (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(iVar5 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar5 != 0)" ( (comma_expression "iVar5 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar5 != 0" (assignment_expression "iVar5 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5)" identifier = (call_expression "(*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5)" (parenthesized_expression "(*(code *)PTR_GetMagickBlobSupport_003a9774)" ( (pointer_expression "*(code *)PTR_GetMagickBlobSupport_003a9774" * (cast_expression "(code *)PTR_GetMagickBlobSupport_003a9774" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s5)" ( identifier )))) , (binary_expression "iVar5 != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "(unaff_s5 = *(undefined1 **)((int)&(unaff_s7->properties).st_size + 4),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)" ( (comma_expression "unaff_s5 = *(undefined1 **)((int)&(unaff_s7->properties).st_size + 4),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5" (assignment_expression "unaff_s5 = *(undefined1 **)((int)&(unaff_s7->properties).st_size + 4)" identifier = (pointer_expression "*(undefined1 **)((int)&(unaff_s7->properties).st_size + 4)" * (cast_expression "(undefined1 **)((int)&(unaff_s7->properties).st_size + 4)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "((int)&(unaff_s7->properties).st_size + 4)" ( (binary_expression "(int)&(unaff_s7->properties).st_size + 4" (cast_expression "(int)&(unaff_s7->properties).st_size" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&(unaff_s7->properties).st_size" & (field_expression "(unaff_s7->properties).st_size" (parenthesized_expression "(unaff_s7->properties)" ( (field_expression "unaff_s7->properties" identifier -> field_identifier) )) . field_identifier))) + number_literal) ))))) , (binary_expression "&__DT_SYMTAB[0x16e].st_size < unaff_s5" (pointer_expression "&__DT_SYMTAB[0x16e].st_size" & (field_expression "__DT_SYMTAB[0x16e].st_size" (subscript_expression "__DT_SYMTAB[0x16e]" identifier [ number_literal ]) . field_identifier)) < identifier)) ))) )) && (parenthesized_expression "(iVar5 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar5 != 0)" ( (comma_expression "iVar5 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar5 != 0" (assignment_expression "iVar5 = (*(code *)PTR_AcquireMagickResource_003a981c)(5)" identifier = (call_expression "(*(code *)PTR_AcquireMagickResource_003a981c)(5)" (parenthesized_expression "(*(code *)PTR_AcquireMagickResource_003a981c)" ( (pointer_expression "*(code *)PTR_AcquireMagickResource_003a981c" * (cast_expression "(code *)PTR_AcquireMagickResource_003a981c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(5)" ( number_literal )))) , (binary_expression "iVar5 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n              uVar7 = (*(code *)PTR_fileno_003a99cc)((unaff_s7->file_info).file);\n              unaff_s6 = (char *)(*(code *)PTR_MapBlob_003a978c)(uVar7,0,0,0,unaff_s5);\n              if (unaff_s6 == (char *)0x0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                SVar9 = unaff_s7->type;\n                goto LAB_0004a138;\n              }\n              pcVar13 = (code *)PTR_fclose_003a939c;\n              if (image_info->file == (FILE *)0x0) goto LAB_0004a850;\n              unaff_s7->exempt = MagickFalse;\n              goto LAB_0004a650;\n            }" { (expression_statement "uVar7 = (*(code *)PTR_fileno_003a99cc)((unaff_s7->file_info).file);" (assignment_expression "uVar7 = (*(code *)PTR_fileno_003a99cc)((unaff_s7->file_info).file)" identifier = (call_expression "(*(code *)PTR_fileno_003a99cc)((unaff_s7->file_info).file)" (parenthesized_expression "(*(code *)PTR_fileno_003a99cc)" ( (pointer_expression "*(code *)PTR_fileno_003a99cc" * (cast_expression "(code *)PTR_fileno_003a99cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "((unaff_s7->file_info).file)" ( (field_expression "(unaff_s7->file_info).file" (parenthesized_expression "(unaff_s7->file_info)" ( (field_expression "unaff_s7->file_info" identifier -> field_identifier) )) . field_identifier) )))) ;) (expression_statement "unaff_s6 = (char *)(*(code *)PTR_MapBlob_003a978c)(uVar7,0,0,0,unaff_s5);" (assignment_expression "unaff_s6 = (char *)(*(code *)PTR_MapBlob_003a978c)(uVar7,0,0,0,unaff_s5)" identifier = (cast_expression "(char *)(*(code *)PTR_MapBlob_003a978c)(uVar7,0,0,0,unaff_s5)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_MapBlob_003a978c)(uVar7,0,0,0,unaff_s5)" (parenthesized_expression "(*(code *)PTR_MapBlob_003a978c)" ( (pointer_expression "*(code *)PTR_MapBlob_003a978c" * (cast_expression "(code *)PTR_MapBlob_003a978c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar7,0,0,0,unaff_s5)" ( identifier , number_literal , number_literal , number_literal , identifier ))))) ;) (if_statement "if (unaff_s6 == (char *)0x0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                SVar9 = unaff_s7->type;\n                goto LAB_0004a138;\n              }" if (parenthesized_expression "(unaff_s6 == (char *)0x0)" ( (binary_expression "unaff_s6 == (char *)0x0" identifier == (cast_expression "(char *)0x0" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                SVar9 = unaff_s7->type;\n                goto LAB_0004a138;\n              }" { (expression_statement "(*(code *)PTR_RelinquishMagickResource_003a970c)(5);" (call_expression "(*(code *)PTR_RelinquishMagickResource_003a970c)(5)" (parenthesized_expression "(*(code *)PTR_RelinquishMagickResource_003a970c)" ( (pointer_expression "*(code *)PTR_RelinquishMagickResource_003a970c" * (cast_expression "(code *)PTR_RelinquishMagickResource_003a970c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(5)" ( number_literal ))) ;) (expression_statement "SVar9 = unaff_s7->type;" (assignment_expression "SVar9 = unaff_s7->type" identifier = (field_expression "unaff_s7->type" identifier -> field_identifier)) ;) (goto_statement "goto LAB_0004a138;" goto statement_identifier ;) })) (expression_statement "pcVar13 = (code *)PTR_fclose_003a939c;" (assignment_expression "pcVar13 = (code *)PTR_fclose_003a939c" identifier = (cast_expression "(code *)PTR_fclose_003a939c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (image_info->file == (FILE *)0x0) goto LAB_0004a850;" if (parenthesized_expression "(image_info->file == (FILE *)0x0)" ( (binary_expression "image_info->file == (FILE *)0x0" (field_expression "image_info->file" identifier -> field_identifier) == (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_0004a850;" goto statement_identifier ;)) (expression_statement "unaff_s7->exempt = MagickFalse;" (assignment_expression "unaff_s7->exempt = MagickFalse" (field_expression "unaff_s7->exempt" identifier -> field_identifier) = identifier) ;) (goto_statement "goto LAB_0004a650;" goto statement_identifier ;) })) })) (expression_statement "SVar9 = unaff_s7->type;" (assignment_expression "SVar9 = unaff_s7->type" identifier = (field_expression "unaff_s7->type" identifier -> field_identifier)) ;) (goto_statement "goto LAB_0004a138;" goto statement_identifier ;) })) (expression_statement "pFVar8 = (FILE *)(*(code *)PTR_fopen64_003a8c68)(mode,unaff_s5);" (assignment_expression "pFVar8 = (FILE *)(*(code *)PTR_fopen64_003a8c68)(mode,unaff_s5)" identifier = (cast_expression "(FILE *)(*(code *)PTR_fopen64_003a8c68)(mode,unaff_s5)" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_fopen64_003a8c68)(mode,unaff_s5)" (parenthesized_expression "(*(code *)PTR_fopen64_003a8c68)" ( (pointer_expression "*(code *)PTR_fopen64_003a8c68" * (cast_expression "(code *)PTR_fopen64_003a8c68" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(mode,unaff_s5)" ( identifier , identifier ))))) ;) (expression_statement "(unaff_s7->file_info).file = pFVar8;" (assignment_expression "(unaff_s7->file_info).file = pFVar8" (field_expression "(unaff_s7->file_info).file" (parenthesized_expression "(unaff_s7->file_info)" ( (field_expression "unaff_s7->file_info" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "puVar2 = PTR_GetImageOption_003a9168;" (assignment_expression "puVar2 = PTR_GetImageOption_003a9168" identifier = identifier) ;) (expression_statement "puVar1 = PTR_LAB_003a88e0;" (assignment_expression "puVar1 = PTR_LAB_003a88e0" identifier = identifier) ;) (if_statement "if (pFVar8 == (FILE *)0x0) {\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);\n          uVar12 = 0xd23;\n          goto LAB_0004a16c;\n        }" if (parenthesized_expression "(pFVar8 == (FILE *)0x0)" ( (binary_expression "pFVar8 == (FILE *)0x0" identifier == (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n          puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);\n          uVar12 = 0xd23;\n          goto LAB_0004a16c;\n        }" { (expression_statement "puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();" (assignment_expression "puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_003a99b0)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_003a99b0)()" (parenthesized_expression "(*(code *)PTR___errno_location_003a99b0)" ( (pointer_expression "*(code *)PTR___errno_location_003a99b0" * (cast_expression "(code *)PTR___errno_location_003a99b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);" (assignment_expression "uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6)" identifier = (call_expression "(*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6)" (parenthesized_expression "(*(code *)PTR_GetExceptionMessage_003a93ec)" ( (pointer_expression "*(code *)PTR_GetExceptionMessage_003a93ec" * (cast_expression "(code *)PTR_GetExceptionMessage_003a93ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*puVar6)" ( (pointer_expression "*puVar6" * identifier) )))) ;) (expression_statement "uVar12 = 0xd23;" (assignment_expression "uVar12 = 0xd23" identifier = number_literal) ;) (goto_statement "goto LAB_0004a16c;" goto statement_identifier ;) })) (expression_statement "unaff_s7->type = FileStream;" (assignment_expression "unaff_s7->type = FileStream" (field_expression "unaff_s7->type" identifier -> field_identifier) = identifier) ;) (expression_statement "unaff_s7->exempt = MagickTrue;" (assignment_expression "unaff_s7->exempt = MagickTrue" (field_expression "unaff_s7->exempt" identifier -> field_identifier) = identifier) ;) (expression_statement "iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac);" (assignment_expression "iVar5 = (*(code *)puVar2)(image_info,puVar1 + 0x1eac)" identifier = (call_expression "(*(code *)puVar2)(image_info,puVar1 + 0x1eac)" (parenthesized_expression "(*(code *)puVar2)" ( (pointer_expression "*(code *)puVar2" * (cast_expression "(code *)puVar2" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(image_info,puVar1 + 0x1eac)" ( identifier , (binary_expression "puVar1 + 0x1eac" identifier + number_literal) )))) ;) (if_statement "if (iVar5 != 0) {\n          iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);\n          uVar7 = 2;\n          if (iVar5 != 0) {\n            uVar7 = 0;\n          }\n          pFVar8 = (image->blob->file_info).file;\n          goto LAB_00049fe8;\n        }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n          iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);\n          uVar7 = 2;\n          if (iVar5 != 0) {\n            uVar7 = 0;\n          }\n          pFVar8 = (image->blob->file_info).file;\n          goto LAB_00049fe8;\n        }" { (expression_statement "iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10);" (assignment_expression "iVar5 = (*(code *)PTR_strtoul_003a9340)(iVar5,0,10)" identifier = (call_expression "(*(code *)PTR_strtoul_003a9340)(iVar5,0,10)" (parenthesized_expression "(*(code *)PTR_strtoul_003a9340)" ( (pointer_expression "*(code *)PTR_strtoul_003a9340" * (cast_expression "(code *)PTR_strtoul_003a9340" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar5,0,10)" ( identifier , number_literal , number_literal )))) ;) (expression_statement "uVar7 = 2;" (assignment_expression "uVar7 = 2" identifier = number_literal) ;) (if_statement "if (iVar5 != 0) {\n            uVar7 = 0;\n          }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n            uVar7 = 0;\n          }" { (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) })) (expression_statement "pFVar8 = (image->blob->file_info).file;" (assignment_expression "pFVar8 = (image->blob->file_info).file" identifier = (field_expression "(image->blob->file_info).file" (parenthesized_expression "(image->blob->file_info)" ( (field_expression "image->blob->file_info" (field_expression "image->blob" identifier -> field_identifier) -> field_identifier) )) . field_identifier)) ;) (goto_statement "goto LAB_00049fe8;" goto statement_identifier ;) })) }))) (expression_statement "iVar5 = 0x4000;" (assignment_expression "iVar5 = 0x4000" identifier = number_literal) ;) (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (expression_statement "pFVar8 = (image->blob->file_info).file;" (assignment_expression "pFVar8 = (image->blob->file_info).file" identifier = (field_expression "(image->blob->file_info).file" (parenthesized_expression "(image->blob->file_info)" ( (field_expression "image->blob->file_info" (field_expression "image->blob" identifier -> field_identifier) -> field_identifier) )) . field_identifier)) ;) (labeled_statement "LAB_00049fe8:\n      iVar5 = (*(code *)PTR_setvbuf_003a90f4)(pFVar8,0,uVar7,iVar5);" statement_identifier : (expression_statement "iVar5 = (*(code *)PTR_setvbuf_003a90f4)(pFVar8,0,uVar7,iVar5);" (assignment_expression "iVar5 = (*(code *)PTR_setvbuf_003a90f4)(pFVar8,0,uVar7,iVar5)" identifier = (call_expression "(*(code *)PTR_setvbuf_003a90f4)(pFVar8,0,uVar7,iVar5)" (parenthesized_expression "(*(code *)PTR_setvbuf_003a90f4)" ( (pointer_expression "*(code *)PTR_setvbuf_003a90f4" * (cast_expression "(code *)PTR_setvbuf_003a90f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pFVar8,0,uVar7,iVar5)" ( identifier , number_literal , identifier , identifier )))) ;)) (expression_statement "MVar14 = (MagickBooleanType)(iVar5 == 0);" (assignment_expression "MVar14 = (MagickBooleanType)(iVar5 == 0)" identifier = (call_expression "(MagickBooleanType)(iVar5 == 0)" (parenthesized_expression "(MagickBooleanType)" ( identifier )) (argument_list "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )))) ;) (goto_statement "goto LAB_00049c58;" goto statement_identifier ;) })) }))) (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n            (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,PTR_LAB_003a88e0 + 0x1ad8);" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n            (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,PTR_LAB_003a88e0 + 0x1ad8)" (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_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,PTR_LAB_003a88e0 + 0x1ad8)" ( (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784" identifier + number_literal) , (binary_expression "PTR_LAB_003a88e0 + 0x1ad8" identifier + number_literal) ))) ;) (labeled_statement "LAB_0004a824:\n  (*(code *)PTR___assert_fail_003a9608)(PTR_LAB_003a88e0 + 0xdd0,PTR_LAB_003a88e0 + 0x1ad8);" statement_identifier : (expression_statement "(*(code *)PTR___assert_fail_003a9608)(PTR_LAB_003a88e0 + 0xdd0,PTR_LAB_003a88e0 + 0x1ad8);" (call_expression "(*(code *)PTR___assert_fail_003a9608)(PTR_LAB_003a88e0 + 0xdd0,PTR_LAB_003a88e0 + 0x1ad8)" (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 + 0xdd0,PTR_LAB_003a88e0 + 0x1ad8)" ( (binary_expression "PTR_LAB_003a88e0 + 0xdd0" identifier + number_literal) , (binary_expression "PTR_LAB_003a88e0 + 0x1ad8" identifier + number_literal) ))) ;)) (do_statement "do {\n    pcVar13 = (code *)PTR___stack_chk_fail_003a9064;\n    (*(code *)PTR___stack_chk_fail_003a9064)();\nLAB_0004a850:\n    (*pcVar13)((unaff_s7->file_info).file);\n    (unaff_s7->file_info).file = (FILE *)0x0;\nLAB_0004a650:\n    (*(code *)PTR_AttachBlob_003a92c8)(unaff_s7,unaff_s6,unaff_s5);\n    SVar9 = unaff_s7->type;\n    unaff_s7->mapped = MagickTrue;\nLAB_0004a138:\n    unaff_s7->status = MagickFalse;\n    unaff_s7->error_number = 0;\n    if (SVar9 == UndefinedStream) {\n      puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n      uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);\n      uVar12 = 0xdd1;\nLAB_0004a16c:\n      MVar14 = MagickFalse;\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (exception,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,uVar12,0x1b3,\n                 PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,mode,uVar7);\n      (*(code *)PTR_DestroyString_003a9074)(uVar7);\n    }\n    else {\nLAB_00049e88:\n      MVar14 = MagickTrue;\n      MVar15 = (*(code *)PTR_GetBlobSize_003a94b8)(image);\n      unaff_s7->size = MVar15;\n    }\nLAB_00049c58:\n  } while (iVar4 != *(int *)puVar3);" do (compound_statement "{\n    pcVar13 = (code *)PTR___stack_chk_fail_003a9064;\n    (*(code *)PTR___stack_chk_fail_003a9064)();\nLAB_0004a850:\n    (*pcVar13)((unaff_s7->file_info).file);\n    (unaff_s7->file_info).file = (FILE *)0x0;\nLAB_0004a650:\n    (*(code *)PTR_AttachBlob_003a92c8)(unaff_s7,unaff_s6,unaff_s5);\n    SVar9 = unaff_s7->type;\n    unaff_s7->mapped = MagickTrue;\nLAB_0004a138:\n    unaff_s7->status = MagickFalse;\n    unaff_s7->error_number = 0;\n    if (SVar9 == UndefinedStream) {\n      puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n      uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);\n      uVar12 = 0xdd1;\nLAB_0004a16c:\n      MVar14 = MagickFalse;\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (exception,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,uVar12,0x1b3,\n                 PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,mode,uVar7);\n      (*(code *)PTR_DestroyString_003a9074)(uVar7);\n    }\n    else {\nLAB_00049e88:\n      MVar14 = MagickTrue;\n      MVar15 = (*(code *)PTR_GetBlobSize_003a94b8)(image);\n      unaff_s7->size = MVar15;\n    }\nLAB_00049c58:\n  }" { (expression_statement "pcVar13 = (code *)PTR___stack_chk_fail_003a9064;" (assignment_expression "pcVar13 = (code *)PTR___stack_chk_fail_003a9064" identifier = (cast_expression "(code *)PTR___stack_chk_fail_003a9064" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_003a9064)();" (call_expression "(*(code *)PTR___stack_chk_fail_003a9064)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_003a9064)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_003a9064" * (cast_expression "(code *)PTR___stack_chk_fail_003a9064" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (labeled_statement "LAB_0004a850:\n    (*pcVar13)((unaff_s7->file_info).file);" statement_identifier : (expression_statement "(*pcVar13)((unaff_s7->file_info).file);" (call_expression "(*pcVar13)((unaff_s7->file_info).file)" (parenthesized_expression "(*pcVar13)" ( (pointer_expression "*pcVar13" * identifier) )) (argument_list "((unaff_s7->file_info).file)" ( (field_expression "(unaff_s7->file_info).file" (parenthesized_expression "(unaff_s7->file_info)" ( (field_expression "unaff_s7->file_info" identifier -> field_identifier) )) . field_identifier) ))) ;)) (expression_statement "(unaff_s7->file_info).file = (FILE *)0x0;" (assignment_expression "(unaff_s7->file_info).file = (FILE *)0x0" (field_expression "(unaff_s7->file_info).file" (parenthesized_expression "(unaff_s7->file_info)" ( (field_expression "unaff_s7->file_info" identifier -> field_identifier) )) . field_identifier) = (cast_expression "(FILE *)0x0" ( (type_descriptor "FILE *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (labeled_statement "LAB_0004a650:\n    (*(code *)PTR_AttachBlob_003a92c8)(unaff_s7,unaff_s6,unaff_s5);" statement_identifier : (expression_statement "(*(code *)PTR_AttachBlob_003a92c8)(unaff_s7,unaff_s6,unaff_s5);" (call_expression "(*(code *)PTR_AttachBlob_003a92c8)(unaff_s7,unaff_s6,unaff_s5)" (parenthesized_expression "(*(code *)PTR_AttachBlob_003a92c8)" ( (pointer_expression "*(code *)PTR_AttachBlob_003a92c8" * (cast_expression "(code *)PTR_AttachBlob_003a92c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s7,unaff_s6,unaff_s5)" ( identifier , identifier , identifier ))) ;)) (expression_statement "SVar9 = unaff_s7->type;" (assignment_expression "SVar9 = unaff_s7->type" identifier = (field_expression "unaff_s7->type" identifier -> field_identifier)) ;) (expression_statement "unaff_s7->mapped = MagickTrue;" (assignment_expression "unaff_s7->mapped = MagickTrue" (field_expression "unaff_s7->mapped" identifier -> field_identifier) = identifier) ;) (labeled_statement "LAB_0004a138:\n    unaff_s7->status = MagickFalse;" statement_identifier : (expression_statement "unaff_s7->status = MagickFalse;" (assignment_expression "unaff_s7->status = MagickFalse" (field_expression "unaff_s7->status" identifier -> field_identifier) = identifier) ;)) (expression_statement "unaff_s7->error_number = 0;" (assignment_expression "unaff_s7->error_number = 0" (field_expression "unaff_s7->error_number" identifier -> field_identifier) = number_literal) ;) (if_statement "if (SVar9 == UndefinedStream) {\n      puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n      uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);\n      uVar12 = 0xdd1;\nLAB_0004a16c:\n      MVar14 = MagickFalse;\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (exception,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,uVar12,0x1b3,\n                 PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,mode,uVar7);\n      (*(code *)PTR_DestroyString_003a9074)(uVar7);\n    }\n    else {\nLAB_00049e88:\n      MVar14 = MagickTrue;\n      MVar15 = (*(code *)PTR_GetBlobSize_003a94b8)(image);\n      unaff_s7->size = MVar15;\n    }" if (parenthesized_expression "(SVar9 == UndefinedStream)" ( (binary_expression "SVar9 == UndefinedStream" identifier == identifier) )) (compound_statement "{\n      puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n      uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);\n      uVar12 = 0xdd1;\nLAB_0004a16c:\n      MVar14 = MagickFalse;\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (exception,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,uVar12,0x1b3,\n                 PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,mode,uVar7);\n      (*(code *)PTR_DestroyString_003a9074)(uVar7);\n    }" { (expression_statement "puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();" (assignment_expression "puVar6 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_003a99b0)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_003a99b0)()" (parenthesized_expression "(*(code *)PTR___errno_location_003a99b0)" ( (pointer_expression "*(code *)PTR___errno_location_003a99b0" * (cast_expression "(code *)PTR___errno_location_003a99b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6);" (assignment_expression "uVar7 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6)" identifier = (call_expression "(*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar6)" (parenthesized_expression "(*(code *)PTR_GetExceptionMessage_003a93ec)" ( (pointer_expression "*(code *)PTR_GetExceptionMessage_003a93ec" * (cast_expression "(code *)PTR_GetExceptionMessage_003a93ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*puVar6)" ( (pointer_expression "*puVar6" * identifier) )))) ;) (expression_statement "uVar12 = 0xdd1;" (assignment_expression "uVar12 = 0xdd1" identifier = number_literal) ;) (labeled_statement "LAB_0004a16c:\n      MVar14 = MagickFalse;" statement_identifier : (expression_statement "MVar14 = MagickFalse;" (assignment_expression "MVar14 = MagickFalse" identifier = identifier) ;)) (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n                (exception,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,uVar12,0x1b3,\n                 PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,mode,uVar7);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n                (exception,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,uVar12,0x1b3,\n                 PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,mode,uVar7)" (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_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,uVar12,0x1b3,\n                 PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,mode,uVar7)" ( identifier , (binary_expression "PTR_LAB_003a88e0 + 0x1ad8" identifier + number_literal) , (binary_expression "PTR_LAB_003a88e0 + 0x23cc" identifier + number_literal) , identifier , number_literal , (binary_expression "PTR_LAB_003a88e0 + 0x1ec4" identifier + number_literal) , (binary_expression "PTR_LAB_003a88e0 + 0xe78" identifier + number_literal) , identifier , identifier ))) ;) (expression_statement "(*(code *)PTR_DestroyString_003a9074)(uVar7);" (call_expression "(*(code *)PTR_DestroyString_003a9074)(uVar7)" (parenthesized_expression "(*(code *)PTR_DestroyString_003a9074)" ( (pointer_expression "*(code *)PTR_DestroyString_003a9074" * (cast_expression "(code *)PTR_DestroyString_003a9074" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar7)" ( identifier ))) ;) }) (else_clause "else {\nLAB_00049e88:\n      MVar14 = MagickTrue;\n      MVar15 = (*(code *)PTR_GetBlobSize_003a94b8)(image);\n      unaff_s7->size = MVar15;\n    }" else (compound_statement "{\nLAB_00049e88:\n      MVar14 = MagickTrue;\n      MVar15 = (*(code *)PTR_GetBlobSize_003a94b8)(image);\n      unaff_s7->size = MVar15;\n    }" { (labeled_statement "LAB_00049e88:\n      MVar14 = MagickTrue;" statement_identifier : (expression_statement "MVar14 = MagickTrue;" (assignment_expression "MVar14 = MagickTrue" identifier = identifier) ;)) (expression_statement "MVar15 = (*(code *)PTR_GetBlobSize_003a94b8)(image);" (assignment_expression "MVar15 = (*(code *)PTR_GetBlobSize_003a94b8)(image)" identifier = (call_expression "(*(code *)PTR_GetBlobSize_003a94b8)(image)" (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 "(image)" ( identifier )))) ;) (expression_statement "unaff_s7->size = MVar15;" (assignment_expression "unaff_s7->size = MVar15" (field_expression "unaff_s7->size" identifier -> field_identifier) = identifier) ;) }))) (labeled_statement "LAB_00049c58:" statement_identifier : (expression_statement "" ;)) }) while (parenthesized_expression "(iVar4 != *(int *)puVar3)" ( (binary_expression "iVar4 != *(int *)puVar3" identifier != (pointer_expression "*(int *)puVar3" * (cast_expression "(int *)puVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) ;) (return_statement "return MVar14;" return identifier ;) })))
(translation_unit "uint OpenBlob(int param_1,int param_2,char *param_3,undefined4 param_4)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  undefined4 uVar8;\n  int unaff_s1;\n  undefined4 unaff_s3;\n  char *unaff_s4;\n  undefined1 *unaff_s5;\n  int unaff_s6;\n  int unaff_s7;\n  code *pcVar9;\n  uint uVar10;\n  undefined8 uVar11;\n  undefined1 local_302c [4096];\n  char local_202c [3];\n  undefined1 auStack_2029 [4093];\n  undefined2 local_102c;\n  undefined1 local_102a;\n  int local_2c;\n  \n  puVar3 = PTR___stack_chk_guard_003a9230;\n  local_2c = *(int *)PTR___stack_chk_guard_003a9230;\n  pcVar9 = (code *)PTR___assert_fail_003a9608;\n  if (param_1 == 0) {\nLAB_0004a7e4:\n    (*pcVar9)(PTR_LAB_003a88e0 + 0x1c88,PTR_LAB_003a88e0 + 0x1ad8,0xca1,PTR_LAB_003a88e0 + 0x23d8);\n    param_2 = unaff_s1;\n    param_4 = unaff_s3;\n    param_3 = unaff_s4;\n  }\n  else {\n    if (*(int *)(param_1 + 0x3214) != -0x54535255) {\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xda0,PTR_LAB_003a88e0 + 0x1ad8,0xca2,PTR_LAB_003a88e0 + 0x23d8)\n      ;\n      goto LAB_0004a7e4;\n    }\n    if (*(int *)(param_1 + 0x3210) != 0) {\n      (*(code *)PTR_LogMagickEvent_003a91e0)\n                (0x8000,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xca4,\n                 PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210);\n    }\n    puVar1 = PTR_AttachBlob_003a92c8;\n    if (param_2 == 0) goto LAB_0004a824;\n    if (*(int *)(param_2 + 0x336c) == -0x54535255) {\n      iVar6 = *(int *)(param_1 + 0x208);\n      unaff_s7 = *(int *)(param_2 + 0x3348);\n      if (iVar6 != 0) {\n        if (*(int *)(param_1 + 0x200) != 0) {\n          *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        }\n        uVar10 = 1;\n        (*(code *)puVar1)(unaff_s7,iVar6,*(undefined4 *)(param_1 + 0x20c));\n        goto LAB_00049c58;\n      }\n      if ((*(int *)(param_1 + 0x3218) != 0) && (uVar10 = 1, *(char *)(param_2 + 0x340) == '\0')) {\n        *(int *)(unaff_s7 + 0xec) = *(int *)(param_1 + 0x3218);\n        *(undefined4 *)(unaff_s7 + 0x40) = 8;\n        goto LAB_00049c58;\n      }\n      (*(code *)PTR_DetachBlob_003a976c)(unaff_s7,0,0xca7);\n      *(char **)(unaff_s7 + 0xc) = param_3;\n      if (param_3 < &DAT_00000007) {\n                    \n                    \n        uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098)))();\n        return uVar10;\n      }\n      unaff_s5 = PTR_LAB_003a88e0 + 0x4aa0;\n      unaff_s6 = param_2 + 0x340;\n      if (*(int *)(param_1 + 0x200) == 0) {\n        local_202c[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);\n      }\n      else {\n        *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        local_202c[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);\n      }\n      param_3 = local_202c;\n      iVar6 = (*(code *)PTR_IsRightsAuthorized_003a8db0)(4,1,param_3);\n      if (iVar6 == 0) {\n        puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n        *puVar4 = 1;\n        (*(code *)PTR_ThrowMagickException_003a8f20)\n                  (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcd9,499,\n                   PTR_LAB_003a88e0 + 0x1e9c,PTR_LAB_003a88e0 + 0x3e28,param_3);\n        uVar10 = 0;\n        goto LAB_00049c58;\n      }\n      iVar6 = (*(code *)PTR_LocaleCompare_003a9110)(param_3,PTR_s_courses_003a88ec + -0x7ac);\n      puVar2 = PTR_GetImageOption_003a9168;\n      puVar1 = PTR_LAB_003a88e0;\n      if ((iVar6 == 0) || ((local_202c[0] == '\0' && (*(int *)(param_1 + 0x204) == 0)))) {\n        param_4 = 2;\n        *(undefined4 *)(unaff_s7 + 0x44) = *(undefined4 *)PTR_stdin_003a8fc4;\n        *(undefined4 *)(unaff_s7 + 0x40) = 2;\n        *(undefined4 *)(unaff_s7 + 0x30) = 1;\n        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n        if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }\n      }\n      else {\n        iVar6 = (*(code *)PTR_LocaleNCompare_003a961c)(param_3,PTR_LAB_003a88e0 + 0x1ec0,3);\n        if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_IsGeometry_003a9418)(auStack_2029);\n          if (iVar6 != 0) {\n            local_102c = 0x7200;\n            uVar5 = (*(code *)PTR_strtol_003a954c)(auStack_2029,0,10);\n            iVar6 = (*(code *)PTR_fdopen_003a97d8)(uVar5,&local_102c);\n            *(int *)(unaff_s7 + 0x44) = iVar6;\n            puVar2 = PTR_GetImageOption_003a9168;\n            puVar1 = PTR_LAB_003a88e0;\n            if (iVar6 != 0) {\n              *(undefined4 *)(unaff_s7 + 0x40) = 1;\n              *(undefined4 *)(unaff_s7 + 0x30) = 1;\n              iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n              if (iVar6 == 0) {\n                iVar6 = 0x4000;\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n                uVar5 = 0;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n                uVar5 = 2;\n                if (iVar6 != 0) {\n                  uVar5 = 0;\n                }\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n              }\n              iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n              uVar10 = (uint)(iVar6 == 0);\n              goto LAB_00049c58;\n            }\n            puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n            (*(code *)PTR_DestroyString_003a9074)(uVar5);\n            uVar10 = 0;\n            goto LAB_00049c58;\n          }\n        }\n        iVar6 = (*(code *)PTR_GetPathAttributes_003a9364)(param_3,unaff_s7 + 0x48);\n        if ((iVar6 == 0) || ((*(uint *)(unaff_s7 + 0x60) & 0xf000) != 0x1000)) {\n          (*(code *)PTR_GetPathComponent_003a8e18)(unaff_s6,6,local_302c);\n          if (*(int *)(param_1 + 0x204) != 0) {\n            *(int *)(unaff_s7 + 0x44) = *(int *)(param_1 + 0x204);\n            *(undefined4 *)(unaff_s7 + 0x38) = 0;\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            *(undefined4 *)(unaff_s7 + 0x30) = 1;\n            *(undefined4 *)(unaff_s7 + 0x1c) = 0;\n            goto LAB_00049e88;\n          }\n          iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n          *(int *)(unaff_s7 + 0x44) = iVar6;\n          puVar2 = PTR_GetImageOption_003a9168;\n          puVar1 = PTR_LAB_003a88e0;\n          if (iVar6 != 0) {\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n            if (iVar6 == 0) {\n              iVar6 = 0x4000;\n              iVar7 = 0;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            else {\n              iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n              iVar7 = (uint)(iVar6 == 0) << 1;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            (*(code *)PTR_setvbuf_003a90f4)(uVar5,0,iVar7,iVar6);\n            local_102c = 0;\n            local_102a = 0;\n            unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)\n                                 (&local_102c,1,3,*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fseeko64_003a9944)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fflush_003a948c)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0);\n            iVar6 = *(int *)(unaff_s7 + 0x40);\n            if (iVar6 != 1) goto LAB_0004a138;\n            uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(param_1 + 0x210,uVar5);\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);\n            if ((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)) &&\n                (unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar6 != 0)) {\n              uVar5 = (*(code *)PTR_fileno_003a99cc)(*(undefined4 *)(unaff_s7 + 0x44));\n              unaff_s6 = (*(code *)PTR_MapBlob_003a978c)(uVar5,0,0,0,unaff_s5);\n              if (unaff_s6 == 0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                iVar6 = *(int *)(unaff_s7 + 0x40);\n                goto LAB_0004a138;\n              }\n              pcVar9 = (code *)PTR_fclose_003a939c;\n              if (*(int *)(param_1 + 0x204) == 0) goto LAB_0004a850;\n              *(undefined4 *)(unaff_s7 + 0x30) = 0;\n              goto LAB_0004a650;\n            }\n          }\n          iVar6 = *(int *)(unaff_s7 + 0x40);\n          goto LAB_0004a138;\n        }\n        iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n        *(int *)(unaff_s7 + 0x44) = iVar6;\n        puVar2 = PTR_GetImageOption_003a9168;\n        puVar1 = PTR_LAB_003a88e0;\n        if (iVar6 == 0) {\n          puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n          uVar8 = 0xd23;\n          goto LAB_0004a16c;\n        }\n        *(undefined4 *)(unaff_s7 + 0x40) = 1;\n        *(undefined4 *)(unaff_s7 + 0x30) = 1;\n        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n        if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }\n      }\n      iVar6 = 0x4000;\n      uVar5 = 0;\n      uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\nLAB_00049fe8:\n      iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n      uVar10 = (uint)(iVar6 == 0);\n      goto LAB_00049c58;\n    }\n  }\n  (*(code *)PTR___assert_fail_003a9608)\n            (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,PTR_LAB_003a88e0 + 0x1ad8);\nLAB_0004a824:\n  (*(code *)PTR___assert_fail_003a9608)(PTR_LAB_003a88e0 + 0xdd0,PTR_LAB_003a88e0 + 0x1ad8);\n  do {\n    pcVar9 = (code *)PTR___stack_chk_fail_003a9064;\n    (*(code *)PTR___stack_chk_fail_003a9064)();\nLAB_0004a850:\n    (*pcVar9)(*(undefined4 *)(unaff_s7 + 0x44));\n    *(undefined4 *)(unaff_s7 + 0x44) = 0;\nLAB_0004a650:\n    (*(code *)PTR_AttachBlob_003a92c8)(unaff_s7,unaff_s6,unaff_s5);\n    iVar6 = *(int *)(unaff_s7 + 0x40);\n    *(undefined4 *)(unaff_s7 + 0x10) = 1;\nLAB_0004a138:\n    *(undefined4 *)(unaff_s7 + 0x38) = 0;\n    *(undefined4 *)(unaff_s7 + 0x1c) = 0;\n    if (iVar6 == 0) {\n      puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n      uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n      uVar8 = 0xdd1;\nLAB_0004a16c:\n      uVar10 = 0;\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,uVar8,0x1b3,\n                 PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n      (*(code *)PTR_DestroyString_003a9074)(uVar5);\n    }\n    else {\nLAB_00049e88:\n      uVar10 = 1;\n      uVar11 = (*(code *)PTR_GetBlobSize_003a94b8)(param_2);\n      *(undefined8 *)(unaff_s7 + 0x28) = uVar11;\n    }\nLAB_00049c58:\n  } while (local_2c != *(int *)puVar3);\n  return uVar10;\n}\n\n" (function_definition "uint OpenBlob(int param_1,int param_2,char *param_3,undefined4 param_4)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  undefined4 uVar8;\n  int unaff_s1;\n  undefined4 unaff_s3;\n  char *unaff_s4;\n  undefined1 *unaff_s5;\n  int unaff_s6;\n  int unaff_s7;\n  code *pcVar9;\n  uint uVar10;\n  undefined8 uVar11;\n  undefined1 local_302c [4096];\n  char local_202c [3];\n  undefined1 auStack_2029 [4093];\n  undefined2 local_102c;\n  undefined1 local_102a;\n  int local_2c;\n  \n  puVar3 = PTR___stack_chk_guard_003a9230;\n  local_2c = *(int *)PTR___stack_chk_guard_003a9230;\n  pcVar9 = (code *)PTR___assert_fail_003a9608;\n  if (param_1 == 0) {\nLAB_0004a7e4:\n    (*pcVar9)(PTR_LAB_003a88e0 + 0x1c88,PTR_LAB_003a88e0 + 0x1ad8,0xca1,PTR_LAB_003a88e0 + 0x23d8);\n    param_2 = unaff_s1;\n    param_4 = unaff_s3;\n    param_3 = unaff_s4;\n  }\n  else {\n    if (*(int *)(param_1 + 0x3214) != -0x54535255) {\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xda0,PTR_LAB_003a88e0 + 0x1ad8,0xca2,PTR_LAB_003a88e0 + 0x23d8)\n      ;\n      goto LAB_0004a7e4;\n    }\n    if (*(int *)(param_1 + 0x3210) != 0) {\n      (*(code *)PTR_LogMagickEvent_003a91e0)\n                (0x8000,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xca4,\n                 PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210);\n    }\n    puVar1 = PTR_AttachBlob_003a92c8;\n    if (param_2 == 0) goto LAB_0004a824;\n    if (*(int *)(param_2 + 0x336c) == -0x54535255) {\n      iVar6 = *(int *)(param_1 + 0x208);\n      unaff_s7 = *(int *)(param_2 + 0x3348);\n      if (iVar6 != 0) {\n        if (*(int *)(param_1 + 0x200) != 0) {\n          *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        }\n        uVar10 = 1;\n        (*(code *)puVar1)(unaff_s7,iVar6,*(undefined4 *)(param_1 + 0x20c));\n        goto LAB_00049c58;\n      }\n      if ((*(int *)(param_1 + 0x3218) != 0) && (uVar10 = 1, *(char *)(param_2 + 0x340) == '\0')) {\n        *(int *)(unaff_s7 + 0xec) = *(int *)(param_1 + 0x3218);\n        *(undefined4 *)(unaff_s7 + 0x40) = 8;\n        goto LAB_00049c58;\n      }\n      (*(code *)PTR_DetachBlob_003a976c)(unaff_s7,0,0xca7);\n      *(char **)(unaff_s7 + 0xc) = param_3;\n      if (param_3 < &DAT_00000007) {\n                    \n                    \n        uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098)))();\n        return uVar10;\n      }\n      unaff_s5 = PTR_LAB_003a88e0 + 0x4aa0;\n      unaff_s6 = param_2 + 0x340;\n      if (*(int *)(param_1 + 0x200) == 0) {\n        local_202c[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);\n      }\n      else {\n        *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        local_202c[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);\n      }\n      param_3 = local_202c;\n      iVar6 = (*(code *)PTR_IsRightsAuthorized_003a8db0)(4,1,param_3);\n      if (iVar6 == 0) {\n        puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n        *puVar4 = 1;\n        (*(code *)PTR_ThrowMagickException_003a8f20)\n                  (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcd9,499,\n                   PTR_LAB_003a88e0 + 0x1e9c,PTR_LAB_003a88e0 + 0x3e28,param_3);\n        uVar10 = 0;\n        goto LAB_00049c58;\n      }\n      iVar6 = (*(code *)PTR_LocaleCompare_003a9110)(param_3,PTR_s_courses_003a88ec + -0x7ac);\n      puVar2 = PTR_GetImageOption_003a9168;\n      puVar1 = PTR_LAB_003a88e0;\n      if ((iVar6 == 0) || ((local_202c[0] == '\0' && (*(int *)(param_1 + 0x204) == 0)))) {\n        param_4 = 2;\n        *(undefined4 *)(unaff_s7 + 0x44) = *(undefined4 *)PTR_stdin_003a8fc4;\n        *(undefined4 *)(unaff_s7 + 0x40) = 2;\n        *(undefined4 *)(unaff_s7 + 0x30) = 1;\n        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n        if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }\n      }\n      else {\n        iVar6 = (*(code *)PTR_LocaleNCompare_003a961c)(param_3,PTR_LAB_003a88e0 + 0x1ec0,3);\n        if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_IsGeometry_003a9418)(auStack_2029);\n          if (iVar6 != 0) {\n            local_102c = 0x7200;\n            uVar5 = (*(code *)PTR_strtol_003a954c)(auStack_2029,0,10);\n            iVar6 = (*(code *)PTR_fdopen_003a97d8)(uVar5,&local_102c);\n            *(int *)(unaff_s7 + 0x44) = iVar6;\n            puVar2 = PTR_GetImageOption_003a9168;\n            puVar1 = PTR_LAB_003a88e0;\n            if (iVar6 != 0) {\n              *(undefined4 *)(unaff_s7 + 0x40) = 1;\n              *(undefined4 *)(unaff_s7 + 0x30) = 1;\n              iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n              if (iVar6 == 0) {\n                iVar6 = 0x4000;\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n                uVar5 = 0;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n                uVar5 = 2;\n                if (iVar6 != 0) {\n                  uVar5 = 0;\n                }\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n              }\n              iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n              uVar10 = (uint)(iVar6 == 0);\n              goto LAB_00049c58;\n            }\n            puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n            (*(code *)PTR_DestroyString_003a9074)(uVar5);\n            uVar10 = 0;\n            goto LAB_00049c58;\n          }\n        }\n        iVar6 = (*(code *)PTR_GetPathAttributes_003a9364)(param_3,unaff_s7 + 0x48);\n        if ((iVar6 == 0) || ((*(uint *)(unaff_s7 + 0x60) & 0xf000) != 0x1000)) {\n          (*(code *)PTR_GetPathComponent_003a8e18)(unaff_s6,6,local_302c);\n          if (*(int *)(param_1 + 0x204) != 0) {\n            *(int *)(unaff_s7 + 0x44) = *(int *)(param_1 + 0x204);\n            *(undefined4 *)(unaff_s7 + 0x38) = 0;\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            *(undefined4 *)(unaff_s7 + 0x30) = 1;\n            *(undefined4 *)(unaff_s7 + 0x1c) = 0;\n            goto LAB_00049e88;\n          }\n          iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n          *(int *)(unaff_s7 + 0x44) = iVar6;\n          puVar2 = PTR_GetImageOption_003a9168;\n          puVar1 = PTR_LAB_003a88e0;\n          if (iVar6 != 0) {\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n            if (iVar6 == 0) {\n              iVar6 = 0x4000;\n              iVar7 = 0;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            else {\n              iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n              iVar7 = (uint)(iVar6 == 0) << 1;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            (*(code *)PTR_setvbuf_003a90f4)(uVar5,0,iVar7,iVar6);\n            local_102c = 0;\n            local_102a = 0;\n            unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)\n                                 (&local_102c,1,3,*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fseeko64_003a9944)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fflush_003a948c)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0);\n            iVar6 = *(int *)(unaff_s7 + 0x40);\n            if (iVar6 != 1) goto LAB_0004a138;\n            uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(param_1 + 0x210,uVar5);\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);\n            if ((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)) &&\n                (unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar6 != 0)) {\n              uVar5 = (*(code *)PTR_fileno_003a99cc)(*(undefined4 *)(unaff_s7 + 0x44));\n              unaff_s6 = (*(code *)PTR_MapBlob_003a978c)(uVar5,0,0,0,unaff_s5);\n              if (unaff_s6 == 0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                iVar6 = *(int *)(unaff_s7 + 0x40);\n                goto LAB_0004a138;\n              }\n              pcVar9 = (code *)PTR_fclose_003a939c;\n              if (*(int *)(param_1 + 0x204) == 0) goto LAB_0004a850;\n              *(undefined4 *)(unaff_s7 + 0x30) = 0;\n              goto LAB_0004a650;\n            }\n          }\n          iVar6 = *(int *)(unaff_s7 + 0x40);\n          goto LAB_0004a138;\n        }\n        iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n        *(int *)(unaff_s7 + 0x44) = iVar6;\n        puVar2 = PTR_GetImageOption_003a9168;\n        puVar1 = PTR_LAB_003a88e0;\n        if (iVar6 == 0) {\n          puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n          uVar8 = 0xd23;\n          goto LAB_0004a16c;\n        }\n        *(undefined4 *)(unaff_s7 + 0x40) = 1;\n        *(undefined4 *)(unaff_s7 + 0x30) = 1;\n        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n        if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }\n      }\n      iVar6 = 0x4000;\n      uVar5 = 0;\n      uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\nLAB_00049fe8:\n      iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n      uVar10 = (uint)(iVar6 == 0);\n      goto LAB_00049c58;\n    }\n  }\n  (*(code *)PTR___assert_fail_003a9608)\n            (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,PTR_LAB_003a88e0 + 0x1ad8);\nLAB_0004a824:\n  (*(code *)PTR___assert_fail_003a9608)(PTR_LAB_003a88e0 + 0xdd0,PTR_LAB_003a88e0 + 0x1ad8);\n  do {\n    pcVar9 = (code *)PTR___stack_chk_fail_003a9064;\n    (*(code *)PTR___stack_chk_fail_003a9064)();\nLAB_0004a850:\n    (*pcVar9)(*(undefined4 *)(unaff_s7 + 0x44));\n    *(undefined4 *)(unaff_s7 + 0x44) = 0;\nLAB_0004a650:\n    (*(code *)PTR_AttachBlob_003a92c8)(unaff_s7,unaff_s6,unaff_s5);\n    iVar6 = *(int *)(unaff_s7 + 0x40);\n    *(undefined4 *)(unaff_s7 + 0x10) = 1;\nLAB_0004a138:\n    *(undefined4 *)(unaff_s7 + 0x38) = 0;\n    *(undefined4 *)(unaff_s7 + 0x1c) = 0;\n    if (iVar6 == 0) {\n      puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n      uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n      uVar8 = 0xdd1;\nLAB_0004a16c:\n      uVar10 = 0;\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,uVar8,0x1b3,\n                 PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n      (*(code *)PTR_DestroyString_003a9074)(uVar5);\n    }\n    else {\nLAB_00049e88:\n      uVar10 = 1;\n      uVar11 = (*(code *)PTR_GetBlobSize_003a94b8)(param_2);\n      *(undefined8 *)(unaff_s7 + 0x28) = uVar11;\n    }\nLAB_00049c58:\n  } while (local_2c != *(int *)puVar3);\n  return uVar10;\n}" type_identifier (function_declarator "OpenBlob(int param_1,int param_2,char *param_3,undefined4 param_4)" identifier (parameter_list "(int param_1,int param_2,char *param_3,undefined4 param_4)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int param_2" primitive_type identifier) , (parameter_declaration "char *param_3" primitive_type (pointer_declarator "*param_3" * identifier)) , (parameter_declaration "undefined4 param_4" type_identifier identifier) ))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  undefined4 uVar8;\n  int unaff_s1;\n  undefined4 unaff_s3;\n  char *unaff_s4;\n  undefined1 *unaff_s5;\n  int unaff_s6;\n  int unaff_s7;\n  code *pcVar9;\n  uint uVar10;\n  undefined8 uVar11;\n  undefined1 local_302c [4096];\n  char local_202c [3];\n  undefined1 auStack_2029 [4093];\n  undefined2 local_102c;\n  undefined1 local_102a;\n  int local_2c;\n  \n  puVar3 = PTR___stack_chk_guard_003a9230;\n  local_2c = *(int *)PTR___stack_chk_guard_003a9230;\n  pcVar9 = (code *)PTR___assert_fail_003a9608;\n  if (param_1 == 0) {\nLAB_0004a7e4:\n    (*pcVar9)(PTR_LAB_003a88e0 + 0x1c88,PTR_LAB_003a88e0 + 0x1ad8,0xca1,PTR_LAB_003a88e0 + 0x23d8);\n    param_2 = unaff_s1;\n    param_4 = unaff_s3;\n    param_3 = unaff_s4;\n  }\n  else {\n    if (*(int *)(param_1 + 0x3214) != -0x54535255) {\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xda0,PTR_LAB_003a88e0 + 0x1ad8,0xca2,PTR_LAB_003a88e0 + 0x23d8)\n      ;\n      goto LAB_0004a7e4;\n    }\n    if (*(int *)(param_1 + 0x3210) != 0) {\n      (*(code *)PTR_LogMagickEvent_003a91e0)\n                (0x8000,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xca4,\n                 PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210);\n    }\n    puVar1 = PTR_AttachBlob_003a92c8;\n    if (param_2 == 0) goto LAB_0004a824;\n    if (*(int *)(param_2 + 0x336c) == -0x54535255) {\n      iVar6 = *(int *)(param_1 + 0x208);\n      unaff_s7 = *(int *)(param_2 + 0x3348);\n      if (iVar6 != 0) {\n        if (*(int *)(param_1 + 0x200) != 0) {\n          *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        }\n        uVar10 = 1;\n        (*(code *)puVar1)(unaff_s7,iVar6,*(undefined4 *)(param_1 + 0x20c));\n        goto LAB_00049c58;\n      }\n      if ((*(int *)(param_1 + 0x3218) != 0) && (uVar10 = 1, *(char *)(param_2 + 0x340) == '\0')) {\n        *(int *)(unaff_s7 + 0xec) = *(int *)(param_1 + 0x3218);\n        *(undefined4 *)(unaff_s7 + 0x40) = 8;\n        goto LAB_00049c58;\n      }\n      (*(code *)PTR_DetachBlob_003a976c)(unaff_s7,0,0xca7);\n      *(char **)(unaff_s7 + 0xc) = param_3;\n      if (param_3 < &DAT_00000007) {\n                    \n                    \n        uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098)))();\n        return uVar10;\n      }\n      unaff_s5 = PTR_LAB_003a88e0 + 0x4aa0;\n      unaff_s6 = param_2 + 0x340;\n      if (*(int *)(param_1 + 0x200) == 0) {\n        local_202c[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);\n      }\n      else {\n        *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        local_202c[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);\n      }\n      param_3 = local_202c;\n      iVar6 = (*(code *)PTR_IsRightsAuthorized_003a8db0)(4,1,param_3);\n      if (iVar6 == 0) {\n        puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n        *puVar4 = 1;\n        (*(code *)PTR_ThrowMagickException_003a8f20)\n                  (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcd9,499,\n                   PTR_LAB_003a88e0 + 0x1e9c,PTR_LAB_003a88e0 + 0x3e28,param_3);\n        uVar10 = 0;\n        goto LAB_00049c58;\n      }\n      iVar6 = (*(code *)PTR_LocaleCompare_003a9110)(param_3,PTR_s_courses_003a88ec + -0x7ac);\n      puVar2 = PTR_GetImageOption_003a9168;\n      puVar1 = PTR_LAB_003a88e0;\n      if ((iVar6 == 0) || ((local_202c[0] == '\0' && (*(int *)(param_1 + 0x204) == 0)))) {\n        param_4 = 2;\n        *(undefined4 *)(unaff_s7 + 0x44) = *(undefined4 *)PTR_stdin_003a8fc4;\n        *(undefined4 *)(unaff_s7 + 0x40) = 2;\n        *(undefined4 *)(unaff_s7 + 0x30) = 1;\n        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n        if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }\n      }\n      else {\n        iVar6 = (*(code *)PTR_LocaleNCompare_003a961c)(param_3,PTR_LAB_003a88e0 + 0x1ec0,3);\n        if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_IsGeometry_003a9418)(auStack_2029);\n          if (iVar6 != 0) {\n            local_102c = 0x7200;\n            uVar5 = (*(code *)PTR_strtol_003a954c)(auStack_2029,0,10);\n            iVar6 = (*(code *)PTR_fdopen_003a97d8)(uVar5,&local_102c);\n            *(int *)(unaff_s7 + 0x44) = iVar6;\n            puVar2 = PTR_GetImageOption_003a9168;\n            puVar1 = PTR_LAB_003a88e0;\n            if (iVar6 != 0) {\n              *(undefined4 *)(unaff_s7 + 0x40) = 1;\n              *(undefined4 *)(unaff_s7 + 0x30) = 1;\n              iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n              if (iVar6 == 0) {\n                iVar6 = 0x4000;\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n                uVar5 = 0;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n                uVar5 = 2;\n                if (iVar6 != 0) {\n                  uVar5 = 0;\n                }\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n              }\n              iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n              uVar10 = (uint)(iVar6 == 0);\n              goto LAB_00049c58;\n            }\n            puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n            (*(code *)PTR_DestroyString_003a9074)(uVar5);\n            uVar10 = 0;\n            goto LAB_00049c58;\n          }\n        }\n        iVar6 = (*(code *)PTR_GetPathAttributes_003a9364)(param_3,unaff_s7 + 0x48);\n        if ((iVar6 == 0) || ((*(uint *)(unaff_s7 + 0x60) & 0xf000) != 0x1000)) {\n          (*(code *)PTR_GetPathComponent_003a8e18)(unaff_s6,6,local_302c);\n          if (*(int *)(param_1 + 0x204) != 0) {\n            *(int *)(unaff_s7 + 0x44) = *(int *)(param_1 + 0x204);\n            *(undefined4 *)(unaff_s7 + 0x38) = 0;\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            *(undefined4 *)(unaff_s7 + 0x30) = 1;\n            *(undefined4 *)(unaff_s7 + 0x1c) = 0;\n            goto LAB_00049e88;\n          }\n          iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n          *(int *)(unaff_s7 + 0x44) = iVar6;\n          puVar2 = PTR_GetImageOption_003a9168;\n          puVar1 = PTR_LAB_003a88e0;\n          if (iVar6 != 0) {\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n            if (iVar6 == 0) {\n              iVar6 = 0x4000;\n              iVar7 = 0;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            else {\n              iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n              iVar7 = (uint)(iVar6 == 0) << 1;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            (*(code *)PTR_setvbuf_003a90f4)(uVar5,0,iVar7,iVar6);\n            local_102c = 0;\n            local_102a = 0;\n            unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)\n                                 (&local_102c,1,3,*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fseeko64_003a9944)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fflush_003a948c)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0);\n            iVar6 = *(int *)(unaff_s7 + 0x40);\n            if (iVar6 != 1) goto LAB_0004a138;\n            uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(param_1 + 0x210,uVar5);\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);\n            if ((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)) &&\n                (unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar6 != 0)) {\n              uVar5 = (*(code *)PTR_fileno_003a99cc)(*(undefined4 *)(unaff_s7 + 0x44));\n              unaff_s6 = (*(code *)PTR_MapBlob_003a978c)(uVar5,0,0,0,unaff_s5);\n              if (unaff_s6 == 0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                iVar6 = *(int *)(unaff_s7 + 0x40);\n                goto LAB_0004a138;\n              }\n              pcVar9 = (code *)PTR_fclose_003a939c;\n              if (*(int *)(param_1 + 0x204) == 0) goto LAB_0004a850;\n              *(undefined4 *)(unaff_s7 + 0x30) = 0;\n              goto LAB_0004a650;\n            }\n          }\n          iVar6 = *(int *)(unaff_s7 + 0x40);\n          goto LAB_0004a138;\n        }\n        iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n        *(int *)(unaff_s7 + 0x44) = iVar6;\n        puVar2 = PTR_GetImageOption_003a9168;\n        puVar1 = PTR_LAB_003a88e0;\n        if (iVar6 == 0) {\n          puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n          uVar8 = 0xd23;\n          goto LAB_0004a16c;\n        }\n        *(undefined4 *)(unaff_s7 + 0x40) = 1;\n        *(undefined4 *)(unaff_s7 + 0x30) = 1;\n        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n        if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }\n      }\n      iVar6 = 0x4000;\n      uVar5 = 0;\n      uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\nLAB_00049fe8:\n      iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n      uVar10 = (uint)(iVar6 == 0);\n      goto LAB_00049c58;\n    }\n  }\n  (*(code *)PTR___assert_fail_003a9608)\n            (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,PTR_LAB_003a88e0 + 0x1ad8);\nLAB_0004a824:\n  (*(code *)PTR___assert_fail_003a9608)(PTR_LAB_003a88e0 + 0xdd0,PTR_LAB_003a88e0 + 0x1ad8);\n  do {\n    pcVar9 = (code *)PTR___stack_chk_fail_003a9064;\n    (*(code *)PTR___stack_chk_fail_003a9064)();\nLAB_0004a850:\n    (*pcVar9)(*(undefined4 *)(unaff_s7 + 0x44));\n    *(undefined4 *)(unaff_s7 + 0x44) = 0;\nLAB_0004a650:\n    (*(code *)PTR_AttachBlob_003a92c8)(unaff_s7,unaff_s6,unaff_s5);\n    iVar6 = *(int *)(unaff_s7 + 0x40);\n    *(undefined4 *)(unaff_s7 + 0x10) = 1;\nLAB_0004a138:\n    *(undefined4 *)(unaff_s7 + 0x38) = 0;\n    *(undefined4 *)(unaff_s7 + 0x1c) = 0;\n    if (iVar6 == 0) {\n      puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n      uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n      uVar8 = 0xdd1;\nLAB_0004a16c:\n      uVar10 = 0;\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,uVar8,0x1b3,\n                 PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n      (*(code *)PTR_DestroyString_003a9074)(uVar5);\n    }\n    else {\nLAB_00049e88:\n      uVar10 = 1;\n      uVar11 = (*(code *)PTR_GetBlobSize_003a94b8)(param_2);\n      *(undefined8 *)(unaff_s7 + 0x28) = uVar11;\n    }\nLAB_00049c58:\n  } while (local_2c != *(int *)puVar3);\n  return uVar10;\n}" { (declaration "undefined *puVar1;" type_identifier (pointer_declarator "*puVar1" * identifier) ;) (declaration "undefined *puVar2;" type_identifier (pointer_declarator "*puVar2" * identifier) ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "undefined4 uVar5;" type_identifier identifier ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "int iVar7;" primitive_type identifier ;) (declaration "undefined4 uVar8;" type_identifier identifier ;) (declaration "int unaff_s1;" primitive_type identifier ;) (declaration "undefined4 unaff_s3;" type_identifier identifier ;) (declaration "char *unaff_s4;" primitive_type (pointer_declarator "*unaff_s4" * identifier) ;) (declaration "undefined1 *unaff_s5;" type_identifier (pointer_declarator "*unaff_s5" * identifier) ;) (declaration "int unaff_s6;" primitive_type identifier ;) (declaration "int unaff_s7;" primitive_type identifier ;) (declaration "code *pcVar9;" type_identifier (pointer_declarator "*pcVar9" * identifier) ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "undefined8 uVar11;" type_identifier identifier ;) (declaration "undefined1 local_302c [4096];" type_identifier (array_declarator "local_302c [4096]" identifier [ number_literal ]) ;) (declaration "char local_202c [3];" primitive_type (array_declarator "local_202c [3]" identifier [ number_literal ]) ;) (declaration "undefined1 auStack_2029 [4093];" type_identifier (array_declarator "auStack_2029 [4093]" identifier [ number_literal ]) ;) (declaration "undefined2 local_102c;" type_identifier identifier ;) (declaration "undefined1 local_102a;" type_identifier identifier ;) (declaration "int local_2c;" primitive_type identifier ;) (expression_statement "puVar3 = PTR___stack_chk_guard_003a9230;" (assignment_expression "puVar3 = PTR___stack_chk_guard_003a9230" identifier = identifier) ;) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_003a9230;" (assignment_expression "local_2c = *(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))) ;) (expression_statement "pcVar9 = (code *)PTR___assert_fail_003a9608;" (assignment_expression "pcVar9 = (code *)PTR___assert_fail_003a9608" identifier = (cast_expression "(code *)PTR___assert_fail_003a9608" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (param_1 == 0) {\nLAB_0004a7e4:\n    (*pcVar9)(PTR_LAB_003a88e0 + 0x1c88,PTR_LAB_003a88e0 + 0x1ad8,0xca1,PTR_LAB_003a88e0 + 0x23d8);\n    param_2 = unaff_s1;\n    param_4 = unaff_s3;\n    param_3 = unaff_s4;\n  }\n  else {\n    if (*(int *)(param_1 + 0x3214) != -0x54535255) {\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xda0,PTR_LAB_003a88e0 + 0x1ad8,0xca2,PTR_LAB_003a88e0 + 0x23d8)\n      ;\n      goto LAB_0004a7e4;\n    }\n    if (*(int *)(param_1 + 0x3210) != 0) {\n      (*(code *)PTR_LogMagickEvent_003a91e0)\n                (0x8000,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xca4,\n                 PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210);\n    }\n    puVar1 = PTR_AttachBlob_003a92c8;\n    if (param_2 == 0) goto LAB_0004a824;\n    if (*(int *)(param_2 + 0x336c) == -0x54535255) {\n      iVar6 = *(int *)(param_1 + 0x208);\n      unaff_s7 = *(int *)(param_2 + 0x3348);\n      if (iVar6 != 0) {\n        if (*(int *)(param_1 + 0x200) != 0) {\n          *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        }\n        uVar10 = 1;\n        (*(code *)puVar1)(unaff_s7,iVar6,*(undefined4 *)(param_1 + 0x20c));\n        goto LAB_00049c58;\n      }\n      if ((*(int *)(param_1 + 0x3218) != 0) && (uVar10 = 1, *(char *)(param_2 + 0x340) == '\0')) {\n        *(int *)(unaff_s7 + 0xec) = *(int *)(param_1 + 0x3218);\n        *(undefined4 *)(unaff_s7 + 0x40) = 8;\n        goto LAB_00049c58;\n      }\n      (*(code *)PTR_DetachBlob_003a976c)(unaff_s7,0,0xca7);\n      *(char **)(unaff_s7 + 0xc) = param_3;\n      if (param_3 < &DAT_00000007) {\n                    \n                    \n        uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098)))();\n        return uVar10;\n      }\n      unaff_s5 = PTR_LAB_003a88e0 + 0x4aa0;\n      unaff_s6 = param_2 + 0x340;\n      if (*(int *)(param_1 + 0x200) == 0) {\n        local_202c[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);\n      }\n      else {\n        *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        local_202c[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);\n      }\n      param_3 = local_202c;\n      iVar6 = (*(code *)PTR_IsRightsAuthorized_003a8db0)(4,1,param_3);\n      if (iVar6 == 0) {\n        puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n        *puVar4 = 1;\n        (*(code *)PTR_ThrowMagickException_003a8f20)\n                  (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcd9,499,\n                   PTR_LAB_003a88e0 + 0x1e9c,PTR_LAB_003a88e0 + 0x3e28,param_3);\n        uVar10 = 0;\n        goto LAB_00049c58;\n      }\n      iVar6 = (*(code *)PTR_LocaleCompare_003a9110)(param_3,PTR_s_courses_003a88ec + -0x7ac);\n      puVar2 = PTR_GetImageOption_003a9168;\n      puVar1 = PTR_LAB_003a88e0;\n      if ((iVar6 == 0) || ((local_202c[0] == '\0' && (*(int *)(param_1 + 0x204) == 0)))) {\n        param_4 = 2;\n        *(undefined4 *)(unaff_s7 + 0x44) = *(undefined4 *)PTR_stdin_003a8fc4;\n        *(undefined4 *)(unaff_s7 + 0x40) = 2;\n        *(undefined4 *)(unaff_s7 + 0x30) = 1;\n        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n        if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }\n      }\n      else {\n        iVar6 = (*(code *)PTR_LocaleNCompare_003a961c)(param_3,PTR_LAB_003a88e0 + 0x1ec0,3);\n        if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_IsGeometry_003a9418)(auStack_2029);\n          if (iVar6 != 0) {\n            local_102c = 0x7200;\n            uVar5 = (*(code *)PTR_strtol_003a954c)(auStack_2029,0,10);\n            iVar6 = (*(code *)PTR_fdopen_003a97d8)(uVar5,&local_102c);\n            *(int *)(unaff_s7 + 0x44) = iVar6;\n            puVar2 = PTR_GetImageOption_003a9168;\n            puVar1 = PTR_LAB_003a88e0;\n            if (iVar6 != 0) {\n              *(undefined4 *)(unaff_s7 + 0x40) = 1;\n              *(undefined4 *)(unaff_s7 + 0x30) = 1;\n              iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n              if (iVar6 == 0) {\n                iVar6 = 0x4000;\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n                uVar5 = 0;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n                uVar5 = 2;\n                if (iVar6 != 0) {\n                  uVar5 = 0;\n                }\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n              }\n              iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n              uVar10 = (uint)(iVar6 == 0);\n              goto LAB_00049c58;\n            }\n            puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n            (*(code *)PTR_DestroyString_003a9074)(uVar5);\n            uVar10 = 0;\n            goto LAB_00049c58;\n          }\n        }\n        iVar6 = (*(code *)PTR_GetPathAttributes_003a9364)(param_3,unaff_s7 + 0x48);\n        if ((iVar6 == 0) || ((*(uint *)(unaff_s7 + 0x60) & 0xf000) != 0x1000)) {\n          (*(code *)PTR_GetPathComponent_003a8e18)(unaff_s6,6,local_302c);\n          if (*(int *)(param_1 + 0x204) != 0) {\n            *(int *)(unaff_s7 + 0x44) = *(int *)(param_1 + 0x204);\n            *(undefined4 *)(unaff_s7 + 0x38) = 0;\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            *(undefined4 *)(unaff_s7 + 0x30) = 1;\n            *(undefined4 *)(unaff_s7 + 0x1c) = 0;\n            goto LAB_00049e88;\n          }\n          iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n          *(int *)(unaff_s7 + 0x44) = iVar6;\n          puVar2 = PTR_GetImageOption_003a9168;\n          puVar1 = PTR_LAB_003a88e0;\n          if (iVar6 != 0) {\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n            if (iVar6 == 0) {\n              iVar6 = 0x4000;\n              iVar7 = 0;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            else {\n              iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n              iVar7 = (uint)(iVar6 == 0) << 1;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            (*(code *)PTR_setvbuf_003a90f4)(uVar5,0,iVar7,iVar6);\n            local_102c = 0;\n            local_102a = 0;\n            unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)\n                                 (&local_102c,1,3,*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fseeko64_003a9944)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fflush_003a948c)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0);\n            iVar6 = *(int *)(unaff_s7 + 0x40);\n            if (iVar6 != 1) goto LAB_0004a138;\n            uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(param_1 + 0x210,uVar5);\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);\n            if ((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)) &&\n                (unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar6 != 0)) {\n              uVar5 = (*(code *)PTR_fileno_003a99cc)(*(undefined4 *)(unaff_s7 + 0x44));\n              unaff_s6 = (*(code *)PTR_MapBlob_003a978c)(uVar5,0,0,0,unaff_s5);\n              if (unaff_s6 == 0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                iVar6 = *(int *)(unaff_s7 + 0x40);\n                goto LAB_0004a138;\n              }\n              pcVar9 = (code *)PTR_fclose_003a939c;\n              if (*(int *)(param_1 + 0x204) == 0) goto LAB_0004a850;\n              *(undefined4 *)(unaff_s7 + 0x30) = 0;\n              goto LAB_0004a650;\n            }\n          }\n          iVar6 = *(int *)(unaff_s7 + 0x40);\n          goto LAB_0004a138;\n        }\n        iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n        *(int *)(unaff_s7 + 0x44) = iVar6;\n        puVar2 = PTR_GetImageOption_003a9168;\n        puVar1 = PTR_LAB_003a88e0;\n        if (iVar6 == 0) {\n          puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n          uVar8 = 0xd23;\n          goto LAB_0004a16c;\n        }\n        *(undefined4 *)(unaff_s7 + 0x40) = 1;\n        *(undefined4 *)(unaff_s7 + 0x30) = 1;\n        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n        if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }\n      }\n      iVar6 = 0x4000;\n      uVar5 = 0;\n      uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\nLAB_00049fe8:\n      iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n      uVar10 = (uint)(iVar6 == 0);\n      goto LAB_00049c58;\n    }\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_0004a7e4:\n    (*pcVar9)(PTR_LAB_003a88e0 + 0x1c88,PTR_LAB_003a88e0 + 0x1ad8,0xca1,PTR_LAB_003a88e0 + 0x23d8);\n    param_2 = unaff_s1;\n    param_4 = unaff_s3;\n    param_3 = unaff_s4;\n  }" { (labeled_statement "LAB_0004a7e4:\n    (*pcVar9)(PTR_LAB_003a88e0 + 0x1c88,PTR_LAB_003a88e0 + 0x1ad8,0xca1,PTR_LAB_003a88e0 + 0x23d8);" statement_identifier : (expression_statement "(*pcVar9)(PTR_LAB_003a88e0 + 0x1c88,PTR_LAB_003a88e0 + 0x1ad8,0xca1,PTR_LAB_003a88e0 + 0x23d8);" (call_expression "(*pcVar9)(PTR_LAB_003a88e0 + 0x1c88,PTR_LAB_003a88e0 + 0x1ad8,0xca1,PTR_LAB_003a88e0 + 0x23d8)" (parenthesized_expression "(*pcVar9)" ( (pointer_expression "*pcVar9" * identifier) )) (argument_list "(PTR_LAB_003a88e0 + 0x1c88,PTR_LAB_003a88e0 + 0x1ad8,0xca1,PTR_LAB_003a88e0 + 0x23d8)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1c88" identifier + number_literal) , (binary_expression "PTR_LAB_003a88e0 + 0x1ad8" identifier + number_literal) , number_literal , (binary_expression "PTR_LAB_003a88e0 + 0x23d8" identifier + number_literal) ))) ;)) (expression_statement "param_2 = unaff_s1;" (assignment_expression "param_2 = unaff_s1" identifier = identifier) ;) (expression_statement "param_4 = unaff_s3;" (assignment_expression "param_4 = unaff_s3" identifier = identifier) ;) (expression_statement "param_3 = unaff_s4;" (assignment_expression "param_3 = unaff_s4" identifier = identifier) ;) }) (else_clause "else {\n    if (*(int *)(param_1 + 0x3214) != -0x54535255) {\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xda0,PTR_LAB_003a88e0 + 0x1ad8,0xca2,PTR_LAB_003a88e0 + 0x23d8)\n      ;\n      goto LAB_0004a7e4;\n    }\n    if (*(int *)(param_1 + 0x3210) != 0) {\n      (*(code *)PTR_LogMagickEvent_003a91e0)\n                (0x8000,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xca4,\n                 PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210);\n    }\n    puVar1 = PTR_AttachBlob_003a92c8;\n    if (param_2 == 0) goto LAB_0004a824;\n    if (*(int *)(param_2 + 0x336c) == -0x54535255) {\n      iVar6 = *(int *)(param_1 + 0x208);\n      unaff_s7 = *(int *)(param_2 + 0x3348);\n      if (iVar6 != 0) {\n        if (*(int *)(param_1 + 0x200) != 0) {\n          *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        }\n        uVar10 = 1;\n        (*(code *)puVar1)(unaff_s7,iVar6,*(undefined4 *)(param_1 + 0x20c));\n        goto LAB_00049c58;\n      }\n      if ((*(int *)(param_1 + 0x3218) != 0) && (uVar10 = 1, *(char *)(param_2 + 0x340) == '\0')) {\n        *(int *)(unaff_s7 + 0xec) = *(int *)(param_1 + 0x3218);\n        *(undefined4 *)(unaff_s7 + 0x40) = 8;\n        goto LAB_00049c58;\n      }\n      (*(code *)PTR_DetachBlob_003a976c)(unaff_s7,0,0xca7);\n      *(char **)(unaff_s7 + 0xc) = param_3;\n      if (param_3 < &DAT_00000007) {\n                    \n                    \n        uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098)))();\n        return uVar10;\n      }\n      unaff_s5 = PTR_LAB_003a88e0 + 0x4aa0;\n      unaff_s6 = param_2 + 0x340;\n      if (*(int *)(param_1 + 0x200) == 0) {\n        local_202c[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);\n      }\n      else {\n        *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        local_202c[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);\n      }\n      param_3 = local_202c;\n      iVar6 = (*(code *)PTR_IsRightsAuthorized_003a8db0)(4,1,param_3);\n      if (iVar6 == 0) {\n        puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n        *puVar4 = 1;\n        (*(code *)PTR_ThrowMagickException_003a8f20)\n                  (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcd9,499,\n                   PTR_LAB_003a88e0 + 0x1e9c,PTR_LAB_003a88e0 + 0x3e28,param_3);\n        uVar10 = 0;\n        goto LAB_00049c58;\n      }\n      iVar6 = (*(code *)PTR_LocaleCompare_003a9110)(param_3,PTR_s_courses_003a88ec + -0x7ac);\n      puVar2 = PTR_GetImageOption_003a9168;\n      puVar1 = PTR_LAB_003a88e0;\n      if ((iVar6 == 0) || ((local_202c[0] == '\0' && (*(int *)(param_1 + 0x204) == 0)))) {\n        param_4 = 2;\n        *(undefined4 *)(unaff_s7 + 0x44) = *(undefined4 *)PTR_stdin_003a8fc4;\n        *(undefined4 *)(unaff_s7 + 0x40) = 2;\n        *(undefined4 *)(unaff_s7 + 0x30) = 1;\n        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n        if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }\n      }\n      else {\n        iVar6 = (*(code *)PTR_LocaleNCompare_003a961c)(param_3,PTR_LAB_003a88e0 + 0x1ec0,3);\n        if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_IsGeometry_003a9418)(auStack_2029);\n          if (iVar6 != 0) {\n            local_102c = 0x7200;\n            uVar5 = (*(code *)PTR_strtol_003a954c)(auStack_2029,0,10);\n            iVar6 = (*(code *)PTR_fdopen_003a97d8)(uVar5,&local_102c);\n            *(int *)(unaff_s7 + 0x44) = iVar6;\n            puVar2 = PTR_GetImageOption_003a9168;\n            puVar1 = PTR_LAB_003a88e0;\n            if (iVar6 != 0) {\n              *(undefined4 *)(unaff_s7 + 0x40) = 1;\n              *(undefined4 *)(unaff_s7 + 0x30) = 1;\n              iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n              if (iVar6 == 0) {\n                iVar6 = 0x4000;\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n                uVar5 = 0;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n                uVar5 = 2;\n                if (iVar6 != 0) {\n                  uVar5 = 0;\n                }\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n              }\n              iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n              uVar10 = (uint)(iVar6 == 0);\n              goto LAB_00049c58;\n            }\n            puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n            (*(code *)PTR_DestroyString_003a9074)(uVar5);\n            uVar10 = 0;\n            goto LAB_00049c58;\n          }\n        }\n        iVar6 = (*(code *)PTR_GetPathAttributes_003a9364)(param_3,unaff_s7 + 0x48);\n        if ((iVar6 == 0) || ((*(uint *)(unaff_s7 + 0x60) & 0xf000) != 0x1000)) {\n          (*(code *)PTR_GetPathComponent_003a8e18)(unaff_s6,6,local_302c);\n          if (*(int *)(param_1 + 0x204) != 0) {\n            *(int *)(unaff_s7 + 0x44) = *(int *)(param_1 + 0x204);\n            *(undefined4 *)(unaff_s7 + 0x38) = 0;\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            *(undefined4 *)(unaff_s7 + 0x30) = 1;\n            *(undefined4 *)(unaff_s7 + 0x1c) = 0;\n            goto LAB_00049e88;\n          }\n          iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n          *(int *)(unaff_s7 + 0x44) = iVar6;\n          puVar2 = PTR_GetImageOption_003a9168;\n          puVar1 = PTR_LAB_003a88e0;\n          if (iVar6 != 0) {\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n            if (iVar6 == 0) {\n              iVar6 = 0x4000;\n              iVar7 = 0;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            else {\n              iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n              iVar7 = (uint)(iVar6 == 0) << 1;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            (*(code *)PTR_setvbuf_003a90f4)(uVar5,0,iVar7,iVar6);\n            local_102c = 0;\n            local_102a = 0;\n            unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)\n                                 (&local_102c,1,3,*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fseeko64_003a9944)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fflush_003a948c)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0);\n            iVar6 = *(int *)(unaff_s7 + 0x40);\n            if (iVar6 != 1) goto LAB_0004a138;\n            uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(param_1 + 0x210,uVar5);\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);\n            if ((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)) &&\n                (unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar6 != 0)) {\n              uVar5 = (*(code *)PTR_fileno_003a99cc)(*(undefined4 *)(unaff_s7 + 0x44));\n              unaff_s6 = (*(code *)PTR_MapBlob_003a978c)(uVar5,0,0,0,unaff_s5);\n              if (unaff_s6 == 0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                iVar6 = *(int *)(unaff_s7 + 0x40);\n                goto LAB_0004a138;\n              }\n              pcVar9 = (code *)PTR_fclose_003a939c;\n              if (*(int *)(param_1 + 0x204) == 0) goto LAB_0004a850;\n              *(undefined4 *)(unaff_s7 + 0x30) = 0;\n              goto LAB_0004a650;\n            }\n          }\n          iVar6 = *(int *)(unaff_s7 + 0x40);\n          goto LAB_0004a138;\n        }\n        iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n        *(int *)(unaff_s7 + 0x44) = iVar6;\n        puVar2 = PTR_GetImageOption_003a9168;\n        puVar1 = PTR_LAB_003a88e0;\n        if (iVar6 == 0) {\n          puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n          uVar8 = 0xd23;\n          goto LAB_0004a16c;\n        }\n        *(undefined4 *)(unaff_s7 + 0x40) = 1;\n        *(undefined4 *)(unaff_s7 + 0x30) = 1;\n        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n        if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }\n      }\n      iVar6 = 0x4000;\n      uVar5 = 0;\n      uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\nLAB_00049fe8:\n      iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n      uVar10 = (uint)(iVar6 == 0);\n      goto LAB_00049c58;\n    }\n  }" else (compound_statement "{\n    if (*(int *)(param_1 + 0x3214) != -0x54535255) {\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xda0,PTR_LAB_003a88e0 + 0x1ad8,0xca2,PTR_LAB_003a88e0 + 0x23d8)\n      ;\n      goto LAB_0004a7e4;\n    }\n    if (*(int *)(param_1 + 0x3210) != 0) {\n      (*(code *)PTR_LogMagickEvent_003a91e0)\n                (0x8000,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xca4,\n                 PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210);\n    }\n    puVar1 = PTR_AttachBlob_003a92c8;\n    if (param_2 == 0) goto LAB_0004a824;\n    if (*(int *)(param_2 + 0x336c) == -0x54535255) {\n      iVar6 = *(int *)(param_1 + 0x208);\n      unaff_s7 = *(int *)(param_2 + 0x3348);\n      if (iVar6 != 0) {\n        if (*(int *)(param_1 + 0x200) != 0) {\n          *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        }\n        uVar10 = 1;\n        (*(code *)puVar1)(unaff_s7,iVar6,*(undefined4 *)(param_1 + 0x20c));\n        goto LAB_00049c58;\n      }\n      if ((*(int *)(param_1 + 0x3218) != 0) && (uVar10 = 1, *(char *)(param_2 + 0x340) == '\0')) {\n        *(int *)(unaff_s7 + 0xec) = *(int *)(param_1 + 0x3218);\n        *(undefined4 *)(unaff_s7 + 0x40) = 8;\n        goto LAB_00049c58;\n      }\n      (*(code *)PTR_DetachBlob_003a976c)(unaff_s7,0,0xca7);\n      *(char **)(unaff_s7 + 0xc) = param_3;\n      if (param_3 < &DAT_00000007) {\n                    \n                    \n        uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098)))();\n        return uVar10;\n      }\n      unaff_s5 = PTR_LAB_003a88e0 + 0x4aa0;\n      unaff_s6 = param_2 + 0x340;\n      if (*(int *)(param_1 + 0x200) == 0) {\n        local_202c[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);\n      }\n      else {\n        *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        local_202c[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);\n      }\n      param_3 = local_202c;\n      iVar6 = (*(code *)PTR_IsRightsAuthorized_003a8db0)(4,1,param_3);\n      if (iVar6 == 0) {\n        puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n        *puVar4 = 1;\n        (*(code *)PTR_ThrowMagickException_003a8f20)\n                  (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcd9,499,\n                   PTR_LAB_003a88e0 + 0x1e9c,PTR_LAB_003a88e0 + 0x3e28,param_3);\n        uVar10 = 0;\n        goto LAB_00049c58;\n      }\n      iVar6 = (*(code *)PTR_LocaleCompare_003a9110)(param_3,PTR_s_courses_003a88ec + -0x7ac);\n      puVar2 = PTR_GetImageOption_003a9168;\n      puVar1 = PTR_LAB_003a88e0;\n      if ((iVar6 == 0) || ((local_202c[0] == '\0' && (*(int *)(param_1 + 0x204) == 0)))) {\n        param_4 = 2;\n        *(undefined4 *)(unaff_s7 + 0x44) = *(undefined4 *)PTR_stdin_003a8fc4;\n        *(undefined4 *)(unaff_s7 + 0x40) = 2;\n        *(undefined4 *)(unaff_s7 + 0x30) = 1;\n        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n        if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }\n      }\n      else {\n        iVar6 = (*(code *)PTR_LocaleNCompare_003a961c)(param_3,PTR_LAB_003a88e0 + 0x1ec0,3);\n        if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_IsGeometry_003a9418)(auStack_2029);\n          if (iVar6 != 0) {\n            local_102c = 0x7200;\n            uVar5 = (*(code *)PTR_strtol_003a954c)(auStack_2029,0,10);\n            iVar6 = (*(code *)PTR_fdopen_003a97d8)(uVar5,&local_102c);\n            *(int *)(unaff_s7 + 0x44) = iVar6;\n            puVar2 = PTR_GetImageOption_003a9168;\n            puVar1 = PTR_LAB_003a88e0;\n            if (iVar6 != 0) {\n              *(undefined4 *)(unaff_s7 + 0x40) = 1;\n              *(undefined4 *)(unaff_s7 + 0x30) = 1;\n              iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n              if (iVar6 == 0) {\n                iVar6 = 0x4000;\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n                uVar5 = 0;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n                uVar5 = 2;\n                if (iVar6 != 0) {\n                  uVar5 = 0;\n                }\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n              }\n              iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n              uVar10 = (uint)(iVar6 == 0);\n              goto LAB_00049c58;\n            }\n            puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n            (*(code *)PTR_DestroyString_003a9074)(uVar5);\n            uVar10 = 0;\n            goto LAB_00049c58;\n          }\n        }\n        iVar6 = (*(code *)PTR_GetPathAttributes_003a9364)(param_3,unaff_s7 + 0x48);\n        if ((iVar6 == 0) || ((*(uint *)(unaff_s7 + 0x60) & 0xf000) != 0x1000)) {\n          (*(code *)PTR_GetPathComponent_003a8e18)(unaff_s6,6,local_302c);\n          if (*(int *)(param_1 + 0x204) != 0) {\n            *(int *)(unaff_s7 + 0x44) = *(int *)(param_1 + 0x204);\n            *(undefined4 *)(unaff_s7 + 0x38) = 0;\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            *(undefined4 *)(unaff_s7 + 0x30) = 1;\n            *(undefined4 *)(unaff_s7 + 0x1c) = 0;\n            goto LAB_00049e88;\n          }\n          iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n          *(int *)(unaff_s7 + 0x44) = iVar6;\n          puVar2 = PTR_GetImageOption_003a9168;\n          puVar1 = PTR_LAB_003a88e0;\n          if (iVar6 != 0) {\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n            if (iVar6 == 0) {\n              iVar6 = 0x4000;\n              iVar7 = 0;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            else {\n              iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n              iVar7 = (uint)(iVar6 == 0) << 1;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            (*(code *)PTR_setvbuf_003a90f4)(uVar5,0,iVar7,iVar6);\n            local_102c = 0;\n            local_102a = 0;\n            unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)\n                                 (&local_102c,1,3,*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fseeko64_003a9944)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fflush_003a948c)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0);\n            iVar6 = *(int *)(unaff_s7 + 0x40);\n            if (iVar6 != 1) goto LAB_0004a138;\n            uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(param_1 + 0x210,uVar5);\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);\n            if ((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)) &&\n                (unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar6 != 0)) {\n              uVar5 = (*(code *)PTR_fileno_003a99cc)(*(undefined4 *)(unaff_s7 + 0x44));\n              unaff_s6 = (*(code *)PTR_MapBlob_003a978c)(uVar5,0,0,0,unaff_s5);\n              if (unaff_s6 == 0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                iVar6 = *(int *)(unaff_s7 + 0x40);\n                goto LAB_0004a138;\n              }\n              pcVar9 = (code *)PTR_fclose_003a939c;\n              if (*(int *)(param_1 + 0x204) == 0) goto LAB_0004a850;\n              *(undefined4 *)(unaff_s7 + 0x30) = 0;\n              goto LAB_0004a650;\n            }\n          }\n          iVar6 = *(int *)(unaff_s7 + 0x40);\n          goto LAB_0004a138;\n        }\n        iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n        *(int *)(unaff_s7 + 0x44) = iVar6;\n        puVar2 = PTR_GetImageOption_003a9168;\n        puVar1 = PTR_LAB_003a88e0;\n        if (iVar6 == 0) {\n          puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n          uVar8 = 0xd23;\n          goto LAB_0004a16c;\n        }\n        *(undefined4 *)(unaff_s7 + 0x40) = 1;\n        *(undefined4 *)(unaff_s7 + 0x30) = 1;\n        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n        if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }\n      }\n      iVar6 = 0x4000;\n      uVar5 = 0;\n      uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\nLAB_00049fe8:\n      iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n      uVar10 = (uint)(iVar6 == 0);\n      goto LAB_00049c58;\n    }\n  }" { (if_statement "if (*(int *)(param_1 + 0x3214) != -0x54535255) {\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xda0,PTR_LAB_003a88e0 + 0x1ad8,0xca2,PTR_LAB_003a88e0 + 0x23d8)\n      ;\n      goto LAB_0004a7e4;\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      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xda0,PTR_LAB_003a88e0 + 0x1ad8,0xca2,PTR_LAB_003a88e0 + 0x23d8)\n      ;\n      goto LAB_0004a7e4;\n    }" { (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xda0,PTR_LAB_003a88e0 + 0x1ad8,0xca2,PTR_LAB_003a88e0 + 0x23d8)\n      ;" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xda0,PTR_LAB_003a88e0 + 0x1ad8,0xca2,PTR_LAB_003a88e0 + 0x23d8)" (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_LAB_003a88e0 + 0x1ad8,0xca2,PTR_LAB_003a88e0 + 0x23d8)" ( (binary_expression "PTR_LAB_003a88e0 + 0xda0" identifier + number_literal) , (binary_expression "PTR_LAB_003a88e0 + 0x1ad8" identifier + number_literal) , number_literal , (binary_expression "PTR_LAB_003a88e0 + 0x23d8" identifier + number_literal) ))) ;) (goto_statement "goto LAB_0004a7e4;" goto statement_identifier ;) })) (if_statement "if (*(int *)(param_1 + 0x3210) != 0) {\n      (*(code *)PTR_LogMagickEvent_003a91e0)\n                (0x8000,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xca4,\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_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xca4,\n                 PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210);\n    }" { (expression_statement "(*(code *)PTR_LogMagickEvent_003a91e0)\n                (0x8000,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xca4,\n                 PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210);" (call_expression "(*(code *)PTR_LogMagickEvent_003a91e0)\n                (0x8000,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xca4,\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_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xca4,\n                 PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210)" ( number_literal , (binary_expression "PTR_LAB_003a88e0 + 0x1ad8" identifier + number_literal) , (binary_expression "PTR_LAB_003a88e0 + 0x23cc" 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) ))) ;) })) (expression_statement "puVar1 = PTR_AttachBlob_003a92c8;" (assignment_expression "puVar1 = PTR_AttachBlob_003a92c8" identifier = identifier) ;) (if_statement "if (param_2 == 0) goto LAB_0004a824;" if (parenthesized_expression "(param_2 == 0)" ( (binary_expression "param_2 == 0" identifier == number_literal) )) (goto_statement "goto LAB_0004a824;" goto statement_identifier ;)) (if_statement "if (*(int *)(param_2 + 0x336c) == -0x54535255) {\n      iVar6 = *(int *)(param_1 + 0x208);\n      unaff_s7 = *(int *)(param_2 + 0x3348);\n      if (iVar6 != 0) {\n        if (*(int *)(param_1 + 0x200) != 0) {\n          *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        }\n        uVar10 = 1;\n        (*(code *)puVar1)(unaff_s7,iVar6,*(undefined4 *)(param_1 + 0x20c));\n        goto LAB_00049c58;\n      }\n      if ((*(int *)(param_1 + 0x3218) != 0) && (uVar10 = 1, *(char *)(param_2 + 0x340) == '\0')) {\n        *(int *)(unaff_s7 + 0xec) = *(int *)(param_1 + 0x3218);\n        *(undefined4 *)(unaff_s7 + 0x40) = 8;\n        goto LAB_00049c58;\n      }\n      (*(code *)PTR_DetachBlob_003a976c)(unaff_s7,0,0xca7);\n      *(char **)(unaff_s7 + 0xc) = param_3;\n      if (param_3 < &DAT_00000007) {\n                    \n                    \n        uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098)))();\n        return uVar10;\n      }\n      unaff_s5 = PTR_LAB_003a88e0 + 0x4aa0;\n      unaff_s6 = param_2 + 0x340;\n      if (*(int *)(param_1 + 0x200) == 0) {\n        local_202c[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);\n      }\n      else {\n        *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        local_202c[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);\n      }\n      param_3 = local_202c;\n      iVar6 = (*(code *)PTR_IsRightsAuthorized_003a8db0)(4,1,param_3);\n      if (iVar6 == 0) {\n        puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n        *puVar4 = 1;\n        (*(code *)PTR_ThrowMagickException_003a8f20)\n                  (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcd9,499,\n                   PTR_LAB_003a88e0 + 0x1e9c,PTR_LAB_003a88e0 + 0x3e28,param_3);\n        uVar10 = 0;\n        goto LAB_00049c58;\n      }\n      iVar6 = (*(code *)PTR_LocaleCompare_003a9110)(param_3,PTR_s_courses_003a88ec + -0x7ac);\n      puVar2 = PTR_GetImageOption_003a9168;\n      puVar1 = PTR_LAB_003a88e0;\n      if ((iVar6 == 0) || ((local_202c[0] == '\0' && (*(int *)(param_1 + 0x204) == 0)))) {\n        param_4 = 2;\n        *(undefined4 *)(unaff_s7 + 0x44) = *(undefined4 *)PTR_stdin_003a8fc4;\n        *(undefined4 *)(unaff_s7 + 0x40) = 2;\n        *(undefined4 *)(unaff_s7 + 0x30) = 1;\n        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n        if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }\n      }\n      else {\n        iVar6 = (*(code *)PTR_LocaleNCompare_003a961c)(param_3,PTR_LAB_003a88e0 + 0x1ec0,3);\n        if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_IsGeometry_003a9418)(auStack_2029);\n          if (iVar6 != 0) {\n            local_102c = 0x7200;\n            uVar5 = (*(code *)PTR_strtol_003a954c)(auStack_2029,0,10);\n            iVar6 = (*(code *)PTR_fdopen_003a97d8)(uVar5,&local_102c);\n            *(int *)(unaff_s7 + 0x44) = iVar6;\n            puVar2 = PTR_GetImageOption_003a9168;\n            puVar1 = PTR_LAB_003a88e0;\n            if (iVar6 != 0) {\n              *(undefined4 *)(unaff_s7 + 0x40) = 1;\n              *(undefined4 *)(unaff_s7 + 0x30) = 1;\n              iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n              if (iVar6 == 0) {\n                iVar6 = 0x4000;\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n                uVar5 = 0;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n                uVar5 = 2;\n                if (iVar6 != 0) {\n                  uVar5 = 0;\n                }\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n              }\n              iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n              uVar10 = (uint)(iVar6 == 0);\n              goto LAB_00049c58;\n            }\n            puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n            (*(code *)PTR_DestroyString_003a9074)(uVar5);\n            uVar10 = 0;\n            goto LAB_00049c58;\n          }\n        }\n        iVar6 = (*(code *)PTR_GetPathAttributes_003a9364)(param_3,unaff_s7 + 0x48);\n        if ((iVar6 == 0) || ((*(uint *)(unaff_s7 + 0x60) & 0xf000) != 0x1000)) {\n          (*(code *)PTR_GetPathComponent_003a8e18)(unaff_s6,6,local_302c);\n          if (*(int *)(param_1 + 0x204) != 0) {\n            *(int *)(unaff_s7 + 0x44) = *(int *)(param_1 + 0x204);\n            *(undefined4 *)(unaff_s7 + 0x38) = 0;\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            *(undefined4 *)(unaff_s7 + 0x30) = 1;\n            *(undefined4 *)(unaff_s7 + 0x1c) = 0;\n            goto LAB_00049e88;\n          }\n          iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n          *(int *)(unaff_s7 + 0x44) = iVar6;\n          puVar2 = PTR_GetImageOption_003a9168;\n          puVar1 = PTR_LAB_003a88e0;\n          if (iVar6 != 0) {\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n            if (iVar6 == 0) {\n              iVar6 = 0x4000;\n              iVar7 = 0;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            else {\n              iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n              iVar7 = (uint)(iVar6 == 0) << 1;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            (*(code *)PTR_setvbuf_003a90f4)(uVar5,0,iVar7,iVar6);\n            local_102c = 0;\n            local_102a = 0;\n            unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)\n                                 (&local_102c,1,3,*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fseeko64_003a9944)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fflush_003a948c)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0);\n            iVar6 = *(int *)(unaff_s7 + 0x40);\n            if (iVar6 != 1) goto LAB_0004a138;\n            uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(param_1 + 0x210,uVar5);\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);\n            if ((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)) &&\n                (unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar6 != 0)) {\n              uVar5 = (*(code *)PTR_fileno_003a99cc)(*(undefined4 *)(unaff_s7 + 0x44));\n              unaff_s6 = (*(code *)PTR_MapBlob_003a978c)(uVar5,0,0,0,unaff_s5);\n              if (unaff_s6 == 0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                iVar6 = *(int *)(unaff_s7 + 0x40);\n                goto LAB_0004a138;\n              }\n              pcVar9 = (code *)PTR_fclose_003a939c;\n              if (*(int *)(param_1 + 0x204) == 0) goto LAB_0004a850;\n              *(undefined4 *)(unaff_s7 + 0x30) = 0;\n              goto LAB_0004a650;\n            }\n          }\n          iVar6 = *(int *)(unaff_s7 + 0x40);\n          goto LAB_0004a138;\n        }\n        iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n        *(int *)(unaff_s7 + 0x44) = iVar6;\n        puVar2 = PTR_GetImageOption_003a9168;\n        puVar1 = PTR_LAB_003a88e0;\n        if (iVar6 == 0) {\n          puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n          uVar8 = 0xd23;\n          goto LAB_0004a16c;\n        }\n        *(undefined4 *)(unaff_s7 + 0x40) = 1;\n        *(undefined4 *)(unaff_s7 + 0x30) = 1;\n        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n        if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }\n      }\n      iVar6 = 0x4000;\n      uVar5 = 0;\n      uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\nLAB_00049fe8:\n      iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n      uVar10 = (uint)(iVar6 == 0);\n      goto LAB_00049c58;\n    }" if (parenthesized_expression "(*(int *)(param_2 + 0x336c) == -0x54535255)" ( (binary_expression "*(int *)(param_2 + 0x336c) == -0x54535255" (pointer_expression "*(int *)(param_2 + 0x336c)" * (cast_expression "(int *)(param_2 + 0x336c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x336c)" ( (binary_expression "param_2 + 0x336c" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n      iVar6 = *(int *)(param_1 + 0x208);\n      unaff_s7 = *(int *)(param_2 + 0x3348);\n      if (iVar6 != 0) {\n        if (*(int *)(param_1 + 0x200) != 0) {\n          *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        }\n        uVar10 = 1;\n        (*(code *)puVar1)(unaff_s7,iVar6,*(undefined4 *)(param_1 + 0x20c));\n        goto LAB_00049c58;\n      }\n      if ((*(int *)(param_1 + 0x3218) != 0) && (uVar10 = 1, *(char *)(param_2 + 0x340) == '\0')) {\n        *(int *)(unaff_s7 + 0xec) = *(int *)(param_1 + 0x3218);\n        *(undefined4 *)(unaff_s7 + 0x40) = 8;\n        goto LAB_00049c58;\n      }\n      (*(code *)PTR_DetachBlob_003a976c)(unaff_s7,0,0xca7);\n      *(char **)(unaff_s7 + 0xc) = param_3;\n      if (param_3 < &DAT_00000007) {\n                    \n                    \n        uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098)))();\n        return uVar10;\n      }\n      unaff_s5 = PTR_LAB_003a88e0 + 0x4aa0;\n      unaff_s6 = param_2 + 0x340;\n      if (*(int *)(param_1 + 0x200) == 0) {\n        local_202c[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);\n      }\n      else {\n        *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        local_202c[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);\n      }\n      param_3 = local_202c;\n      iVar6 = (*(code *)PTR_IsRightsAuthorized_003a8db0)(4,1,param_3);\n      if (iVar6 == 0) {\n        puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n        *puVar4 = 1;\n        (*(code *)PTR_ThrowMagickException_003a8f20)\n                  (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcd9,499,\n                   PTR_LAB_003a88e0 + 0x1e9c,PTR_LAB_003a88e0 + 0x3e28,param_3);\n        uVar10 = 0;\n        goto LAB_00049c58;\n      }\n      iVar6 = (*(code *)PTR_LocaleCompare_003a9110)(param_3,PTR_s_courses_003a88ec + -0x7ac);\n      puVar2 = PTR_GetImageOption_003a9168;\n      puVar1 = PTR_LAB_003a88e0;\n      if ((iVar6 == 0) || ((local_202c[0] == '\0' && (*(int *)(param_1 + 0x204) == 0)))) {\n        param_4 = 2;\n        *(undefined4 *)(unaff_s7 + 0x44) = *(undefined4 *)PTR_stdin_003a8fc4;\n        *(undefined4 *)(unaff_s7 + 0x40) = 2;\n        *(undefined4 *)(unaff_s7 + 0x30) = 1;\n        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n        if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }\n      }\n      else {\n        iVar6 = (*(code *)PTR_LocaleNCompare_003a961c)(param_3,PTR_LAB_003a88e0 + 0x1ec0,3);\n        if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_IsGeometry_003a9418)(auStack_2029);\n          if (iVar6 != 0) {\n            local_102c = 0x7200;\n            uVar5 = (*(code *)PTR_strtol_003a954c)(auStack_2029,0,10);\n            iVar6 = (*(code *)PTR_fdopen_003a97d8)(uVar5,&local_102c);\n            *(int *)(unaff_s7 + 0x44) = iVar6;\n            puVar2 = PTR_GetImageOption_003a9168;\n            puVar1 = PTR_LAB_003a88e0;\n            if (iVar6 != 0) {\n              *(undefined4 *)(unaff_s7 + 0x40) = 1;\n              *(undefined4 *)(unaff_s7 + 0x30) = 1;\n              iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n              if (iVar6 == 0) {\n                iVar6 = 0x4000;\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n                uVar5 = 0;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n                uVar5 = 2;\n                if (iVar6 != 0) {\n                  uVar5 = 0;\n                }\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n              }\n              iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n              uVar10 = (uint)(iVar6 == 0);\n              goto LAB_00049c58;\n            }\n            puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n            (*(code *)PTR_DestroyString_003a9074)(uVar5);\n            uVar10 = 0;\n            goto LAB_00049c58;\n          }\n        }\n        iVar6 = (*(code *)PTR_GetPathAttributes_003a9364)(param_3,unaff_s7 + 0x48);\n        if ((iVar6 == 0) || ((*(uint *)(unaff_s7 + 0x60) & 0xf000) != 0x1000)) {\n          (*(code *)PTR_GetPathComponent_003a8e18)(unaff_s6,6,local_302c);\n          if (*(int *)(param_1 + 0x204) != 0) {\n            *(int *)(unaff_s7 + 0x44) = *(int *)(param_1 + 0x204);\n            *(undefined4 *)(unaff_s7 + 0x38) = 0;\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            *(undefined4 *)(unaff_s7 + 0x30) = 1;\n            *(undefined4 *)(unaff_s7 + 0x1c) = 0;\n            goto LAB_00049e88;\n          }\n          iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n          *(int *)(unaff_s7 + 0x44) = iVar6;\n          puVar2 = PTR_GetImageOption_003a9168;\n          puVar1 = PTR_LAB_003a88e0;\n          if (iVar6 != 0) {\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n            if (iVar6 == 0) {\n              iVar6 = 0x4000;\n              iVar7 = 0;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            else {\n              iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n              iVar7 = (uint)(iVar6 == 0) << 1;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            (*(code *)PTR_setvbuf_003a90f4)(uVar5,0,iVar7,iVar6);\n            local_102c = 0;\n            local_102a = 0;\n            unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)\n                                 (&local_102c,1,3,*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fseeko64_003a9944)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fflush_003a948c)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0);\n            iVar6 = *(int *)(unaff_s7 + 0x40);\n            if (iVar6 != 1) goto LAB_0004a138;\n            uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(param_1 + 0x210,uVar5);\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);\n            if ((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)) &&\n                (unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar6 != 0)) {\n              uVar5 = (*(code *)PTR_fileno_003a99cc)(*(undefined4 *)(unaff_s7 + 0x44));\n              unaff_s6 = (*(code *)PTR_MapBlob_003a978c)(uVar5,0,0,0,unaff_s5);\n              if (unaff_s6 == 0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                iVar6 = *(int *)(unaff_s7 + 0x40);\n                goto LAB_0004a138;\n              }\n              pcVar9 = (code *)PTR_fclose_003a939c;\n              if (*(int *)(param_1 + 0x204) == 0) goto LAB_0004a850;\n              *(undefined4 *)(unaff_s7 + 0x30) = 0;\n              goto LAB_0004a650;\n            }\n          }\n          iVar6 = *(int *)(unaff_s7 + 0x40);\n          goto LAB_0004a138;\n        }\n        iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n        *(int *)(unaff_s7 + 0x44) = iVar6;\n        puVar2 = PTR_GetImageOption_003a9168;\n        puVar1 = PTR_LAB_003a88e0;\n        if (iVar6 == 0) {\n          puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n          uVar8 = 0xd23;\n          goto LAB_0004a16c;\n        }\n        *(undefined4 *)(unaff_s7 + 0x40) = 1;\n        *(undefined4 *)(unaff_s7 + 0x30) = 1;\n        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n        if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }\n      }\n      iVar6 = 0x4000;\n      uVar5 = 0;\n      uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\nLAB_00049fe8:\n      iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n      uVar10 = (uint)(iVar6 == 0);\n      goto LAB_00049c58;\n    }" { (expression_statement "iVar6 = *(int *)(param_1 + 0x208);" (assignment_expression "iVar6 = *(int *)(param_1 + 0x208)" identifier = (pointer_expression "*(int *)(param_1 + 0x208)" * (cast_expression "(int *)(param_1 + 0x208)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x208)" ( (binary_expression "param_1 + 0x208" identifier + number_literal) ))))) ;) (expression_statement "unaff_s7 = *(int *)(param_2 + 0x3348);" (assignment_expression "unaff_s7 = *(int *)(param_2 + 0x3348)" identifier = (pointer_expression "*(int *)(param_2 + 0x3348)" * (cast_expression "(int *)(param_2 + 0x3348)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x3348)" ( (binary_expression "param_2 + 0x3348" identifier + number_literal) ))))) ;) (if_statement "if (iVar6 != 0) {\n        if (*(int *)(param_1 + 0x200) != 0) {\n          *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        }\n        uVar10 = 1;\n        (*(code *)puVar1)(unaff_s7,iVar6,*(undefined4 *)(param_1 + 0x20c));\n        goto LAB_00049c58;\n      }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n        if (*(int *)(param_1 + 0x200) != 0) {\n          *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        }\n        uVar10 = 1;\n        (*(code *)puVar1)(unaff_s7,iVar6,*(undefined4 *)(param_1 + 0x20c));\n        goto LAB_00049c58;\n      }" { (if_statement "if (*(int *)(param_1 + 0x200) != 0) {\n          *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        }" if (parenthesized_expression "(*(int *)(param_1 + 0x200) != 0)" ( (binary_expression "*(int *)(param_1 + 0x200) != 0" (pointer_expression "*(int *)(param_1 + 0x200)" * (cast_expression "(int *)(param_1 + 0x200)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x200)" ( (binary_expression "param_1 + 0x200" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n          *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        }" { (expression_statement "*(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);" (assignment_expression "*(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200)" (pointer_expression "*(int *)(unaff_s7 + 0xe8)" * (cast_expression "(int *)(unaff_s7 + 0xe8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0xe8)" ( (binary_expression "unaff_s7 + 0xe8" identifier + number_literal) )))) = (pointer_expression "*(int *)(param_1 + 0x200)" * (cast_expression "(int *)(param_1 + 0x200)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x200)" ( (binary_expression "param_1 + 0x200" identifier + number_literal) ))))) ;) })) (expression_statement "uVar10 = 1;" (assignment_expression "uVar10 = 1" identifier = number_literal) ;) (expression_statement "(*(code *)puVar1)(unaff_s7,iVar6,*(undefined4 *)(param_1 + 0x20c));" (call_expression "(*(code *)puVar1)(unaff_s7,iVar6,*(undefined4 *)(param_1 + 0x20c))" (parenthesized_expression "(*(code *)puVar1)" ( (pointer_expression "*(code *)puVar1" * (cast_expression "(code *)puVar1" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s7,iVar6,*(undefined4 *)(param_1 + 0x20c))" ( identifier , identifier , (pointer_expression "*(undefined4 *)(param_1 + 0x20c)" * (cast_expression "(undefined4 *)(param_1 + 0x20c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x20c)" ( (binary_expression "param_1 + 0x20c" identifier + number_literal) )))) ))) ;) (goto_statement "goto LAB_00049c58;" goto statement_identifier ;) })) (if_statement "if ((*(int *)(param_1 + 0x3218) != 0) && (uVar10 = 1, *(char *)(param_2 + 0x340) == '\0')) {\n        *(int *)(unaff_s7 + 0xec) = *(int *)(param_1 + 0x3218);\n        *(undefined4 *)(unaff_s7 + 0x40) = 8;\n        goto LAB_00049c58;\n      }" if (parenthesized_expression "((*(int *)(param_1 + 0x3218) != 0) && (uVar10 = 1, *(char *)(param_2 + 0x340) == '\0'))" ( (binary_expression "(*(int *)(param_1 + 0x3218) != 0) && (uVar10 = 1, *(char *)(param_2 + 0x340) == '\0')" (parenthesized_expression "(*(int *)(param_1 + 0x3218) != 0)" ( (binary_expression "*(int *)(param_1 + 0x3218) != 0" (pointer_expression "*(int *)(param_1 + 0x3218)" * (cast_expression "(int *)(param_1 + 0x3218)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3218)" ( (binary_expression "param_1 + 0x3218" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(uVar10 = 1, *(char *)(param_2 + 0x340) == '\0')" ( (comma_expression "uVar10 = 1, *(char *)(param_2 + 0x340) == '\0'" (assignment_expression "uVar10 = 1" identifier = number_literal) , (binary_expression "*(char *)(param_2 + 0x340) == '\0'" (pointer_expression "*(char *)(param_2 + 0x340)" * (cast_expression "(char *)(param_2 + 0x340)" ( (type_descriptor "char *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x340)" ( (binary_expression "param_2 + 0x340" identifier + number_literal) )))) == (char_literal "'\0'" ' escape_sequence '))) ))) )) (compound_statement "{\n        *(int *)(unaff_s7 + 0xec) = *(int *)(param_1 + 0x3218);\n        *(undefined4 *)(unaff_s7 + 0x40) = 8;\n        goto LAB_00049c58;\n      }" { (expression_statement "*(int *)(unaff_s7 + 0xec) = *(int *)(param_1 + 0x3218);" (assignment_expression "*(int *)(unaff_s7 + 0xec) = *(int *)(param_1 + 0x3218)" (pointer_expression "*(int *)(unaff_s7 + 0xec)" * (cast_expression "(int *)(unaff_s7 + 0xec)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0xec)" ( (binary_expression "unaff_s7 + 0xec" identifier + number_literal) )))) = (pointer_expression "*(int *)(param_1 + 0x3218)" * (cast_expression "(int *)(param_1 + 0x3218)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3218)" ( (binary_expression "param_1 + 0x3218" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(unaff_s7 + 0x40) = 8;" (assignment_expression "*(undefined4 *)(unaff_s7 + 0x40) = 8" (pointer_expression "*(undefined4 *)(unaff_s7 + 0x40)" * (cast_expression "(undefined4 *)(unaff_s7 + 0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x40)" ( (binary_expression "unaff_s7 + 0x40" identifier + number_literal) )))) = number_literal) ;) (goto_statement "goto LAB_00049c58;" goto statement_identifier ;) })) (expression_statement "(*(code *)PTR_DetachBlob_003a976c)(unaff_s7,0,0xca7);" (call_expression "(*(code *)PTR_DetachBlob_003a976c)(unaff_s7,0,0xca7)" (parenthesized_expression "(*(code *)PTR_DetachBlob_003a976c)" ( (pointer_expression "*(code *)PTR_DetachBlob_003a976c" * (cast_expression "(code *)PTR_DetachBlob_003a976c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s7,0,0xca7)" ( identifier , number_literal , number_literal ))) ;) (expression_statement "*(char **)(unaff_s7 + 0xc) = param_3;" (assignment_expression "*(char **)(unaff_s7 + 0xc) = param_3" (pointer_expression "*(char **)(unaff_s7 + 0xc)" * (cast_expression "(char **)(unaff_s7 + 0xc)" ( (type_descriptor "char **" primitive_type (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_s7 + 0xc)" ( (binary_expression "unaff_s7 + 0xc" identifier + number_literal) )))) = identifier) ;) (if_statement "if (param_3 < &DAT_00000007) {\n                    \n                    \n        uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098)))();\n        return uVar10;\n      }" if (parenthesized_expression "(param_3 < &DAT_00000007)" ( (binary_expression "param_3 < &DAT_00000007" identifier < (pointer_expression "&DAT_00000007" & identifier)) )) (compound_statement "{\n                    \n                    \n        uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098)))();\n        return uVar10;\n      }" { (expression_statement "uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098)))();" (assignment_expression "uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098)))()" identifier = (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098)))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098)))" ( (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098))" * (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp_1 + *(int *)(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098))" ( (binary_expression "&_gp_1 + *(int *)(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098)" (pointer_expression "&_gp_1" & identifier) + (pointer_expression "*(int *)(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098)" * (cast_expression "(int *)(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098)" ( (binary_expression "PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098" (binary_expression "PTR_LAB_003a88e0 + (int)param_3 * 4" identifier + (binary_expression "(int)param_3 * 4" (cast_expression "(int)param_3" ( (type_descriptor "int" primitive_type) ) identifier) * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( )))) ;) (return_statement "return uVar10;" return identifier ;) })) (expression_statement "unaff_s5 = PTR_LAB_003a88e0 + 0x4aa0;" (assignment_expression "unaff_s5 = PTR_LAB_003a88e0 + 0x4aa0" identifier = (binary_expression "PTR_LAB_003a88e0 + 0x4aa0" identifier + number_literal)) ;) (expression_statement "unaff_s6 = param_2 + 0x340;" (assignment_expression "unaff_s6 = param_2 + 0x340" identifier = (binary_expression "param_2 + 0x340" identifier + number_literal)) ;) (if_statement "if (*(int *)(param_1 + 0x200) == 0) {\n        local_202c[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);\n      }\n      else {\n        *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        local_202c[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);\n      }" if (parenthesized_expression "(*(int *)(param_1 + 0x200) == 0)" ( (binary_expression "*(int *)(param_1 + 0x200) == 0" (pointer_expression "*(int *)(param_1 + 0x200)" * (cast_expression "(int *)(param_1 + 0x200)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x200)" ( (binary_expression "param_1 + 0x200" identifier + number_literal) )))) == number_literal) )) (compound_statement "{\n        local_202c[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);\n      }" { (expression_statement "local_202c[0] = '\0';" (assignment_expression "local_202c[0] = '\0'" (subscript_expression "local_202c[0]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "(*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);" (call_expression "(*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000)" (parenthesized_expression "(*(code *)PTR_CopyMagickString_003a983c)" ( (pointer_expression "*(code *)PTR_CopyMagickString_003a983c" * (cast_expression "(code *)PTR_CopyMagickString_003a983c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_202c,unaff_s6,0x1000)" ( identifier , identifier , number_literal ))) ;) }) (else_clause "else {\n        *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        local_202c[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);\n      }" else (compound_statement "{\n        *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        local_202c[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);\n      }" { (expression_statement "*(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);" (assignment_expression "*(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200)" (pointer_expression "*(int *)(unaff_s7 + 0xe8)" * (cast_expression "(int *)(unaff_s7 + 0xe8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0xe8)" ( (binary_expression "unaff_s7 + 0xe8" identifier + number_literal) )))) = (pointer_expression "*(int *)(param_1 + 0x200)" * (cast_expression "(int *)(param_1 + 0x200)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x200)" ( (binary_expression "param_1 + 0x200" identifier + number_literal) ))))) ;) (expression_statement "local_202c[0] = '\0';" (assignment_expression "local_202c[0] = '\0'" (subscript_expression "local_202c[0]" identifier [ number_literal ]) = (char_literal "'\0'" ' escape_sequence ')) ;) (expression_statement "(*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);" (call_expression "(*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000)" (parenthesized_expression "(*(code *)PTR_CopyMagickString_003a983c)" ( (pointer_expression "*(code *)PTR_CopyMagickString_003a983c" * (cast_expression "(code *)PTR_CopyMagickString_003a983c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_202c,unaff_s6,0x1000)" ( identifier , identifier , number_literal ))) ;) }))) (expression_statement "param_3 = local_202c;" (assignment_expression "param_3 = local_202c" identifier = identifier) ;) (expression_statement "iVar6 = (*(code *)PTR_IsRightsAuthorized_003a8db0)(4,1,param_3);" (assignment_expression "iVar6 = (*(code *)PTR_IsRightsAuthorized_003a8db0)(4,1,param_3)" identifier = (call_expression "(*(code *)PTR_IsRightsAuthorized_003a8db0)(4,1,param_3)" (parenthesized_expression "(*(code *)PTR_IsRightsAuthorized_003a8db0)" ( (pointer_expression "*(code *)PTR_IsRightsAuthorized_003a8db0" * (cast_expression "(code *)PTR_IsRightsAuthorized_003a8db0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(4,1,param_3)" ( number_literal , number_literal , identifier )))) ;) (if_statement "if (iVar6 == 0) {\n        puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n        *puVar4 = 1;\n        (*(code *)PTR_ThrowMagickException_003a8f20)\n                  (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcd9,499,\n                   PTR_LAB_003a88e0 + 0x1e9c,PTR_LAB_003a88e0 + 0x3e28,param_3);\n        uVar10 = 0;\n        goto LAB_00049c58;\n      }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n        puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n        *puVar4 = 1;\n        (*(code *)PTR_ThrowMagickException_003a8f20)\n                  (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcd9,499,\n                   PTR_LAB_003a88e0 + 0x1e9c,PTR_LAB_003a88e0 + 0x3e28,param_3);\n        uVar10 = 0;\n        goto LAB_00049c58;\n      }" { (expression_statement "puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();" (assignment_expression "puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_003a99b0)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_003a99b0)()" (parenthesized_expression "(*(code *)PTR___errno_location_003a99b0)" ( (pointer_expression "*(code *)PTR___errno_location_003a99b0" * (cast_expression "(code *)PTR___errno_location_003a99b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "*puVar4 = 1;" (assignment_expression "*puVar4 = 1" (pointer_expression "*puVar4" * identifier) = number_literal) ;) (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n                  (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcd9,499,\n                   PTR_LAB_003a88e0 + 0x1e9c,PTR_LAB_003a88e0 + 0x3e28,param_3);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n                  (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcd9,499,\n                   PTR_LAB_003a88e0 + 0x1e9c,PTR_LAB_003a88e0 + 0x3e28,param_3)" (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_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcd9,499,\n                   PTR_LAB_003a88e0 + 0x1e9c,PTR_LAB_003a88e0 + 0x3e28,param_3)" ( identifier , (binary_expression "PTR_LAB_003a88e0 + 0x1ad8" identifier + number_literal) , (binary_expression "PTR_LAB_003a88e0 + 0x23cc" identifier + number_literal) , number_literal , number_literal , (binary_expression "PTR_LAB_003a88e0 + 0x1e9c" identifier + number_literal) , (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal) , identifier ))) ;) (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_00049c58;" goto statement_identifier ;) })) (expression_statement "iVar6 = (*(code *)PTR_LocaleCompare_003a9110)(param_3,PTR_s_courses_003a88ec + -0x7ac);" (assignment_expression "iVar6 = (*(code *)PTR_LocaleCompare_003a9110)(param_3,PTR_s_courses_003a88ec + -0x7ac)" identifier = (call_expression "(*(code *)PTR_LocaleCompare_003a9110)(param_3,PTR_s_courses_003a88ec + -0x7ac)" (parenthesized_expression "(*(code *)PTR_LocaleCompare_003a9110)" ( (pointer_expression "*(code *)PTR_LocaleCompare_003a9110" * (cast_expression "(code *)PTR_LocaleCompare_003a9110" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_3,PTR_s_courses_003a88ec + -0x7ac)" ( identifier , (binary_expression "PTR_s_courses_003a88ec + -0x7ac" identifier + number_literal) )))) ;) (expression_statement "puVar2 = PTR_GetImageOption_003a9168;" (assignment_expression "puVar2 = PTR_GetImageOption_003a9168" identifier = identifier) ;) (expression_statement "puVar1 = PTR_LAB_003a88e0;" (assignment_expression "puVar1 = PTR_LAB_003a88e0" identifier = identifier) ;) (if_statement "if ((iVar6 == 0) || ((local_202c[0] == '\0' && (*(int *)(param_1 + 0x204) == 0)))) {\n        param_4 = 2;\n        *(undefined4 *)(unaff_s7 + 0x44) = *(undefined4 *)PTR_stdin_003a8fc4;\n        *(undefined4 *)(unaff_s7 + 0x40) = 2;\n        *(undefined4 *)(unaff_s7 + 0x30) = 1;\n        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n        if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }\n      }\n      else {\n        iVar6 = (*(code *)PTR_LocaleNCompare_003a961c)(param_3,PTR_LAB_003a88e0 + 0x1ec0,3);\n        if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_IsGeometry_003a9418)(auStack_2029);\n          if (iVar6 != 0) {\n            local_102c = 0x7200;\n            uVar5 = (*(code *)PTR_strtol_003a954c)(auStack_2029,0,10);\n            iVar6 = (*(code *)PTR_fdopen_003a97d8)(uVar5,&local_102c);\n            *(int *)(unaff_s7 + 0x44) = iVar6;\n            puVar2 = PTR_GetImageOption_003a9168;\n            puVar1 = PTR_LAB_003a88e0;\n            if (iVar6 != 0) {\n              *(undefined4 *)(unaff_s7 + 0x40) = 1;\n              *(undefined4 *)(unaff_s7 + 0x30) = 1;\n              iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n              if (iVar6 == 0) {\n                iVar6 = 0x4000;\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n                uVar5 = 0;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n                uVar5 = 2;\n                if (iVar6 != 0) {\n                  uVar5 = 0;\n                }\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n              }\n              iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n              uVar10 = (uint)(iVar6 == 0);\n              goto LAB_00049c58;\n            }\n            puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n            (*(code *)PTR_DestroyString_003a9074)(uVar5);\n            uVar10 = 0;\n            goto LAB_00049c58;\n          }\n        }\n        iVar6 = (*(code *)PTR_GetPathAttributes_003a9364)(param_3,unaff_s7 + 0x48);\n        if ((iVar6 == 0) || ((*(uint *)(unaff_s7 + 0x60) & 0xf000) != 0x1000)) {\n          (*(code *)PTR_GetPathComponent_003a8e18)(unaff_s6,6,local_302c);\n          if (*(int *)(param_1 + 0x204) != 0) {\n            *(int *)(unaff_s7 + 0x44) = *(int *)(param_1 + 0x204);\n            *(undefined4 *)(unaff_s7 + 0x38) = 0;\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            *(undefined4 *)(unaff_s7 + 0x30) = 1;\n            *(undefined4 *)(unaff_s7 + 0x1c) = 0;\n            goto LAB_00049e88;\n          }\n          iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n          *(int *)(unaff_s7 + 0x44) = iVar6;\n          puVar2 = PTR_GetImageOption_003a9168;\n          puVar1 = PTR_LAB_003a88e0;\n          if (iVar6 != 0) {\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n            if (iVar6 == 0) {\n              iVar6 = 0x4000;\n              iVar7 = 0;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            else {\n              iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n              iVar7 = (uint)(iVar6 == 0) << 1;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            (*(code *)PTR_setvbuf_003a90f4)(uVar5,0,iVar7,iVar6);\n            local_102c = 0;\n            local_102a = 0;\n            unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)\n                                 (&local_102c,1,3,*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fseeko64_003a9944)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fflush_003a948c)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0);\n            iVar6 = *(int *)(unaff_s7 + 0x40);\n            if (iVar6 != 1) goto LAB_0004a138;\n            uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(param_1 + 0x210,uVar5);\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);\n            if ((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)) &&\n                (unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar6 != 0)) {\n              uVar5 = (*(code *)PTR_fileno_003a99cc)(*(undefined4 *)(unaff_s7 + 0x44));\n              unaff_s6 = (*(code *)PTR_MapBlob_003a978c)(uVar5,0,0,0,unaff_s5);\n              if (unaff_s6 == 0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                iVar6 = *(int *)(unaff_s7 + 0x40);\n                goto LAB_0004a138;\n              }\n              pcVar9 = (code *)PTR_fclose_003a939c;\n              if (*(int *)(param_1 + 0x204) == 0) goto LAB_0004a850;\n              *(undefined4 *)(unaff_s7 + 0x30) = 0;\n              goto LAB_0004a650;\n            }\n          }\n          iVar6 = *(int *)(unaff_s7 + 0x40);\n          goto LAB_0004a138;\n        }\n        iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n        *(int *)(unaff_s7 + 0x44) = iVar6;\n        puVar2 = PTR_GetImageOption_003a9168;\n        puVar1 = PTR_LAB_003a88e0;\n        if (iVar6 == 0) {\n          puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n          uVar8 = 0xd23;\n          goto LAB_0004a16c;\n        }\n        *(undefined4 *)(unaff_s7 + 0x40) = 1;\n        *(undefined4 *)(unaff_s7 + 0x30) = 1;\n        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n        if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }\n      }" if (parenthesized_expression "((iVar6 == 0) || ((local_202c[0] == '\0' && (*(int *)(param_1 + 0x204) == 0))))" ( (binary_expression "(iVar6 == 0) || ((local_202c[0] == '\0' && (*(int *)(param_1 + 0x204) == 0)))" (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) || (parenthesized_expression "((local_202c[0] == '\0' && (*(int *)(param_1 + 0x204) == 0)))" ( (parenthesized_expression "(local_202c[0] == '\0' && (*(int *)(param_1 + 0x204) == 0))" ( (binary_expression "local_202c[0] == '\0' && (*(int *)(param_1 + 0x204) == 0)" (binary_expression "local_202c[0] == '\0'" (subscript_expression "local_202c[0]" identifier [ number_literal ]) == (char_literal "'\0'" ' escape_sequence ')) && (parenthesized_expression "(*(int *)(param_1 + 0x204) == 0)" ( (binary_expression "*(int *)(param_1 + 0x204) == 0" (pointer_expression "*(int *)(param_1 + 0x204)" * (cast_expression "(int *)(param_1 + 0x204)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x204)" ( (binary_expression "param_1 + 0x204" identifier + number_literal) )))) == number_literal) ))) )) ))) )) (compound_statement "{\n        param_4 = 2;\n        *(undefined4 *)(unaff_s7 + 0x44) = *(undefined4 *)PTR_stdin_003a8fc4;\n        *(undefined4 *)(unaff_s7 + 0x40) = 2;\n        *(undefined4 *)(unaff_s7 + 0x30) = 1;\n        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n        if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }\n      }" { (expression_statement "param_4 = 2;" (assignment_expression "param_4 = 2" identifier = number_literal) ;) (expression_statement "*(undefined4 *)(unaff_s7 + 0x44) = *(undefined4 *)PTR_stdin_003a8fc4;" (assignment_expression "*(undefined4 *)(unaff_s7 + 0x44) = *(undefined4 *)PTR_stdin_003a8fc4" (pointer_expression "*(undefined4 *)(unaff_s7 + 0x44)" * (cast_expression "(undefined4 *)(unaff_s7 + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x44)" ( (binary_expression "unaff_s7 + 0x44" identifier + number_literal) )))) = (pointer_expression "*(undefined4 *)PTR_stdin_003a8fc4" * (cast_expression "(undefined4 *)PTR_stdin_003a8fc4" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier))) ;) (expression_statement "*(undefined4 *)(unaff_s7 + 0x40) = 2;" (assignment_expression "*(undefined4 *)(unaff_s7 + 0x40) = 2" (pointer_expression "*(undefined4 *)(unaff_s7 + 0x40)" * (cast_expression "(undefined4 *)(unaff_s7 + 0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x40)" ( (binary_expression "unaff_s7 + 0x40" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(unaff_s7 + 0x30) = 1;" (assignment_expression "*(undefined4 *)(unaff_s7 + 0x30) = 1" (pointer_expression "*(undefined4 *)(unaff_s7 + 0x30)" * (cast_expression "(undefined4 *)(unaff_s7 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x30)" ( (binary_expression "unaff_s7 + 0x30" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);" (assignment_expression "iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac)" identifier = (call_expression "(*(code *)puVar2)(param_1,puVar1 + 0x1eac)" (parenthesized_expression "(*(code *)puVar2)" ( (pointer_expression "*(code *)puVar2" * (cast_expression "(code *)puVar2" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,puVar1 + 0x1eac)" ( identifier , (binary_expression "puVar1 + 0x1eac" identifier + number_literal) )))) ;) (if_statement "if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }" { (expression_statement "iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);" (assignment_expression "iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10)" identifier = (call_expression "(*(code *)PTR_strtoul_003a9340)(iVar6,0,10)" (parenthesized_expression "(*(code *)PTR_strtoul_003a9340)" ( (pointer_expression "*(code *)PTR_strtoul_003a9340" * (cast_expression "(code *)PTR_strtoul_003a9340" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar6,0,10)" ( identifier , number_literal , number_literal )))) ;) (expression_statement "uVar5 = 2;" (assignment_expression "uVar5 = 2" identifier = number_literal) ;) (if_statement "if (iVar6 != 0) {\n            uVar5 = 0;\n          }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n            uVar5 = 0;\n          }" { (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) })) (expression_statement "uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);" (assignment_expression "uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44)" identifier = (pointer_expression "*(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44)" * (cast_expression "(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_2 + 0x3348) + 0x44)" ( (binary_expression "*(int *)(param_2 + 0x3348) + 0x44" (pointer_expression "*(int *)(param_2 + 0x3348)" * (cast_expression "(int *)(param_2 + 0x3348)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x3348)" ( (binary_expression "param_2 + 0x3348" identifier + number_literal) )))) + number_literal) ))))) ;) (goto_statement "goto LAB_00049fe8;" goto statement_identifier ;) })) }) (else_clause "else {\n        iVar6 = (*(code *)PTR_LocaleNCompare_003a961c)(param_3,PTR_LAB_003a88e0 + 0x1ec0,3);\n        if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_IsGeometry_003a9418)(auStack_2029);\n          if (iVar6 != 0) {\n            local_102c = 0x7200;\n            uVar5 = (*(code *)PTR_strtol_003a954c)(auStack_2029,0,10);\n            iVar6 = (*(code *)PTR_fdopen_003a97d8)(uVar5,&local_102c);\n            *(int *)(unaff_s7 + 0x44) = iVar6;\n            puVar2 = PTR_GetImageOption_003a9168;\n            puVar1 = PTR_LAB_003a88e0;\n            if (iVar6 != 0) {\n              *(undefined4 *)(unaff_s7 + 0x40) = 1;\n              *(undefined4 *)(unaff_s7 + 0x30) = 1;\n              iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n              if (iVar6 == 0) {\n                iVar6 = 0x4000;\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n                uVar5 = 0;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n                uVar5 = 2;\n                if (iVar6 != 0) {\n                  uVar5 = 0;\n                }\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n              }\n              iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n              uVar10 = (uint)(iVar6 == 0);\n              goto LAB_00049c58;\n            }\n            puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n            (*(code *)PTR_DestroyString_003a9074)(uVar5);\n            uVar10 = 0;\n            goto LAB_00049c58;\n          }\n        }\n        iVar6 = (*(code *)PTR_GetPathAttributes_003a9364)(param_3,unaff_s7 + 0x48);\n        if ((iVar6 == 0) || ((*(uint *)(unaff_s7 + 0x60) & 0xf000) != 0x1000)) {\n          (*(code *)PTR_GetPathComponent_003a8e18)(unaff_s6,6,local_302c);\n          if (*(int *)(param_1 + 0x204) != 0) {\n            *(int *)(unaff_s7 + 0x44) = *(int *)(param_1 + 0x204);\n            *(undefined4 *)(unaff_s7 + 0x38) = 0;\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            *(undefined4 *)(unaff_s7 + 0x30) = 1;\n            *(undefined4 *)(unaff_s7 + 0x1c) = 0;\n            goto LAB_00049e88;\n          }\n          iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n          *(int *)(unaff_s7 + 0x44) = iVar6;\n          puVar2 = PTR_GetImageOption_003a9168;\n          puVar1 = PTR_LAB_003a88e0;\n          if (iVar6 != 0) {\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n            if (iVar6 == 0) {\n              iVar6 = 0x4000;\n              iVar7 = 0;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            else {\n              iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n              iVar7 = (uint)(iVar6 == 0) << 1;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            (*(code *)PTR_setvbuf_003a90f4)(uVar5,0,iVar7,iVar6);\n            local_102c = 0;\n            local_102a = 0;\n            unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)\n                                 (&local_102c,1,3,*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fseeko64_003a9944)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fflush_003a948c)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0);\n            iVar6 = *(int *)(unaff_s7 + 0x40);\n            if (iVar6 != 1) goto LAB_0004a138;\n            uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(param_1 + 0x210,uVar5);\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);\n            if ((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)) &&\n                (unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar6 != 0)) {\n              uVar5 = (*(code *)PTR_fileno_003a99cc)(*(undefined4 *)(unaff_s7 + 0x44));\n              unaff_s6 = (*(code *)PTR_MapBlob_003a978c)(uVar5,0,0,0,unaff_s5);\n              if (unaff_s6 == 0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                iVar6 = *(int *)(unaff_s7 + 0x40);\n                goto LAB_0004a138;\n              }\n              pcVar9 = (code *)PTR_fclose_003a939c;\n              if (*(int *)(param_1 + 0x204) == 0) goto LAB_0004a850;\n              *(undefined4 *)(unaff_s7 + 0x30) = 0;\n              goto LAB_0004a650;\n            }\n          }\n          iVar6 = *(int *)(unaff_s7 + 0x40);\n          goto LAB_0004a138;\n        }\n        iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n        *(int *)(unaff_s7 + 0x44) = iVar6;\n        puVar2 = PTR_GetImageOption_003a9168;\n        puVar1 = PTR_LAB_003a88e0;\n        if (iVar6 == 0) {\n          puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n          uVar8 = 0xd23;\n          goto LAB_0004a16c;\n        }\n        *(undefined4 *)(unaff_s7 + 0x40) = 1;\n        *(undefined4 *)(unaff_s7 + 0x30) = 1;\n        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n        if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }\n      }" else (compound_statement "{\n        iVar6 = (*(code *)PTR_LocaleNCompare_003a961c)(param_3,PTR_LAB_003a88e0 + 0x1ec0,3);\n        if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_IsGeometry_003a9418)(auStack_2029);\n          if (iVar6 != 0) {\n            local_102c = 0x7200;\n            uVar5 = (*(code *)PTR_strtol_003a954c)(auStack_2029,0,10);\n            iVar6 = (*(code *)PTR_fdopen_003a97d8)(uVar5,&local_102c);\n            *(int *)(unaff_s7 + 0x44) = iVar6;\n            puVar2 = PTR_GetImageOption_003a9168;\n            puVar1 = PTR_LAB_003a88e0;\n            if (iVar6 != 0) {\n              *(undefined4 *)(unaff_s7 + 0x40) = 1;\n              *(undefined4 *)(unaff_s7 + 0x30) = 1;\n              iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n              if (iVar6 == 0) {\n                iVar6 = 0x4000;\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n                uVar5 = 0;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n                uVar5 = 2;\n                if (iVar6 != 0) {\n                  uVar5 = 0;\n                }\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n              }\n              iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n              uVar10 = (uint)(iVar6 == 0);\n              goto LAB_00049c58;\n            }\n            puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n            (*(code *)PTR_DestroyString_003a9074)(uVar5);\n            uVar10 = 0;\n            goto LAB_00049c58;\n          }\n        }\n        iVar6 = (*(code *)PTR_GetPathAttributes_003a9364)(param_3,unaff_s7 + 0x48);\n        if ((iVar6 == 0) || ((*(uint *)(unaff_s7 + 0x60) & 0xf000) != 0x1000)) {\n          (*(code *)PTR_GetPathComponent_003a8e18)(unaff_s6,6,local_302c);\n          if (*(int *)(param_1 + 0x204) != 0) {\n            *(int *)(unaff_s7 + 0x44) = *(int *)(param_1 + 0x204);\n            *(undefined4 *)(unaff_s7 + 0x38) = 0;\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            *(undefined4 *)(unaff_s7 + 0x30) = 1;\n            *(undefined4 *)(unaff_s7 + 0x1c) = 0;\n            goto LAB_00049e88;\n          }\n          iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n          *(int *)(unaff_s7 + 0x44) = iVar6;\n          puVar2 = PTR_GetImageOption_003a9168;\n          puVar1 = PTR_LAB_003a88e0;\n          if (iVar6 != 0) {\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n            if (iVar6 == 0) {\n              iVar6 = 0x4000;\n              iVar7 = 0;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            else {\n              iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n              iVar7 = (uint)(iVar6 == 0) << 1;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            (*(code *)PTR_setvbuf_003a90f4)(uVar5,0,iVar7,iVar6);\n            local_102c = 0;\n            local_102a = 0;\n            unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)\n                                 (&local_102c,1,3,*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fseeko64_003a9944)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fflush_003a948c)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0);\n            iVar6 = *(int *)(unaff_s7 + 0x40);\n            if (iVar6 != 1) goto LAB_0004a138;\n            uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(param_1 + 0x210,uVar5);\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);\n            if ((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)) &&\n                (unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar6 != 0)) {\n              uVar5 = (*(code *)PTR_fileno_003a99cc)(*(undefined4 *)(unaff_s7 + 0x44));\n              unaff_s6 = (*(code *)PTR_MapBlob_003a978c)(uVar5,0,0,0,unaff_s5);\n              if (unaff_s6 == 0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                iVar6 = *(int *)(unaff_s7 + 0x40);\n                goto LAB_0004a138;\n              }\n              pcVar9 = (code *)PTR_fclose_003a939c;\n              if (*(int *)(param_1 + 0x204) == 0) goto LAB_0004a850;\n              *(undefined4 *)(unaff_s7 + 0x30) = 0;\n              goto LAB_0004a650;\n            }\n          }\n          iVar6 = *(int *)(unaff_s7 + 0x40);\n          goto LAB_0004a138;\n        }\n        iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n        *(int *)(unaff_s7 + 0x44) = iVar6;\n        puVar2 = PTR_GetImageOption_003a9168;\n        puVar1 = PTR_LAB_003a88e0;\n        if (iVar6 == 0) {\n          puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n          uVar8 = 0xd23;\n          goto LAB_0004a16c;\n        }\n        *(undefined4 *)(unaff_s7 + 0x40) = 1;\n        *(undefined4 *)(unaff_s7 + 0x30) = 1;\n        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n        if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }\n      }" { (expression_statement "iVar6 = (*(code *)PTR_LocaleNCompare_003a961c)(param_3,PTR_LAB_003a88e0 + 0x1ec0,3);" (assignment_expression "iVar6 = (*(code *)PTR_LocaleNCompare_003a961c)(param_3,PTR_LAB_003a88e0 + 0x1ec0,3)" identifier = (call_expression "(*(code *)PTR_LocaleNCompare_003a961c)(param_3,PTR_LAB_003a88e0 + 0x1ec0,3)" (parenthesized_expression "(*(code *)PTR_LocaleNCompare_003a961c)" ( (pointer_expression "*(code *)PTR_LocaleNCompare_003a961c" * (cast_expression "(code *)PTR_LocaleNCompare_003a961c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_3,PTR_LAB_003a88e0 + 0x1ec0,3)" ( identifier , (binary_expression "PTR_LAB_003a88e0 + 0x1ec0" identifier + number_literal) , number_literal )))) ;) (if_statement "if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_IsGeometry_003a9418)(auStack_2029);\n          if (iVar6 != 0) {\n            local_102c = 0x7200;\n            uVar5 = (*(code *)PTR_strtol_003a954c)(auStack_2029,0,10);\n            iVar6 = (*(code *)PTR_fdopen_003a97d8)(uVar5,&local_102c);\n            *(int *)(unaff_s7 + 0x44) = iVar6;\n            puVar2 = PTR_GetImageOption_003a9168;\n            puVar1 = PTR_LAB_003a88e0;\n            if (iVar6 != 0) {\n              *(undefined4 *)(unaff_s7 + 0x40) = 1;\n              *(undefined4 *)(unaff_s7 + 0x30) = 1;\n              iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n              if (iVar6 == 0) {\n                iVar6 = 0x4000;\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n                uVar5 = 0;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n                uVar5 = 2;\n                if (iVar6 != 0) {\n                  uVar5 = 0;\n                }\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n              }\n              iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n              uVar10 = (uint)(iVar6 == 0);\n              goto LAB_00049c58;\n            }\n            puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n            (*(code *)PTR_DestroyString_003a9074)(uVar5);\n            uVar10 = 0;\n            goto LAB_00049c58;\n          }\n        }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n          iVar6 = (*(code *)PTR_IsGeometry_003a9418)(auStack_2029);\n          if (iVar6 != 0) {\n            local_102c = 0x7200;\n            uVar5 = (*(code *)PTR_strtol_003a954c)(auStack_2029,0,10);\n            iVar6 = (*(code *)PTR_fdopen_003a97d8)(uVar5,&local_102c);\n            *(int *)(unaff_s7 + 0x44) = iVar6;\n            puVar2 = PTR_GetImageOption_003a9168;\n            puVar1 = PTR_LAB_003a88e0;\n            if (iVar6 != 0) {\n              *(undefined4 *)(unaff_s7 + 0x40) = 1;\n              *(undefined4 *)(unaff_s7 + 0x30) = 1;\n              iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n              if (iVar6 == 0) {\n                iVar6 = 0x4000;\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n                uVar5 = 0;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n                uVar5 = 2;\n                if (iVar6 != 0) {\n                  uVar5 = 0;\n                }\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n              }\n              iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n              uVar10 = (uint)(iVar6 == 0);\n              goto LAB_00049c58;\n            }\n            puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n            (*(code *)PTR_DestroyString_003a9074)(uVar5);\n            uVar10 = 0;\n            goto LAB_00049c58;\n          }\n        }" { (expression_statement "iVar6 = (*(code *)PTR_IsGeometry_003a9418)(auStack_2029);" (assignment_expression "iVar6 = (*(code *)PTR_IsGeometry_003a9418)(auStack_2029)" identifier = (call_expression "(*(code *)PTR_IsGeometry_003a9418)(auStack_2029)" (parenthesized_expression "(*(code *)PTR_IsGeometry_003a9418)" ( (pointer_expression "*(code *)PTR_IsGeometry_003a9418" * (cast_expression "(code *)PTR_IsGeometry_003a9418" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_2029)" ( identifier )))) ;) (if_statement "if (iVar6 != 0) {\n            local_102c = 0x7200;\n            uVar5 = (*(code *)PTR_strtol_003a954c)(auStack_2029,0,10);\n            iVar6 = (*(code *)PTR_fdopen_003a97d8)(uVar5,&local_102c);\n            *(int *)(unaff_s7 + 0x44) = iVar6;\n            puVar2 = PTR_GetImageOption_003a9168;\n            puVar1 = PTR_LAB_003a88e0;\n            if (iVar6 != 0) {\n              *(undefined4 *)(unaff_s7 + 0x40) = 1;\n              *(undefined4 *)(unaff_s7 + 0x30) = 1;\n              iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n              if (iVar6 == 0) {\n                iVar6 = 0x4000;\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n                uVar5 = 0;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n                uVar5 = 2;\n                if (iVar6 != 0) {\n                  uVar5 = 0;\n                }\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n              }\n              iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n              uVar10 = (uint)(iVar6 == 0);\n              goto LAB_00049c58;\n            }\n            puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n            (*(code *)PTR_DestroyString_003a9074)(uVar5);\n            uVar10 = 0;\n            goto LAB_00049c58;\n          }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n            local_102c = 0x7200;\n            uVar5 = (*(code *)PTR_strtol_003a954c)(auStack_2029,0,10);\n            iVar6 = (*(code *)PTR_fdopen_003a97d8)(uVar5,&local_102c);\n            *(int *)(unaff_s7 + 0x44) = iVar6;\n            puVar2 = PTR_GetImageOption_003a9168;\n            puVar1 = PTR_LAB_003a88e0;\n            if (iVar6 != 0) {\n              *(undefined4 *)(unaff_s7 + 0x40) = 1;\n              *(undefined4 *)(unaff_s7 + 0x30) = 1;\n              iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n              if (iVar6 == 0) {\n                iVar6 = 0x4000;\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n                uVar5 = 0;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n                uVar5 = 2;\n                if (iVar6 != 0) {\n                  uVar5 = 0;\n                }\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n              }\n              iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n              uVar10 = (uint)(iVar6 == 0);\n              goto LAB_00049c58;\n            }\n            puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n            (*(code *)PTR_DestroyString_003a9074)(uVar5);\n            uVar10 = 0;\n            goto LAB_00049c58;\n          }" { (expression_statement "local_102c = 0x7200;" (assignment_expression "local_102c = 0x7200" identifier = number_literal) ;) (expression_statement "uVar5 = (*(code *)PTR_strtol_003a954c)(auStack_2029,0,10);" (assignment_expression "uVar5 = (*(code *)PTR_strtol_003a954c)(auStack_2029,0,10)" identifier = (call_expression "(*(code *)PTR_strtol_003a954c)(auStack_2029,0,10)" (parenthesized_expression "(*(code *)PTR_strtol_003a954c)" ( (pointer_expression "*(code *)PTR_strtol_003a954c" * (cast_expression "(code *)PTR_strtol_003a954c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(auStack_2029,0,10)" ( identifier , number_literal , number_literal )))) ;) (expression_statement "iVar6 = (*(code *)PTR_fdopen_003a97d8)(uVar5,&local_102c);" (assignment_expression "iVar6 = (*(code *)PTR_fdopen_003a97d8)(uVar5,&local_102c)" identifier = (call_expression "(*(code *)PTR_fdopen_003a97d8)(uVar5,&local_102c)" (parenthesized_expression "(*(code *)PTR_fdopen_003a97d8)" ( (pointer_expression "*(code *)PTR_fdopen_003a97d8" * (cast_expression "(code *)PTR_fdopen_003a97d8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5,&local_102c)" ( identifier , (pointer_expression "&local_102c" & identifier) )))) ;) (expression_statement "*(int *)(unaff_s7 + 0x44) = iVar6;" (assignment_expression "*(int *)(unaff_s7 + 0x44) = iVar6" (pointer_expression "*(int *)(unaff_s7 + 0x44)" * (cast_expression "(int *)(unaff_s7 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x44)" ( (binary_expression "unaff_s7 + 0x44" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar2 = PTR_GetImageOption_003a9168;" (assignment_expression "puVar2 = PTR_GetImageOption_003a9168" identifier = identifier) ;) (expression_statement "puVar1 = PTR_LAB_003a88e0;" (assignment_expression "puVar1 = PTR_LAB_003a88e0" identifier = identifier) ;) (if_statement "if (iVar6 != 0) {\n              *(undefined4 *)(unaff_s7 + 0x40) = 1;\n              *(undefined4 *)(unaff_s7 + 0x30) = 1;\n              iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n              if (iVar6 == 0) {\n                iVar6 = 0x4000;\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n                uVar5 = 0;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n                uVar5 = 2;\n                if (iVar6 != 0) {\n                  uVar5 = 0;\n                }\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n              }\n              iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n              uVar10 = (uint)(iVar6 == 0);\n              goto LAB_00049c58;\n            }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n              *(undefined4 *)(unaff_s7 + 0x40) = 1;\n              *(undefined4 *)(unaff_s7 + 0x30) = 1;\n              iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n              if (iVar6 == 0) {\n                iVar6 = 0x4000;\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n                uVar5 = 0;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n                uVar5 = 2;\n                if (iVar6 != 0) {\n                  uVar5 = 0;\n                }\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n              }\n              iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n              uVar10 = (uint)(iVar6 == 0);\n              goto LAB_00049c58;\n            }" { (expression_statement "*(undefined4 *)(unaff_s7 + 0x40) = 1;" (assignment_expression "*(undefined4 *)(unaff_s7 + 0x40) = 1" (pointer_expression "*(undefined4 *)(unaff_s7 + 0x40)" * (cast_expression "(undefined4 *)(unaff_s7 + 0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x40)" ( (binary_expression "unaff_s7 + 0x40" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(unaff_s7 + 0x30) = 1;" (assignment_expression "*(undefined4 *)(unaff_s7 + 0x30) = 1" (pointer_expression "*(undefined4 *)(unaff_s7 + 0x30)" * (cast_expression "(undefined4 *)(unaff_s7 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x30)" ( (binary_expression "unaff_s7 + 0x30" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);" (assignment_expression "iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac)" identifier = (call_expression "(*(code *)puVar2)(param_1,puVar1 + 0x1eac)" (parenthesized_expression "(*(code *)puVar2)" ( (pointer_expression "*(code *)puVar2" * (cast_expression "(code *)puVar2" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,puVar1 + 0x1eac)" ( identifier , (binary_expression "puVar1 + 0x1eac" identifier + number_literal) )))) ;) (if_statement "if (iVar6 == 0) {\n                iVar6 = 0x4000;\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n                uVar5 = 0;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n                uVar5 = 2;\n                if (iVar6 != 0) {\n                  uVar5 = 0;\n                }\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n              }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n                iVar6 = 0x4000;\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n                uVar5 = 0;\n              }" { (expression_statement "iVar6 = 0x4000;" (assignment_expression "iVar6 = 0x4000" identifier = number_literal) ;) (expression_statement "uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);" (assignment_expression "uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44)" identifier = (pointer_expression "*(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44)" * (cast_expression "(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_2 + 0x3348) + 0x44)" ( (binary_expression "*(int *)(param_2 + 0x3348) + 0x44" (pointer_expression "*(int *)(param_2 + 0x3348)" * (cast_expression "(int *)(param_2 + 0x3348)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x3348)" ( (binary_expression "param_2 + 0x3348" identifier + number_literal) )))) + number_literal) ))))) ;) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) }) (else_clause "else {\n                iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n                uVar5 = 2;\n                if (iVar6 != 0) {\n                  uVar5 = 0;\n                }\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n              }" else (compound_statement "{\n                iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n                uVar5 = 2;\n                if (iVar6 != 0) {\n                  uVar5 = 0;\n                }\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n              }" { (expression_statement "iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);" (assignment_expression "iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10)" identifier = (call_expression "(*(code *)PTR_strtoul_003a9340)(iVar6,0,10)" (parenthesized_expression "(*(code *)PTR_strtoul_003a9340)" ( (pointer_expression "*(code *)PTR_strtoul_003a9340" * (cast_expression "(code *)PTR_strtoul_003a9340" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar6,0,10)" ( identifier , number_literal , number_literal )))) ;) (expression_statement "uVar5 = 2;" (assignment_expression "uVar5 = 2" identifier = number_literal) ;) (if_statement "if (iVar6 != 0) {\n                  uVar5 = 0;\n                }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n                  uVar5 = 0;\n                }" { (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) })) (expression_statement "uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);" (assignment_expression "uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44)" identifier = (pointer_expression "*(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44)" * (cast_expression "(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_2 + 0x3348) + 0x44)" ( (binary_expression "*(int *)(param_2 + 0x3348) + 0x44" (pointer_expression "*(int *)(param_2 + 0x3348)" * (cast_expression "(int *)(param_2 + 0x3348)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x3348)" ( (binary_expression "param_2 + 0x3348" identifier + number_literal) )))) + number_literal) ))))) ;) }))) (expression_statement "iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);" (assignment_expression "iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6)" identifier = (call_expression "(*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6)" (parenthesized_expression "(*(code *)PTR_setvbuf_003a90f4)" ( (pointer_expression "*(code *)PTR_setvbuf_003a90f4" * (cast_expression "(code *)PTR_setvbuf_003a90f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar8,0,uVar5,iVar6)" ( identifier , number_literal , identifier , identifier )))) ;) (expression_statement "uVar10 = (uint)(iVar6 == 0);" (assignment_expression "uVar10 = (uint)(iVar6 == 0)" identifier = (call_expression "(uint)(iVar6 == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )))) ;) (goto_statement "goto LAB_00049c58;" goto statement_identifier ;) })) (expression_statement "puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();" (assignment_expression "puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_003a99b0)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_003a99b0)()" (parenthesized_expression "(*(code *)PTR___errno_location_003a99b0)" ( (pointer_expression "*(code *)PTR___errno_location_003a99b0" * (cast_expression "(code *)PTR___errno_location_003a99b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);" (assignment_expression "uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4)" identifier = (call_expression "(*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4)" (parenthesized_expression "(*(code *)PTR_GetExceptionMessage_003a93ec)" ( (pointer_expression "*(code *)PTR_GetExceptionMessage_003a93ec" * (cast_expression "(code *)PTR_GetExceptionMessage_003a93ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*puVar4)" ( (pointer_expression "*puVar4" * identifier) )))) ;) (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n                      (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n                      (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5)" (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_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5)" ( identifier , (binary_expression "PTR_LAB_003a88e0 + 0x1ad8" identifier + number_literal) , (binary_expression "PTR_LAB_003a88e0 + 0x23cc" identifier + number_literal) , number_literal , number_literal , (binary_expression "PTR_LAB_003a88e0 + 0x1ec4" identifier + number_literal) , (binary_expression "PTR_LAB_003a88e0 + 0xe78" identifier + number_literal) , identifier , identifier ))) ;) (expression_statement "(*(code *)PTR_DestroyString_003a9074)(uVar5);" (call_expression "(*(code *)PTR_DestroyString_003a9074)(uVar5)" (parenthesized_expression "(*(code *)PTR_DestroyString_003a9074)" ( (pointer_expression "*(code *)PTR_DestroyString_003a9074" * (cast_expression "(code *)PTR_DestroyString_003a9074" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5)" ( identifier ))) ;) (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;) (goto_statement "goto LAB_00049c58;" goto statement_identifier ;) })) })) (expression_statement "iVar6 = (*(code *)PTR_GetPathAttributes_003a9364)(param_3,unaff_s7 + 0x48);" (assignment_expression "iVar6 = (*(code *)PTR_GetPathAttributes_003a9364)(param_3,unaff_s7 + 0x48)" identifier = (call_expression "(*(code *)PTR_GetPathAttributes_003a9364)(param_3,unaff_s7 + 0x48)" (parenthesized_expression "(*(code *)PTR_GetPathAttributes_003a9364)" ( (pointer_expression "*(code *)PTR_GetPathAttributes_003a9364" * (cast_expression "(code *)PTR_GetPathAttributes_003a9364" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_3,unaff_s7 + 0x48)" ( identifier , (binary_expression "unaff_s7 + 0x48" identifier + number_literal) )))) ;) (if_statement "if ((iVar6 == 0) || ((*(uint *)(unaff_s7 + 0x60) & 0xf000) != 0x1000)) {\n          (*(code *)PTR_GetPathComponent_003a8e18)(unaff_s6,6,local_302c);\n          if (*(int *)(param_1 + 0x204) != 0) {\n            *(int *)(unaff_s7 + 0x44) = *(int *)(param_1 + 0x204);\n            *(undefined4 *)(unaff_s7 + 0x38) = 0;\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            *(undefined4 *)(unaff_s7 + 0x30) = 1;\n            *(undefined4 *)(unaff_s7 + 0x1c) = 0;\n            goto LAB_00049e88;\n          }\n          iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n          *(int *)(unaff_s7 + 0x44) = iVar6;\n          puVar2 = PTR_GetImageOption_003a9168;\n          puVar1 = PTR_LAB_003a88e0;\n          if (iVar6 != 0) {\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n            if (iVar6 == 0) {\n              iVar6 = 0x4000;\n              iVar7 = 0;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            else {\n              iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n              iVar7 = (uint)(iVar6 == 0) << 1;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            (*(code *)PTR_setvbuf_003a90f4)(uVar5,0,iVar7,iVar6);\n            local_102c = 0;\n            local_102a = 0;\n            unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)\n                                 (&local_102c,1,3,*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fseeko64_003a9944)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fflush_003a948c)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0);\n            iVar6 = *(int *)(unaff_s7 + 0x40);\n            if (iVar6 != 1) goto LAB_0004a138;\n            uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(param_1 + 0x210,uVar5);\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);\n            if ((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)) &&\n                (unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar6 != 0)) {\n              uVar5 = (*(code *)PTR_fileno_003a99cc)(*(undefined4 *)(unaff_s7 + 0x44));\n              unaff_s6 = (*(code *)PTR_MapBlob_003a978c)(uVar5,0,0,0,unaff_s5);\n              if (unaff_s6 == 0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                iVar6 = *(int *)(unaff_s7 + 0x40);\n                goto LAB_0004a138;\n              }\n              pcVar9 = (code *)PTR_fclose_003a939c;\n              if (*(int *)(param_1 + 0x204) == 0) goto LAB_0004a850;\n              *(undefined4 *)(unaff_s7 + 0x30) = 0;\n              goto LAB_0004a650;\n            }\n          }\n          iVar6 = *(int *)(unaff_s7 + 0x40);\n          goto LAB_0004a138;\n        }" if (parenthesized_expression "((iVar6 == 0) || ((*(uint *)(unaff_s7 + 0x60) & 0xf000) != 0x1000))" ( (binary_expression "(iVar6 == 0) || ((*(uint *)(unaff_s7 + 0x60) & 0xf000) != 0x1000)" (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) || (parenthesized_expression "((*(uint *)(unaff_s7 + 0x60) & 0xf000) != 0x1000)" ( (binary_expression "(*(uint *)(unaff_s7 + 0x60) & 0xf000) != 0x1000" (parenthesized_expression "(*(uint *)(unaff_s7 + 0x60) & 0xf000)" ( (binary_expression "*(uint *)(unaff_s7 + 0x60) & 0xf000" (pointer_expression "*(uint *)(unaff_s7 + 0x60)" * (cast_expression "(uint *)(unaff_s7 + 0x60)" ( (type_descriptor "uint *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x60)" ( (binary_expression "unaff_s7 + 0x60" identifier + number_literal) )))) & number_literal) )) != number_literal) ))) )) (compound_statement "{\n          (*(code *)PTR_GetPathComponent_003a8e18)(unaff_s6,6,local_302c);\n          if (*(int *)(param_1 + 0x204) != 0) {\n            *(int *)(unaff_s7 + 0x44) = *(int *)(param_1 + 0x204);\n            *(undefined4 *)(unaff_s7 + 0x38) = 0;\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            *(undefined4 *)(unaff_s7 + 0x30) = 1;\n            *(undefined4 *)(unaff_s7 + 0x1c) = 0;\n            goto LAB_00049e88;\n          }\n          iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n          *(int *)(unaff_s7 + 0x44) = iVar6;\n          puVar2 = PTR_GetImageOption_003a9168;\n          puVar1 = PTR_LAB_003a88e0;\n          if (iVar6 != 0) {\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n            if (iVar6 == 0) {\n              iVar6 = 0x4000;\n              iVar7 = 0;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            else {\n              iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n              iVar7 = (uint)(iVar6 == 0) << 1;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            (*(code *)PTR_setvbuf_003a90f4)(uVar5,0,iVar7,iVar6);\n            local_102c = 0;\n            local_102a = 0;\n            unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)\n                                 (&local_102c,1,3,*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fseeko64_003a9944)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fflush_003a948c)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0);\n            iVar6 = *(int *)(unaff_s7 + 0x40);\n            if (iVar6 != 1) goto LAB_0004a138;\n            uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(param_1 + 0x210,uVar5);\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);\n            if ((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)) &&\n                (unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar6 != 0)) {\n              uVar5 = (*(code *)PTR_fileno_003a99cc)(*(undefined4 *)(unaff_s7 + 0x44));\n              unaff_s6 = (*(code *)PTR_MapBlob_003a978c)(uVar5,0,0,0,unaff_s5);\n              if (unaff_s6 == 0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                iVar6 = *(int *)(unaff_s7 + 0x40);\n                goto LAB_0004a138;\n              }\n              pcVar9 = (code *)PTR_fclose_003a939c;\n              if (*(int *)(param_1 + 0x204) == 0) goto LAB_0004a850;\n              *(undefined4 *)(unaff_s7 + 0x30) = 0;\n              goto LAB_0004a650;\n            }\n          }\n          iVar6 = *(int *)(unaff_s7 + 0x40);\n          goto LAB_0004a138;\n        }" { (expression_statement "(*(code *)PTR_GetPathComponent_003a8e18)(unaff_s6,6,local_302c);" (call_expression "(*(code *)PTR_GetPathComponent_003a8e18)(unaff_s6,6,local_302c)" (parenthesized_expression "(*(code *)PTR_GetPathComponent_003a8e18)" ( (pointer_expression "*(code *)PTR_GetPathComponent_003a8e18" * (cast_expression "(code *)PTR_GetPathComponent_003a8e18" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s6,6,local_302c)" ( identifier , number_literal , identifier ))) ;) (if_statement "if (*(int *)(param_1 + 0x204) != 0) {\n            *(int *)(unaff_s7 + 0x44) = *(int *)(param_1 + 0x204);\n            *(undefined4 *)(unaff_s7 + 0x38) = 0;\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            *(undefined4 *)(unaff_s7 + 0x30) = 1;\n            *(undefined4 *)(unaff_s7 + 0x1c) = 0;\n            goto LAB_00049e88;\n          }" if (parenthesized_expression "(*(int *)(param_1 + 0x204) != 0)" ( (binary_expression "*(int *)(param_1 + 0x204) != 0" (pointer_expression "*(int *)(param_1 + 0x204)" * (cast_expression "(int *)(param_1 + 0x204)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x204)" ( (binary_expression "param_1 + 0x204" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n            *(int *)(unaff_s7 + 0x44) = *(int *)(param_1 + 0x204);\n            *(undefined4 *)(unaff_s7 + 0x38) = 0;\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            *(undefined4 *)(unaff_s7 + 0x30) = 1;\n            *(undefined4 *)(unaff_s7 + 0x1c) = 0;\n            goto LAB_00049e88;\n          }" { (expression_statement "*(int *)(unaff_s7 + 0x44) = *(int *)(param_1 + 0x204);" (assignment_expression "*(int *)(unaff_s7 + 0x44) = *(int *)(param_1 + 0x204)" (pointer_expression "*(int *)(unaff_s7 + 0x44)" * (cast_expression "(int *)(unaff_s7 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x44)" ( (binary_expression "unaff_s7 + 0x44" identifier + number_literal) )))) = (pointer_expression "*(int *)(param_1 + 0x204)" * (cast_expression "(int *)(param_1 + 0x204)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x204)" ( (binary_expression "param_1 + 0x204" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(unaff_s7 + 0x38) = 0;" (assignment_expression "*(undefined4 *)(unaff_s7 + 0x38) = 0" (pointer_expression "*(undefined4 *)(unaff_s7 + 0x38)" * (cast_expression "(undefined4 *)(unaff_s7 + 0x38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x38)" ( (binary_expression "unaff_s7 + 0x38" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(unaff_s7 + 0x40) = 1;" (assignment_expression "*(undefined4 *)(unaff_s7 + 0x40) = 1" (pointer_expression "*(undefined4 *)(unaff_s7 + 0x40)" * (cast_expression "(undefined4 *)(unaff_s7 + 0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x40)" ( (binary_expression "unaff_s7 + 0x40" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(unaff_s7 + 0x30) = 1;" (assignment_expression "*(undefined4 *)(unaff_s7 + 0x30) = 1" (pointer_expression "*(undefined4 *)(unaff_s7 + 0x30)" * (cast_expression "(undefined4 *)(unaff_s7 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x30)" ( (binary_expression "unaff_s7 + 0x30" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(unaff_s7 + 0x1c) = 0;" (assignment_expression "*(undefined4 *)(unaff_s7 + 0x1c) = 0" (pointer_expression "*(undefined4 *)(unaff_s7 + 0x1c)" * (cast_expression "(undefined4 *)(unaff_s7 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x1c)" ( (binary_expression "unaff_s7 + 0x1c" identifier + number_literal) )))) = number_literal) ;) (goto_statement "goto LAB_00049e88;" goto statement_identifier ;) })) (expression_statement "iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);" (assignment_expression "iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5)" identifier = (call_expression "(*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5)" (parenthesized_expression "(*(code *)PTR_fopen64_003a8c68)" ( (pointer_expression "*(code *)PTR_fopen64_003a8c68" * (cast_expression "(code *)PTR_fopen64_003a8c68" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_3,unaff_s5)" ( identifier , identifier )))) ;) (expression_statement "*(int *)(unaff_s7 + 0x44) = iVar6;" (assignment_expression "*(int *)(unaff_s7 + 0x44) = iVar6" (pointer_expression "*(int *)(unaff_s7 + 0x44)" * (cast_expression "(int *)(unaff_s7 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x44)" ( (binary_expression "unaff_s7 + 0x44" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar2 = PTR_GetImageOption_003a9168;" (assignment_expression "puVar2 = PTR_GetImageOption_003a9168" identifier = identifier) ;) (expression_statement "puVar1 = PTR_LAB_003a88e0;" (assignment_expression "puVar1 = PTR_LAB_003a88e0" identifier = identifier) ;) (if_statement "if (iVar6 != 0) {\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n            if (iVar6 == 0) {\n              iVar6 = 0x4000;\n              iVar7 = 0;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            else {\n              iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n              iVar7 = (uint)(iVar6 == 0) << 1;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            (*(code *)PTR_setvbuf_003a90f4)(uVar5,0,iVar7,iVar6);\n            local_102c = 0;\n            local_102a = 0;\n            unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)\n                                 (&local_102c,1,3,*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fseeko64_003a9944)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fflush_003a948c)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0);\n            iVar6 = *(int *)(unaff_s7 + 0x40);\n            if (iVar6 != 1) goto LAB_0004a138;\n            uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(param_1 + 0x210,uVar5);\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);\n            if ((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)) &&\n                (unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar6 != 0)) {\n              uVar5 = (*(code *)PTR_fileno_003a99cc)(*(undefined4 *)(unaff_s7 + 0x44));\n              unaff_s6 = (*(code *)PTR_MapBlob_003a978c)(uVar5,0,0,0,unaff_s5);\n              if (unaff_s6 == 0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                iVar6 = *(int *)(unaff_s7 + 0x40);\n                goto LAB_0004a138;\n              }\n              pcVar9 = (code *)PTR_fclose_003a939c;\n              if (*(int *)(param_1 + 0x204) == 0) goto LAB_0004a850;\n              *(undefined4 *)(unaff_s7 + 0x30) = 0;\n              goto LAB_0004a650;\n            }\n          }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n            if (iVar6 == 0) {\n              iVar6 = 0x4000;\n              iVar7 = 0;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            else {\n              iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n              iVar7 = (uint)(iVar6 == 0) << 1;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            (*(code *)PTR_setvbuf_003a90f4)(uVar5,0,iVar7,iVar6);\n            local_102c = 0;\n            local_102a = 0;\n            unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)\n                                 (&local_102c,1,3,*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fseeko64_003a9944)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fflush_003a948c)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0);\n            iVar6 = *(int *)(unaff_s7 + 0x40);\n            if (iVar6 != 1) goto LAB_0004a138;\n            uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(param_1 + 0x210,uVar5);\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);\n            if ((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)) &&\n                (unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar6 != 0)) {\n              uVar5 = (*(code *)PTR_fileno_003a99cc)(*(undefined4 *)(unaff_s7 + 0x44));\n              unaff_s6 = (*(code *)PTR_MapBlob_003a978c)(uVar5,0,0,0,unaff_s5);\n              if (unaff_s6 == 0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                iVar6 = *(int *)(unaff_s7 + 0x40);\n                goto LAB_0004a138;\n              }\n              pcVar9 = (code *)PTR_fclose_003a939c;\n              if (*(int *)(param_1 + 0x204) == 0) goto LAB_0004a850;\n              *(undefined4 *)(unaff_s7 + 0x30) = 0;\n              goto LAB_0004a650;\n            }\n          }" { (expression_statement "*(undefined4 *)(unaff_s7 + 0x40) = 1;" (assignment_expression "*(undefined4 *)(unaff_s7 + 0x40) = 1" (pointer_expression "*(undefined4 *)(unaff_s7 + 0x40)" * (cast_expression "(undefined4 *)(unaff_s7 + 0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x40)" ( (binary_expression "unaff_s7 + 0x40" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);" (assignment_expression "iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac)" identifier = (call_expression "(*(code *)puVar2)(param_1,puVar1 + 0x1eac)" (parenthesized_expression "(*(code *)puVar2)" ( (pointer_expression "*(code *)puVar2" * (cast_expression "(code *)puVar2" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,puVar1 + 0x1eac)" ( identifier , (binary_expression "puVar1 + 0x1eac" identifier + number_literal) )))) ;) (if_statement "if (iVar6 == 0) {\n              iVar6 = 0x4000;\n              iVar7 = 0;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            else {\n              iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n              iVar7 = (uint)(iVar6 == 0) << 1;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n              iVar6 = 0x4000;\n              iVar7 = 0;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }" { (expression_statement "iVar6 = 0x4000;" (assignment_expression "iVar6 = 0x4000" identifier = number_literal) ;) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" identifier = number_literal) ;) (expression_statement "uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);" (assignment_expression "uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44)" identifier = (pointer_expression "*(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44)" * (cast_expression "(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_2 + 0x3348) + 0x44)" ( (binary_expression "*(int *)(param_2 + 0x3348) + 0x44" (pointer_expression "*(int *)(param_2 + 0x3348)" * (cast_expression "(int *)(param_2 + 0x3348)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x3348)" ( (binary_expression "param_2 + 0x3348" identifier + number_literal) )))) + number_literal) ))))) ;) }) (else_clause "else {\n              iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n              iVar7 = (uint)(iVar6 == 0) << 1;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }" else (compound_statement "{\n              iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n              iVar7 = (uint)(iVar6 == 0) << 1;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }" { (expression_statement "iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);" (assignment_expression "iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10)" identifier = (call_expression "(*(code *)PTR_strtoul_003a9340)(iVar6,0,10)" (parenthesized_expression "(*(code *)PTR_strtoul_003a9340)" ( (pointer_expression "*(code *)PTR_strtoul_003a9340" * (cast_expression "(code *)PTR_strtoul_003a9340" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar6,0,10)" ( identifier , number_literal , number_literal )))) ;) (expression_statement "iVar7 = (uint)(iVar6 == 0) << 1;" (assignment_expression "iVar7 = (uint)(iVar6 == 0) << 1" identifier = (binary_expression "(uint)(iVar6 == 0) << 1" (call_expression "(uint)(iVar6 == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) ))) << number_literal)) ;) (expression_statement "uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);" (assignment_expression "uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44)" identifier = (pointer_expression "*(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44)" * (cast_expression "(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_2 + 0x3348) + 0x44)" ( (binary_expression "*(int *)(param_2 + 0x3348) + 0x44" (pointer_expression "*(int *)(param_2 + 0x3348)" * (cast_expression "(int *)(param_2 + 0x3348)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x3348)" ( (binary_expression "param_2 + 0x3348" identifier + number_literal) )))) + number_literal) ))))) ;) }))) (expression_statement "(*(code *)PTR_setvbuf_003a90f4)(uVar5,0,iVar7,iVar6);" (call_expression "(*(code *)PTR_setvbuf_003a90f4)(uVar5,0,iVar7,iVar6)" (parenthesized_expression "(*(code *)PTR_setvbuf_003a90f4)" ( (pointer_expression "*(code *)PTR_setvbuf_003a90f4" * (cast_expression "(code *)PTR_setvbuf_003a90f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5,0,iVar7,iVar6)" ( identifier , number_literal , identifier , identifier ))) ;) (expression_statement "local_102c = 0;" (assignment_expression "local_102c = 0" identifier = number_literal) ;) (expression_statement "local_102a = 0;" (assignment_expression "local_102a = 0" identifier = number_literal) ;) (expression_statement "unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)\n                                 (&local_102c,1,3,*(undefined4 *)(unaff_s7 + 0x44));" (assignment_expression "unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)\n                                 (&local_102c,1,3,*(undefined4 *)(unaff_s7 + 0x44))" identifier = (cast_expression "(undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)\n                                 (&local_102c,1,3,*(undefined4 *)(unaff_s7 + 0x44))" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_fread_003a8db8)\n                                 (&local_102c,1,3,*(undefined4 *)(unaff_s7 + 0x44))" (parenthesized_expression "(*(code *)PTR_fread_003a8db8)" ( (pointer_expression "*(code *)PTR_fread_003a8db8" * (cast_expression "(code *)PTR_fread_003a8db8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(&local_102c,1,3,*(undefined4 *)(unaff_s7 + 0x44))" ( (pointer_expression "&local_102c" & identifier) , number_literal , number_literal , (pointer_expression "*(undefined4 *)(unaff_s7 + 0x44)" * (cast_expression "(undefined4 *)(unaff_s7 + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x44)" ( (binary_expression "unaff_s7 + 0x44" identifier + number_literal) )))) ))))) ;) (expression_statement "(*(code *)PTR_fseeko64_003a9944)(*(undefined4 *)(unaff_s7 + 0x44));" (call_expression "(*(code *)PTR_fseeko64_003a9944)(*(undefined4 *)(unaff_s7 + 0x44))" (parenthesized_expression "(*(code *)PTR_fseeko64_003a9944)" ( (pointer_expression "*(code *)PTR_fseeko64_003a9944" * (cast_expression "(code *)PTR_fseeko64_003a9944" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(unaff_s7 + 0x44))" ( (pointer_expression "*(undefined4 *)(unaff_s7 + 0x44)" * (cast_expression "(undefined4 *)(unaff_s7 + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x44)" ( (binary_expression "unaff_s7 + 0x44" identifier + number_literal) )))) ))) ;) (expression_statement "(*(code *)PTR_fflush_003a948c)(*(undefined4 *)(unaff_s7 + 0x44));" (call_expression "(*(code *)PTR_fflush_003a948c)(*(undefined4 *)(unaff_s7 + 0x44))" (parenthesized_expression "(*(code *)PTR_fflush_003a948c)" ( (pointer_expression "*(code *)PTR_fflush_003a948c" * (cast_expression "(code *)PTR_fflush_003a948c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(unaff_s7 + 0x44))" ( (pointer_expression "*(undefined4 *)(unaff_s7 + 0x44)" * (cast_expression "(undefined4 *)(unaff_s7 + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x44)" ( (binary_expression "unaff_s7 + 0x44" identifier + number_literal) )))) ))) ;) (expression_statement "(*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0);" (call_expression "(*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0)" (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 "(4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0)" ( number_literal , (binary_expression "PTR_LAB_003a88e0 + 0x1ad8" identifier + number_literal) , (binary_expression "PTR_LAB_003a88e0 + 0x23cc" identifier + number_literal) , number_literal , (binary_expression "PTR_LAB_003a88e0 + 0x1ef0" identifier + number_literal) ))) ;) (expression_statement "iVar6 = *(int *)(unaff_s7 + 0x40);" (assignment_expression "iVar6 = *(int *)(unaff_s7 + 0x40)" identifier = (pointer_expression "*(int *)(unaff_s7 + 0x40)" * (cast_expression "(int *)(unaff_s7 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x40)" ( (binary_expression "unaff_s7 + 0x40" identifier + number_literal) ))))) ;) (if_statement "if (iVar6 != 1) goto LAB_0004a138;" if (parenthesized_expression "(iVar6 != 1)" ( (binary_expression "iVar6 != 1" identifier != number_literal) )) (goto_statement "goto LAB_0004a138;" goto statement_identifier ;)) (expression_statement "uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();" (assignment_expression "uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)()" identifier = (call_expression "(*(code *)PTR_AcquireExceptionInfo_003a8eec)()" (parenthesized_expression "(*(code *)PTR_AcquireExceptionInfo_003a8eec)" ( (pointer_expression "*(code *)PTR_AcquireExceptionInfo_003a8eec" * (cast_expression "(code *)PTR_AcquireExceptionInfo_003a8eec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( )))) ;) (expression_statement "unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(param_1 + 0x210,uVar5);" (assignment_expression "unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(param_1 + 0x210,uVar5)" identifier = (cast_expression "(undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(param_1 + 0x210,uVar5)" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_GetMagickInfo_003a940c)(param_1 + 0x210,uVar5)" (parenthesized_expression "(*(code *)PTR_GetMagickInfo_003a940c)" ( (pointer_expression "*(code *)PTR_GetMagickInfo_003a940c" * (cast_expression "(code *)PTR_GetMagickInfo_003a940c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1 + 0x210,uVar5)" ( (binary_expression "param_1 + 0x210" identifier + number_literal) , identifier ))))) ;) (expression_statement "(*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);" (call_expression "(*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5)" (parenthesized_expression "(*(code *)PTR_DestroyExceptionInfo_003a8d50)" ( (pointer_expression "*(code *)PTR_DestroyExceptionInfo_003a8d50" * (cast_expression "(code *)PTR_DestroyExceptionInfo_003a8d50" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5)" ( identifier ))) ;) (if_statement "if ((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)) &&\n                (unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar6 != 0)) {\n              uVar5 = (*(code *)PTR_fileno_003a99cc)(*(undefined4 *)(unaff_s7 + 0x44));\n              unaff_s6 = (*(code *)PTR_MapBlob_003a978c)(uVar5,0,0,0,unaff_s5);\n              if (unaff_s6 == 0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                iVar6 = *(int *)(unaff_s7 + 0x40);\n                goto LAB_0004a138;\n              }\n              pcVar9 = (code *)PTR_fclose_003a939c;\n              if (*(int *)(param_1 + 0x204) == 0) goto LAB_0004a850;\n              *(undefined4 *)(unaff_s7 + 0x30) = 0;\n              goto LAB_0004a650;\n            }" if (parenthesized_expression "((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)) &&\n                (unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar6 != 0))" ( (binary_expression "(((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)) &&\n                (unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar6 != 0)" (parenthesized_expression "(((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)) &&\n                (unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5))" ( (binary_expression "((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)) &&\n                (unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)" (parenthesized_expression "((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0))" ( (binary_expression "(unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)" (parenthesized_expression "(unaff_s5 != (undefined1 *)0x0)" ( (binary_expression "unaff_s5 != (undefined1 *)0x0" identifier != (cast_expression "(undefined1 *)0x0" ( (type_descriptor "undefined1 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) && (parenthesized_expression "(iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)" ( (comma_expression "iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0" (assignment_expression "iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5)" identifier = (call_expression "(*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5)" (parenthesized_expression "(*(code *)PTR_GetMagickBlobSupport_003a9774)" ( (pointer_expression "*(code *)PTR_GetMagickBlobSupport_003a9774" * (cast_expression "(code *)PTR_GetMagickBlobSupport_003a9774" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s5)" ( identifier )))) , (binary_expression "iVar6 != 0" identifier != number_literal)) ))) )) && (parenthesized_expression "(unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)" ( (comma_expression "unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5" (assignment_expression "unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84)" identifier = (pointer_expression "*(undefined1 **)(unaff_s7 + 0x84)" * (cast_expression "(undefined1 **)(unaff_s7 + 0x84)" ( (type_descriptor "undefined1 **" type_identifier (abstract_pointer_declarator "**" * (abstract_pointer_declarator "*" *))) ) (parenthesized_expression "(unaff_s7 + 0x84)" ( (binary_expression "unaff_s7 + 0x84" identifier + number_literal) ))))) , (binary_expression "&__DT_SYMTAB[0x16e].st_size < unaff_s5" (pointer_expression "&__DT_SYMTAB[0x16e].st_size" & (field_expression "__DT_SYMTAB[0x16e].st_size" (subscript_expression "__DT_SYMTAB[0x16e]" identifier [ number_literal ]) . field_identifier)) < identifier)) ))) )) && (parenthesized_expression "(iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar6 != 0)" ( (comma_expression "iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar6 != 0" (assignment_expression "iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5)" identifier = (call_expression "(*(code *)PTR_AcquireMagickResource_003a981c)(5)" (parenthesized_expression "(*(code *)PTR_AcquireMagickResource_003a981c)" ( (pointer_expression "*(code *)PTR_AcquireMagickResource_003a981c" * (cast_expression "(code *)PTR_AcquireMagickResource_003a981c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(5)" ( number_literal )))) , (binary_expression "iVar6 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n              uVar5 = (*(code *)PTR_fileno_003a99cc)(*(undefined4 *)(unaff_s7 + 0x44));\n              unaff_s6 = (*(code *)PTR_MapBlob_003a978c)(uVar5,0,0,0,unaff_s5);\n              if (unaff_s6 == 0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                iVar6 = *(int *)(unaff_s7 + 0x40);\n                goto LAB_0004a138;\n              }\n              pcVar9 = (code *)PTR_fclose_003a939c;\n              if (*(int *)(param_1 + 0x204) == 0) goto LAB_0004a850;\n              *(undefined4 *)(unaff_s7 + 0x30) = 0;\n              goto LAB_0004a650;\n            }" { (expression_statement "uVar5 = (*(code *)PTR_fileno_003a99cc)(*(undefined4 *)(unaff_s7 + 0x44));" (assignment_expression "uVar5 = (*(code *)PTR_fileno_003a99cc)(*(undefined4 *)(unaff_s7 + 0x44))" identifier = (call_expression "(*(code *)PTR_fileno_003a99cc)(*(undefined4 *)(unaff_s7 + 0x44))" (parenthesized_expression "(*(code *)PTR_fileno_003a99cc)" ( (pointer_expression "*(code *)PTR_fileno_003a99cc" * (cast_expression "(code *)PTR_fileno_003a99cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*(undefined4 *)(unaff_s7 + 0x44))" ( (pointer_expression "*(undefined4 *)(unaff_s7 + 0x44)" * (cast_expression "(undefined4 *)(unaff_s7 + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x44)" ( (binary_expression "unaff_s7 + 0x44" identifier + number_literal) )))) )))) ;) (expression_statement "unaff_s6 = (*(code *)PTR_MapBlob_003a978c)(uVar5,0,0,0,unaff_s5);" (assignment_expression "unaff_s6 = (*(code *)PTR_MapBlob_003a978c)(uVar5,0,0,0,unaff_s5)" identifier = (call_expression "(*(code *)PTR_MapBlob_003a978c)(uVar5,0,0,0,unaff_s5)" (parenthesized_expression "(*(code *)PTR_MapBlob_003a978c)" ( (pointer_expression "*(code *)PTR_MapBlob_003a978c" * (cast_expression "(code *)PTR_MapBlob_003a978c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5,0,0,0,unaff_s5)" ( identifier , number_literal , number_literal , number_literal , identifier )))) ;) (if_statement "if (unaff_s6 == 0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                iVar6 = *(int *)(unaff_s7 + 0x40);\n                goto LAB_0004a138;\n              }" if (parenthesized_expression "(unaff_s6 == 0)" ( (binary_expression "unaff_s6 == 0" identifier == number_literal) )) (compound_statement "{\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                iVar6 = *(int *)(unaff_s7 + 0x40);\n                goto LAB_0004a138;\n              }" { (expression_statement "(*(code *)PTR_RelinquishMagickResource_003a970c)(5);" (call_expression "(*(code *)PTR_RelinquishMagickResource_003a970c)(5)" (parenthesized_expression "(*(code *)PTR_RelinquishMagickResource_003a970c)" ( (pointer_expression "*(code *)PTR_RelinquishMagickResource_003a970c" * (cast_expression "(code *)PTR_RelinquishMagickResource_003a970c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(5)" ( number_literal ))) ;) (expression_statement "iVar6 = *(int *)(unaff_s7 + 0x40);" (assignment_expression "iVar6 = *(int *)(unaff_s7 + 0x40)" identifier = (pointer_expression "*(int *)(unaff_s7 + 0x40)" * (cast_expression "(int *)(unaff_s7 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x40)" ( (binary_expression "unaff_s7 + 0x40" identifier + number_literal) ))))) ;) (goto_statement "goto LAB_0004a138;" goto statement_identifier ;) })) (expression_statement "pcVar9 = (code *)PTR_fclose_003a939c;" (assignment_expression "pcVar9 = (code *)PTR_fclose_003a939c" identifier = (cast_expression "(code *)PTR_fclose_003a939c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (if_statement "if (*(int *)(param_1 + 0x204) == 0) goto LAB_0004a850;" if (parenthesized_expression "(*(int *)(param_1 + 0x204) == 0)" ( (binary_expression "*(int *)(param_1 + 0x204) == 0" (pointer_expression "*(int *)(param_1 + 0x204)" * (cast_expression "(int *)(param_1 + 0x204)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x204)" ( (binary_expression "param_1 + 0x204" identifier + number_literal) )))) == number_literal) )) (goto_statement "goto LAB_0004a850;" goto statement_identifier ;)) (expression_statement "*(undefined4 *)(unaff_s7 + 0x30) = 0;" (assignment_expression "*(undefined4 *)(unaff_s7 + 0x30) = 0" (pointer_expression "*(undefined4 *)(unaff_s7 + 0x30)" * (cast_expression "(undefined4 *)(unaff_s7 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x30)" ( (binary_expression "unaff_s7 + 0x30" identifier + number_literal) )))) = number_literal) ;) (goto_statement "goto LAB_0004a650;" goto statement_identifier ;) })) })) (expression_statement "iVar6 = *(int *)(unaff_s7 + 0x40);" (assignment_expression "iVar6 = *(int *)(unaff_s7 + 0x40)" identifier = (pointer_expression "*(int *)(unaff_s7 + 0x40)" * (cast_expression "(int *)(unaff_s7 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x40)" ( (binary_expression "unaff_s7 + 0x40" identifier + number_literal) ))))) ;) (goto_statement "goto LAB_0004a138;" goto statement_identifier ;) })) (expression_statement "iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);" (assignment_expression "iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5)" identifier = (call_expression "(*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5)" (parenthesized_expression "(*(code *)PTR_fopen64_003a8c68)" ( (pointer_expression "*(code *)PTR_fopen64_003a8c68" * (cast_expression "(code *)PTR_fopen64_003a8c68" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_3,unaff_s5)" ( identifier , identifier )))) ;) (expression_statement "*(int *)(unaff_s7 + 0x44) = iVar6;" (assignment_expression "*(int *)(unaff_s7 + 0x44) = iVar6" (pointer_expression "*(int *)(unaff_s7 + 0x44)" * (cast_expression "(int *)(unaff_s7 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x44)" ( (binary_expression "unaff_s7 + 0x44" identifier + number_literal) )))) = identifier) ;) (expression_statement "puVar2 = PTR_GetImageOption_003a9168;" (assignment_expression "puVar2 = PTR_GetImageOption_003a9168" identifier = identifier) ;) (expression_statement "puVar1 = PTR_LAB_003a88e0;" (assignment_expression "puVar1 = PTR_LAB_003a88e0" identifier = identifier) ;) (if_statement "if (iVar6 == 0) {\n          puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n          uVar8 = 0xd23;\n          goto LAB_0004a16c;\n        }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n          puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n          uVar8 = 0xd23;\n          goto LAB_0004a16c;\n        }" { (expression_statement "puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();" (assignment_expression "puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_003a99b0)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_003a99b0)()" (parenthesized_expression "(*(code *)PTR___errno_location_003a99b0)" ( (pointer_expression "*(code *)PTR___errno_location_003a99b0" * (cast_expression "(code *)PTR___errno_location_003a99b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);" (assignment_expression "uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4)" identifier = (call_expression "(*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4)" (parenthesized_expression "(*(code *)PTR_GetExceptionMessage_003a93ec)" ( (pointer_expression "*(code *)PTR_GetExceptionMessage_003a93ec" * (cast_expression "(code *)PTR_GetExceptionMessage_003a93ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*puVar4)" ( (pointer_expression "*puVar4" * identifier) )))) ;) (expression_statement "uVar8 = 0xd23;" (assignment_expression "uVar8 = 0xd23" identifier = number_literal) ;) (goto_statement "goto LAB_0004a16c;" goto statement_identifier ;) })) (expression_statement "*(undefined4 *)(unaff_s7 + 0x40) = 1;" (assignment_expression "*(undefined4 *)(unaff_s7 + 0x40) = 1" (pointer_expression "*(undefined4 *)(unaff_s7 + 0x40)" * (cast_expression "(undefined4 *)(unaff_s7 + 0x40)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x40)" ( (binary_expression "unaff_s7 + 0x40" identifier + number_literal) )))) = number_literal) ;) (expression_statement "*(undefined4 *)(unaff_s7 + 0x30) = 1;" (assignment_expression "*(undefined4 *)(unaff_s7 + 0x30) = 1" (pointer_expression "*(undefined4 *)(unaff_s7 + 0x30)" * (cast_expression "(undefined4 *)(unaff_s7 + 0x30)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x30)" ( (binary_expression "unaff_s7 + 0x30" identifier + number_literal) )))) = number_literal) ;) (expression_statement "iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);" (assignment_expression "iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac)" identifier = (call_expression "(*(code *)puVar2)(param_1,puVar1 + 0x1eac)" (parenthesized_expression "(*(code *)puVar2)" ( (pointer_expression "*(code *)puVar2" * (cast_expression "(code *)puVar2" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,puVar1 + 0x1eac)" ( identifier , (binary_expression "puVar1 + 0x1eac" identifier + number_literal) )))) ;) (if_statement "if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }" { (expression_statement "iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);" (assignment_expression "iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10)" identifier = (call_expression "(*(code *)PTR_strtoul_003a9340)(iVar6,0,10)" (parenthesized_expression "(*(code *)PTR_strtoul_003a9340)" ( (pointer_expression "*(code *)PTR_strtoul_003a9340" * (cast_expression "(code *)PTR_strtoul_003a9340" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar6,0,10)" ( identifier , number_literal , number_literal )))) ;) (expression_statement "uVar5 = 2;" (assignment_expression "uVar5 = 2" identifier = number_literal) ;) (if_statement "if (iVar6 != 0) {\n            uVar5 = 0;\n          }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n            uVar5 = 0;\n          }" { (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) })) (expression_statement "uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);" (assignment_expression "uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44)" identifier = (pointer_expression "*(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44)" * (cast_expression "(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_2 + 0x3348) + 0x44)" ( (binary_expression "*(int *)(param_2 + 0x3348) + 0x44" (pointer_expression "*(int *)(param_2 + 0x3348)" * (cast_expression "(int *)(param_2 + 0x3348)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x3348)" ( (binary_expression "param_2 + 0x3348" identifier + number_literal) )))) + number_literal) ))))) ;) (goto_statement "goto LAB_00049fe8;" goto statement_identifier ;) })) }))) (expression_statement "iVar6 = 0x4000;" (assignment_expression "iVar6 = 0x4000" identifier = number_literal) ;) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" identifier = number_literal) ;) (expression_statement "uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);" (assignment_expression "uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44)" identifier = (pointer_expression "*(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44)" * (cast_expression "(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(*(int *)(param_2 + 0x3348) + 0x44)" ( (binary_expression "*(int *)(param_2 + 0x3348) + 0x44" (pointer_expression "*(int *)(param_2 + 0x3348)" * (cast_expression "(int *)(param_2 + 0x3348)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_2 + 0x3348)" ( (binary_expression "param_2 + 0x3348" identifier + number_literal) )))) + number_literal) ))))) ;) (labeled_statement "LAB_00049fe8:\n      iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);" statement_identifier : (expression_statement "iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);" (assignment_expression "iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6)" identifier = (call_expression "(*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6)" (parenthesized_expression "(*(code *)PTR_setvbuf_003a90f4)" ( (pointer_expression "*(code *)PTR_setvbuf_003a90f4" * (cast_expression "(code *)PTR_setvbuf_003a90f4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar8,0,uVar5,iVar6)" ( identifier , number_literal , identifier , identifier )))) ;)) (expression_statement "uVar10 = (uint)(iVar6 == 0);" (assignment_expression "uVar10 = (uint)(iVar6 == 0)" identifier = (call_expression "(uint)(iVar6 == 0)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )))) ;) (goto_statement "goto LAB_00049c58;" goto statement_identifier ;) })) }))) (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n            (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,PTR_LAB_003a88e0 + 0x1ad8);" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n            (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,PTR_LAB_003a88e0 + 0x1ad8)" (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_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,PTR_LAB_003a88e0 + 0x1ad8)" ( (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784" identifier + number_literal) , (binary_expression "PTR_LAB_003a88e0 + 0x1ad8" identifier + number_literal) ))) ;) (labeled_statement "LAB_0004a824:\n  (*(code *)PTR___assert_fail_003a9608)(PTR_LAB_003a88e0 + 0xdd0,PTR_LAB_003a88e0 + 0x1ad8);" statement_identifier : (expression_statement "(*(code *)PTR___assert_fail_003a9608)(PTR_LAB_003a88e0 + 0xdd0,PTR_LAB_003a88e0 + 0x1ad8);" (call_expression "(*(code *)PTR___assert_fail_003a9608)(PTR_LAB_003a88e0 + 0xdd0,PTR_LAB_003a88e0 + 0x1ad8)" (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 + 0xdd0,PTR_LAB_003a88e0 + 0x1ad8)" ( (binary_expression "PTR_LAB_003a88e0 + 0xdd0" identifier + number_literal) , (binary_expression "PTR_LAB_003a88e0 + 0x1ad8" identifier + number_literal) ))) ;)) (do_statement "do {\n    pcVar9 = (code *)PTR___stack_chk_fail_003a9064;\n    (*(code *)PTR___stack_chk_fail_003a9064)();\nLAB_0004a850:\n    (*pcVar9)(*(undefined4 *)(unaff_s7 + 0x44));\n    *(undefined4 *)(unaff_s7 + 0x44) = 0;\nLAB_0004a650:\n    (*(code *)PTR_AttachBlob_003a92c8)(unaff_s7,unaff_s6,unaff_s5);\n    iVar6 = *(int *)(unaff_s7 + 0x40);\n    *(undefined4 *)(unaff_s7 + 0x10) = 1;\nLAB_0004a138:\n    *(undefined4 *)(unaff_s7 + 0x38) = 0;\n    *(undefined4 *)(unaff_s7 + 0x1c) = 0;\n    if (iVar6 == 0) {\n      puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n      uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n      uVar8 = 0xdd1;\nLAB_0004a16c:\n      uVar10 = 0;\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,uVar8,0x1b3,\n                 PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n      (*(code *)PTR_DestroyString_003a9074)(uVar5);\n    }\n    else {\nLAB_00049e88:\n      uVar10 = 1;\n      uVar11 = (*(code *)PTR_GetBlobSize_003a94b8)(param_2);\n      *(undefined8 *)(unaff_s7 + 0x28) = uVar11;\n    }\nLAB_00049c58:\n  } while (local_2c != *(int *)puVar3);" do (compound_statement "{\n    pcVar9 = (code *)PTR___stack_chk_fail_003a9064;\n    (*(code *)PTR___stack_chk_fail_003a9064)();\nLAB_0004a850:\n    (*pcVar9)(*(undefined4 *)(unaff_s7 + 0x44));\n    *(undefined4 *)(unaff_s7 + 0x44) = 0;\nLAB_0004a650:\n    (*(code *)PTR_AttachBlob_003a92c8)(unaff_s7,unaff_s6,unaff_s5);\n    iVar6 = *(int *)(unaff_s7 + 0x40);\n    *(undefined4 *)(unaff_s7 + 0x10) = 1;\nLAB_0004a138:\n    *(undefined4 *)(unaff_s7 + 0x38) = 0;\n    *(undefined4 *)(unaff_s7 + 0x1c) = 0;\n    if (iVar6 == 0) {\n      puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n      uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n      uVar8 = 0xdd1;\nLAB_0004a16c:\n      uVar10 = 0;\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,uVar8,0x1b3,\n                 PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n      (*(code *)PTR_DestroyString_003a9074)(uVar5);\n    }\n    else {\nLAB_00049e88:\n      uVar10 = 1;\n      uVar11 = (*(code *)PTR_GetBlobSize_003a94b8)(param_2);\n      *(undefined8 *)(unaff_s7 + 0x28) = uVar11;\n    }\nLAB_00049c58:\n  }" { (expression_statement "pcVar9 = (code *)PTR___stack_chk_fail_003a9064;" (assignment_expression "pcVar9 = (code *)PTR___stack_chk_fail_003a9064" identifier = (cast_expression "(code *)PTR___stack_chk_fail_003a9064" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) ;) (expression_statement "(*(code *)PTR___stack_chk_fail_003a9064)();" (call_expression "(*(code *)PTR___stack_chk_fail_003a9064)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_003a9064)" ( (pointer_expression "*(code *)PTR___stack_chk_fail_003a9064" * (cast_expression "(code *)PTR___stack_chk_fail_003a9064" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) (labeled_statement "LAB_0004a850:\n    (*pcVar9)(*(undefined4 *)(unaff_s7 + 0x44));" statement_identifier : (expression_statement "(*pcVar9)(*(undefined4 *)(unaff_s7 + 0x44));" (call_expression "(*pcVar9)(*(undefined4 *)(unaff_s7 + 0x44))" (parenthesized_expression "(*pcVar9)" ( (pointer_expression "*pcVar9" * identifier) )) (argument_list "(*(undefined4 *)(unaff_s7 + 0x44))" ( (pointer_expression "*(undefined4 *)(unaff_s7 + 0x44)" * (cast_expression "(undefined4 *)(unaff_s7 + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x44)" ( (binary_expression "unaff_s7 + 0x44" identifier + number_literal) )))) ))) ;)) (expression_statement "*(undefined4 *)(unaff_s7 + 0x44) = 0;" (assignment_expression "*(undefined4 *)(unaff_s7 + 0x44) = 0" (pointer_expression "*(undefined4 *)(unaff_s7 + 0x44)" * (cast_expression "(undefined4 *)(unaff_s7 + 0x44)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x44)" ( (binary_expression "unaff_s7 + 0x44" identifier + number_literal) )))) = number_literal) ;) (labeled_statement "LAB_0004a650:\n    (*(code *)PTR_AttachBlob_003a92c8)(unaff_s7,unaff_s6,unaff_s5);" statement_identifier : (expression_statement "(*(code *)PTR_AttachBlob_003a92c8)(unaff_s7,unaff_s6,unaff_s5);" (call_expression "(*(code *)PTR_AttachBlob_003a92c8)(unaff_s7,unaff_s6,unaff_s5)" (parenthesized_expression "(*(code *)PTR_AttachBlob_003a92c8)" ( (pointer_expression "*(code *)PTR_AttachBlob_003a92c8" * (cast_expression "(code *)PTR_AttachBlob_003a92c8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s7,unaff_s6,unaff_s5)" ( identifier , identifier , identifier ))) ;)) (expression_statement "iVar6 = *(int *)(unaff_s7 + 0x40);" (assignment_expression "iVar6 = *(int *)(unaff_s7 + 0x40)" identifier = (pointer_expression "*(int *)(unaff_s7 + 0x40)" * (cast_expression "(int *)(unaff_s7 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x40)" ( (binary_expression "unaff_s7 + 0x40" identifier + number_literal) ))))) ;) (expression_statement "*(undefined4 *)(unaff_s7 + 0x10) = 1;" (assignment_expression "*(undefined4 *)(unaff_s7 + 0x10) = 1" (pointer_expression "*(undefined4 *)(unaff_s7 + 0x10)" * (cast_expression "(undefined4 *)(unaff_s7 + 0x10)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x10)" ( (binary_expression "unaff_s7 + 0x10" identifier + number_literal) )))) = number_literal) ;) (labeled_statement "LAB_0004a138:\n    *(undefined4 *)(unaff_s7 + 0x38) = 0;" statement_identifier : (expression_statement "*(undefined4 *)(unaff_s7 + 0x38) = 0;" (assignment_expression "*(undefined4 *)(unaff_s7 + 0x38) = 0" (pointer_expression "*(undefined4 *)(unaff_s7 + 0x38)" * (cast_expression "(undefined4 *)(unaff_s7 + 0x38)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x38)" ( (binary_expression "unaff_s7 + 0x38" identifier + number_literal) )))) = number_literal) ;)) (expression_statement "*(undefined4 *)(unaff_s7 + 0x1c) = 0;" (assignment_expression "*(undefined4 *)(unaff_s7 + 0x1c) = 0" (pointer_expression "*(undefined4 *)(unaff_s7 + 0x1c)" * (cast_expression "(undefined4 *)(unaff_s7 + 0x1c)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x1c)" ( (binary_expression "unaff_s7 + 0x1c" identifier + number_literal) )))) = number_literal) ;) (if_statement "if (iVar6 == 0) {\n      puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n      uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n      uVar8 = 0xdd1;\nLAB_0004a16c:\n      uVar10 = 0;\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,uVar8,0x1b3,\n                 PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n      (*(code *)PTR_DestroyString_003a9074)(uVar5);\n    }\n    else {\nLAB_00049e88:\n      uVar10 = 1;\n      uVar11 = (*(code *)PTR_GetBlobSize_003a94b8)(param_2);\n      *(undefined8 *)(unaff_s7 + 0x28) = uVar11;\n    }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n      puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n      uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n      uVar8 = 0xdd1;\nLAB_0004a16c:\n      uVar10 = 0;\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,uVar8,0x1b3,\n                 PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n      (*(code *)PTR_DestroyString_003a9074)(uVar5);\n    }" { (expression_statement "puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();" (assignment_expression "puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_003a99b0)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_003a99b0)()" (parenthesized_expression "(*(code *)PTR___errno_location_003a99b0)" ( (pointer_expression "*(code *)PTR___errno_location_003a99b0" * (cast_expression "(code *)PTR___errno_location_003a99b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);" (assignment_expression "uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4)" identifier = (call_expression "(*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4)" (parenthesized_expression "(*(code *)PTR_GetExceptionMessage_003a93ec)" ( (pointer_expression "*(code *)PTR_GetExceptionMessage_003a93ec" * (cast_expression "(code *)PTR_GetExceptionMessage_003a93ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*puVar4)" ( (pointer_expression "*puVar4" * identifier) )))) ;) (expression_statement "uVar8 = 0xdd1;" (assignment_expression "uVar8 = 0xdd1" identifier = number_literal) ;) (labeled_statement "LAB_0004a16c:\n      uVar10 = 0;" statement_identifier : (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;)) (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,uVar8,0x1b3,\n                 PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,uVar8,0x1b3,\n                 PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5)" (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_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,uVar8,0x1b3,\n                 PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5)" ( identifier , (binary_expression "PTR_LAB_003a88e0 + 0x1ad8" identifier + number_literal) , (binary_expression "PTR_LAB_003a88e0 + 0x23cc" identifier + number_literal) , identifier , number_literal , (binary_expression "PTR_LAB_003a88e0 + 0x1ec4" identifier + number_literal) , (binary_expression "PTR_LAB_003a88e0 + 0xe78" identifier + number_literal) , identifier , identifier ))) ;) (expression_statement "(*(code *)PTR_DestroyString_003a9074)(uVar5);" (call_expression "(*(code *)PTR_DestroyString_003a9074)(uVar5)" (parenthesized_expression "(*(code *)PTR_DestroyString_003a9074)" ( (pointer_expression "*(code *)PTR_DestroyString_003a9074" * (cast_expression "(code *)PTR_DestroyString_003a9074" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar5)" ( identifier ))) ;) }) (else_clause "else {\nLAB_00049e88:\n      uVar10 = 1;\n      uVar11 = (*(code *)PTR_GetBlobSize_003a94b8)(param_2);\n      *(undefined8 *)(unaff_s7 + 0x28) = uVar11;\n    }" else (compound_statement "{\nLAB_00049e88:\n      uVar10 = 1;\n      uVar11 = (*(code *)PTR_GetBlobSize_003a94b8)(param_2);\n      *(undefined8 *)(unaff_s7 + 0x28) = uVar11;\n    }" { (labeled_statement "LAB_00049e88:\n      uVar10 = 1;" statement_identifier : (expression_statement "uVar10 = 1;" (assignment_expression "uVar10 = 1" identifier = number_literal) ;)) (expression_statement "uVar11 = (*(code *)PTR_GetBlobSize_003a94b8)(param_2);" (assignment_expression "uVar11 = (*(code *)PTR_GetBlobSize_003a94b8)(param_2)" identifier = (call_expression "(*(code *)PTR_GetBlobSize_003a94b8)(param_2)" (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 "(param_2)" ( identifier )))) ;) (expression_statement "*(undefined8 *)(unaff_s7 + 0x28) = uVar11;" (assignment_expression "*(undefined8 *)(unaff_s7 + 0x28) = uVar11" (pointer_expression "*(undefined8 *)(unaff_s7 + 0x28)" * (cast_expression "(undefined8 *)(unaff_s7 + 0x28)" ( (type_descriptor "undefined8 *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s7 + 0x28)" ( (binary_expression "unaff_s7 + 0x28" identifier + number_literal) )))) = identifier) ;) }))) (labeled_statement "LAB_00049c58:" statement_identifier : (expression_statement "" ;)) }) while (parenthesized_expression "(local_2c != *(int *)puVar3)" ( (binary_expression "local_2c != *(int *)puVar3" identifier != (pointer_expression "*(int *)puVar3" * (cast_expression "(int *)puVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) ;) (return_statement "return uVar10;" return identifier ;) })))
(translation_unit (function_definition TYPE (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) , (parameter_declaration TYPE IDENT) ))) (compound_statement { (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (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))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) ))) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (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 ( (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 { (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) ))) ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (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 { (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 != 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 (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 = LIT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) ))) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = LIT) , (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == (char_literal ' escape_sequence '))) ))) )) (compound_statement { (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (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 , LIT , LIT ))) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < (pointer_expression & IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * LIT)) + LIT) ))))) )))) )) (argument_list ( )))) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (compound_statement { (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (char_literal ' escape_sequence ')) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , LIT ))) ;) }) (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) )))) = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (char_literal ' escape_sequence ')) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , LIT ))) ;) }))) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , LIT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , LIT , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (parenthesized_expression ( (binary_expression (binary_expression (subscript_expression IDENT [ LIT ]) == (char_literal ' escape_sequence ')) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) ))) )) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (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 *)) ) 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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = 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) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , LIT )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (goto_statement goto statement_identifier ;) })) }) (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 , (binary_expression IDENT + LIT) , LIT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (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 , LIT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (pointer_expression & 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 = IDENT) ;) (expression_statement (assignment_expression 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) )))) = 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 IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , LIT )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) }))) (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 , IDENT )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT == LIT) )))) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * IDENT) )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , LIT , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , 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 = 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 + LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) & LIT) )) != LIT) ))) )) (compound_statement { (expression_statement (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 (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 + LIT) )))) = (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) )))) = 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) )))) = 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 )))) ;) (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 = 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) )))) = 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) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , LIT )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT == LIT) ))) << LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_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 , LIT , IDENT , IDENT ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_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 ( (pointer_expression & IDENT) , LIT , LIT , (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 ( (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 ( (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 ( LIT , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , 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 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 ( )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , IDENT ))))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (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 = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) , (binary_expression IDENT != LIT)) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator * (abstract_pointer_declarator *))) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) , (binary_expression (pointer_expression & (field_expression (subscript_expression IDENT [ LIT ]) . field_identifier)) < IDENT)) ))) )) && (parenthesized_expression ( (comma_expression (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( 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 ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (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 , LIT , LIT , 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 ( LIT ))) ;) (expression_statement (assignment_expression IDENT = (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 = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) == LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = LIT) ;) (goto_statement goto statement_identifier ;) })) })) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (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 )))) ;) (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 = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * IDENT) )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (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) )))) = 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) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , LIT )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (goto_statement goto statement_identifier ;) })) }))) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + LIT) ))))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , IDENT , IDENT )))) ;)) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_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 ( (binary_expression IDENT + 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) ))) ;)) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (labeled_statement statement_identifier : (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * IDENT) )) (argument_list ( (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) ;) (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 ))) ;)) (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) ;) (labeled_statement statement_identifier : (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) )))) = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * IDENT) )))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (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 , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , IDENT , LIT , (binary_expression IDENT + LIT) , (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 ))) ;) }) (else_clause else (compound_statement { (labeled_statement statement_identifier : (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 (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) = IDENT) ;) }))) (labeled_statement statement_identifier : (expression_statement ;)) }) while (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) ;) (return_statement return IDENT ;) })))
(function_definition "uint OpenBlob(int param_1,int param_2,char *param_3,undefined4 param_4)\n\n{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  undefined4 uVar8;\n  int unaff_s1;\n  undefined4 unaff_s3;\n  char *unaff_s4;\n  undefined1 *unaff_s5;\n  int unaff_s6;\n  int unaff_s7;\n  code *pcVar9;\n  uint uVar10;\n  undefined8 uVar11;\n  undefined1 local_302c [4096];\n  char local_202c [3];\n  undefined1 auStack_2029 [4093];\n  undefined2 local_102c;\n  undefined1 local_102a;\n  int local_2c;\n  \n  puVar3 = PTR___stack_chk_guard_003a9230;\n  local_2c = *(int *)PTR___stack_chk_guard_003a9230;\n  pcVar9 = (code *)PTR___assert_fail_003a9608;\n  if (param_1 == 0) {\nLAB_0004a7e4:\n    (*pcVar9)(PTR_LAB_003a88e0 + 0x1c88,PTR_LAB_003a88e0 + 0x1ad8,0xca1,PTR_LAB_003a88e0 + 0x23d8);\n    param_2 = unaff_s1;\n    param_4 = unaff_s3;\n    param_3 = unaff_s4;\n  }\n  else {\n    if (*(int *)(param_1 + 0x3214) != -0x54535255) {\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xda0,PTR_LAB_003a88e0 + 0x1ad8,0xca2,PTR_LAB_003a88e0 + 0x23d8)\n      ;\n      goto LAB_0004a7e4;\n    }\n    if (*(int *)(param_1 + 0x3210) != 0) {\n      (*(code *)PTR_LogMagickEvent_003a91e0)\n                (0x8000,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xca4,\n                 PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210);\n    }\n    puVar1 = PTR_AttachBlob_003a92c8;\n    if (param_2 == 0) goto LAB_0004a824;\n    if (*(int *)(param_2 + 0x336c) == -0x54535255) {\n      iVar6 = *(int *)(param_1 + 0x208);\n      unaff_s7 = *(int *)(param_2 + 0x3348);\n      if (iVar6 != 0) {\n        if (*(int *)(param_1 + 0x200) != 0) {\n          *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        }\n        uVar10 = 1;\n        (*(code *)puVar1)(unaff_s7,iVar6,*(undefined4 *)(param_1 + 0x20c));\n        goto LAB_00049c58;\n      }\n      if ((*(int *)(param_1 + 0x3218) != 0) && (uVar10 = 1, *(char *)(param_2 + 0x340) == '\0')) {\n        *(int *)(unaff_s7 + 0xec) = *(int *)(param_1 + 0x3218);\n        *(undefined4 *)(unaff_s7 + 0x40) = 8;\n        goto LAB_00049c58;\n      }\n      (*(code *)PTR_DetachBlob_003a976c)(unaff_s7,0,0xca7);\n      *(char **)(unaff_s7 + 0xc) = param_3;\n      if (param_3 < &DAT_00000007) {\n                    \n                    \n        uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098)))();\n        return uVar10;\n      }\n      unaff_s5 = PTR_LAB_003a88e0 + 0x4aa0;\n      unaff_s6 = param_2 + 0x340;\n      if (*(int *)(param_1 + 0x200) == 0) {\n        local_202c[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);\n      }\n      else {\n        *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        local_202c[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);\n      }\n      param_3 = local_202c;\n      iVar6 = (*(code *)PTR_IsRightsAuthorized_003a8db0)(4,1,param_3);\n      if (iVar6 == 0) {\n        puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n        *puVar4 = 1;\n        (*(code *)PTR_ThrowMagickException_003a8f20)\n                  (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcd9,499,\n                   PTR_LAB_003a88e0 + 0x1e9c,PTR_LAB_003a88e0 + 0x3e28,param_3);\n        uVar10 = 0;\n        goto LAB_00049c58;\n      }\n      iVar6 = (*(code *)PTR_LocaleCompare_003a9110)(param_3,PTR_s_courses_003a88ec + -0x7ac);\n      puVar2 = PTR_GetImageOption_003a9168;\n      puVar1 = PTR_LAB_003a88e0;\n      if ((iVar6 == 0) || ((local_202c[0] == '\0' && (*(int *)(param_1 + 0x204) == 0)))) {\n        param_4 = 2;\n        *(undefined4 *)(unaff_s7 + 0x44) = *(undefined4 *)PTR_stdin_003a8fc4;\n        *(undefined4 *)(unaff_s7 + 0x40) = 2;\n        *(undefined4 *)(unaff_s7 + 0x30) = 1;\n        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n        if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }\n      }\n      else {\n        iVar6 = (*(code *)PTR_LocaleNCompare_003a961c)(param_3,PTR_LAB_003a88e0 + 0x1ec0,3);\n        if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_IsGeometry_003a9418)(auStack_2029);\n          if (iVar6 != 0) {\n            local_102c = 0x7200;\n            uVar5 = (*(code *)PTR_strtol_003a954c)(auStack_2029,0,10);\n            iVar6 = (*(code *)PTR_fdopen_003a97d8)(uVar5,&local_102c);\n            *(int *)(unaff_s7 + 0x44) = iVar6;\n            puVar2 = PTR_GetImageOption_003a9168;\n            puVar1 = PTR_LAB_003a88e0;\n            if (iVar6 != 0) {\n              *(undefined4 *)(unaff_s7 + 0x40) = 1;\n              *(undefined4 *)(unaff_s7 + 0x30) = 1;\n              iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n              if (iVar6 == 0) {\n                iVar6 = 0x4000;\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n                uVar5 = 0;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n                uVar5 = 2;\n                if (iVar6 != 0) {\n                  uVar5 = 0;\n                }\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n              }\n              iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n              uVar10 = (uint)(iVar6 == 0);\n              goto LAB_00049c58;\n            }\n            puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n            (*(code *)PTR_DestroyString_003a9074)(uVar5);\n            uVar10 = 0;\n            goto LAB_00049c58;\n          }\n        }\n        iVar6 = (*(code *)PTR_GetPathAttributes_003a9364)(param_3,unaff_s7 + 0x48);\n        if ((iVar6 == 0) || ((*(uint *)(unaff_s7 + 0x60) & 0xf000) != 0x1000)) {\n          (*(code *)PTR_GetPathComponent_003a8e18)(unaff_s6,6,local_302c);\n          if (*(int *)(param_1 + 0x204) != 0) {\n            *(int *)(unaff_s7 + 0x44) = *(int *)(param_1 + 0x204);\n            *(undefined4 *)(unaff_s7 + 0x38) = 0;\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            *(undefined4 *)(unaff_s7 + 0x30) = 1;\n            *(undefined4 *)(unaff_s7 + 0x1c) = 0;\n            goto LAB_00049e88;\n          }\n          iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n          *(int *)(unaff_s7 + 0x44) = iVar6;\n          puVar2 = PTR_GetImageOption_003a9168;\n          puVar1 = PTR_LAB_003a88e0;\n          if (iVar6 != 0) {\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n            if (iVar6 == 0) {\n              iVar6 = 0x4000;\n              iVar7 = 0;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            else {\n              iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n              iVar7 = (uint)(iVar6 == 0) << 1;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            (*(code *)PTR_setvbuf_003a90f4)(uVar5,0,iVar7,iVar6);\n            local_102c = 0;\n            local_102a = 0;\n            unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)\n                                 (&local_102c,1,3,*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fseeko64_003a9944)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fflush_003a948c)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0);\n            iVar6 = *(int *)(unaff_s7 + 0x40);\n            if (iVar6 != 1) goto LAB_0004a138;\n            uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(param_1 + 0x210,uVar5);\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);\n            if ((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)) &&\n                (unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar6 != 0)) {\n              uVar5 = (*(code *)PTR_fileno_003a99cc)(*(undefined4 *)(unaff_s7 + 0x44));\n              unaff_s6 = (*(code *)PTR_MapBlob_003a978c)(uVar5,0,0,0,unaff_s5);\n              if (unaff_s6 == 0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                iVar6 = *(int *)(unaff_s7 + 0x40);\n                goto LAB_0004a138;\n              }\n              pcVar9 = (code *)PTR_fclose_003a939c;\n              if (*(int *)(param_1 + 0x204) == 0) goto LAB_0004a850;\n              *(undefined4 *)(unaff_s7 + 0x30) = 0;\n              goto LAB_0004a650;\n            }\n          }\n          iVar6 = *(int *)(unaff_s7 + 0x40);\n          goto LAB_0004a138;\n        }\n        iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n        *(int *)(unaff_s7 + 0x44) = iVar6;\n        puVar2 = PTR_GetImageOption_003a9168;\n        puVar1 = PTR_LAB_003a88e0;\n        if (iVar6 == 0) {\n          puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n          uVar8 = 0xd23;\n          goto LAB_0004a16c;\n        }\n        *(undefined4 *)(unaff_s7 + 0x40) = 1;\n        *(undefined4 *)(unaff_s7 + 0x30) = 1;\n        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n        if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }\n      }\n      iVar6 = 0x4000;\n      uVar5 = 0;\n      uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\nLAB_00049fe8:\n      iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n      uVar10 = (uint)(iVar6 == 0);\n      goto LAB_00049c58;\n    }\n  }\n  (*(code *)PTR___assert_fail_003a9608)\n            (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,PTR_LAB_003a88e0 + 0x1ad8);\nLAB_0004a824:\n  (*(code *)PTR___assert_fail_003a9608)(PTR_LAB_003a88e0 + 0xdd0,PTR_LAB_003a88e0 + 0x1ad8);\n  do {\n    pcVar9 = (code *)PTR___stack_chk_fail_003a9064;\n    (*(code *)PTR___stack_chk_fail_003a9064)();\nLAB_0004a850:\n    (*pcVar9)(*(undefined4 *)(unaff_s7 + 0x44));\n    *(undefined4 *)(unaff_s7 + 0x44) = 0;\nLAB_0004a650:\n    (*(code *)PTR_AttachBlob_003a92c8)(unaff_s7,unaff_s6,unaff_s5);\n    iVar6 = *(int *)(unaff_s7 + 0x40);\n    *(undefined4 *)(unaff_s7 + 0x10) = 1;\nLAB_0004a138:\n    *(undefined4 *)(unaff_s7 + 0x38) = 0;\n    *(undefined4 *)(unaff_s7 + 0x1c) = 0;\n    if (iVar6 == 0) {\n      puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n      uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n      uVar8 = 0xdd1;\nLAB_0004a16c:\n      uVar10 = 0;\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,uVar8,0x1b3,\n                 PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n      (*(code *)PTR_DestroyString_003a9074)(uVar5);\n    }\n    else {\nLAB_00049e88:\n      uVar10 = 1;\n      uVar11 = (*(code *)PTR_GetBlobSize_003a94b8)(param_2);\n      *(undefined8 *)(unaff_s7 + 0x28) = uVar11;\n    }\nLAB_00049c58:\n  } while (local_2c != *(int *)puVar3);\n  return uVar10;\n}" (type_identifier "uint") (function_declarator "OpenBlob(int param_1,int param_2,char *param_3,undefined4 param_4)" (identifier "OpenBlob") (parameter_list "(int param_1,int param_2,char *param_3,undefined4 param_4)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int param_2" (primitive_type "int") (identifier "param_2")) (, ",") (parameter_declaration "char *param_3" (primitive_type "char") (pointer_declarator "*param_3" (* "*") (identifier "param_3"))) (, ",") (parameter_declaration "undefined4 param_4" (type_identifier "undefined4") (identifier "param_4")) () ")"))) (compound_statement "{\n  undefined *puVar1;\n  undefined *puVar2;\n  undefined *puVar3;\n  undefined4 *puVar4;\n  undefined4 uVar5;\n  int iVar6;\n  int iVar7;\n  undefined4 uVar8;\n  int unaff_s1;\n  undefined4 unaff_s3;\n  char *unaff_s4;\n  undefined1 *unaff_s5;\n  int unaff_s6;\n  int unaff_s7;\n  code *pcVar9;\n  uint uVar10;\n  undefined8 uVar11;\n  undefined1 local_302c [4096];\n  char local_202c [3];\n  undefined1 auStack_2029 [4093];\n  undefined2 local_102c;\n  undefined1 local_102a;\n  int local_2c;\n  \n  puVar3 = PTR___stack_chk_guard_003a9230;\n  local_2c = *(int *)PTR___stack_chk_guard_003a9230;\n  pcVar9 = (code *)PTR___assert_fail_003a9608;\n  if (param_1 == 0) {\nLAB_0004a7e4:\n    (*pcVar9)(PTR_LAB_003a88e0 + 0x1c88,PTR_LAB_003a88e0 + 0x1ad8,0xca1,PTR_LAB_003a88e0 + 0x23d8);\n    param_2 = unaff_s1;\n    param_4 = unaff_s3;\n    param_3 = unaff_s4;\n  }\n  else {\n    if (*(int *)(param_1 + 0x3214) != -0x54535255) {\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xda0,PTR_LAB_003a88e0 + 0x1ad8,0xca2,PTR_LAB_003a88e0 + 0x23d8)\n      ;\n      goto LAB_0004a7e4;\n    }\n    if (*(int *)(param_1 + 0x3210) != 0) {\n      (*(code *)PTR_LogMagickEvent_003a91e0)\n                (0x8000,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xca4,\n                 PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210);\n    }\n    puVar1 = PTR_AttachBlob_003a92c8;\n    if (param_2 == 0) goto LAB_0004a824;\n    if (*(int *)(param_2 + 0x336c) == -0x54535255) {\n      iVar6 = *(int *)(param_1 + 0x208);\n      unaff_s7 = *(int *)(param_2 + 0x3348);\n      if (iVar6 != 0) {\n        if (*(int *)(param_1 + 0x200) != 0) {\n          *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        }\n        uVar10 = 1;\n        (*(code *)puVar1)(unaff_s7,iVar6,*(undefined4 *)(param_1 + 0x20c));\n        goto LAB_00049c58;\n      }\n      if ((*(int *)(param_1 + 0x3218) != 0) && (uVar10 = 1, *(char *)(param_2 + 0x340) == '\0')) {\n        *(int *)(unaff_s7 + 0xec) = *(int *)(param_1 + 0x3218);\n        *(undefined4 *)(unaff_s7 + 0x40) = 8;\n        goto LAB_00049c58;\n      }\n      (*(code *)PTR_DetachBlob_003a976c)(unaff_s7,0,0xca7);\n      *(char **)(unaff_s7 + 0xc) = param_3;\n      if (param_3 < &DAT_00000007) {\n                    \n                    \n        uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098)))();\n        return uVar10;\n      }\n      unaff_s5 = PTR_LAB_003a88e0 + 0x4aa0;\n      unaff_s6 = param_2 + 0x340;\n      if (*(int *)(param_1 + 0x200) == 0) {\n        local_202c[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);\n      }\n      else {\n        *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        local_202c[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);\n      }\n      param_3 = local_202c;\n      iVar6 = (*(code *)PTR_IsRightsAuthorized_003a8db0)(4,1,param_3);\n      if (iVar6 == 0) {\n        puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n        *puVar4 = 1;\n        (*(code *)PTR_ThrowMagickException_003a8f20)\n                  (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcd9,499,\n                   PTR_LAB_003a88e0 + 0x1e9c,PTR_LAB_003a88e0 + 0x3e28,param_3);\n        uVar10 = 0;\n        goto LAB_00049c58;\n      }\n      iVar6 = (*(code *)PTR_LocaleCompare_003a9110)(param_3,PTR_s_courses_003a88ec + -0x7ac);\n      puVar2 = PTR_GetImageOption_003a9168;\n      puVar1 = PTR_LAB_003a88e0;\n      if ((iVar6 == 0) || ((local_202c[0] == '\0' && (*(int *)(param_1 + 0x204) == 0)))) {\n        param_4 = 2;\n        *(undefined4 *)(unaff_s7 + 0x44) = *(undefined4 *)PTR_stdin_003a8fc4;\n        *(undefined4 *)(unaff_s7 + 0x40) = 2;\n        *(undefined4 *)(unaff_s7 + 0x30) = 1;\n        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n        if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }\n      }\n      else {\n        iVar6 = (*(code *)PTR_LocaleNCompare_003a961c)(param_3,PTR_LAB_003a88e0 + 0x1ec0,3);\n        if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_IsGeometry_003a9418)(auStack_2029);\n          if (iVar6 != 0) {\n            local_102c = 0x7200;\n            uVar5 = (*(code *)PTR_strtol_003a954c)(auStack_2029,0,10);\n            iVar6 = (*(code *)PTR_fdopen_003a97d8)(uVar5,&local_102c);\n            *(int *)(unaff_s7 + 0x44) = iVar6;\n            puVar2 = PTR_GetImageOption_003a9168;\n            puVar1 = PTR_LAB_003a88e0;\n            if (iVar6 != 0) {\n              *(undefined4 *)(unaff_s7 + 0x40) = 1;\n              *(undefined4 *)(unaff_s7 + 0x30) = 1;\n              iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n              if (iVar6 == 0) {\n                iVar6 = 0x4000;\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n                uVar5 = 0;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n                uVar5 = 2;\n                if (iVar6 != 0) {\n                  uVar5 = 0;\n                }\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n              }\n              iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n              uVar10 = (uint)(iVar6 == 0);\n              goto LAB_00049c58;\n            }\n            puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n            (*(code *)PTR_DestroyString_003a9074)(uVar5);\n            uVar10 = 0;\n            goto LAB_00049c58;\n          }\n        }\n        iVar6 = (*(code *)PTR_GetPathAttributes_003a9364)(param_3,unaff_s7 + 0x48);\n        if ((iVar6 == 0) || ((*(uint *)(unaff_s7 + 0x60) & 0xf000) != 0x1000)) {\n          (*(code *)PTR_GetPathComponent_003a8e18)(unaff_s6,6,local_302c);\n          if (*(int *)(param_1 + 0x204) != 0) {\n            *(int *)(unaff_s7 + 0x44) = *(int *)(param_1 + 0x204);\n            *(undefined4 *)(unaff_s7 + 0x38) = 0;\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            *(undefined4 *)(unaff_s7 + 0x30) = 1;\n            *(undefined4 *)(unaff_s7 + 0x1c) = 0;\n            goto LAB_00049e88;\n          }\n          iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n          *(int *)(unaff_s7 + 0x44) = iVar6;\n          puVar2 = PTR_GetImageOption_003a9168;\n          puVar1 = PTR_LAB_003a88e0;\n          if (iVar6 != 0) {\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n            if (iVar6 == 0) {\n              iVar6 = 0x4000;\n              iVar7 = 0;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            else {\n              iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n              iVar7 = (uint)(iVar6 == 0) << 1;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            (*(code *)PTR_setvbuf_003a90f4)(uVar5,0,iVar7,iVar6);\n            local_102c = 0;\n            local_102a = 0;\n            unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)\n                                 (&local_102c,1,3,*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fseeko64_003a9944)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fflush_003a948c)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0);\n            iVar6 = *(int *)(unaff_s7 + 0x40);\n            if (iVar6 != 1) goto LAB_0004a138;\n            uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(param_1 + 0x210,uVar5);\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);\n            if ((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)) &&\n                (unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar6 != 0)) {\n              uVar5 = (*(code *)PTR_fileno_003a99cc)(*(undefined4 *)(unaff_s7 + 0x44));\n              unaff_s6 = (*(code *)PTR_MapBlob_003a978c)(uVar5,0,0,0,unaff_s5);\n              if (unaff_s6 == 0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                iVar6 = *(int *)(unaff_s7 + 0x40);\n                goto LAB_0004a138;\n              }\n              pcVar9 = (code *)PTR_fclose_003a939c;\n              if (*(int *)(param_1 + 0x204) == 0) goto LAB_0004a850;\n              *(undefined4 *)(unaff_s7 + 0x30) = 0;\n              goto LAB_0004a650;\n            }\n          }\n          iVar6 = *(int *)(unaff_s7 + 0x40);\n          goto LAB_0004a138;\n        }\n        iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n        *(int *)(unaff_s7 + 0x44) = iVar6;\n        puVar2 = PTR_GetImageOption_003a9168;\n        puVar1 = PTR_LAB_003a88e0;\n        if (iVar6 == 0) {\n          puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n          uVar8 = 0xd23;\n          goto LAB_0004a16c;\n        }\n        *(undefined4 *)(unaff_s7 + 0x40) = 1;\n        *(undefined4 *)(unaff_s7 + 0x30) = 1;\n        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n        if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }\n      }\n      iVar6 = 0x4000;\n      uVar5 = 0;\n      uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\nLAB_00049fe8:\n      iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n      uVar10 = (uint)(iVar6 == 0);\n      goto LAB_00049c58;\n    }\n  }\n  (*(code *)PTR___assert_fail_003a9608)\n            (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,PTR_LAB_003a88e0 + 0x1ad8);\nLAB_0004a824:\n  (*(code *)PTR___assert_fail_003a9608)(PTR_LAB_003a88e0 + 0xdd0,PTR_LAB_003a88e0 + 0x1ad8);\n  do {\n    pcVar9 = (code *)PTR___stack_chk_fail_003a9064;\n    (*(code *)PTR___stack_chk_fail_003a9064)();\nLAB_0004a850:\n    (*pcVar9)(*(undefined4 *)(unaff_s7 + 0x44));\n    *(undefined4 *)(unaff_s7 + 0x44) = 0;\nLAB_0004a650:\n    (*(code *)PTR_AttachBlob_003a92c8)(unaff_s7,unaff_s6,unaff_s5);\n    iVar6 = *(int *)(unaff_s7 + 0x40);\n    *(undefined4 *)(unaff_s7 + 0x10) = 1;\nLAB_0004a138:\n    *(undefined4 *)(unaff_s7 + 0x38) = 0;\n    *(undefined4 *)(unaff_s7 + 0x1c) = 0;\n    if (iVar6 == 0) {\n      puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n      uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n      uVar8 = 0xdd1;\nLAB_0004a16c:\n      uVar10 = 0;\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,uVar8,0x1b3,\n                 PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n      (*(code *)PTR_DestroyString_003a9074)(uVar5);\n    }\n    else {\nLAB_00049e88:\n      uVar10 = 1;\n      uVar11 = (*(code *)PTR_GetBlobSize_003a94b8)(param_2);\n      *(undefined8 *)(unaff_s7 + 0x28) = uVar11;\n    }\nLAB_00049c58:\n  } while (local_2c != *(int *)puVar3);\n  return uVar10;\n}" ({ "{") (declaration "undefined *puVar1;" (type_identifier "undefined") (pointer_declarator "*puVar1" (* "*") (identifier "puVar1")) (; ";")) (declaration "undefined *puVar2;" (type_identifier "undefined") (pointer_declarator "*puVar2" (* "*") (identifier "puVar2")) (; ";")) (declaration "undefined *puVar3;" (type_identifier "undefined") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "undefined4 uVar5;" (type_identifier "undefined4") (identifier "uVar5") (; ";")) (declaration "int iVar6;" (primitive_type "int") (identifier "iVar6") (; ";")) (declaration "int iVar7;" (primitive_type "int") (identifier "iVar7") (; ";")) (declaration "undefined4 uVar8;" (type_identifier "undefined4") (identifier "uVar8") (; ";")) (declaration "int unaff_s1;" (primitive_type "int") (identifier "unaff_s1") (; ";")) (declaration "undefined4 unaff_s3;" (type_identifier "undefined4") (identifier "unaff_s3") (; ";")) (declaration "char *unaff_s4;" (primitive_type "char") (pointer_declarator "*unaff_s4" (* "*") (identifier "unaff_s4")) (; ";")) (declaration "undefined1 *unaff_s5;" (type_identifier "undefined1") (pointer_declarator "*unaff_s5" (* "*") (identifier "unaff_s5")) (; ";")) (declaration "int unaff_s6;" (primitive_type "int") (identifier "unaff_s6") (; ";")) (declaration "int unaff_s7;" (primitive_type "int") (identifier "unaff_s7") (; ";")) (declaration "code *pcVar9;" (type_identifier "code") (pointer_declarator "*pcVar9" (* "*") (identifier "pcVar9")) (; ";")) (declaration "uint uVar10;" (type_identifier "uint") (identifier "uVar10") (; ";")) (declaration "undefined8 uVar11;" (type_identifier "undefined8") (identifier "uVar11") (; ";")) (declaration "undefined1 local_302c [4096];" (type_identifier "undefined1") (array_declarator "local_302c [4096]" (identifier "local_302c") ([ "[") (number_literal "4096") (] "]")) (; ";")) (declaration "char local_202c [3];" (primitive_type "char") (array_declarator "local_202c [3]" (identifier "local_202c") ([ "[") (number_literal "3") (] "]")) (; ";")) (declaration "undefined1 auStack_2029 [4093];" (type_identifier "undefined1") (array_declarator "auStack_2029 [4093]" (identifier "auStack_2029") ([ "[") (number_literal "4093") (] "]")) (; ";")) (declaration "undefined2 local_102c;" (type_identifier "undefined2") (identifier "local_102c") (; ";")) (declaration "undefined1 local_102a;" (type_identifier "undefined1") (identifier "local_102a") (; ";")) (declaration "int local_2c;" (primitive_type "int") (identifier "local_2c") (; ";")) (expression_statement "puVar3 = PTR___stack_chk_guard_003a9230;" (assignment_expression "puVar3 = PTR___stack_chk_guard_003a9230" (identifier "puVar3") (= "=") (identifier "PTR___stack_chk_guard_003a9230")) (; ";")) (expression_statement "local_2c = *(int *)PTR___stack_chk_guard_003a9230;" (assignment_expression "local_2c = *(int *)PTR___stack_chk_guard_003a9230" (identifier "local_2c") (= "=") (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")))) (; ";")) (expression_statement "pcVar9 = (code *)PTR___assert_fail_003a9608;" (assignment_expression "pcVar9 = (code *)PTR___assert_fail_003a9608" (identifier "pcVar9") (= "=") (cast_expression "(code *)PTR___assert_fail_003a9608" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___assert_fail_003a9608"))) (; ";")) (if_statement "if (param_1 == 0) {\nLAB_0004a7e4:\n    (*pcVar9)(PTR_LAB_003a88e0 + 0x1c88,PTR_LAB_003a88e0 + 0x1ad8,0xca1,PTR_LAB_003a88e0 + 0x23d8);\n    param_2 = unaff_s1;\n    param_4 = unaff_s3;\n    param_3 = unaff_s4;\n  }\n  else {\n    if (*(int *)(param_1 + 0x3214) != -0x54535255) {\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xda0,PTR_LAB_003a88e0 + 0x1ad8,0xca2,PTR_LAB_003a88e0 + 0x23d8)\n      ;\n      goto LAB_0004a7e4;\n    }\n    if (*(int *)(param_1 + 0x3210) != 0) {\n      (*(code *)PTR_LogMagickEvent_003a91e0)\n                (0x8000,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xca4,\n                 PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210);\n    }\n    puVar1 = PTR_AttachBlob_003a92c8;\n    if (param_2 == 0) goto LAB_0004a824;\n    if (*(int *)(param_2 + 0x336c) == -0x54535255) {\n      iVar6 = *(int *)(param_1 + 0x208);\n      unaff_s7 = *(int *)(param_2 + 0x3348);\n      if (iVar6 != 0) {\n        if (*(int *)(param_1 + 0x200) != 0) {\n          *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        }\n        uVar10 = 1;\n        (*(code *)puVar1)(unaff_s7,iVar6,*(undefined4 *)(param_1 + 0x20c));\n        goto LAB_00049c58;\n      }\n      if ((*(int *)(param_1 + 0x3218) != 0) && (uVar10 = 1, *(char *)(param_2 + 0x340) == '\0')) {\n        *(int *)(unaff_s7 + 0xec) = *(int *)(param_1 + 0x3218);\n        *(undefined4 *)(unaff_s7 + 0x40) = 8;\n        goto LAB_00049c58;\n      }\n      (*(code *)PTR_DetachBlob_003a976c)(unaff_s7,0,0xca7);\n      *(char **)(unaff_s7 + 0xc) = param_3;\n      if (param_3 < &DAT_00000007) {\n                    \n                    \n        uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098)))();\n        return uVar10;\n      }\n      unaff_s5 = PTR_LAB_003a88e0 + 0x4aa0;\n      unaff_s6 = param_2 + 0x340;\n      if (*(int *)(param_1 + 0x200) == 0) {\n        local_202c[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);\n      }\n      else {\n        *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        local_202c[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);\n      }\n      param_3 = local_202c;\n      iVar6 = (*(code *)PTR_IsRightsAuthorized_003a8db0)(4,1,param_3);\n      if (iVar6 == 0) {\n        puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n        *puVar4 = 1;\n        (*(code *)PTR_ThrowMagickException_003a8f20)\n                  (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcd9,499,\n                   PTR_LAB_003a88e0 + 0x1e9c,PTR_LAB_003a88e0 + 0x3e28,param_3);\n        uVar10 = 0;\n        goto LAB_00049c58;\n      }\n      iVar6 = (*(code *)PTR_LocaleCompare_003a9110)(param_3,PTR_s_courses_003a88ec + -0x7ac);\n      puVar2 = PTR_GetImageOption_003a9168;\n      puVar1 = PTR_LAB_003a88e0;\n      if ((iVar6 == 0) || ((local_202c[0] == '\0' && (*(int *)(param_1 + 0x204) == 0)))) {\n        param_4 = 2;\n        *(undefined4 *)(unaff_s7 + 0x44) = *(undefined4 *)PTR_stdin_003a8fc4;\n        *(undefined4 *)(unaff_s7 + 0x40) = 2;\n        *(undefined4 *)(unaff_s7 + 0x30) = 1;\n        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n        if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }\n      }\n      else {\n        iVar6 = (*(code *)PTR_LocaleNCompare_003a961c)(param_3,PTR_LAB_003a88e0 + 0x1ec0,3);\n        if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_IsGeometry_003a9418)(auStack_2029);\n          if (iVar6 != 0) {\n            local_102c = 0x7200;\n            uVar5 = (*(code *)PTR_strtol_003a954c)(auStack_2029,0,10);\n            iVar6 = (*(code *)PTR_fdopen_003a97d8)(uVar5,&local_102c);\n            *(int *)(unaff_s7 + 0x44) = iVar6;\n            puVar2 = PTR_GetImageOption_003a9168;\n            puVar1 = PTR_LAB_003a88e0;\n            if (iVar6 != 0) {\n              *(undefined4 *)(unaff_s7 + 0x40) = 1;\n              *(undefined4 *)(unaff_s7 + 0x30) = 1;\n              iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n              if (iVar6 == 0) {\n                iVar6 = 0x4000;\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n                uVar5 = 0;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n                uVar5 = 2;\n                if (iVar6 != 0) {\n                  uVar5 = 0;\n                }\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n              }\n              iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n              uVar10 = (uint)(iVar6 == 0);\n              goto LAB_00049c58;\n            }\n            puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n            (*(code *)PTR_DestroyString_003a9074)(uVar5);\n            uVar10 = 0;\n            goto LAB_00049c58;\n          }\n        }\n        iVar6 = (*(code *)PTR_GetPathAttributes_003a9364)(param_3,unaff_s7 + 0x48);\n        if ((iVar6 == 0) || ((*(uint *)(unaff_s7 + 0x60) & 0xf000) != 0x1000)) {\n          (*(code *)PTR_GetPathComponent_003a8e18)(unaff_s6,6,local_302c);\n          if (*(int *)(param_1 + 0x204) != 0) {\n            *(int *)(unaff_s7 + 0x44) = *(int *)(param_1 + 0x204);\n            *(undefined4 *)(unaff_s7 + 0x38) = 0;\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            *(undefined4 *)(unaff_s7 + 0x30) = 1;\n            *(undefined4 *)(unaff_s7 + 0x1c) = 0;\n            goto LAB_00049e88;\n          }\n          iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n          *(int *)(unaff_s7 + 0x44) = iVar6;\n          puVar2 = PTR_GetImageOption_003a9168;\n          puVar1 = PTR_LAB_003a88e0;\n          if (iVar6 != 0) {\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n            if (iVar6 == 0) {\n              iVar6 = 0x4000;\n              iVar7 = 0;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            else {\n              iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n              iVar7 = (uint)(iVar6 == 0) << 1;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            (*(code *)PTR_setvbuf_003a90f4)(uVar5,0,iVar7,iVar6);\n            local_102c = 0;\n            local_102a = 0;\n            unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)\n                                 (&local_102c,1,3,*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fseeko64_003a9944)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fflush_003a948c)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0);\n            iVar6 = *(int *)(unaff_s7 + 0x40);\n            if (iVar6 != 1) goto LAB_0004a138;\n            uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(param_1 + 0x210,uVar5);\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);\n            if ((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)) &&\n                (unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar6 != 0)) {\n              uVar5 = (*(code *)PTR_fileno_003a99cc)(*(undefined4 *)(unaff_s7 + 0x44));\n              unaff_s6 = (*(code *)PTR_MapBlob_003a978c)(uVar5,0,0,0,unaff_s5);\n              if (unaff_s6 == 0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                iVar6 = *(int *)(unaff_s7 + 0x40);\n                goto LAB_0004a138;\n              }\n              pcVar9 = (code *)PTR_fclose_003a939c;\n              if (*(int *)(param_1 + 0x204) == 0) goto LAB_0004a850;\n              *(undefined4 *)(unaff_s7 + 0x30) = 0;\n              goto LAB_0004a650;\n            }\n          }\n          iVar6 = *(int *)(unaff_s7 + 0x40);\n          goto LAB_0004a138;\n        }\n        iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n        *(int *)(unaff_s7 + 0x44) = iVar6;\n        puVar2 = PTR_GetImageOption_003a9168;\n        puVar1 = PTR_LAB_003a88e0;\n        if (iVar6 == 0) {\n          puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n          uVar8 = 0xd23;\n          goto LAB_0004a16c;\n        }\n        *(undefined4 *)(unaff_s7 + 0x40) = 1;\n        *(undefined4 *)(unaff_s7 + 0x30) = 1;\n        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n        if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }\n      }\n      iVar6 = 0x4000;\n      uVar5 = 0;\n      uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\nLAB_00049fe8:\n      iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n      uVar10 = (uint)(iVar6 == 0);\n      goto LAB_00049c58;\n    }\n  }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_0004a7e4:\n    (*pcVar9)(PTR_LAB_003a88e0 + 0x1c88,PTR_LAB_003a88e0 + 0x1ad8,0xca1,PTR_LAB_003a88e0 + 0x23d8);\n    param_2 = unaff_s1;\n    param_4 = unaff_s3;\n    param_3 = unaff_s4;\n  }" ({ "{") (labeled_statement "LAB_0004a7e4:\n    (*pcVar9)(PTR_LAB_003a88e0 + 0x1c88,PTR_LAB_003a88e0 + 0x1ad8,0xca1,PTR_LAB_003a88e0 + 0x23d8);" (statement_identifier "LAB_0004a7e4") (: ":") (expression_statement "(*pcVar9)(PTR_LAB_003a88e0 + 0x1c88,PTR_LAB_003a88e0 + 0x1ad8,0xca1,PTR_LAB_003a88e0 + 0x23d8);" (call_expression "(*pcVar9)(PTR_LAB_003a88e0 + 0x1c88,PTR_LAB_003a88e0 + 0x1ad8,0xca1,PTR_LAB_003a88e0 + 0x23d8)" (parenthesized_expression "(*pcVar9)" (( "(") (pointer_expression "*pcVar9" (* "*") (identifier "pcVar9")) () ")")) (argument_list "(PTR_LAB_003a88e0 + 0x1c88,PTR_LAB_003a88e0 + 0x1ad8,0xca1,PTR_LAB_003a88e0 + 0x23d8)" (( "(") (binary_expression "PTR_LAB_003a88e0 + 0x1c88" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x1c88")) (, ",") (binary_expression "PTR_LAB_003a88e0 + 0x1ad8" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x1ad8")) (, ",") (number_literal "0xca1") (, ",") (binary_expression "PTR_LAB_003a88e0 + 0x23d8" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x23d8")) () ")"))) (; ";"))) (expression_statement "param_2 = unaff_s1;" (assignment_expression "param_2 = unaff_s1" (identifier "param_2") (= "=") (identifier "unaff_s1")) (; ";")) (expression_statement "param_4 = unaff_s3;" (assignment_expression "param_4 = unaff_s3" (identifier "param_4") (= "=") (identifier "unaff_s3")) (; ";")) (expression_statement "param_3 = unaff_s4;" (assignment_expression "param_3 = unaff_s4" (identifier "param_3") (= "=") (identifier "unaff_s4")) (; ";")) (} "}")) (else_clause "else {\n    if (*(int *)(param_1 + 0x3214) != -0x54535255) {\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xda0,PTR_LAB_003a88e0 + 0x1ad8,0xca2,PTR_LAB_003a88e0 + 0x23d8)\n      ;\n      goto LAB_0004a7e4;\n    }\n    if (*(int *)(param_1 + 0x3210) != 0) {\n      (*(code *)PTR_LogMagickEvent_003a91e0)\n                (0x8000,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xca4,\n                 PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210);\n    }\n    puVar1 = PTR_AttachBlob_003a92c8;\n    if (param_2 == 0) goto LAB_0004a824;\n    if (*(int *)(param_2 + 0x336c) == -0x54535255) {\n      iVar6 = *(int *)(param_1 + 0x208);\n      unaff_s7 = *(int *)(param_2 + 0x3348);\n      if (iVar6 != 0) {\n        if (*(int *)(param_1 + 0x200) != 0) {\n          *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        }\n        uVar10 = 1;\n        (*(code *)puVar1)(unaff_s7,iVar6,*(undefined4 *)(param_1 + 0x20c));\n        goto LAB_00049c58;\n      }\n      if ((*(int *)(param_1 + 0x3218) != 0) && (uVar10 = 1, *(char *)(param_2 + 0x340) == '\0')) {\n        *(int *)(unaff_s7 + 0xec) = *(int *)(param_1 + 0x3218);\n        *(undefined4 *)(unaff_s7 + 0x40) = 8;\n        goto LAB_00049c58;\n      }\n      (*(code *)PTR_DetachBlob_003a976c)(unaff_s7,0,0xca7);\n      *(char **)(unaff_s7 + 0xc) = param_3;\n      if (param_3 < &DAT_00000007) {\n                    \n                    \n        uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098)))();\n        return uVar10;\n      }\n      unaff_s5 = PTR_LAB_003a88e0 + 0x4aa0;\n      unaff_s6 = param_2 + 0x340;\n      if (*(int *)(param_1 + 0x200) == 0) {\n        local_202c[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);\n      }\n      else {\n        *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        local_202c[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);\n      }\n      param_3 = local_202c;\n      iVar6 = (*(code *)PTR_IsRightsAuthorized_003a8db0)(4,1,param_3);\n      if (iVar6 == 0) {\n        puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n        *puVar4 = 1;\n        (*(code *)PTR_ThrowMagickException_003a8f20)\n                  (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcd9,499,\n                   PTR_LAB_003a88e0 + 0x1e9c,PTR_LAB_003a88e0 + 0x3e28,param_3);\n        uVar10 = 0;\n        goto LAB_00049c58;\n      }\n      iVar6 = (*(code *)PTR_LocaleCompare_003a9110)(param_3,PTR_s_courses_003a88ec + -0x7ac);\n      puVar2 = PTR_GetImageOption_003a9168;\n      puVar1 = PTR_LAB_003a88e0;\n      if ((iVar6 == 0) || ((local_202c[0] == '\0' && (*(int *)(param_1 + 0x204) == 0)))) {\n        param_4 = 2;\n        *(undefined4 *)(unaff_s7 + 0x44) = *(undefined4 *)PTR_stdin_003a8fc4;\n        *(undefined4 *)(unaff_s7 + 0x40) = 2;\n        *(undefined4 *)(unaff_s7 + 0x30) = 1;\n        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n        if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }\n      }\n      else {\n        iVar6 = (*(code *)PTR_LocaleNCompare_003a961c)(param_3,PTR_LAB_003a88e0 + 0x1ec0,3);\n        if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_IsGeometry_003a9418)(auStack_2029);\n          if (iVar6 != 0) {\n            local_102c = 0x7200;\n            uVar5 = (*(code *)PTR_strtol_003a954c)(auStack_2029,0,10);\n            iVar6 = (*(code *)PTR_fdopen_003a97d8)(uVar5,&local_102c);\n            *(int *)(unaff_s7 + 0x44) = iVar6;\n            puVar2 = PTR_GetImageOption_003a9168;\n            puVar1 = PTR_LAB_003a88e0;\n            if (iVar6 != 0) {\n              *(undefined4 *)(unaff_s7 + 0x40) = 1;\n              *(undefined4 *)(unaff_s7 + 0x30) = 1;\n              iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n              if (iVar6 == 0) {\n                iVar6 = 0x4000;\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n                uVar5 = 0;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n                uVar5 = 2;\n                if (iVar6 != 0) {\n                  uVar5 = 0;\n                }\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n              }\n              iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n              uVar10 = (uint)(iVar6 == 0);\n              goto LAB_00049c58;\n            }\n            puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n            (*(code *)PTR_DestroyString_003a9074)(uVar5);\n            uVar10 = 0;\n            goto LAB_00049c58;\n          }\n        }\n        iVar6 = (*(code *)PTR_GetPathAttributes_003a9364)(param_3,unaff_s7 + 0x48);\n        if ((iVar6 == 0) || ((*(uint *)(unaff_s7 + 0x60) & 0xf000) != 0x1000)) {\n          (*(code *)PTR_GetPathComponent_003a8e18)(unaff_s6,6,local_302c);\n          if (*(int *)(param_1 + 0x204) != 0) {\n            *(int *)(unaff_s7 + 0x44) = *(int *)(param_1 + 0x204);\n            *(undefined4 *)(unaff_s7 + 0x38) = 0;\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            *(undefined4 *)(unaff_s7 + 0x30) = 1;\n            *(undefined4 *)(unaff_s7 + 0x1c) = 0;\n            goto LAB_00049e88;\n          }\n          iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n          *(int *)(unaff_s7 + 0x44) = iVar6;\n          puVar2 = PTR_GetImageOption_003a9168;\n          puVar1 = PTR_LAB_003a88e0;\n          if (iVar6 != 0) {\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n            if (iVar6 == 0) {\n              iVar6 = 0x4000;\n              iVar7 = 0;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            else {\n              iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n              iVar7 = (uint)(iVar6 == 0) << 1;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            (*(code *)PTR_setvbuf_003a90f4)(uVar5,0,iVar7,iVar6);\n            local_102c = 0;\n            local_102a = 0;\n            unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)\n                                 (&local_102c,1,3,*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fseeko64_003a9944)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fflush_003a948c)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0);\n            iVar6 = *(int *)(unaff_s7 + 0x40);\n            if (iVar6 != 1) goto LAB_0004a138;\n            uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(param_1 + 0x210,uVar5);\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);\n            if ((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)) &&\n                (unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar6 != 0)) {\n              uVar5 = (*(code *)PTR_fileno_003a99cc)(*(undefined4 *)(unaff_s7 + 0x44));\n              unaff_s6 = (*(code *)PTR_MapBlob_003a978c)(uVar5,0,0,0,unaff_s5);\n              if (unaff_s6 == 0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                iVar6 = *(int *)(unaff_s7 + 0x40);\n                goto LAB_0004a138;\n              }\n              pcVar9 = (code *)PTR_fclose_003a939c;\n              if (*(int *)(param_1 + 0x204) == 0) goto LAB_0004a850;\n              *(undefined4 *)(unaff_s7 + 0x30) = 0;\n              goto LAB_0004a650;\n            }\n          }\n          iVar6 = *(int *)(unaff_s7 + 0x40);\n          goto LAB_0004a138;\n        }\n        iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n        *(int *)(unaff_s7 + 0x44) = iVar6;\n        puVar2 = PTR_GetImageOption_003a9168;\n        puVar1 = PTR_LAB_003a88e0;\n        if (iVar6 == 0) {\n          puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n          uVar8 = 0xd23;\n          goto LAB_0004a16c;\n        }\n        *(undefined4 *)(unaff_s7 + 0x40) = 1;\n        *(undefined4 *)(unaff_s7 + 0x30) = 1;\n        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n        if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }\n      }\n      iVar6 = 0x4000;\n      uVar5 = 0;\n      uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\nLAB_00049fe8:\n      iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n      uVar10 = (uint)(iVar6 == 0);\n      goto LAB_00049c58;\n    }\n  }" (else "else") (compound_statement "{\n    if (*(int *)(param_1 + 0x3214) != -0x54535255) {\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xda0,PTR_LAB_003a88e0 + 0x1ad8,0xca2,PTR_LAB_003a88e0 + 0x23d8)\n      ;\n      goto LAB_0004a7e4;\n    }\n    if (*(int *)(param_1 + 0x3210) != 0) {\n      (*(code *)PTR_LogMagickEvent_003a91e0)\n                (0x8000,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xca4,\n                 PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210);\n    }\n    puVar1 = PTR_AttachBlob_003a92c8;\n    if (param_2 == 0) goto LAB_0004a824;\n    if (*(int *)(param_2 + 0x336c) == -0x54535255) {\n      iVar6 = *(int *)(param_1 + 0x208);\n      unaff_s7 = *(int *)(param_2 + 0x3348);\n      if (iVar6 != 0) {\n        if (*(int *)(param_1 + 0x200) != 0) {\n          *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        }\n        uVar10 = 1;\n        (*(code *)puVar1)(unaff_s7,iVar6,*(undefined4 *)(param_1 + 0x20c));\n        goto LAB_00049c58;\n      }\n      if ((*(int *)(param_1 + 0x3218) != 0) && (uVar10 = 1, *(char *)(param_2 + 0x340) == '\0')) {\n        *(int *)(unaff_s7 + 0xec) = *(int *)(param_1 + 0x3218);\n        *(undefined4 *)(unaff_s7 + 0x40) = 8;\n        goto LAB_00049c58;\n      }\n      (*(code *)PTR_DetachBlob_003a976c)(unaff_s7,0,0xca7);\n      *(char **)(unaff_s7 + 0xc) = param_3;\n      if (param_3 < &DAT_00000007) {\n                    \n                    \n        uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098)))();\n        return uVar10;\n      }\n      unaff_s5 = PTR_LAB_003a88e0 + 0x4aa0;\n      unaff_s6 = param_2 + 0x340;\n      if (*(int *)(param_1 + 0x200) == 0) {\n        local_202c[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);\n      }\n      else {\n        *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        local_202c[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);\n      }\n      param_3 = local_202c;\n      iVar6 = (*(code *)PTR_IsRightsAuthorized_003a8db0)(4,1,param_3);\n      if (iVar6 == 0) {\n        puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n        *puVar4 = 1;\n        (*(code *)PTR_ThrowMagickException_003a8f20)\n                  (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcd9,499,\n                   PTR_LAB_003a88e0 + 0x1e9c,PTR_LAB_003a88e0 + 0x3e28,param_3);\n        uVar10 = 0;\n        goto LAB_00049c58;\n      }\n      iVar6 = (*(code *)PTR_LocaleCompare_003a9110)(param_3,PTR_s_courses_003a88ec + -0x7ac);\n      puVar2 = PTR_GetImageOption_003a9168;\n      puVar1 = PTR_LAB_003a88e0;\n      if ((iVar6 == 0) || ((local_202c[0] == '\0' && (*(int *)(param_1 + 0x204) == 0)))) {\n        param_4 = 2;\n        *(undefined4 *)(unaff_s7 + 0x44) = *(undefined4 *)PTR_stdin_003a8fc4;\n        *(undefined4 *)(unaff_s7 + 0x40) = 2;\n        *(undefined4 *)(unaff_s7 + 0x30) = 1;\n        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n        if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }\n      }\n      else {\n        iVar6 = (*(code *)PTR_LocaleNCompare_003a961c)(param_3,PTR_LAB_003a88e0 + 0x1ec0,3);\n        if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_IsGeometry_003a9418)(auStack_2029);\n          if (iVar6 != 0) {\n            local_102c = 0x7200;\n            uVar5 = (*(code *)PTR_strtol_003a954c)(auStack_2029,0,10);\n            iVar6 = (*(code *)PTR_fdopen_003a97d8)(uVar5,&local_102c);\n            *(int *)(unaff_s7 + 0x44) = iVar6;\n            puVar2 = PTR_GetImageOption_003a9168;\n            puVar1 = PTR_LAB_003a88e0;\n            if (iVar6 != 0) {\n              *(undefined4 *)(unaff_s7 + 0x40) = 1;\n              *(undefined4 *)(unaff_s7 + 0x30) = 1;\n              iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n              if (iVar6 == 0) {\n                iVar6 = 0x4000;\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n                uVar5 = 0;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n                uVar5 = 2;\n                if (iVar6 != 0) {\n                  uVar5 = 0;\n                }\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n              }\n              iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n              uVar10 = (uint)(iVar6 == 0);\n              goto LAB_00049c58;\n            }\n            puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n            (*(code *)PTR_DestroyString_003a9074)(uVar5);\n            uVar10 = 0;\n            goto LAB_00049c58;\n          }\n        }\n        iVar6 = (*(code *)PTR_GetPathAttributes_003a9364)(param_3,unaff_s7 + 0x48);\n        if ((iVar6 == 0) || ((*(uint *)(unaff_s7 + 0x60) & 0xf000) != 0x1000)) {\n          (*(code *)PTR_GetPathComponent_003a8e18)(unaff_s6,6,local_302c);\n          if (*(int *)(param_1 + 0x204) != 0) {\n            *(int *)(unaff_s7 + 0x44) = *(int *)(param_1 + 0x204);\n            *(undefined4 *)(unaff_s7 + 0x38) = 0;\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            *(undefined4 *)(unaff_s7 + 0x30) = 1;\n            *(undefined4 *)(unaff_s7 + 0x1c) = 0;\n            goto LAB_00049e88;\n          }\n          iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n          *(int *)(unaff_s7 + 0x44) = iVar6;\n          puVar2 = PTR_GetImageOption_003a9168;\n          puVar1 = PTR_LAB_003a88e0;\n          if (iVar6 != 0) {\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n            if (iVar6 == 0) {\n              iVar6 = 0x4000;\n              iVar7 = 0;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            else {\n              iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n              iVar7 = (uint)(iVar6 == 0) << 1;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            (*(code *)PTR_setvbuf_003a90f4)(uVar5,0,iVar7,iVar6);\n            local_102c = 0;\n            local_102a = 0;\n            unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)\n                                 (&local_102c,1,3,*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fseeko64_003a9944)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fflush_003a948c)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0);\n            iVar6 = *(int *)(unaff_s7 + 0x40);\n            if (iVar6 != 1) goto LAB_0004a138;\n            uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(param_1 + 0x210,uVar5);\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);\n            if ((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)) &&\n                (unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar6 != 0)) {\n              uVar5 = (*(code *)PTR_fileno_003a99cc)(*(undefined4 *)(unaff_s7 + 0x44));\n              unaff_s6 = (*(code *)PTR_MapBlob_003a978c)(uVar5,0,0,0,unaff_s5);\n              if (unaff_s6 == 0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                iVar6 = *(int *)(unaff_s7 + 0x40);\n                goto LAB_0004a138;\n              }\n              pcVar9 = (code *)PTR_fclose_003a939c;\n              if (*(int *)(param_1 + 0x204) == 0) goto LAB_0004a850;\n              *(undefined4 *)(unaff_s7 + 0x30) = 0;\n              goto LAB_0004a650;\n            }\n          }\n          iVar6 = *(int *)(unaff_s7 + 0x40);\n          goto LAB_0004a138;\n        }\n        iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n        *(int *)(unaff_s7 + 0x44) = iVar6;\n        puVar2 = PTR_GetImageOption_003a9168;\n        puVar1 = PTR_LAB_003a88e0;\n        if (iVar6 == 0) {\n          puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n          uVar8 = 0xd23;\n          goto LAB_0004a16c;\n        }\n        *(undefined4 *)(unaff_s7 + 0x40) = 1;\n        *(undefined4 *)(unaff_s7 + 0x30) = 1;\n        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n        if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }\n      }\n      iVar6 = 0x4000;\n      uVar5 = 0;\n      uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\nLAB_00049fe8:\n      iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n      uVar10 = (uint)(iVar6 == 0);\n      goto LAB_00049c58;\n    }\n  }" ({ "{") (if_statement "if (*(int *)(param_1 + 0x3214) != -0x54535255) {\n      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xda0,PTR_LAB_003a88e0 + 0x1ad8,0xca2,PTR_LAB_003a88e0 + 0x23d8)\n      ;\n      goto LAB_0004a7e4;\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      (*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xda0,PTR_LAB_003a88e0 + 0x1ad8,0xca2,PTR_LAB_003a88e0 + 0x23d8)\n      ;\n      goto LAB_0004a7e4;\n    }" ({ "{") (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xda0,PTR_LAB_003a88e0 + 0x1ad8,0xca2,PTR_LAB_003a88e0 + 0x23d8)\n      ;" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n                (PTR_LAB_003a88e0 + 0xda0,PTR_LAB_003a88e0 + 0x1ad8,0xca2,PTR_LAB_003a88e0 + 0x23d8)" (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_LAB_003a88e0 + 0x1ad8,0xca2,PTR_LAB_003a88e0 + 0x23d8)" (( "(") (binary_expression "PTR_LAB_003a88e0 + 0xda0" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0xda0")) (, ",") (binary_expression "PTR_LAB_003a88e0 + 0x1ad8" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x1ad8")) (, ",") (number_literal "0xca2") (, ",") (binary_expression "PTR_LAB_003a88e0 + 0x23d8" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x23d8")) () ")"))) (; ";")) (goto_statement "goto LAB_0004a7e4;" (goto "goto") (statement_identifier "LAB_0004a7e4") (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 0x3210) != 0) {\n      (*(code *)PTR_LogMagickEvent_003a91e0)\n                (0x8000,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xca4,\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_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xca4,\n                 PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210);\n    }" ({ "{") (expression_statement "(*(code *)PTR_LogMagickEvent_003a91e0)\n                (0x8000,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xca4,\n                 PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210);" (call_expression "(*(code *)PTR_LogMagickEvent_003a91e0)\n                (0x8000,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xca4,\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_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xca4,\n                 PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210)" (( "(") (number_literal "0x8000") (, ",") (binary_expression "PTR_LAB_003a88e0 + 0x1ad8" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x1ad8")) (, ",") (binary_expression "PTR_LAB_003a88e0 + 0x23cc" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x23cc")) (, ",") (number_literal "0xca4") (, ",") (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")) () ")"))) (; ";")) (} "}"))) (expression_statement "puVar1 = PTR_AttachBlob_003a92c8;" (assignment_expression "puVar1 = PTR_AttachBlob_003a92c8" (identifier "puVar1") (= "=") (identifier "PTR_AttachBlob_003a92c8")) (; ";")) (if_statement "if (param_2 == 0) goto LAB_0004a824;" (if "if") (parenthesized_expression "(param_2 == 0)" (( "(") (binary_expression "param_2 == 0" (identifier "param_2") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0004a824;" (goto "goto") (statement_identifier "LAB_0004a824") (; ";"))) (if_statement "if (*(int *)(param_2 + 0x336c) == -0x54535255) {\n      iVar6 = *(int *)(param_1 + 0x208);\n      unaff_s7 = *(int *)(param_2 + 0x3348);\n      if (iVar6 != 0) {\n        if (*(int *)(param_1 + 0x200) != 0) {\n          *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        }\n        uVar10 = 1;\n        (*(code *)puVar1)(unaff_s7,iVar6,*(undefined4 *)(param_1 + 0x20c));\n        goto LAB_00049c58;\n      }\n      if ((*(int *)(param_1 + 0x3218) != 0) && (uVar10 = 1, *(char *)(param_2 + 0x340) == '\0')) {\n        *(int *)(unaff_s7 + 0xec) = *(int *)(param_1 + 0x3218);\n        *(undefined4 *)(unaff_s7 + 0x40) = 8;\n        goto LAB_00049c58;\n      }\n      (*(code *)PTR_DetachBlob_003a976c)(unaff_s7,0,0xca7);\n      *(char **)(unaff_s7 + 0xc) = param_3;\n      if (param_3 < &DAT_00000007) {\n                    \n                    \n        uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098)))();\n        return uVar10;\n      }\n      unaff_s5 = PTR_LAB_003a88e0 + 0x4aa0;\n      unaff_s6 = param_2 + 0x340;\n      if (*(int *)(param_1 + 0x200) == 0) {\n        local_202c[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);\n      }\n      else {\n        *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        local_202c[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);\n      }\n      param_3 = local_202c;\n      iVar6 = (*(code *)PTR_IsRightsAuthorized_003a8db0)(4,1,param_3);\n      if (iVar6 == 0) {\n        puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n        *puVar4 = 1;\n        (*(code *)PTR_ThrowMagickException_003a8f20)\n                  (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcd9,499,\n                   PTR_LAB_003a88e0 + 0x1e9c,PTR_LAB_003a88e0 + 0x3e28,param_3);\n        uVar10 = 0;\n        goto LAB_00049c58;\n      }\n      iVar6 = (*(code *)PTR_LocaleCompare_003a9110)(param_3,PTR_s_courses_003a88ec + -0x7ac);\n      puVar2 = PTR_GetImageOption_003a9168;\n      puVar1 = PTR_LAB_003a88e0;\n      if ((iVar6 == 0) || ((local_202c[0] == '\0' && (*(int *)(param_1 + 0x204) == 0)))) {\n        param_4 = 2;\n        *(undefined4 *)(unaff_s7 + 0x44) = *(undefined4 *)PTR_stdin_003a8fc4;\n        *(undefined4 *)(unaff_s7 + 0x40) = 2;\n        *(undefined4 *)(unaff_s7 + 0x30) = 1;\n        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n        if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }\n      }\n      else {\n        iVar6 = (*(code *)PTR_LocaleNCompare_003a961c)(param_3,PTR_LAB_003a88e0 + 0x1ec0,3);\n        if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_IsGeometry_003a9418)(auStack_2029);\n          if (iVar6 != 0) {\n            local_102c = 0x7200;\n            uVar5 = (*(code *)PTR_strtol_003a954c)(auStack_2029,0,10);\n            iVar6 = (*(code *)PTR_fdopen_003a97d8)(uVar5,&local_102c);\n            *(int *)(unaff_s7 + 0x44) = iVar6;\n            puVar2 = PTR_GetImageOption_003a9168;\n            puVar1 = PTR_LAB_003a88e0;\n            if (iVar6 != 0) {\n              *(undefined4 *)(unaff_s7 + 0x40) = 1;\n              *(undefined4 *)(unaff_s7 + 0x30) = 1;\n              iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n              if (iVar6 == 0) {\n                iVar6 = 0x4000;\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n                uVar5 = 0;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n                uVar5 = 2;\n                if (iVar6 != 0) {\n                  uVar5 = 0;\n                }\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n              }\n              iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n              uVar10 = (uint)(iVar6 == 0);\n              goto LAB_00049c58;\n            }\n            puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n            (*(code *)PTR_DestroyString_003a9074)(uVar5);\n            uVar10 = 0;\n            goto LAB_00049c58;\n          }\n        }\n        iVar6 = (*(code *)PTR_GetPathAttributes_003a9364)(param_3,unaff_s7 + 0x48);\n        if ((iVar6 == 0) || ((*(uint *)(unaff_s7 + 0x60) & 0xf000) != 0x1000)) {\n          (*(code *)PTR_GetPathComponent_003a8e18)(unaff_s6,6,local_302c);\n          if (*(int *)(param_1 + 0x204) != 0) {\n            *(int *)(unaff_s7 + 0x44) = *(int *)(param_1 + 0x204);\n            *(undefined4 *)(unaff_s7 + 0x38) = 0;\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            *(undefined4 *)(unaff_s7 + 0x30) = 1;\n            *(undefined4 *)(unaff_s7 + 0x1c) = 0;\n            goto LAB_00049e88;\n          }\n          iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n          *(int *)(unaff_s7 + 0x44) = iVar6;\n          puVar2 = PTR_GetImageOption_003a9168;\n          puVar1 = PTR_LAB_003a88e0;\n          if (iVar6 != 0) {\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n            if (iVar6 == 0) {\n              iVar6 = 0x4000;\n              iVar7 = 0;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            else {\n              iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n              iVar7 = (uint)(iVar6 == 0) << 1;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            (*(code *)PTR_setvbuf_003a90f4)(uVar5,0,iVar7,iVar6);\n            local_102c = 0;\n            local_102a = 0;\n            unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)\n                                 (&local_102c,1,3,*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fseeko64_003a9944)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fflush_003a948c)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0);\n            iVar6 = *(int *)(unaff_s7 + 0x40);\n            if (iVar6 != 1) goto LAB_0004a138;\n            uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(param_1 + 0x210,uVar5);\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);\n            if ((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)) &&\n                (unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar6 != 0)) {\n              uVar5 = (*(code *)PTR_fileno_003a99cc)(*(undefined4 *)(unaff_s7 + 0x44));\n              unaff_s6 = (*(code *)PTR_MapBlob_003a978c)(uVar5,0,0,0,unaff_s5);\n              if (unaff_s6 == 0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                iVar6 = *(int *)(unaff_s7 + 0x40);\n                goto LAB_0004a138;\n              }\n              pcVar9 = (code *)PTR_fclose_003a939c;\n              if (*(int *)(param_1 + 0x204) == 0) goto LAB_0004a850;\n              *(undefined4 *)(unaff_s7 + 0x30) = 0;\n              goto LAB_0004a650;\n            }\n          }\n          iVar6 = *(int *)(unaff_s7 + 0x40);\n          goto LAB_0004a138;\n        }\n        iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n        *(int *)(unaff_s7 + 0x44) = iVar6;\n        puVar2 = PTR_GetImageOption_003a9168;\n        puVar1 = PTR_LAB_003a88e0;\n        if (iVar6 == 0) {\n          puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n          uVar8 = 0xd23;\n          goto LAB_0004a16c;\n        }\n        *(undefined4 *)(unaff_s7 + 0x40) = 1;\n        *(undefined4 *)(unaff_s7 + 0x30) = 1;\n        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n        if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }\n      }\n      iVar6 = 0x4000;\n      uVar5 = 0;\n      uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\nLAB_00049fe8:\n      iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n      uVar10 = (uint)(iVar6 == 0);\n      goto LAB_00049c58;\n    }" (if "if") (parenthesized_expression "(*(int *)(param_2 + 0x336c) == -0x54535255)" (( "(") (binary_expression "*(int *)(param_2 + 0x336c) == -0x54535255" (pointer_expression "*(int *)(param_2 + 0x336c)" (* "*") (cast_expression "(int *)(param_2 + 0x336c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x336c)" (( "(") (binary_expression "param_2 + 0x336c" (identifier "param_2") (+ "+") (number_literal "0x336c")) () ")")))) (== "==") (number_literal "-0x54535255")) () ")")) (compound_statement "{\n      iVar6 = *(int *)(param_1 + 0x208);\n      unaff_s7 = *(int *)(param_2 + 0x3348);\n      if (iVar6 != 0) {\n        if (*(int *)(param_1 + 0x200) != 0) {\n          *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        }\n        uVar10 = 1;\n        (*(code *)puVar1)(unaff_s7,iVar6,*(undefined4 *)(param_1 + 0x20c));\n        goto LAB_00049c58;\n      }\n      if ((*(int *)(param_1 + 0x3218) != 0) && (uVar10 = 1, *(char *)(param_2 + 0x340) == '\0')) {\n        *(int *)(unaff_s7 + 0xec) = *(int *)(param_1 + 0x3218);\n        *(undefined4 *)(unaff_s7 + 0x40) = 8;\n        goto LAB_00049c58;\n      }\n      (*(code *)PTR_DetachBlob_003a976c)(unaff_s7,0,0xca7);\n      *(char **)(unaff_s7 + 0xc) = param_3;\n      if (param_3 < &DAT_00000007) {\n                    \n                    \n        uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098)))();\n        return uVar10;\n      }\n      unaff_s5 = PTR_LAB_003a88e0 + 0x4aa0;\n      unaff_s6 = param_2 + 0x340;\n      if (*(int *)(param_1 + 0x200) == 0) {\n        local_202c[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);\n      }\n      else {\n        *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        local_202c[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);\n      }\n      param_3 = local_202c;\n      iVar6 = (*(code *)PTR_IsRightsAuthorized_003a8db0)(4,1,param_3);\n      if (iVar6 == 0) {\n        puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n        *puVar4 = 1;\n        (*(code *)PTR_ThrowMagickException_003a8f20)\n                  (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcd9,499,\n                   PTR_LAB_003a88e0 + 0x1e9c,PTR_LAB_003a88e0 + 0x3e28,param_3);\n        uVar10 = 0;\n        goto LAB_00049c58;\n      }\n      iVar6 = (*(code *)PTR_LocaleCompare_003a9110)(param_3,PTR_s_courses_003a88ec + -0x7ac);\n      puVar2 = PTR_GetImageOption_003a9168;\n      puVar1 = PTR_LAB_003a88e0;\n      if ((iVar6 == 0) || ((local_202c[0] == '\0' && (*(int *)(param_1 + 0x204) == 0)))) {\n        param_4 = 2;\n        *(undefined4 *)(unaff_s7 + 0x44) = *(undefined4 *)PTR_stdin_003a8fc4;\n        *(undefined4 *)(unaff_s7 + 0x40) = 2;\n        *(undefined4 *)(unaff_s7 + 0x30) = 1;\n        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n        if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }\n      }\n      else {\n        iVar6 = (*(code *)PTR_LocaleNCompare_003a961c)(param_3,PTR_LAB_003a88e0 + 0x1ec0,3);\n        if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_IsGeometry_003a9418)(auStack_2029);\n          if (iVar6 != 0) {\n            local_102c = 0x7200;\n            uVar5 = (*(code *)PTR_strtol_003a954c)(auStack_2029,0,10);\n            iVar6 = (*(code *)PTR_fdopen_003a97d8)(uVar5,&local_102c);\n            *(int *)(unaff_s7 + 0x44) = iVar6;\n            puVar2 = PTR_GetImageOption_003a9168;\n            puVar1 = PTR_LAB_003a88e0;\n            if (iVar6 != 0) {\n              *(undefined4 *)(unaff_s7 + 0x40) = 1;\n              *(undefined4 *)(unaff_s7 + 0x30) = 1;\n              iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n              if (iVar6 == 0) {\n                iVar6 = 0x4000;\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n                uVar5 = 0;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n                uVar5 = 2;\n                if (iVar6 != 0) {\n                  uVar5 = 0;\n                }\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n              }\n              iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n              uVar10 = (uint)(iVar6 == 0);\n              goto LAB_00049c58;\n            }\n            puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n            (*(code *)PTR_DestroyString_003a9074)(uVar5);\n            uVar10 = 0;\n            goto LAB_00049c58;\n          }\n        }\n        iVar6 = (*(code *)PTR_GetPathAttributes_003a9364)(param_3,unaff_s7 + 0x48);\n        if ((iVar6 == 0) || ((*(uint *)(unaff_s7 + 0x60) & 0xf000) != 0x1000)) {\n          (*(code *)PTR_GetPathComponent_003a8e18)(unaff_s6,6,local_302c);\n          if (*(int *)(param_1 + 0x204) != 0) {\n            *(int *)(unaff_s7 + 0x44) = *(int *)(param_1 + 0x204);\n            *(undefined4 *)(unaff_s7 + 0x38) = 0;\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            *(undefined4 *)(unaff_s7 + 0x30) = 1;\n            *(undefined4 *)(unaff_s7 + 0x1c) = 0;\n            goto LAB_00049e88;\n          }\n          iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n          *(int *)(unaff_s7 + 0x44) = iVar6;\n          puVar2 = PTR_GetImageOption_003a9168;\n          puVar1 = PTR_LAB_003a88e0;\n          if (iVar6 != 0) {\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n            if (iVar6 == 0) {\n              iVar6 = 0x4000;\n              iVar7 = 0;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            else {\n              iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n              iVar7 = (uint)(iVar6 == 0) << 1;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            (*(code *)PTR_setvbuf_003a90f4)(uVar5,0,iVar7,iVar6);\n            local_102c = 0;\n            local_102a = 0;\n            unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)\n                                 (&local_102c,1,3,*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fseeko64_003a9944)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fflush_003a948c)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0);\n            iVar6 = *(int *)(unaff_s7 + 0x40);\n            if (iVar6 != 1) goto LAB_0004a138;\n            uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(param_1 + 0x210,uVar5);\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);\n            if ((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)) &&\n                (unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar6 != 0)) {\n              uVar5 = (*(code *)PTR_fileno_003a99cc)(*(undefined4 *)(unaff_s7 + 0x44));\n              unaff_s6 = (*(code *)PTR_MapBlob_003a978c)(uVar5,0,0,0,unaff_s5);\n              if (unaff_s6 == 0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                iVar6 = *(int *)(unaff_s7 + 0x40);\n                goto LAB_0004a138;\n              }\n              pcVar9 = (code *)PTR_fclose_003a939c;\n              if (*(int *)(param_1 + 0x204) == 0) goto LAB_0004a850;\n              *(undefined4 *)(unaff_s7 + 0x30) = 0;\n              goto LAB_0004a650;\n            }\n          }\n          iVar6 = *(int *)(unaff_s7 + 0x40);\n          goto LAB_0004a138;\n        }\n        iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n        *(int *)(unaff_s7 + 0x44) = iVar6;\n        puVar2 = PTR_GetImageOption_003a9168;\n        puVar1 = PTR_LAB_003a88e0;\n        if (iVar6 == 0) {\n          puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n          uVar8 = 0xd23;\n          goto LAB_0004a16c;\n        }\n        *(undefined4 *)(unaff_s7 + 0x40) = 1;\n        *(undefined4 *)(unaff_s7 + 0x30) = 1;\n        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n        if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }\n      }\n      iVar6 = 0x4000;\n      uVar5 = 0;\n      uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\nLAB_00049fe8:\n      iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n      uVar10 = (uint)(iVar6 == 0);\n      goto LAB_00049c58;\n    }" ({ "{") (expression_statement "iVar6 = *(int *)(param_1 + 0x208);" (assignment_expression "iVar6 = *(int *)(param_1 + 0x208)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(param_1 + 0x208)" (* "*") (cast_expression "(int *)(param_1 + 0x208)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x208)" (( "(") (binary_expression "param_1 + 0x208" (identifier "param_1") (+ "+") (number_literal "0x208")) () ")"))))) (; ";")) (expression_statement "unaff_s7 = *(int *)(param_2 + 0x3348);" (assignment_expression "unaff_s7 = *(int *)(param_2 + 0x3348)" (identifier "unaff_s7") (= "=") (pointer_expression "*(int *)(param_2 + 0x3348)" (* "*") (cast_expression "(int *)(param_2 + 0x3348)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x3348)" (( "(") (binary_expression "param_2 + 0x3348" (identifier "param_2") (+ "+") (number_literal "0x3348")) () ")"))))) (; ";")) (if_statement "if (iVar6 != 0) {\n        if (*(int *)(param_1 + 0x200) != 0) {\n          *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        }\n        uVar10 = 1;\n        (*(code *)puVar1)(unaff_s7,iVar6,*(undefined4 *)(param_1 + 0x20c));\n        goto LAB_00049c58;\n      }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n        if (*(int *)(param_1 + 0x200) != 0) {\n          *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        }\n        uVar10 = 1;\n        (*(code *)puVar1)(unaff_s7,iVar6,*(undefined4 *)(param_1 + 0x20c));\n        goto LAB_00049c58;\n      }" ({ "{") (if_statement "if (*(int *)(param_1 + 0x200) != 0) {\n          *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x200) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x200) != 0" (pointer_expression "*(int *)(param_1 + 0x200)" (* "*") (cast_expression "(int *)(param_1 + 0x200)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x200)" (( "(") (binary_expression "param_1 + 0x200" (identifier "param_1") (+ "+") (number_literal "0x200")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        }" ({ "{") (expression_statement "*(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);" (assignment_expression "*(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200)" (pointer_expression "*(int *)(unaff_s7 + 0xe8)" (* "*") (cast_expression "(int *)(unaff_s7 + 0xe8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s7 + 0xe8)" (( "(") (binary_expression "unaff_s7 + 0xe8" (identifier "unaff_s7") (+ "+") (number_literal "0xe8")) () ")")))) (= "=") (pointer_expression "*(int *)(param_1 + 0x200)" (* "*") (cast_expression "(int *)(param_1 + 0x200)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x200)" (( "(") (binary_expression "param_1 + 0x200" (identifier "param_1") (+ "+") (number_literal "0x200")) () ")"))))) (; ";")) (} "}"))) (expression_statement "uVar10 = 1;" (assignment_expression "uVar10 = 1" (identifier "uVar10") (= "=") (number_literal "1")) (; ";")) (expression_statement "(*(code *)puVar1)(unaff_s7,iVar6,*(undefined4 *)(param_1 + 0x20c));" (call_expression "(*(code *)puVar1)(unaff_s7,iVar6,*(undefined4 *)(param_1 + 0x20c))" (parenthesized_expression "(*(code *)puVar1)" (( "(") (pointer_expression "*(code *)puVar1" (* "*") (cast_expression "(code *)puVar1" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar1"))) () ")")) (argument_list "(unaff_s7,iVar6,*(undefined4 *)(param_1 + 0x20c))" (( "(") (identifier "unaff_s7") (, ",") (identifier "iVar6") (, ",") (pointer_expression "*(undefined4 *)(param_1 + 0x20c)" (* "*") (cast_expression "(undefined4 *)(param_1 + 0x20c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x20c)" (( "(") (binary_expression "param_1 + 0x20c" (identifier "param_1") (+ "+") (number_literal "0x20c")) () ")")))) () ")"))) (; ";")) (goto_statement "goto LAB_00049c58;" (goto "goto") (statement_identifier "LAB_00049c58") (; ";")) (} "}"))) (if_statement "if ((*(int *)(param_1 + 0x3218) != 0) && (uVar10 = 1, *(char *)(param_2 + 0x340) == '\0')) {\n        *(int *)(unaff_s7 + 0xec) = *(int *)(param_1 + 0x3218);\n        *(undefined4 *)(unaff_s7 + 0x40) = 8;\n        goto LAB_00049c58;\n      }" (if "if") (parenthesized_expression "((*(int *)(param_1 + 0x3218) != 0) && (uVar10 = 1, *(char *)(param_2 + 0x340) == '\0'))" (( "(") (binary_expression "(*(int *)(param_1 + 0x3218) != 0) && (uVar10 = 1, *(char *)(param_2 + 0x340) == '\0')" (parenthesized_expression "(*(int *)(param_1 + 0x3218) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x3218) != 0" (pointer_expression "*(int *)(param_1 + 0x3218)" (* "*") (cast_expression "(int *)(param_1 + 0x3218)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3218)" (( "(") (binary_expression "param_1 + 0x3218" (identifier "param_1") (+ "+") (number_literal "0x3218")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(uVar10 = 1, *(char *)(param_2 + 0x340) == '\0')" (( "(") (comma_expression "uVar10 = 1, *(char *)(param_2 + 0x340) == '\0'" (assignment_expression "uVar10 = 1" (identifier "uVar10") (= "=") (number_literal "1")) (, ",") (binary_expression "*(char *)(param_2 + 0x340) == '\0'" (pointer_expression "*(char *)(param_2 + 0x340)" (* "*") (cast_expression "(char *)(param_2 + 0x340)" (( "(") (type_descriptor "char *" (primitive_type "char") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x340)" (( "(") (binary_expression "param_2 + 0x340" (identifier "param_2") (+ "+") (number_literal "0x340")) () ")")))) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'")))) () ")"))) () ")")) (compound_statement "{\n        *(int *)(unaff_s7 + 0xec) = *(int *)(param_1 + 0x3218);\n        *(undefined4 *)(unaff_s7 + 0x40) = 8;\n        goto LAB_00049c58;\n      }" ({ "{") (expression_statement "*(int *)(unaff_s7 + 0xec) = *(int *)(param_1 + 0x3218);" (assignment_expression "*(int *)(unaff_s7 + 0xec) = *(int *)(param_1 + 0x3218)" (pointer_expression "*(int *)(unaff_s7 + 0xec)" (* "*") (cast_expression "(int *)(unaff_s7 + 0xec)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s7 + 0xec)" (( "(") (binary_expression "unaff_s7 + 0xec" (identifier "unaff_s7") (+ "+") (number_literal "0xec")) () ")")))) (= "=") (pointer_expression "*(int *)(param_1 + 0x3218)" (* "*") (cast_expression "(int *)(param_1 + 0x3218)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3218)" (( "(") (binary_expression "param_1 + 0x3218" (identifier "param_1") (+ "+") (number_literal "0x3218")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(unaff_s7 + 0x40) = 8;" (assignment_expression "*(undefined4 *)(unaff_s7 + 0x40) = 8" (pointer_expression "*(undefined4 *)(unaff_s7 + 0x40)" (* "*") (cast_expression "(undefined4 *)(unaff_s7 + 0x40)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s7 + 0x40)" (( "(") (binary_expression "unaff_s7 + 0x40" (identifier "unaff_s7") (+ "+") (number_literal "0x40")) () ")")))) (= "=") (number_literal "8")) (; ";")) (goto_statement "goto LAB_00049c58;" (goto "goto") (statement_identifier "LAB_00049c58") (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_DetachBlob_003a976c)(unaff_s7,0,0xca7);" (call_expression "(*(code *)PTR_DetachBlob_003a976c)(unaff_s7,0,0xca7)" (parenthesized_expression "(*(code *)PTR_DetachBlob_003a976c)" (( "(") (pointer_expression "*(code *)PTR_DetachBlob_003a976c" (* "*") (cast_expression "(code *)PTR_DetachBlob_003a976c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DetachBlob_003a976c"))) () ")")) (argument_list "(unaff_s7,0,0xca7)" (( "(") (identifier "unaff_s7") (, ",") (number_literal "0") (, ",") (number_literal "0xca7") () ")"))) (; ";")) (expression_statement "*(char **)(unaff_s7 + 0xc) = param_3;" (assignment_expression "*(char **)(unaff_s7 + 0xc) = param_3" (pointer_expression "*(char **)(unaff_s7 + 0xc)" (* "*") (cast_expression "(char **)(unaff_s7 + 0xc)" (( "(") (type_descriptor "char **" (primitive_type "char") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(unaff_s7 + 0xc)" (( "(") (binary_expression "unaff_s7 + 0xc" (identifier "unaff_s7") (+ "+") (number_literal "0xc")) () ")")))) (= "=") (identifier "param_3")) (; ";")) (if_statement "if (param_3 < &DAT_00000007) {\n                    \n                    \n        uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098)))();\n        return uVar10;\n      }" (if "if") (parenthesized_expression "(param_3 < &DAT_00000007)" (( "(") (binary_expression "param_3 < &DAT_00000007" (identifier "param_3") (< "<") (pointer_expression "&DAT_00000007" (& "&") (identifier "DAT_00000007"))) () ")")) (compound_statement "{\n                    \n                    \n        uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098)))();\n        return uVar10;\n      }" ({ "{") (expression_statement "uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098)))();" (assignment_expression "uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098)))()" (identifier "uVar10") (= "=") (call_expression "(*(code *)(&_gp_1 + *(int *)(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098)))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098)))" (( "(") (pointer_expression "*(code *)(&_gp_1 + *(int *)(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098))" (* "*") (cast_expression "(code *)(&_gp_1 + *(int *)(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098))" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&_gp_1 + *(int *)(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098))" (( "(") (binary_expression "&_gp_1 + *(int *)(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098)" (pointer_expression "&_gp_1" (& "&") (identifier "_gp_1")) (+ "+") (pointer_expression "*(int *)(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098)" (* "*") (cast_expression "(int *)(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098)" (( "(") (binary_expression "PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098" (binary_expression "PTR_LAB_003a88e0 + (int)param_3 * 4" (identifier "PTR_LAB_003a88e0") (+ "+") (binary_expression "(int)param_3 * 4" (cast_expression "(int)param_3" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "param_3")) (* "*") (number_literal "4"))) (+ "+") (number_literal "0x2098")) () ")"))))) () ")")))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (return_statement "return uVar10;" (return "return") (identifier "uVar10") (; ";")) (} "}"))) (expression_statement "unaff_s5 = PTR_LAB_003a88e0 + 0x4aa0;" (assignment_expression "unaff_s5 = PTR_LAB_003a88e0 + 0x4aa0" (identifier "unaff_s5") (= "=") (binary_expression "PTR_LAB_003a88e0 + 0x4aa0" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x4aa0"))) (; ";")) (expression_statement "unaff_s6 = param_2 + 0x340;" (assignment_expression "unaff_s6 = param_2 + 0x340" (identifier "unaff_s6") (= "=") (binary_expression "param_2 + 0x340" (identifier "param_2") (+ "+") (number_literal "0x340"))) (; ";")) (if_statement "if (*(int *)(param_1 + 0x200) == 0) {\n        local_202c[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);\n      }\n      else {\n        *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        local_202c[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);\n      }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x200) == 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x200) == 0" (pointer_expression "*(int *)(param_1 + 0x200)" (* "*") (cast_expression "(int *)(param_1 + 0x200)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x200)" (( "(") (binary_expression "param_1 + 0x200" (identifier "param_1") (+ "+") (number_literal "0x200")) () ")")))) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        local_202c[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);\n      }" ({ "{") (expression_statement "local_202c[0] = '\0';" (assignment_expression "local_202c[0] = '\0'" (subscript_expression "local_202c[0]" (identifier "local_202c") ([ "[") (number_literal "0") (] "]")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (expression_statement "(*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);" (call_expression "(*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000)" (parenthesized_expression "(*(code *)PTR_CopyMagickString_003a983c)" (( "(") (pointer_expression "*(code *)PTR_CopyMagickString_003a983c" (* "*") (cast_expression "(code *)PTR_CopyMagickString_003a983c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_CopyMagickString_003a983c"))) () ")")) (argument_list "(local_202c,unaff_s6,0x1000)" (( "(") (identifier "local_202c") (, ",") (identifier "unaff_s6") (, ",") (number_literal "0x1000") () ")"))) (; ";")) (} "}")) (else_clause "else {\n        *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        local_202c[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);\n      }" (else "else") (compound_statement "{\n        *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);\n        local_202c[0] = '\0';\n        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);\n      }" ({ "{") (expression_statement "*(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);" (assignment_expression "*(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200)" (pointer_expression "*(int *)(unaff_s7 + 0xe8)" (* "*") (cast_expression "(int *)(unaff_s7 + 0xe8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s7 + 0xe8)" (( "(") (binary_expression "unaff_s7 + 0xe8" (identifier "unaff_s7") (+ "+") (number_literal "0xe8")) () ")")))) (= "=") (pointer_expression "*(int *)(param_1 + 0x200)" (* "*") (cast_expression "(int *)(param_1 + 0x200)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x200)" (( "(") (binary_expression "param_1 + 0x200" (identifier "param_1") (+ "+") (number_literal "0x200")) () ")"))))) (; ";")) (expression_statement "local_202c[0] = '\0';" (assignment_expression "local_202c[0] = '\0'" (subscript_expression "local_202c[0]" (identifier "local_202c") ([ "[") (number_literal "0") (] "]")) (= "=") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (; ";")) (expression_statement "(*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);" (call_expression "(*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000)" (parenthesized_expression "(*(code *)PTR_CopyMagickString_003a983c)" (( "(") (pointer_expression "*(code *)PTR_CopyMagickString_003a983c" (* "*") (cast_expression "(code *)PTR_CopyMagickString_003a983c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_CopyMagickString_003a983c"))) () ")")) (argument_list "(local_202c,unaff_s6,0x1000)" (( "(") (identifier "local_202c") (, ",") (identifier "unaff_s6") (, ",") (number_literal "0x1000") () ")"))) (; ";")) (} "}")))) (expression_statement "param_3 = local_202c;" (assignment_expression "param_3 = local_202c" (identifier "param_3") (= "=") (identifier "local_202c")) (; ";")) (expression_statement "iVar6 = (*(code *)PTR_IsRightsAuthorized_003a8db0)(4,1,param_3);" (assignment_expression "iVar6 = (*(code *)PTR_IsRightsAuthorized_003a8db0)(4,1,param_3)" (identifier "iVar6") (= "=") (call_expression "(*(code *)PTR_IsRightsAuthorized_003a8db0)(4,1,param_3)" (parenthesized_expression "(*(code *)PTR_IsRightsAuthorized_003a8db0)" (( "(") (pointer_expression "*(code *)PTR_IsRightsAuthorized_003a8db0" (* "*") (cast_expression "(code *)PTR_IsRightsAuthorized_003a8db0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_IsRightsAuthorized_003a8db0"))) () ")")) (argument_list "(4,1,param_3)" (( "(") (number_literal "4") (, ",") (number_literal "1") (, ",") (identifier "param_3") () ")")))) (; ";")) (if_statement "if (iVar6 == 0) {\n        puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n        *puVar4 = 1;\n        (*(code *)PTR_ThrowMagickException_003a8f20)\n                  (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcd9,499,\n                   PTR_LAB_003a88e0 + 0x1e9c,PTR_LAB_003a88e0 + 0x3e28,param_3);\n        uVar10 = 0;\n        goto LAB_00049c58;\n      }" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n        puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n        *puVar4 = 1;\n        (*(code *)PTR_ThrowMagickException_003a8f20)\n                  (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcd9,499,\n                   PTR_LAB_003a88e0 + 0x1e9c,PTR_LAB_003a88e0 + 0x3e28,param_3);\n        uVar10 = 0;\n        goto LAB_00049c58;\n      }" ({ "{") (expression_statement "puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();" (assignment_expression "puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)()" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_003a99b0)()" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR___errno_location_003a99b0)()" (parenthesized_expression "(*(code *)PTR___errno_location_003a99b0)" (( "(") (pointer_expression "*(code *)PTR___errno_location_003a99b0" (* "*") (cast_expression "(code *)PTR___errno_location_003a99b0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___errno_location_003a99b0"))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "*puVar4 = 1;" (assignment_expression "*puVar4 = 1" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (number_literal "1")) (; ";")) (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n                  (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcd9,499,\n                   PTR_LAB_003a88e0 + 0x1e9c,PTR_LAB_003a88e0 + 0x3e28,param_3);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n                  (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcd9,499,\n                   PTR_LAB_003a88e0 + 0x1e9c,PTR_LAB_003a88e0 + 0x3e28,param_3)" (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_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcd9,499,\n                   PTR_LAB_003a88e0 + 0x1e9c,PTR_LAB_003a88e0 + 0x3e28,param_3)" (( "(") (identifier "param_4") (, ",") (binary_expression "PTR_LAB_003a88e0 + 0x1ad8" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x1ad8")) (, ",") (binary_expression "PTR_LAB_003a88e0 + 0x23cc" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x23cc")) (, ",") (number_literal "0xcd9") (, ",") (number_literal "499") (, ",") (binary_expression "PTR_LAB_003a88e0 + 0x1e9c" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x1e9c")) (, ",") (binary_expression "PTR_LAB_003a88e0 + 0x3e28" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x3e28")) (, ",") (identifier "param_3") () ")"))) (; ";")) (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" (identifier "uVar10") (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_00049c58;" (goto "goto") (statement_identifier "LAB_00049c58") (; ";")) (} "}"))) (expression_statement "iVar6 = (*(code *)PTR_LocaleCompare_003a9110)(param_3,PTR_s_courses_003a88ec + -0x7ac);" (assignment_expression "iVar6 = (*(code *)PTR_LocaleCompare_003a9110)(param_3,PTR_s_courses_003a88ec + -0x7ac)" (identifier "iVar6") (= "=") (call_expression "(*(code *)PTR_LocaleCompare_003a9110)(param_3,PTR_s_courses_003a88ec + -0x7ac)" (parenthesized_expression "(*(code *)PTR_LocaleCompare_003a9110)" (( "(") (pointer_expression "*(code *)PTR_LocaleCompare_003a9110" (* "*") (cast_expression "(code *)PTR_LocaleCompare_003a9110" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_LocaleCompare_003a9110"))) () ")")) (argument_list "(param_3,PTR_s_courses_003a88ec + -0x7ac)" (( "(") (identifier "param_3") (, ",") (binary_expression "PTR_s_courses_003a88ec + -0x7ac" (identifier "PTR_s_courses_003a88ec") (+ "+") (number_literal "-0x7ac")) () ")")))) (; ";")) (expression_statement "puVar2 = PTR_GetImageOption_003a9168;" (assignment_expression "puVar2 = PTR_GetImageOption_003a9168" (identifier "puVar2") (= "=") (identifier "PTR_GetImageOption_003a9168")) (; ";")) (expression_statement "puVar1 = PTR_LAB_003a88e0;" (assignment_expression "puVar1 = PTR_LAB_003a88e0" (identifier "puVar1") (= "=") (identifier "PTR_LAB_003a88e0")) (; ";")) (if_statement "if ((iVar6 == 0) || ((local_202c[0] == '\0' && (*(int *)(param_1 + 0x204) == 0)))) {\n        param_4 = 2;\n        *(undefined4 *)(unaff_s7 + 0x44) = *(undefined4 *)PTR_stdin_003a8fc4;\n        *(undefined4 *)(unaff_s7 + 0x40) = 2;\n        *(undefined4 *)(unaff_s7 + 0x30) = 1;\n        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n        if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }\n      }\n      else {\n        iVar6 = (*(code *)PTR_LocaleNCompare_003a961c)(param_3,PTR_LAB_003a88e0 + 0x1ec0,3);\n        if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_IsGeometry_003a9418)(auStack_2029);\n          if (iVar6 != 0) {\n            local_102c = 0x7200;\n            uVar5 = (*(code *)PTR_strtol_003a954c)(auStack_2029,0,10);\n            iVar6 = (*(code *)PTR_fdopen_003a97d8)(uVar5,&local_102c);\n            *(int *)(unaff_s7 + 0x44) = iVar6;\n            puVar2 = PTR_GetImageOption_003a9168;\n            puVar1 = PTR_LAB_003a88e0;\n            if (iVar6 != 0) {\n              *(undefined4 *)(unaff_s7 + 0x40) = 1;\n              *(undefined4 *)(unaff_s7 + 0x30) = 1;\n              iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n              if (iVar6 == 0) {\n                iVar6 = 0x4000;\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n                uVar5 = 0;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n                uVar5 = 2;\n                if (iVar6 != 0) {\n                  uVar5 = 0;\n                }\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n              }\n              iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n              uVar10 = (uint)(iVar6 == 0);\n              goto LAB_00049c58;\n            }\n            puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n            (*(code *)PTR_DestroyString_003a9074)(uVar5);\n            uVar10 = 0;\n            goto LAB_00049c58;\n          }\n        }\n        iVar6 = (*(code *)PTR_GetPathAttributes_003a9364)(param_3,unaff_s7 + 0x48);\n        if ((iVar6 == 0) || ((*(uint *)(unaff_s7 + 0x60) & 0xf000) != 0x1000)) {\n          (*(code *)PTR_GetPathComponent_003a8e18)(unaff_s6,6,local_302c);\n          if (*(int *)(param_1 + 0x204) != 0) {\n            *(int *)(unaff_s7 + 0x44) = *(int *)(param_1 + 0x204);\n            *(undefined4 *)(unaff_s7 + 0x38) = 0;\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            *(undefined4 *)(unaff_s7 + 0x30) = 1;\n            *(undefined4 *)(unaff_s7 + 0x1c) = 0;\n            goto LAB_00049e88;\n          }\n          iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n          *(int *)(unaff_s7 + 0x44) = iVar6;\n          puVar2 = PTR_GetImageOption_003a9168;\n          puVar1 = PTR_LAB_003a88e0;\n          if (iVar6 != 0) {\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n            if (iVar6 == 0) {\n              iVar6 = 0x4000;\n              iVar7 = 0;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            else {\n              iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n              iVar7 = (uint)(iVar6 == 0) << 1;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            (*(code *)PTR_setvbuf_003a90f4)(uVar5,0,iVar7,iVar6);\n            local_102c = 0;\n            local_102a = 0;\n            unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)\n                                 (&local_102c,1,3,*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fseeko64_003a9944)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fflush_003a948c)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0);\n            iVar6 = *(int *)(unaff_s7 + 0x40);\n            if (iVar6 != 1) goto LAB_0004a138;\n            uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(param_1 + 0x210,uVar5);\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);\n            if ((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)) &&\n                (unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar6 != 0)) {\n              uVar5 = (*(code *)PTR_fileno_003a99cc)(*(undefined4 *)(unaff_s7 + 0x44));\n              unaff_s6 = (*(code *)PTR_MapBlob_003a978c)(uVar5,0,0,0,unaff_s5);\n              if (unaff_s6 == 0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                iVar6 = *(int *)(unaff_s7 + 0x40);\n                goto LAB_0004a138;\n              }\n              pcVar9 = (code *)PTR_fclose_003a939c;\n              if (*(int *)(param_1 + 0x204) == 0) goto LAB_0004a850;\n              *(undefined4 *)(unaff_s7 + 0x30) = 0;\n              goto LAB_0004a650;\n            }\n          }\n          iVar6 = *(int *)(unaff_s7 + 0x40);\n          goto LAB_0004a138;\n        }\n        iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n        *(int *)(unaff_s7 + 0x44) = iVar6;\n        puVar2 = PTR_GetImageOption_003a9168;\n        puVar1 = PTR_LAB_003a88e0;\n        if (iVar6 == 0) {\n          puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n          uVar8 = 0xd23;\n          goto LAB_0004a16c;\n        }\n        *(undefined4 *)(unaff_s7 + 0x40) = 1;\n        *(undefined4 *)(unaff_s7 + 0x30) = 1;\n        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n        if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }\n      }" (if "if") (parenthesized_expression "((iVar6 == 0) || ((local_202c[0] == '\0' && (*(int *)(param_1 + 0x204) == 0))))" (( "(") (binary_expression "(iVar6 == 0) || ((local_202c[0] == '\0' && (*(int *)(param_1 + 0x204) == 0)))" (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "((local_202c[0] == '\0' && (*(int *)(param_1 + 0x204) == 0)))" (( "(") (parenthesized_expression "(local_202c[0] == '\0' && (*(int *)(param_1 + 0x204) == 0))" (( "(") (binary_expression "local_202c[0] == '\0' && (*(int *)(param_1 + 0x204) == 0)" (binary_expression "local_202c[0] == '\0'" (subscript_expression "local_202c[0]" (identifier "local_202c") ([ "[") (number_literal "0") (] "]")) (== "==") (char_literal "'\0'" (' "'") (escape_sequence "\0") (' "'"))) (&& "&&") (parenthesized_expression "(*(int *)(param_1 + 0x204) == 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x204) == 0" (pointer_expression "*(int *)(param_1 + 0x204)" (* "*") (cast_expression "(int *)(param_1 + 0x204)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x204)" (( "(") (binary_expression "param_1 + 0x204" (identifier "param_1") (+ "+") (number_literal "0x204")) () ")")))) (== "==") (number_literal "0")) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n        param_4 = 2;\n        *(undefined4 *)(unaff_s7 + 0x44) = *(undefined4 *)PTR_stdin_003a8fc4;\n        *(undefined4 *)(unaff_s7 + 0x40) = 2;\n        *(undefined4 *)(unaff_s7 + 0x30) = 1;\n        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n        if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }\n      }" ({ "{") (expression_statement "param_4 = 2;" (assignment_expression "param_4 = 2" (identifier "param_4") (= "=") (number_literal "2")) (; ";")) (expression_statement "*(undefined4 *)(unaff_s7 + 0x44) = *(undefined4 *)PTR_stdin_003a8fc4;" (assignment_expression "*(undefined4 *)(unaff_s7 + 0x44) = *(undefined4 *)PTR_stdin_003a8fc4" (pointer_expression "*(undefined4 *)(unaff_s7 + 0x44)" (* "*") (cast_expression "(undefined4 *)(unaff_s7 + 0x44)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s7 + 0x44)" (( "(") (binary_expression "unaff_s7 + 0x44" (identifier "unaff_s7") (+ "+") (number_literal "0x44")) () ")")))) (= "=") (pointer_expression "*(undefined4 *)PTR_stdin_003a8fc4" (* "*") (cast_expression "(undefined4 *)PTR_stdin_003a8fc4" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_stdin_003a8fc4")))) (; ";")) (expression_statement "*(undefined4 *)(unaff_s7 + 0x40) = 2;" (assignment_expression "*(undefined4 *)(unaff_s7 + 0x40) = 2" (pointer_expression "*(undefined4 *)(unaff_s7 + 0x40)" (* "*") (cast_expression "(undefined4 *)(unaff_s7 + 0x40)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s7 + 0x40)" (( "(") (binary_expression "unaff_s7 + 0x40" (identifier "unaff_s7") (+ "+") (number_literal "0x40")) () ")")))) (= "=") (number_literal "2")) (; ";")) (expression_statement "*(undefined4 *)(unaff_s7 + 0x30) = 1;" (assignment_expression "*(undefined4 *)(unaff_s7 + 0x30) = 1" (pointer_expression "*(undefined4 *)(unaff_s7 + 0x30)" (* "*") (cast_expression "(undefined4 *)(unaff_s7 + 0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s7 + 0x30)" (( "(") (binary_expression "unaff_s7 + 0x30" (identifier "unaff_s7") (+ "+") (number_literal "0x30")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);" (assignment_expression "iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac)" (identifier "iVar6") (= "=") (call_expression "(*(code *)puVar2)(param_1,puVar1 + 0x1eac)" (parenthesized_expression "(*(code *)puVar2)" (( "(") (pointer_expression "*(code *)puVar2" (* "*") (cast_expression "(code *)puVar2" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar2"))) () ")")) (argument_list "(param_1,puVar1 + 0x1eac)" (( "(") (identifier "param_1") (, ",") (binary_expression "puVar1 + 0x1eac" (identifier "puVar1") (+ "+") (number_literal "0x1eac")) () ")")))) (; ";")) (if_statement "if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }" ({ "{") (expression_statement "iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);" (assignment_expression "iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10)" (identifier "iVar6") (= "=") (call_expression "(*(code *)PTR_strtoul_003a9340)(iVar6,0,10)" (parenthesized_expression "(*(code *)PTR_strtoul_003a9340)" (( "(") (pointer_expression "*(code *)PTR_strtoul_003a9340" (* "*") (cast_expression "(code *)PTR_strtoul_003a9340" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strtoul_003a9340"))) () ")")) (argument_list "(iVar6,0,10)" (( "(") (identifier "iVar6") (, ",") (number_literal "0") (, ",") (number_literal "10") () ")")))) (; ";")) (expression_statement "uVar5 = 2;" (assignment_expression "uVar5 = 2" (identifier "uVar5") (= "=") (number_literal "2")) (; ";")) (if_statement "if (iVar6 != 0) {\n            uVar5 = 0;\n          }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            uVar5 = 0;\n          }" ({ "{") (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" (identifier "uVar5") (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);" (assignment_expression "uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44)" (identifier "uVar8") (= "=") (pointer_expression "*(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44)" (* "*") (cast_expression "(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_2 + 0x3348) + 0x44)" (( "(") (binary_expression "*(int *)(param_2 + 0x3348) + 0x44" (pointer_expression "*(int *)(param_2 + 0x3348)" (* "*") (cast_expression "(int *)(param_2 + 0x3348)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x3348)" (( "(") (binary_expression "param_2 + 0x3348" (identifier "param_2") (+ "+") (number_literal "0x3348")) () ")")))) (+ "+") (number_literal "0x44")) () ")"))))) (; ";")) (goto_statement "goto LAB_00049fe8;" (goto "goto") (statement_identifier "LAB_00049fe8") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n        iVar6 = (*(code *)PTR_LocaleNCompare_003a961c)(param_3,PTR_LAB_003a88e0 + 0x1ec0,3);\n        if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_IsGeometry_003a9418)(auStack_2029);\n          if (iVar6 != 0) {\n            local_102c = 0x7200;\n            uVar5 = (*(code *)PTR_strtol_003a954c)(auStack_2029,0,10);\n            iVar6 = (*(code *)PTR_fdopen_003a97d8)(uVar5,&local_102c);\n            *(int *)(unaff_s7 + 0x44) = iVar6;\n            puVar2 = PTR_GetImageOption_003a9168;\n            puVar1 = PTR_LAB_003a88e0;\n            if (iVar6 != 0) {\n              *(undefined4 *)(unaff_s7 + 0x40) = 1;\n              *(undefined4 *)(unaff_s7 + 0x30) = 1;\n              iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n              if (iVar6 == 0) {\n                iVar6 = 0x4000;\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n                uVar5 = 0;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n                uVar5 = 2;\n                if (iVar6 != 0) {\n                  uVar5 = 0;\n                }\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n              }\n              iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n              uVar10 = (uint)(iVar6 == 0);\n              goto LAB_00049c58;\n            }\n            puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n            (*(code *)PTR_DestroyString_003a9074)(uVar5);\n            uVar10 = 0;\n            goto LAB_00049c58;\n          }\n        }\n        iVar6 = (*(code *)PTR_GetPathAttributes_003a9364)(param_3,unaff_s7 + 0x48);\n        if ((iVar6 == 0) || ((*(uint *)(unaff_s7 + 0x60) & 0xf000) != 0x1000)) {\n          (*(code *)PTR_GetPathComponent_003a8e18)(unaff_s6,6,local_302c);\n          if (*(int *)(param_1 + 0x204) != 0) {\n            *(int *)(unaff_s7 + 0x44) = *(int *)(param_1 + 0x204);\n            *(undefined4 *)(unaff_s7 + 0x38) = 0;\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            *(undefined4 *)(unaff_s7 + 0x30) = 1;\n            *(undefined4 *)(unaff_s7 + 0x1c) = 0;\n            goto LAB_00049e88;\n          }\n          iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n          *(int *)(unaff_s7 + 0x44) = iVar6;\n          puVar2 = PTR_GetImageOption_003a9168;\n          puVar1 = PTR_LAB_003a88e0;\n          if (iVar6 != 0) {\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n            if (iVar6 == 0) {\n              iVar6 = 0x4000;\n              iVar7 = 0;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            else {\n              iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n              iVar7 = (uint)(iVar6 == 0) << 1;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            (*(code *)PTR_setvbuf_003a90f4)(uVar5,0,iVar7,iVar6);\n            local_102c = 0;\n            local_102a = 0;\n            unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)\n                                 (&local_102c,1,3,*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fseeko64_003a9944)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fflush_003a948c)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0);\n            iVar6 = *(int *)(unaff_s7 + 0x40);\n            if (iVar6 != 1) goto LAB_0004a138;\n            uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(param_1 + 0x210,uVar5);\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);\n            if ((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)) &&\n                (unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar6 != 0)) {\n              uVar5 = (*(code *)PTR_fileno_003a99cc)(*(undefined4 *)(unaff_s7 + 0x44));\n              unaff_s6 = (*(code *)PTR_MapBlob_003a978c)(uVar5,0,0,0,unaff_s5);\n              if (unaff_s6 == 0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                iVar6 = *(int *)(unaff_s7 + 0x40);\n                goto LAB_0004a138;\n              }\n              pcVar9 = (code *)PTR_fclose_003a939c;\n              if (*(int *)(param_1 + 0x204) == 0) goto LAB_0004a850;\n              *(undefined4 *)(unaff_s7 + 0x30) = 0;\n              goto LAB_0004a650;\n            }\n          }\n          iVar6 = *(int *)(unaff_s7 + 0x40);\n          goto LAB_0004a138;\n        }\n        iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n        *(int *)(unaff_s7 + 0x44) = iVar6;\n        puVar2 = PTR_GetImageOption_003a9168;\n        puVar1 = PTR_LAB_003a88e0;\n        if (iVar6 == 0) {\n          puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n          uVar8 = 0xd23;\n          goto LAB_0004a16c;\n        }\n        *(undefined4 *)(unaff_s7 + 0x40) = 1;\n        *(undefined4 *)(unaff_s7 + 0x30) = 1;\n        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n        if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }\n      }" (else "else") (compound_statement "{\n        iVar6 = (*(code *)PTR_LocaleNCompare_003a961c)(param_3,PTR_LAB_003a88e0 + 0x1ec0,3);\n        if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_IsGeometry_003a9418)(auStack_2029);\n          if (iVar6 != 0) {\n            local_102c = 0x7200;\n            uVar5 = (*(code *)PTR_strtol_003a954c)(auStack_2029,0,10);\n            iVar6 = (*(code *)PTR_fdopen_003a97d8)(uVar5,&local_102c);\n            *(int *)(unaff_s7 + 0x44) = iVar6;\n            puVar2 = PTR_GetImageOption_003a9168;\n            puVar1 = PTR_LAB_003a88e0;\n            if (iVar6 != 0) {\n              *(undefined4 *)(unaff_s7 + 0x40) = 1;\n              *(undefined4 *)(unaff_s7 + 0x30) = 1;\n              iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n              if (iVar6 == 0) {\n                iVar6 = 0x4000;\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n                uVar5 = 0;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n                uVar5 = 2;\n                if (iVar6 != 0) {\n                  uVar5 = 0;\n                }\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n              }\n              iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n              uVar10 = (uint)(iVar6 == 0);\n              goto LAB_00049c58;\n            }\n            puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n            (*(code *)PTR_DestroyString_003a9074)(uVar5);\n            uVar10 = 0;\n            goto LAB_00049c58;\n          }\n        }\n        iVar6 = (*(code *)PTR_GetPathAttributes_003a9364)(param_3,unaff_s7 + 0x48);\n        if ((iVar6 == 0) || ((*(uint *)(unaff_s7 + 0x60) & 0xf000) != 0x1000)) {\n          (*(code *)PTR_GetPathComponent_003a8e18)(unaff_s6,6,local_302c);\n          if (*(int *)(param_1 + 0x204) != 0) {\n            *(int *)(unaff_s7 + 0x44) = *(int *)(param_1 + 0x204);\n            *(undefined4 *)(unaff_s7 + 0x38) = 0;\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            *(undefined4 *)(unaff_s7 + 0x30) = 1;\n            *(undefined4 *)(unaff_s7 + 0x1c) = 0;\n            goto LAB_00049e88;\n          }\n          iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n          *(int *)(unaff_s7 + 0x44) = iVar6;\n          puVar2 = PTR_GetImageOption_003a9168;\n          puVar1 = PTR_LAB_003a88e0;\n          if (iVar6 != 0) {\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n            if (iVar6 == 0) {\n              iVar6 = 0x4000;\n              iVar7 = 0;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            else {\n              iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n              iVar7 = (uint)(iVar6 == 0) << 1;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            (*(code *)PTR_setvbuf_003a90f4)(uVar5,0,iVar7,iVar6);\n            local_102c = 0;\n            local_102a = 0;\n            unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)\n                                 (&local_102c,1,3,*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fseeko64_003a9944)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fflush_003a948c)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0);\n            iVar6 = *(int *)(unaff_s7 + 0x40);\n            if (iVar6 != 1) goto LAB_0004a138;\n            uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(param_1 + 0x210,uVar5);\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);\n            if ((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)) &&\n                (unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar6 != 0)) {\n              uVar5 = (*(code *)PTR_fileno_003a99cc)(*(undefined4 *)(unaff_s7 + 0x44));\n              unaff_s6 = (*(code *)PTR_MapBlob_003a978c)(uVar5,0,0,0,unaff_s5);\n              if (unaff_s6 == 0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                iVar6 = *(int *)(unaff_s7 + 0x40);\n                goto LAB_0004a138;\n              }\n              pcVar9 = (code *)PTR_fclose_003a939c;\n              if (*(int *)(param_1 + 0x204) == 0) goto LAB_0004a850;\n              *(undefined4 *)(unaff_s7 + 0x30) = 0;\n              goto LAB_0004a650;\n            }\n          }\n          iVar6 = *(int *)(unaff_s7 + 0x40);\n          goto LAB_0004a138;\n        }\n        iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n        *(int *)(unaff_s7 + 0x44) = iVar6;\n        puVar2 = PTR_GetImageOption_003a9168;\n        puVar1 = PTR_LAB_003a88e0;\n        if (iVar6 == 0) {\n          puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n          uVar8 = 0xd23;\n          goto LAB_0004a16c;\n        }\n        *(undefined4 *)(unaff_s7 + 0x40) = 1;\n        *(undefined4 *)(unaff_s7 + 0x30) = 1;\n        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n        if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }\n      }" ({ "{") (expression_statement "iVar6 = (*(code *)PTR_LocaleNCompare_003a961c)(param_3,PTR_LAB_003a88e0 + 0x1ec0,3);" (assignment_expression "iVar6 = (*(code *)PTR_LocaleNCompare_003a961c)(param_3,PTR_LAB_003a88e0 + 0x1ec0,3)" (identifier "iVar6") (= "=") (call_expression "(*(code *)PTR_LocaleNCompare_003a961c)(param_3,PTR_LAB_003a88e0 + 0x1ec0,3)" (parenthesized_expression "(*(code *)PTR_LocaleNCompare_003a961c)" (( "(") (pointer_expression "*(code *)PTR_LocaleNCompare_003a961c" (* "*") (cast_expression "(code *)PTR_LocaleNCompare_003a961c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_LocaleNCompare_003a961c"))) () ")")) (argument_list "(param_3,PTR_LAB_003a88e0 + 0x1ec0,3)" (( "(") (identifier "param_3") (, ",") (binary_expression "PTR_LAB_003a88e0 + 0x1ec0" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x1ec0")) (, ",") (number_literal "3") () ")")))) (; ";")) (if_statement "if (iVar6 == 0) {\n          iVar6 = (*(code *)PTR_IsGeometry_003a9418)(auStack_2029);\n          if (iVar6 != 0) {\n            local_102c = 0x7200;\n            uVar5 = (*(code *)PTR_strtol_003a954c)(auStack_2029,0,10);\n            iVar6 = (*(code *)PTR_fdopen_003a97d8)(uVar5,&local_102c);\n            *(int *)(unaff_s7 + 0x44) = iVar6;\n            puVar2 = PTR_GetImageOption_003a9168;\n            puVar1 = PTR_LAB_003a88e0;\n            if (iVar6 != 0) {\n              *(undefined4 *)(unaff_s7 + 0x40) = 1;\n              *(undefined4 *)(unaff_s7 + 0x30) = 1;\n              iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n              if (iVar6 == 0) {\n                iVar6 = 0x4000;\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n                uVar5 = 0;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n                uVar5 = 2;\n                if (iVar6 != 0) {\n                  uVar5 = 0;\n                }\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n              }\n              iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n              uVar10 = (uint)(iVar6 == 0);\n              goto LAB_00049c58;\n            }\n            puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n            (*(code *)PTR_DestroyString_003a9074)(uVar5);\n            uVar10 = 0;\n            goto LAB_00049c58;\n          }\n        }" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          iVar6 = (*(code *)PTR_IsGeometry_003a9418)(auStack_2029);\n          if (iVar6 != 0) {\n            local_102c = 0x7200;\n            uVar5 = (*(code *)PTR_strtol_003a954c)(auStack_2029,0,10);\n            iVar6 = (*(code *)PTR_fdopen_003a97d8)(uVar5,&local_102c);\n            *(int *)(unaff_s7 + 0x44) = iVar6;\n            puVar2 = PTR_GetImageOption_003a9168;\n            puVar1 = PTR_LAB_003a88e0;\n            if (iVar6 != 0) {\n              *(undefined4 *)(unaff_s7 + 0x40) = 1;\n              *(undefined4 *)(unaff_s7 + 0x30) = 1;\n              iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n              if (iVar6 == 0) {\n                iVar6 = 0x4000;\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n                uVar5 = 0;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n                uVar5 = 2;\n                if (iVar6 != 0) {\n                  uVar5 = 0;\n                }\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n              }\n              iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n              uVar10 = (uint)(iVar6 == 0);\n              goto LAB_00049c58;\n            }\n            puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n            (*(code *)PTR_DestroyString_003a9074)(uVar5);\n            uVar10 = 0;\n            goto LAB_00049c58;\n          }\n        }" ({ "{") (expression_statement "iVar6 = (*(code *)PTR_IsGeometry_003a9418)(auStack_2029);" (assignment_expression "iVar6 = (*(code *)PTR_IsGeometry_003a9418)(auStack_2029)" (identifier "iVar6") (= "=") (call_expression "(*(code *)PTR_IsGeometry_003a9418)(auStack_2029)" (parenthesized_expression "(*(code *)PTR_IsGeometry_003a9418)" (( "(") (pointer_expression "*(code *)PTR_IsGeometry_003a9418" (* "*") (cast_expression "(code *)PTR_IsGeometry_003a9418" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_IsGeometry_003a9418"))) () ")")) (argument_list "(auStack_2029)" (( "(") (identifier "auStack_2029") () ")")))) (; ";")) (if_statement "if (iVar6 != 0) {\n            local_102c = 0x7200;\n            uVar5 = (*(code *)PTR_strtol_003a954c)(auStack_2029,0,10);\n            iVar6 = (*(code *)PTR_fdopen_003a97d8)(uVar5,&local_102c);\n            *(int *)(unaff_s7 + 0x44) = iVar6;\n            puVar2 = PTR_GetImageOption_003a9168;\n            puVar1 = PTR_LAB_003a88e0;\n            if (iVar6 != 0) {\n              *(undefined4 *)(unaff_s7 + 0x40) = 1;\n              *(undefined4 *)(unaff_s7 + 0x30) = 1;\n              iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n              if (iVar6 == 0) {\n                iVar6 = 0x4000;\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n                uVar5 = 0;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n                uVar5 = 2;\n                if (iVar6 != 0) {\n                  uVar5 = 0;\n                }\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n              }\n              iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n              uVar10 = (uint)(iVar6 == 0);\n              goto LAB_00049c58;\n            }\n            puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n            (*(code *)PTR_DestroyString_003a9074)(uVar5);\n            uVar10 = 0;\n            goto LAB_00049c58;\n          }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            local_102c = 0x7200;\n            uVar5 = (*(code *)PTR_strtol_003a954c)(auStack_2029,0,10);\n            iVar6 = (*(code *)PTR_fdopen_003a97d8)(uVar5,&local_102c);\n            *(int *)(unaff_s7 + 0x44) = iVar6;\n            puVar2 = PTR_GetImageOption_003a9168;\n            puVar1 = PTR_LAB_003a88e0;\n            if (iVar6 != 0) {\n              *(undefined4 *)(unaff_s7 + 0x40) = 1;\n              *(undefined4 *)(unaff_s7 + 0x30) = 1;\n              iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n              if (iVar6 == 0) {\n                iVar6 = 0x4000;\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n                uVar5 = 0;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n                uVar5 = 2;\n                if (iVar6 != 0) {\n                  uVar5 = 0;\n                }\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n              }\n              iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n              uVar10 = (uint)(iVar6 == 0);\n              goto LAB_00049c58;\n            }\n            puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n            uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n            (*(code *)PTR_ThrowMagickException_003a8f20)\n                      (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n            (*(code *)PTR_DestroyString_003a9074)(uVar5);\n            uVar10 = 0;\n            goto LAB_00049c58;\n          }" ({ "{") (expression_statement "local_102c = 0x7200;" (assignment_expression "local_102c = 0x7200" (identifier "local_102c") (= "=") (number_literal "0x7200")) (; ";")) (expression_statement "uVar5 = (*(code *)PTR_strtol_003a954c)(auStack_2029,0,10);" (assignment_expression "uVar5 = (*(code *)PTR_strtol_003a954c)(auStack_2029,0,10)" (identifier "uVar5") (= "=") (call_expression "(*(code *)PTR_strtol_003a954c)(auStack_2029,0,10)" (parenthesized_expression "(*(code *)PTR_strtol_003a954c)" (( "(") (pointer_expression "*(code *)PTR_strtol_003a954c" (* "*") (cast_expression "(code *)PTR_strtol_003a954c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strtol_003a954c"))) () ")")) (argument_list "(auStack_2029,0,10)" (( "(") (identifier "auStack_2029") (, ",") (number_literal "0") (, ",") (number_literal "10") () ")")))) (; ";")) (expression_statement "iVar6 = (*(code *)PTR_fdopen_003a97d8)(uVar5,&local_102c);" (assignment_expression "iVar6 = (*(code *)PTR_fdopen_003a97d8)(uVar5,&local_102c)" (identifier "iVar6") (= "=") (call_expression "(*(code *)PTR_fdopen_003a97d8)(uVar5,&local_102c)" (parenthesized_expression "(*(code *)PTR_fdopen_003a97d8)" (( "(") (pointer_expression "*(code *)PTR_fdopen_003a97d8" (* "*") (cast_expression "(code *)PTR_fdopen_003a97d8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fdopen_003a97d8"))) () ")")) (argument_list "(uVar5,&local_102c)" (( "(") (identifier "uVar5") (, ",") (pointer_expression "&local_102c" (& "&") (identifier "local_102c")) () ")")))) (; ";")) (expression_statement "*(int *)(unaff_s7 + 0x44) = iVar6;" (assignment_expression "*(int *)(unaff_s7 + 0x44) = iVar6" (pointer_expression "*(int *)(unaff_s7 + 0x44)" (* "*") (cast_expression "(int *)(unaff_s7 + 0x44)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s7 + 0x44)" (( "(") (binary_expression "unaff_s7 + 0x44" (identifier "unaff_s7") (+ "+") (number_literal "0x44")) () ")")))) (= "=") (identifier "iVar6")) (; ";")) (expression_statement "puVar2 = PTR_GetImageOption_003a9168;" (assignment_expression "puVar2 = PTR_GetImageOption_003a9168" (identifier "puVar2") (= "=") (identifier "PTR_GetImageOption_003a9168")) (; ";")) (expression_statement "puVar1 = PTR_LAB_003a88e0;" (assignment_expression "puVar1 = PTR_LAB_003a88e0" (identifier "puVar1") (= "=") (identifier "PTR_LAB_003a88e0")) (; ";")) (if_statement "if (iVar6 != 0) {\n              *(undefined4 *)(unaff_s7 + 0x40) = 1;\n              *(undefined4 *)(unaff_s7 + 0x30) = 1;\n              iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n              if (iVar6 == 0) {\n                iVar6 = 0x4000;\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n                uVar5 = 0;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n                uVar5 = 2;\n                if (iVar6 != 0) {\n                  uVar5 = 0;\n                }\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n              }\n              iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n              uVar10 = (uint)(iVar6 == 0);\n              goto LAB_00049c58;\n            }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n              *(undefined4 *)(unaff_s7 + 0x40) = 1;\n              *(undefined4 *)(unaff_s7 + 0x30) = 1;\n              iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n              if (iVar6 == 0) {\n                iVar6 = 0x4000;\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n                uVar5 = 0;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n                uVar5 = 2;\n                if (iVar6 != 0) {\n                  uVar5 = 0;\n                }\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n              }\n              iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);\n              uVar10 = (uint)(iVar6 == 0);\n              goto LAB_00049c58;\n            }" ({ "{") (expression_statement "*(undefined4 *)(unaff_s7 + 0x40) = 1;" (assignment_expression "*(undefined4 *)(unaff_s7 + 0x40) = 1" (pointer_expression "*(undefined4 *)(unaff_s7 + 0x40)" (* "*") (cast_expression "(undefined4 *)(unaff_s7 + 0x40)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s7 + 0x40)" (( "(") (binary_expression "unaff_s7 + 0x40" (identifier "unaff_s7") (+ "+") (number_literal "0x40")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "*(undefined4 *)(unaff_s7 + 0x30) = 1;" (assignment_expression "*(undefined4 *)(unaff_s7 + 0x30) = 1" (pointer_expression "*(undefined4 *)(unaff_s7 + 0x30)" (* "*") (cast_expression "(undefined4 *)(unaff_s7 + 0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s7 + 0x30)" (( "(") (binary_expression "unaff_s7 + 0x30" (identifier "unaff_s7") (+ "+") (number_literal "0x30")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);" (assignment_expression "iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac)" (identifier "iVar6") (= "=") (call_expression "(*(code *)puVar2)(param_1,puVar1 + 0x1eac)" (parenthesized_expression "(*(code *)puVar2)" (( "(") (pointer_expression "*(code *)puVar2" (* "*") (cast_expression "(code *)puVar2" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar2"))) () ")")) (argument_list "(param_1,puVar1 + 0x1eac)" (( "(") (identifier "param_1") (, ",") (binary_expression "puVar1 + 0x1eac" (identifier "puVar1") (+ "+") (number_literal "0x1eac")) () ")")))) (; ";")) (if_statement "if (iVar6 == 0) {\n                iVar6 = 0x4000;\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n                uVar5 = 0;\n              }\n              else {\n                iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n                uVar5 = 2;\n                if (iVar6 != 0) {\n                  uVar5 = 0;\n                }\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n              }" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                iVar6 = 0x4000;\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n                uVar5 = 0;\n              }" ({ "{") (expression_statement "iVar6 = 0x4000;" (assignment_expression "iVar6 = 0x4000" (identifier "iVar6") (= "=") (number_literal "0x4000")) (; ";")) (expression_statement "uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);" (assignment_expression "uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44)" (identifier "uVar8") (= "=") (pointer_expression "*(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44)" (* "*") (cast_expression "(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_2 + 0x3348) + 0x44)" (( "(") (binary_expression "*(int *)(param_2 + 0x3348) + 0x44" (pointer_expression "*(int *)(param_2 + 0x3348)" (* "*") (cast_expression "(int *)(param_2 + 0x3348)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x3348)" (( "(") (binary_expression "param_2 + 0x3348" (identifier "param_2") (+ "+") (number_literal "0x3348")) () ")")))) (+ "+") (number_literal "0x44")) () ")"))))) (; ";")) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" (identifier "uVar5") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n                iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n                uVar5 = 2;\n                if (iVar6 != 0) {\n                  uVar5 = 0;\n                }\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n              }" (else "else") (compound_statement "{\n                iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n                uVar5 = 2;\n                if (iVar6 != 0) {\n                  uVar5 = 0;\n                }\n                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n              }" ({ "{") (expression_statement "iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);" (assignment_expression "iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10)" (identifier "iVar6") (= "=") (call_expression "(*(code *)PTR_strtoul_003a9340)(iVar6,0,10)" (parenthesized_expression "(*(code *)PTR_strtoul_003a9340)" (( "(") (pointer_expression "*(code *)PTR_strtoul_003a9340" (* "*") (cast_expression "(code *)PTR_strtoul_003a9340" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strtoul_003a9340"))) () ")")) (argument_list "(iVar6,0,10)" (( "(") (identifier "iVar6") (, ",") (number_literal "0") (, ",") (number_literal "10") () ")")))) (; ";")) (expression_statement "uVar5 = 2;" (assignment_expression "uVar5 = 2" (identifier "uVar5") (= "=") (number_literal "2")) (; ";")) (if_statement "if (iVar6 != 0) {\n                  uVar5 = 0;\n                }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                  uVar5 = 0;\n                }" ({ "{") (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" (identifier "uVar5") (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);" (assignment_expression "uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44)" (identifier "uVar8") (= "=") (pointer_expression "*(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44)" (* "*") (cast_expression "(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_2 + 0x3348) + 0x44)" (( "(") (binary_expression "*(int *)(param_2 + 0x3348) + 0x44" (pointer_expression "*(int *)(param_2 + 0x3348)" (* "*") (cast_expression "(int *)(param_2 + 0x3348)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x3348)" (( "(") (binary_expression "param_2 + 0x3348" (identifier "param_2") (+ "+") (number_literal "0x3348")) () ")")))) (+ "+") (number_literal "0x44")) () ")"))))) (; ";")) (} "}")))) (expression_statement "iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);" (assignment_expression "iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6)" (identifier "iVar6") (= "=") (call_expression "(*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6)" (parenthesized_expression "(*(code *)PTR_setvbuf_003a90f4)" (( "(") (pointer_expression "*(code *)PTR_setvbuf_003a90f4" (* "*") (cast_expression "(code *)PTR_setvbuf_003a90f4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_setvbuf_003a90f4"))) () ")")) (argument_list "(uVar8,0,uVar5,iVar6)" (( "(") (identifier "uVar8") (, ",") (number_literal "0") (, ",") (identifier "uVar5") (, ",") (identifier "iVar6") () ")")))) (; ";")) (expression_statement "uVar10 = (uint)(iVar6 == 0);" (assignment_expression "uVar10 = (uint)(iVar6 == 0)" (identifier "uVar10") (= "=") (call_expression "(uint)(iVar6 == 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")))) (; ";")) (goto_statement "goto LAB_00049c58;" (goto "goto") (statement_identifier "LAB_00049c58") (; ";")) (} "}"))) (expression_statement "puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();" (assignment_expression "puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)()" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_003a99b0)()" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR___errno_location_003a99b0)()" (parenthesized_expression "(*(code *)PTR___errno_location_003a99b0)" (( "(") (pointer_expression "*(code *)PTR___errno_location_003a99b0" (* "*") (cast_expression "(code *)PTR___errno_location_003a99b0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___errno_location_003a99b0"))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);" (assignment_expression "uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4)" (identifier "uVar5") (= "=") (call_expression "(*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4)" (parenthesized_expression "(*(code *)PTR_GetExceptionMessage_003a93ec)" (( "(") (pointer_expression "*(code *)PTR_GetExceptionMessage_003a93ec" (* "*") (cast_expression "(code *)PTR_GetExceptionMessage_003a93ec" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_GetExceptionMessage_003a93ec"))) () ")")) (argument_list "(*puVar4)" (( "(") (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) () ")")))) (; ";")) (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n                      (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n                      (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5)" (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_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,\n                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5)" (( "(") (identifier "param_4") (, ",") (binary_expression "PTR_LAB_003a88e0 + 0x1ad8" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x1ad8")) (, ",") (binary_expression "PTR_LAB_003a88e0 + 0x23cc" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x23cc")) (, ",") (number_literal "0xcf4") (, ",") (number_literal "0x1b3") (, ",") (binary_expression "PTR_LAB_003a88e0 + 0x1ec4" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x1ec4")) (, ",") (binary_expression "PTR_LAB_003a88e0 + 0xe78" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0xe78")) (, ",") (identifier "param_3") (, ",") (identifier "uVar5") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_DestroyString_003a9074)(uVar5);" (call_expression "(*(code *)PTR_DestroyString_003a9074)(uVar5)" (parenthesized_expression "(*(code *)PTR_DestroyString_003a9074)" (( "(") (pointer_expression "*(code *)PTR_DestroyString_003a9074" (* "*") (cast_expression "(code *)PTR_DestroyString_003a9074" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyString_003a9074"))) () ")")) (argument_list "(uVar5)" (( "(") (identifier "uVar5") () ")"))) (; ";")) (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" (identifier "uVar10") (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_00049c58;" (goto "goto") (statement_identifier "LAB_00049c58") (; ";")) (} "}"))) (} "}"))) (expression_statement "iVar6 = (*(code *)PTR_GetPathAttributes_003a9364)(param_3,unaff_s7 + 0x48);" (assignment_expression "iVar6 = (*(code *)PTR_GetPathAttributes_003a9364)(param_3,unaff_s7 + 0x48)" (identifier "iVar6") (= "=") (call_expression "(*(code *)PTR_GetPathAttributes_003a9364)(param_3,unaff_s7 + 0x48)" (parenthesized_expression "(*(code *)PTR_GetPathAttributes_003a9364)" (( "(") (pointer_expression "*(code *)PTR_GetPathAttributes_003a9364" (* "*") (cast_expression "(code *)PTR_GetPathAttributes_003a9364" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_GetPathAttributes_003a9364"))) () ")")) (argument_list "(param_3,unaff_s7 + 0x48)" (( "(") (identifier "param_3") (, ",") (binary_expression "unaff_s7 + 0x48" (identifier "unaff_s7") (+ "+") (number_literal "0x48")) () ")")))) (; ";")) (if_statement "if ((iVar6 == 0) || ((*(uint *)(unaff_s7 + 0x60) & 0xf000) != 0x1000)) {\n          (*(code *)PTR_GetPathComponent_003a8e18)(unaff_s6,6,local_302c);\n          if (*(int *)(param_1 + 0x204) != 0) {\n            *(int *)(unaff_s7 + 0x44) = *(int *)(param_1 + 0x204);\n            *(undefined4 *)(unaff_s7 + 0x38) = 0;\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            *(undefined4 *)(unaff_s7 + 0x30) = 1;\n            *(undefined4 *)(unaff_s7 + 0x1c) = 0;\n            goto LAB_00049e88;\n          }\n          iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n          *(int *)(unaff_s7 + 0x44) = iVar6;\n          puVar2 = PTR_GetImageOption_003a9168;\n          puVar1 = PTR_LAB_003a88e0;\n          if (iVar6 != 0) {\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n            if (iVar6 == 0) {\n              iVar6 = 0x4000;\n              iVar7 = 0;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            else {\n              iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n              iVar7 = (uint)(iVar6 == 0) << 1;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            (*(code *)PTR_setvbuf_003a90f4)(uVar5,0,iVar7,iVar6);\n            local_102c = 0;\n            local_102a = 0;\n            unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)\n                                 (&local_102c,1,3,*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fseeko64_003a9944)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fflush_003a948c)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0);\n            iVar6 = *(int *)(unaff_s7 + 0x40);\n            if (iVar6 != 1) goto LAB_0004a138;\n            uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(param_1 + 0x210,uVar5);\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);\n            if ((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)) &&\n                (unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar6 != 0)) {\n              uVar5 = (*(code *)PTR_fileno_003a99cc)(*(undefined4 *)(unaff_s7 + 0x44));\n              unaff_s6 = (*(code *)PTR_MapBlob_003a978c)(uVar5,0,0,0,unaff_s5);\n              if (unaff_s6 == 0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                iVar6 = *(int *)(unaff_s7 + 0x40);\n                goto LAB_0004a138;\n              }\n              pcVar9 = (code *)PTR_fclose_003a939c;\n              if (*(int *)(param_1 + 0x204) == 0) goto LAB_0004a850;\n              *(undefined4 *)(unaff_s7 + 0x30) = 0;\n              goto LAB_0004a650;\n            }\n          }\n          iVar6 = *(int *)(unaff_s7 + 0x40);\n          goto LAB_0004a138;\n        }" (if "if") (parenthesized_expression "((iVar6 == 0) || ((*(uint *)(unaff_s7 + 0x60) & 0xf000) != 0x1000))" (( "(") (binary_expression "(iVar6 == 0) || ((*(uint *)(unaff_s7 + 0x60) & 0xf000) != 0x1000)" (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "((*(uint *)(unaff_s7 + 0x60) & 0xf000) != 0x1000)" (( "(") (binary_expression "(*(uint *)(unaff_s7 + 0x60) & 0xf000) != 0x1000" (parenthesized_expression "(*(uint *)(unaff_s7 + 0x60) & 0xf000)" (( "(") (binary_expression "*(uint *)(unaff_s7 + 0x60) & 0xf000" (pointer_expression "*(uint *)(unaff_s7 + 0x60)" (* "*") (cast_expression "(uint *)(unaff_s7 + 0x60)" (( "(") (type_descriptor "uint *" (type_identifier "uint") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s7 + 0x60)" (( "(") (binary_expression "unaff_s7 + 0x60" (identifier "unaff_s7") (+ "+") (number_literal "0x60")) () ")")))) (& "&") (number_literal "0xf000")) () ")")) (!= "!=") (number_literal "0x1000")) () ")"))) () ")")) (compound_statement "{\n          (*(code *)PTR_GetPathComponent_003a8e18)(unaff_s6,6,local_302c);\n          if (*(int *)(param_1 + 0x204) != 0) {\n            *(int *)(unaff_s7 + 0x44) = *(int *)(param_1 + 0x204);\n            *(undefined4 *)(unaff_s7 + 0x38) = 0;\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            *(undefined4 *)(unaff_s7 + 0x30) = 1;\n            *(undefined4 *)(unaff_s7 + 0x1c) = 0;\n            goto LAB_00049e88;\n          }\n          iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);\n          *(int *)(unaff_s7 + 0x44) = iVar6;\n          puVar2 = PTR_GetImageOption_003a9168;\n          puVar1 = PTR_LAB_003a88e0;\n          if (iVar6 != 0) {\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n            if (iVar6 == 0) {\n              iVar6 = 0x4000;\n              iVar7 = 0;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            else {\n              iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n              iVar7 = (uint)(iVar6 == 0) << 1;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            (*(code *)PTR_setvbuf_003a90f4)(uVar5,0,iVar7,iVar6);\n            local_102c = 0;\n            local_102a = 0;\n            unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)\n                                 (&local_102c,1,3,*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fseeko64_003a9944)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fflush_003a948c)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0);\n            iVar6 = *(int *)(unaff_s7 + 0x40);\n            if (iVar6 != 1) goto LAB_0004a138;\n            uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(param_1 + 0x210,uVar5);\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);\n            if ((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)) &&\n                (unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar6 != 0)) {\n              uVar5 = (*(code *)PTR_fileno_003a99cc)(*(undefined4 *)(unaff_s7 + 0x44));\n              unaff_s6 = (*(code *)PTR_MapBlob_003a978c)(uVar5,0,0,0,unaff_s5);\n              if (unaff_s6 == 0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                iVar6 = *(int *)(unaff_s7 + 0x40);\n                goto LAB_0004a138;\n              }\n              pcVar9 = (code *)PTR_fclose_003a939c;\n              if (*(int *)(param_1 + 0x204) == 0) goto LAB_0004a850;\n              *(undefined4 *)(unaff_s7 + 0x30) = 0;\n              goto LAB_0004a650;\n            }\n          }\n          iVar6 = *(int *)(unaff_s7 + 0x40);\n          goto LAB_0004a138;\n        }" ({ "{") (expression_statement "(*(code *)PTR_GetPathComponent_003a8e18)(unaff_s6,6,local_302c);" (call_expression "(*(code *)PTR_GetPathComponent_003a8e18)(unaff_s6,6,local_302c)" (parenthesized_expression "(*(code *)PTR_GetPathComponent_003a8e18)" (( "(") (pointer_expression "*(code *)PTR_GetPathComponent_003a8e18" (* "*") (cast_expression "(code *)PTR_GetPathComponent_003a8e18" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_GetPathComponent_003a8e18"))) () ")")) (argument_list "(unaff_s6,6,local_302c)" (( "(") (identifier "unaff_s6") (, ",") (number_literal "6") (, ",") (identifier "local_302c") () ")"))) (; ";")) (if_statement "if (*(int *)(param_1 + 0x204) != 0) {\n            *(int *)(unaff_s7 + 0x44) = *(int *)(param_1 + 0x204);\n            *(undefined4 *)(unaff_s7 + 0x38) = 0;\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            *(undefined4 *)(unaff_s7 + 0x30) = 1;\n            *(undefined4 *)(unaff_s7 + 0x1c) = 0;\n            goto LAB_00049e88;\n          }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x204) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x204) != 0" (pointer_expression "*(int *)(param_1 + 0x204)" (* "*") (cast_expression "(int *)(param_1 + 0x204)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x204)" (( "(") (binary_expression "param_1 + 0x204" (identifier "param_1") (+ "+") (number_literal "0x204")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            *(int *)(unaff_s7 + 0x44) = *(int *)(param_1 + 0x204);\n            *(undefined4 *)(unaff_s7 + 0x38) = 0;\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            *(undefined4 *)(unaff_s7 + 0x30) = 1;\n            *(undefined4 *)(unaff_s7 + 0x1c) = 0;\n            goto LAB_00049e88;\n          }" ({ "{") (expression_statement "*(int *)(unaff_s7 + 0x44) = *(int *)(param_1 + 0x204);" (assignment_expression "*(int *)(unaff_s7 + 0x44) = *(int *)(param_1 + 0x204)" (pointer_expression "*(int *)(unaff_s7 + 0x44)" (* "*") (cast_expression "(int *)(unaff_s7 + 0x44)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s7 + 0x44)" (( "(") (binary_expression "unaff_s7 + 0x44" (identifier "unaff_s7") (+ "+") (number_literal "0x44")) () ")")))) (= "=") (pointer_expression "*(int *)(param_1 + 0x204)" (* "*") (cast_expression "(int *)(param_1 + 0x204)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x204)" (( "(") (binary_expression "param_1 + 0x204" (identifier "param_1") (+ "+") (number_literal "0x204")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(unaff_s7 + 0x38) = 0;" (assignment_expression "*(undefined4 *)(unaff_s7 + 0x38) = 0" (pointer_expression "*(undefined4 *)(unaff_s7 + 0x38)" (* "*") (cast_expression "(undefined4 *)(unaff_s7 + 0x38)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s7 + 0x38)" (( "(") (binary_expression "unaff_s7 + 0x38" (identifier "unaff_s7") (+ "+") (number_literal "0x38")) () ")")))) (= "=") (number_literal "0")) (; ";")) (expression_statement "*(undefined4 *)(unaff_s7 + 0x40) = 1;" (assignment_expression "*(undefined4 *)(unaff_s7 + 0x40) = 1" (pointer_expression "*(undefined4 *)(unaff_s7 + 0x40)" (* "*") (cast_expression "(undefined4 *)(unaff_s7 + 0x40)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s7 + 0x40)" (( "(") (binary_expression "unaff_s7 + 0x40" (identifier "unaff_s7") (+ "+") (number_literal "0x40")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "*(undefined4 *)(unaff_s7 + 0x30) = 1;" (assignment_expression "*(undefined4 *)(unaff_s7 + 0x30) = 1" (pointer_expression "*(undefined4 *)(unaff_s7 + 0x30)" (* "*") (cast_expression "(undefined4 *)(unaff_s7 + 0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s7 + 0x30)" (( "(") (binary_expression "unaff_s7 + 0x30" (identifier "unaff_s7") (+ "+") (number_literal "0x30")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "*(undefined4 *)(unaff_s7 + 0x1c) = 0;" (assignment_expression "*(undefined4 *)(unaff_s7 + 0x1c) = 0" (pointer_expression "*(undefined4 *)(unaff_s7 + 0x1c)" (* "*") (cast_expression "(undefined4 *)(unaff_s7 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s7 + 0x1c)" (( "(") (binary_expression "unaff_s7 + 0x1c" (identifier "unaff_s7") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_00049e88;" (goto "goto") (statement_identifier "LAB_00049e88") (; ";")) (} "}"))) (expression_statement "iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);" (assignment_expression "iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5)" (identifier "iVar6") (= "=") (call_expression "(*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5)" (parenthesized_expression "(*(code *)PTR_fopen64_003a8c68)" (( "(") (pointer_expression "*(code *)PTR_fopen64_003a8c68" (* "*") (cast_expression "(code *)PTR_fopen64_003a8c68" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fopen64_003a8c68"))) () ")")) (argument_list "(param_3,unaff_s5)" (( "(") (identifier "param_3") (, ",") (identifier "unaff_s5") () ")")))) (; ";")) (expression_statement "*(int *)(unaff_s7 + 0x44) = iVar6;" (assignment_expression "*(int *)(unaff_s7 + 0x44) = iVar6" (pointer_expression "*(int *)(unaff_s7 + 0x44)" (* "*") (cast_expression "(int *)(unaff_s7 + 0x44)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s7 + 0x44)" (( "(") (binary_expression "unaff_s7 + 0x44" (identifier "unaff_s7") (+ "+") (number_literal "0x44")) () ")")))) (= "=") (identifier "iVar6")) (; ";")) (expression_statement "puVar2 = PTR_GetImageOption_003a9168;" (assignment_expression "puVar2 = PTR_GetImageOption_003a9168" (identifier "puVar2") (= "=") (identifier "PTR_GetImageOption_003a9168")) (; ";")) (expression_statement "puVar1 = PTR_LAB_003a88e0;" (assignment_expression "puVar1 = PTR_LAB_003a88e0" (identifier "puVar1") (= "=") (identifier "PTR_LAB_003a88e0")) (; ";")) (if_statement "if (iVar6 != 0) {\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n            if (iVar6 == 0) {\n              iVar6 = 0x4000;\n              iVar7 = 0;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            else {\n              iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n              iVar7 = (uint)(iVar6 == 0) << 1;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            (*(code *)PTR_setvbuf_003a90f4)(uVar5,0,iVar7,iVar6);\n            local_102c = 0;\n            local_102a = 0;\n            unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)\n                                 (&local_102c,1,3,*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fseeko64_003a9944)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fflush_003a948c)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0);\n            iVar6 = *(int *)(unaff_s7 + 0x40);\n            if (iVar6 != 1) goto LAB_0004a138;\n            uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(param_1 + 0x210,uVar5);\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);\n            if ((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)) &&\n                (unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar6 != 0)) {\n              uVar5 = (*(code *)PTR_fileno_003a99cc)(*(undefined4 *)(unaff_s7 + 0x44));\n              unaff_s6 = (*(code *)PTR_MapBlob_003a978c)(uVar5,0,0,0,unaff_s5);\n              if (unaff_s6 == 0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                iVar6 = *(int *)(unaff_s7 + 0x40);\n                goto LAB_0004a138;\n              }\n              pcVar9 = (code *)PTR_fclose_003a939c;\n              if (*(int *)(param_1 + 0x204) == 0) goto LAB_0004a850;\n              *(undefined4 *)(unaff_s7 + 0x30) = 0;\n              goto LAB_0004a650;\n            }\n          }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            *(undefined4 *)(unaff_s7 + 0x40) = 1;\n            iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);\n            if (iVar6 == 0) {\n              iVar6 = 0x4000;\n              iVar7 = 0;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            else {\n              iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n              iVar7 = (uint)(iVar6 == 0) << 1;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            (*(code *)PTR_setvbuf_003a90f4)(uVar5,0,iVar7,iVar6);\n            local_102c = 0;\n            local_102a = 0;\n            unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)\n                                 (&local_102c,1,3,*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fseeko64_003a9944)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_fflush_003a948c)(*(undefined4 *)(unaff_s7 + 0x44));\n            (*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0);\n            iVar6 = *(int *)(unaff_s7 + 0x40);\n            if (iVar6 != 1) goto LAB_0004a138;\n            uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();\n            unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(param_1 + 0x210,uVar5);\n            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);\n            if ((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)) &&\n                (unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar6 != 0)) {\n              uVar5 = (*(code *)PTR_fileno_003a99cc)(*(undefined4 *)(unaff_s7 + 0x44));\n              unaff_s6 = (*(code *)PTR_MapBlob_003a978c)(uVar5,0,0,0,unaff_s5);\n              if (unaff_s6 == 0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                iVar6 = *(int *)(unaff_s7 + 0x40);\n                goto LAB_0004a138;\n              }\n              pcVar9 = (code *)PTR_fclose_003a939c;\n              if (*(int *)(param_1 + 0x204) == 0) goto LAB_0004a850;\n              *(undefined4 *)(unaff_s7 + 0x30) = 0;\n              goto LAB_0004a650;\n            }\n          }" ({ "{") (expression_statement "*(undefined4 *)(unaff_s7 + 0x40) = 1;" (assignment_expression "*(undefined4 *)(unaff_s7 + 0x40) = 1" (pointer_expression "*(undefined4 *)(unaff_s7 + 0x40)" (* "*") (cast_expression "(undefined4 *)(unaff_s7 + 0x40)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s7 + 0x40)" (( "(") (binary_expression "unaff_s7 + 0x40" (identifier "unaff_s7") (+ "+") (number_literal "0x40")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);" (assignment_expression "iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac)" (identifier "iVar6") (= "=") (call_expression "(*(code *)puVar2)(param_1,puVar1 + 0x1eac)" (parenthesized_expression "(*(code *)puVar2)" (( "(") (pointer_expression "*(code *)puVar2" (* "*") (cast_expression "(code *)puVar2" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar2"))) () ")")) (argument_list "(param_1,puVar1 + 0x1eac)" (( "(") (identifier "param_1") (, ",") (binary_expression "puVar1 + 0x1eac" (identifier "puVar1") (+ "+") (number_literal "0x1eac")) () ")")))) (; ";")) (if_statement "if (iVar6 == 0) {\n              iVar6 = 0x4000;\n              iVar7 = 0;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }\n            else {\n              iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n              iVar7 = (uint)(iVar6 == 0) << 1;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n              iVar6 = 0x4000;\n              iVar7 = 0;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }" ({ "{") (expression_statement "iVar6 = 0x4000;" (assignment_expression "iVar6 = 0x4000" (identifier "iVar6") (= "=") (number_literal "0x4000")) (; ";")) (expression_statement "iVar7 = 0;" (assignment_expression "iVar7 = 0" (identifier "iVar7") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);" (assignment_expression "uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44)" (identifier "uVar5") (= "=") (pointer_expression "*(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44)" (* "*") (cast_expression "(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_2 + 0x3348) + 0x44)" (( "(") (binary_expression "*(int *)(param_2 + 0x3348) + 0x44" (pointer_expression "*(int *)(param_2 + 0x3348)" (* "*") (cast_expression "(int *)(param_2 + 0x3348)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x3348)" (( "(") (binary_expression "param_2 + 0x3348" (identifier "param_2") (+ "+") (number_literal "0x3348")) () ")")))) (+ "+") (number_literal "0x44")) () ")"))))) (; ";")) (} "}")) (else_clause "else {\n              iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n              iVar7 = (uint)(iVar6 == 0) << 1;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }" (else "else") (compound_statement "{\n              iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n              iVar7 = (uint)(iVar6 == 0) << 1;\n              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n            }" ({ "{") (expression_statement "iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);" (assignment_expression "iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10)" (identifier "iVar6") (= "=") (call_expression "(*(code *)PTR_strtoul_003a9340)(iVar6,0,10)" (parenthesized_expression "(*(code *)PTR_strtoul_003a9340)" (( "(") (pointer_expression "*(code *)PTR_strtoul_003a9340" (* "*") (cast_expression "(code *)PTR_strtoul_003a9340" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strtoul_003a9340"))) () ")")) (argument_list "(iVar6,0,10)" (( "(") (identifier "iVar6") (, ",") (number_literal "0") (, ",") (number_literal "10") () ")")))) (; ";")) (expression_statement "iVar7 = (uint)(iVar6 == 0) << 1;" (assignment_expression "iVar7 = (uint)(iVar6 == 0) << 1" (identifier "iVar7") (= "=") (binary_expression "(uint)(iVar6 == 0) << 1" (call_expression "(uint)(iVar6 == 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")"))) (<< "<<") (number_literal "1"))) (; ";")) (expression_statement "uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);" (assignment_expression "uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44)" (identifier "uVar5") (= "=") (pointer_expression "*(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44)" (* "*") (cast_expression "(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_2 + 0x3348) + 0x44)" (( "(") (binary_expression "*(int *)(param_2 + 0x3348) + 0x44" (pointer_expression "*(int *)(param_2 + 0x3348)" (* "*") (cast_expression "(int *)(param_2 + 0x3348)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x3348)" (( "(") (binary_expression "param_2 + 0x3348" (identifier "param_2") (+ "+") (number_literal "0x3348")) () ")")))) (+ "+") (number_literal "0x44")) () ")"))))) (; ";")) (} "}")))) (expression_statement "(*(code *)PTR_setvbuf_003a90f4)(uVar5,0,iVar7,iVar6);" (call_expression "(*(code *)PTR_setvbuf_003a90f4)(uVar5,0,iVar7,iVar6)" (parenthesized_expression "(*(code *)PTR_setvbuf_003a90f4)" (( "(") (pointer_expression "*(code *)PTR_setvbuf_003a90f4" (* "*") (cast_expression "(code *)PTR_setvbuf_003a90f4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_setvbuf_003a90f4"))) () ")")) (argument_list "(uVar5,0,iVar7,iVar6)" (( "(") (identifier "uVar5") (, ",") (number_literal "0") (, ",") (identifier "iVar7") (, ",") (identifier "iVar6") () ")"))) (; ";")) (expression_statement "local_102c = 0;" (assignment_expression "local_102c = 0" (identifier "local_102c") (= "=") (number_literal "0")) (; ";")) (expression_statement "local_102a = 0;" (assignment_expression "local_102a = 0" (identifier "local_102a") (= "=") (number_literal "0")) (; ";")) (expression_statement "unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)\n                                 (&local_102c,1,3,*(undefined4 *)(unaff_s7 + 0x44));" (assignment_expression "unaff_s5 = (undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)\n                                 (&local_102c,1,3,*(undefined4 *)(unaff_s7 + 0x44))" (identifier "unaff_s5") (= "=") (cast_expression "(undefined1 *)\n                       (*(code *)PTR_fread_003a8db8)\n                                 (&local_102c,1,3,*(undefined4 *)(unaff_s7 + 0x44))" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_fread_003a8db8)\n                                 (&local_102c,1,3,*(undefined4 *)(unaff_s7 + 0x44))" (parenthesized_expression "(*(code *)PTR_fread_003a8db8)" (( "(") (pointer_expression "*(code *)PTR_fread_003a8db8" (* "*") (cast_expression "(code *)PTR_fread_003a8db8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fread_003a8db8"))) () ")")) (argument_list "(&local_102c,1,3,*(undefined4 *)(unaff_s7 + 0x44))" (( "(") (pointer_expression "&local_102c" (& "&") (identifier "local_102c")) (, ",") (number_literal "1") (, ",") (number_literal "3") (, ",") (pointer_expression "*(undefined4 *)(unaff_s7 + 0x44)" (* "*") (cast_expression "(undefined4 *)(unaff_s7 + 0x44)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s7 + 0x44)" (( "(") (binary_expression "unaff_s7 + 0x44" (identifier "unaff_s7") (+ "+") (number_literal "0x44")) () ")")))) () ")"))))) (; ";")) (expression_statement "(*(code *)PTR_fseeko64_003a9944)(*(undefined4 *)(unaff_s7 + 0x44));" (call_expression "(*(code *)PTR_fseeko64_003a9944)(*(undefined4 *)(unaff_s7 + 0x44))" (parenthesized_expression "(*(code *)PTR_fseeko64_003a9944)" (( "(") (pointer_expression "*(code *)PTR_fseeko64_003a9944" (* "*") (cast_expression "(code *)PTR_fseeko64_003a9944" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fseeko64_003a9944"))) () ")")) (argument_list "(*(undefined4 *)(unaff_s7 + 0x44))" (( "(") (pointer_expression "*(undefined4 *)(unaff_s7 + 0x44)" (* "*") (cast_expression "(undefined4 *)(unaff_s7 + 0x44)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s7 + 0x44)" (( "(") (binary_expression "unaff_s7 + 0x44" (identifier "unaff_s7") (+ "+") (number_literal "0x44")) () ")")))) () ")"))) (; ";")) (expression_statement "(*(code *)PTR_fflush_003a948c)(*(undefined4 *)(unaff_s7 + 0x44));" (call_expression "(*(code *)PTR_fflush_003a948c)(*(undefined4 *)(unaff_s7 + 0x44))" (parenthesized_expression "(*(code *)PTR_fflush_003a948c)" (( "(") (pointer_expression "*(code *)PTR_fflush_003a948c" (* "*") (cast_expression "(code *)PTR_fflush_003a948c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fflush_003a948c"))) () ")")) (argument_list "(*(undefined4 *)(unaff_s7 + 0x44))" (( "(") (pointer_expression "*(undefined4 *)(unaff_s7 + 0x44)" (* "*") (cast_expression "(undefined4 *)(unaff_s7 + 0x44)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s7 + 0x44)" (( "(") (binary_expression "unaff_s7 + 0x44" (identifier "unaff_s7") (+ "+") (number_literal "0x44")) () ")")))) () ")"))) (; ";")) (expression_statement "(*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0);" (call_expression "(*(code *)PTR_LogMagickEvent_003a91e0)\n                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0)" (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 "(4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,\n                       PTR_LAB_003a88e0 + 0x1ef0)" (( "(") (number_literal "4") (, ",") (binary_expression "PTR_LAB_003a88e0 + 0x1ad8" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x1ad8")) (, ",") (binary_expression "PTR_LAB_003a88e0 + 0x23cc" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x23cc")) (, ",") (number_literal "0xd66") (, ",") (binary_expression "PTR_LAB_003a88e0 + 0x1ef0" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x1ef0")) () ")"))) (; ";")) (expression_statement "iVar6 = *(int *)(unaff_s7 + 0x40);" (assignment_expression "iVar6 = *(int *)(unaff_s7 + 0x40)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(unaff_s7 + 0x40)" (* "*") (cast_expression "(int *)(unaff_s7 + 0x40)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s7 + 0x40)" (( "(") (binary_expression "unaff_s7 + 0x40" (identifier "unaff_s7") (+ "+") (number_literal "0x40")) () ")"))))) (; ";")) (if_statement "if (iVar6 != 1) goto LAB_0004a138;" (if "if") (parenthesized_expression "(iVar6 != 1)" (( "(") (binary_expression "iVar6 != 1" (identifier "iVar6") (!= "!=") (number_literal "1")) () ")")) (goto_statement "goto LAB_0004a138;" (goto "goto") (statement_identifier "LAB_0004a138") (; ";"))) (expression_statement "uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();" (assignment_expression "uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)()" (identifier "uVar5") (= "=") (call_expression "(*(code *)PTR_AcquireExceptionInfo_003a8eec)()" (parenthesized_expression "(*(code *)PTR_AcquireExceptionInfo_003a8eec)" (( "(") (pointer_expression "*(code *)PTR_AcquireExceptionInfo_003a8eec" (* "*") (cast_expression "(code *)PTR_AcquireExceptionInfo_003a8eec" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_AcquireExceptionInfo_003a8eec"))) () ")")) (argument_list "()" (( "(") () ")")))) (; ";")) (expression_statement "unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(param_1 + 0x210,uVar5);" (assignment_expression "unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(param_1 + 0x210,uVar5)" (identifier "unaff_s5") (= "=") (cast_expression "(undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(param_1 + 0x210,uVar5)" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_GetMagickInfo_003a940c)(param_1 + 0x210,uVar5)" (parenthesized_expression "(*(code *)PTR_GetMagickInfo_003a940c)" (( "(") (pointer_expression "*(code *)PTR_GetMagickInfo_003a940c" (* "*") (cast_expression "(code *)PTR_GetMagickInfo_003a940c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_GetMagickInfo_003a940c"))) () ")")) (argument_list "(param_1 + 0x210,uVar5)" (( "(") (binary_expression "param_1 + 0x210" (identifier "param_1") (+ "+") (number_literal "0x210")) (, ",") (identifier "uVar5") () ")"))))) (; ";")) (expression_statement "(*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);" (call_expression "(*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5)" (parenthesized_expression "(*(code *)PTR_DestroyExceptionInfo_003a8d50)" (( "(") (pointer_expression "*(code *)PTR_DestroyExceptionInfo_003a8d50" (* "*") (cast_expression "(code *)PTR_DestroyExceptionInfo_003a8d50" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyExceptionInfo_003a8d50"))) () ")")) (argument_list "(uVar5)" (( "(") (identifier "uVar5") () ")"))) (; ";")) (if_statement "if ((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)) &&\n                (unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar6 != 0)) {\n              uVar5 = (*(code *)PTR_fileno_003a99cc)(*(undefined4 *)(unaff_s7 + 0x44));\n              unaff_s6 = (*(code *)PTR_MapBlob_003a978c)(uVar5,0,0,0,unaff_s5);\n              if (unaff_s6 == 0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                iVar6 = *(int *)(unaff_s7 + 0x40);\n                goto LAB_0004a138;\n              }\n              pcVar9 = (code *)PTR_fclose_003a939c;\n              if (*(int *)(param_1 + 0x204) == 0) goto LAB_0004a850;\n              *(undefined4 *)(unaff_s7 + 0x30) = 0;\n              goto LAB_0004a650;\n            }" (if "if") (parenthesized_expression "((((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)) &&\n                (unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar6 != 0))" (( "(") (binary_expression "(((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)) &&\n                (unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&\n               (iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar6 != 0)" (parenthesized_expression "(((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)) &&\n                (unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5))" (( "(") (binary_expression "((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)) &&\n                (unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)" (parenthesized_expression "((unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0))" (( "(") (binary_expression "(unaff_s5 != (undefined1 *)0x0) &&\n                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)" (parenthesized_expression "(unaff_s5 != (undefined1 *)0x0)" (( "(") (binary_expression "unaff_s5 != (undefined1 *)0x0" (identifier "unaff_s5") (!= "!=") (cast_expression "(undefined1 *)0x0" (( "(") (type_descriptor "undefined1 *" (type_identifier "undefined1") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (&& "&&") (parenthesized_expression "(iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)" (( "(") (comma_expression "iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0" (assignment_expression "iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5)" (identifier "iVar6") (= "=") (call_expression "(*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5)" (parenthesized_expression "(*(code *)PTR_GetMagickBlobSupport_003a9774)" (( "(") (pointer_expression "*(code *)PTR_GetMagickBlobSupport_003a9774" (* "*") (cast_expression "(code *)PTR_GetMagickBlobSupport_003a9774" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_GetMagickBlobSupport_003a9774"))) () ")")) (argument_list "(unaff_s5)" (( "(") (identifier "unaff_s5") () ")")))) (, ",") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5)" (( "(") (comma_expression "unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),\n                &__DT_SYMTAB[0x16e].st_size < unaff_s5" (assignment_expression "unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84)" (identifier "unaff_s5") (= "=") (pointer_expression "*(undefined1 **)(unaff_s7 + 0x84)" (* "*") (cast_expression "(undefined1 **)(unaff_s7 + 0x84)" (( "(") (type_descriptor "undefined1 **" (type_identifier "undefined1") (abstract_pointer_declarator "**" (* "*") (abstract_pointer_declarator "*" (* "*")))) () ")") (parenthesized_expression "(unaff_s7 + 0x84)" (( "(") (binary_expression "unaff_s7 + 0x84" (identifier "unaff_s7") (+ "+") (number_literal "0x84")) () ")"))))) (, ",") (binary_expression "&__DT_SYMTAB[0x16e].st_size < unaff_s5" (pointer_expression "&__DT_SYMTAB[0x16e].st_size" (& "&") (field_expression "__DT_SYMTAB[0x16e].st_size" (subscript_expression "__DT_SYMTAB[0x16e]" (identifier "__DT_SYMTAB") ([ "[") (number_literal "0x16e") (] "]")) (. ".") (field_identifier "st_size"))) (< "<") (identifier "unaff_s5"))) () ")"))) () ")")) (&& "&&") (parenthesized_expression "(iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar6 != 0)" (( "(") (comma_expression "iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar6 != 0" (assignment_expression "iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5)" (identifier "iVar6") (= "=") (call_expression "(*(code *)PTR_AcquireMagickResource_003a981c)(5)" (parenthesized_expression "(*(code *)PTR_AcquireMagickResource_003a981c)" (( "(") (pointer_expression "*(code *)PTR_AcquireMagickResource_003a981c" (* "*") (cast_expression "(code *)PTR_AcquireMagickResource_003a981c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_AcquireMagickResource_003a981c"))) () ")")) (argument_list "(5)" (( "(") (number_literal "5") () ")")))) (, ",") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n              uVar5 = (*(code *)PTR_fileno_003a99cc)(*(undefined4 *)(unaff_s7 + 0x44));\n              unaff_s6 = (*(code *)PTR_MapBlob_003a978c)(uVar5,0,0,0,unaff_s5);\n              if (unaff_s6 == 0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                iVar6 = *(int *)(unaff_s7 + 0x40);\n                goto LAB_0004a138;\n              }\n              pcVar9 = (code *)PTR_fclose_003a939c;\n              if (*(int *)(param_1 + 0x204) == 0) goto LAB_0004a850;\n              *(undefined4 *)(unaff_s7 + 0x30) = 0;\n              goto LAB_0004a650;\n            }" ({ "{") (expression_statement "uVar5 = (*(code *)PTR_fileno_003a99cc)(*(undefined4 *)(unaff_s7 + 0x44));" (assignment_expression "uVar5 = (*(code *)PTR_fileno_003a99cc)(*(undefined4 *)(unaff_s7 + 0x44))" (identifier "uVar5") (= "=") (call_expression "(*(code *)PTR_fileno_003a99cc)(*(undefined4 *)(unaff_s7 + 0x44))" (parenthesized_expression "(*(code *)PTR_fileno_003a99cc)" (( "(") (pointer_expression "*(code *)PTR_fileno_003a99cc" (* "*") (cast_expression "(code *)PTR_fileno_003a99cc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fileno_003a99cc"))) () ")")) (argument_list "(*(undefined4 *)(unaff_s7 + 0x44))" (( "(") (pointer_expression "*(undefined4 *)(unaff_s7 + 0x44)" (* "*") (cast_expression "(undefined4 *)(unaff_s7 + 0x44)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s7 + 0x44)" (( "(") (binary_expression "unaff_s7 + 0x44" (identifier "unaff_s7") (+ "+") (number_literal "0x44")) () ")")))) () ")")))) (; ";")) (expression_statement "unaff_s6 = (*(code *)PTR_MapBlob_003a978c)(uVar5,0,0,0,unaff_s5);" (assignment_expression "unaff_s6 = (*(code *)PTR_MapBlob_003a978c)(uVar5,0,0,0,unaff_s5)" (identifier "unaff_s6") (= "=") (call_expression "(*(code *)PTR_MapBlob_003a978c)(uVar5,0,0,0,unaff_s5)" (parenthesized_expression "(*(code *)PTR_MapBlob_003a978c)" (( "(") (pointer_expression "*(code *)PTR_MapBlob_003a978c" (* "*") (cast_expression "(code *)PTR_MapBlob_003a978c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_MapBlob_003a978c"))) () ")")) (argument_list "(uVar5,0,0,0,unaff_s5)" (( "(") (identifier "uVar5") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (number_literal "0") (, ",") (identifier "unaff_s5") () ")")))) (; ";")) (if_statement "if (unaff_s6 == 0) {\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                iVar6 = *(int *)(unaff_s7 + 0x40);\n                goto LAB_0004a138;\n              }" (if "if") (parenthesized_expression "(unaff_s6 == 0)" (( "(") (binary_expression "unaff_s6 == 0" (identifier "unaff_s6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);\n                iVar6 = *(int *)(unaff_s7 + 0x40);\n                goto LAB_0004a138;\n              }" ({ "{") (expression_statement "(*(code *)PTR_RelinquishMagickResource_003a970c)(5);" (call_expression "(*(code *)PTR_RelinquishMagickResource_003a970c)(5)" (parenthesized_expression "(*(code *)PTR_RelinquishMagickResource_003a970c)" (( "(") (pointer_expression "*(code *)PTR_RelinquishMagickResource_003a970c" (* "*") (cast_expression "(code *)PTR_RelinquishMagickResource_003a970c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_RelinquishMagickResource_003a970c"))) () ")")) (argument_list "(5)" (( "(") (number_literal "5") () ")"))) (; ";")) (expression_statement "iVar6 = *(int *)(unaff_s7 + 0x40);" (assignment_expression "iVar6 = *(int *)(unaff_s7 + 0x40)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(unaff_s7 + 0x40)" (* "*") (cast_expression "(int *)(unaff_s7 + 0x40)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s7 + 0x40)" (( "(") (binary_expression "unaff_s7 + 0x40" (identifier "unaff_s7") (+ "+") (number_literal "0x40")) () ")"))))) (; ";")) (goto_statement "goto LAB_0004a138;" (goto "goto") (statement_identifier "LAB_0004a138") (; ";")) (} "}"))) (expression_statement "pcVar9 = (code *)PTR_fclose_003a939c;" (assignment_expression "pcVar9 = (code *)PTR_fclose_003a939c" (identifier "pcVar9") (= "=") (cast_expression "(code *)PTR_fclose_003a939c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fclose_003a939c"))) (; ";")) (if_statement "if (*(int *)(param_1 + 0x204) == 0) goto LAB_0004a850;" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x204) == 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x204) == 0" (pointer_expression "*(int *)(param_1 + 0x204)" (* "*") (cast_expression "(int *)(param_1 + 0x204)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x204)" (( "(") (binary_expression "param_1 + 0x204" (identifier "param_1") (+ "+") (number_literal "0x204")) () ")")))) (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_0004a850;" (goto "goto") (statement_identifier "LAB_0004a850") (; ";"))) (expression_statement "*(undefined4 *)(unaff_s7 + 0x30) = 0;" (assignment_expression "*(undefined4 *)(unaff_s7 + 0x30) = 0" (pointer_expression "*(undefined4 *)(unaff_s7 + 0x30)" (* "*") (cast_expression "(undefined4 *)(unaff_s7 + 0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s7 + 0x30)" (( "(") (binary_expression "unaff_s7 + 0x30" (identifier "unaff_s7") (+ "+") (number_literal "0x30")) () ")")))) (= "=") (number_literal "0")) (; ";")) (goto_statement "goto LAB_0004a650;" (goto "goto") (statement_identifier "LAB_0004a650") (; ";")) (} "}"))) (} "}"))) (expression_statement "iVar6 = *(int *)(unaff_s7 + 0x40);" (assignment_expression "iVar6 = *(int *)(unaff_s7 + 0x40)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(unaff_s7 + 0x40)" (* "*") (cast_expression "(int *)(unaff_s7 + 0x40)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s7 + 0x40)" (( "(") (binary_expression "unaff_s7 + 0x40" (identifier "unaff_s7") (+ "+") (number_literal "0x40")) () ")"))))) (; ";")) (goto_statement "goto LAB_0004a138;" (goto "goto") (statement_identifier "LAB_0004a138") (; ";")) (} "}"))) (expression_statement "iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);" (assignment_expression "iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5)" (identifier "iVar6") (= "=") (call_expression "(*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5)" (parenthesized_expression "(*(code *)PTR_fopen64_003a8c68)" (( "(") (pointer_expression "*(code *)PTR_fopen64_003a8c68" (* "*") (cast_expression "(code *)PTR_fopen64_003a8c68" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_fopen64_003a8c68"))) () ")")) (argument_list "(param_3,unaff_s5)" (( "(") (identifier "param_3") (, ",") (identifier "unaff_s5") () ")")))) (; ";")) (expression_statement "*(int *)(unaff_s7 + 0x44) = iVar6;" (assignment_expression "*(int *)(unaff_s7 + 0x44) = iVar6" (pointer_expression "*(int *)(unaff_s7 + 0x44)" (* "*") (cast_expression "(int *)(unaff_s7 + 0x44)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s7 + 0x44)" (( "(") (binary_expression "unaff_s7 + 0x44" (identifier "unaff_s7") (+ "+") (number_literal "0x44")) () ")")))) (= "=") (identifier "iVar6")) (; ";")) (expression_statement "puVar2 = PTR_GetImageOption_003a9168;" (assignment_expression "puVar2 = PTR_GetImageOption_003a9168" (identifier "puVar2") (= "=") (identifier "PTR_GetImageOption_003a9168")) (; ";")) (expression_statement "puVar1 = PTR_LAB_003a88e0;" (assignment_expression "puVar1 = PTR_LAB_003a88e0" (identifier "puVar1") (= "=") (identifier "PTR_LAB_003a88e0")) (; ";")) (if_statement "if (iVar6 == 0) {\n          puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n          uVar8 = 0xd23;\n          goto LAB_0004a16c;\n        }" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n          uVar8 = 0xd23;\n          goto LAB_0004a16c;\n        }" ({ "{") (expression_statement "puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();" (assignment_expression "puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)()" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_003a99b0)()" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR___errno_location_003a99b0)()" (parenthesized_expression "(*(code *)PTR___errno_location_003a99b0)" (( "(") (pointer_expression "*(code *)PTR___errno_location_003a99b0" (* "*") (cast_expression "(code *)PTR___errno_location_003a99b0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___errno_location_003a99b0"))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);" (assignment_expression "uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4)" (identifier "uVar5") (= "=") (call_expression "(*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4)" (parenthesized_expression "(*(code *)PTR_GetExceptionMessage_003a93ec)" (( "(") (pointer_expression "*(code *)PTR_GetExceptionMessage_003a93ec" (* "*") (cast_expression "(code *)PTR_GetExceptionMessage_003a93ec" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_GetExceptionMessage_003a93ec"))) () ")")) (argument_list "(*puVar4)" (( "(") (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) () ")")))) (; ";")) (expression_statement "uVar8 = 0xd23;" (assignment_expression "uVar8 = 0xd23" (identifier "uVar8") (= "=") (number_literal "0xd23")) (; ";")) (goto_statement "goto LAB_0004a16c;" (goto "goto") (statement_identifier "LAB_0004a16c") (; ";")) (} "}"))) (expression_statement "*(undefined4 *)(unaff_s7 + 0x40) = 1;" (assignment_expression "*(undefined4 *)(unaff_s7 + 0x40) = 1" (pointer_expression "*(undefined4 *)(unaff_s7 + 0x40)" (* "*") (cast_expression "(undefined4 *)(unaff_s7 + 0x40)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s7 + 0x40)" (( "(") (binary_expression "unaff_s7 + 0x40" (identifier "unaff_s7") (+ "+") (number_literal "0x40")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "*(undefined4 *)(unaff_s7 + 0x30) = 1;" (assignment_expression "*(undefined4 *)(unaff_s7 + 0x30) = 1" (pointer_expression "*(undefined4 *)(unaff_s7 + 0x30)" (* "*") (cast_expression "(undefined4 *)(unaff_s7 + 0x30)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s7 + 0x30)" (( "(") (binary_expression "unaff_s7 + 0x30" (identifier "unaff_s7") (+ "+") (number_literal "0x30")) () ")")))) (= "=") (number_literal "1")) (; ";")) (expression_statement "iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);" (assignment_expression "iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac)" (identifier "iVar6") (= "=") (call_expression "(*(code *)puVar2)(param_1,puVar1 + 0x1eac)" (parenthesized_expression "(*(code *)puVar2)" (( "(") (pointer_expression "*(code *)puVar2" (* "*") (cast_expression "(code *)puVar2" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar2"))) () ")")) (argument_list "(param_1,puVar1 + 0x1eac)" (( "(") (identifier "param_1") (, ",") (binary_expression "puVar1 + 0x1eac" (identifier "puVar1") (+ "+") (number_literal "0x1eac")) () ")")))) (; ";")) (if_statement "if (iVar6 != 0) {\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);\n          uVar5 = 2;\n          if (iVar6 != 0) {\n            uVar5 = 0;\n          }\n          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);\n          goto LAB_00049fe8;\n        }" ({ "{") (expression_statement "iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);" (assignment_expression "iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10)" (identifier "iVar6") (= "=") (call_expression "(*(code *)PTR_strtoul_003a9340)(iVar6,0,10)" (parenthesized_expression "(*(code *)PTR_strtoul_003a9340)" (( "(") (pointer_expression "*(code *)PTR_strtoul_003a9340" (* "*") (cast_expression "(code *)PTR_strtoul_003a9340" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_strtoul_003a9340"))) () ")")) (argument_list "(iVar6,0,10)" (( "(") (identifier "iVar6") (, ",") (number_literal "0") (, ",") (number_literal "10") () ")")))) (; ";")) (expression_statement "uVar5 = 2;" (assignment_expression "uVar5 = 2" (identifier "uVar5") (= "=") (number_literal "2")) (; ";")) (if_statement "if (iVar6 != 0) {\n            uVar5 = 0;\n          }" (if "if") (parenthesized_expression "(iVar6 != 0)" (( "(") (binary_expression "iVar6 != 0" (identifier "iVar6") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            uVar5 = 0;\n          }" ({ "{") (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" (identifier "uVar5") (= "=") (number_literal "0")) (; ";")) (} "}"))) (expression_statement "uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);" (assignment_expression "uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44)" (identifier "uVar8") (= "=") (pointer_expression "*(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44)" (* "*") (cast_expression "(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_2 + 0x3348) + 0x44)" (( "(") (binary_expression "*(int *)(param_2 + 0x3348) + 0x44" (pointer_expression "*(int *)(param_2 + 0x3348)" (* "*") (cast_expression "(int *)(param_2 + 0x3348)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x3348)" (( "(") (binary_expression "param_2 + 0x3348" (identifier "param_2") (+ "+") (number_literal "0x3348")) () ")")))) (+ "+") (number_literal "0x44")) () ")"))))) (; ";")) (goto_statement "goto LAB_00049fe8;" (goto "goto") (statement_identifier "LAB_00049fe8") (; ";")) (} "}"))) (} "}")))) (expression_statement "iVar6 = 0x4000;" (assignment_expression "iVar6 = 0x4000" (identifier "iVar6") (= "=") (number_literal "0x4000")) (; ";")) (expression_statement "uVar5 = 0;" (assignment_expression "uVar5 = 0" (identifier "uVar5") (= "=") (number_literal "0")) (; ";")) (expression_statement "uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);" (assignment_expression "uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44)" (identifier "uVar8") (= "=") (pointer_expression "*(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44)" (* "*") (cast_expression "(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(*(int *)(param_2 + 0x3348) + 0x44)" (( "(") (binary_expression "*(int *)(param_2 + 0x3348) + 0x44" (pointer_expression "*(int *)(param_2 + 0x3348)" (* "*") (cast_expression "(int *)(param_2 + 0x3348)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_2 + 0x3348)" (( "(") (binary_expression "param_2 + 0x3348" (identifier "param_2") (+ "+") (number_literal "0x3348")) () ")")))) (+ "+") (number_literal "0x44")) () ")"))))) (; ";")) (labeled_statement "LAB_00049fe8:\n      iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);" (statement_identifier "LAB_00049fe8") (: ":") (expression_statement "iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);" (assignment_expression "iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6)" (identifier "iVar6") (= "=") (call_expression "(*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6)" (parenthesized_expression "(*(code *)PTR_setvbuf_003a90f4)" (( "(") (pointer_expression "*(code *)PTR_setvbuf_003a90f4" (* "*") (cast_expression "(code *)PTR_setvbuf_003a90f4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_setvbuf_003a90f4"))) () ")")) (argument_list "(uVar8,0,uVar5,iVar6)" (( "(") (identifier "uVar8") (, ",") (number_literal "0") (, ",") (identifier "uVar5") (, ",") (identifier "iVar6") () ")")))) (; ";"))) (expression_statement "uVar10 = (uint)(iVar6 == 0);" (assignment_expression "uVar10 = (uint)(iVar6 == 0)" (identifier "uVar10") (= "=") (call_expression "(uint)(iVar6 == 0)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")))) (; ";")) (goto_statement "goto LAB_00049c58;" (goto "goto") (statement_identifier "LAB_00049c58") (; ";")) (} "}"))) (} "}")))) (expression_statement "(*(code *)PTR___assert_fail_003a9608)\n            (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,PTR_LAB_003a88e0 + 0x1ad8);" (call_expression "(*(code *)PTR___assert_fail_003a9608)\n            (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,PTR_LAB_003a88e0 + 0x1ad8)" (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_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,PTR_LAB_003a88e0 + 0x1ad8)" (( "(") (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784" (identifier "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8") (+ "+") (number_literal "-0x3784")) (, ",") (binary_expression "PTR_LAB_003a88e0 + 0x1ad8" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x1ad8")) () ")"))) (; ";")) (labeled_statement "LAB_0004a824:\n  (*(code *)PTR___assert_fail_003a9608)(PTR_LAB_003a88e0 + 0xdd0,PTR_LAB_003a88e0 + 0x1ad8);" (statement_identifier "LAB_0004a824") (: ":") (expression_statement "(*(code *)PTR___assert_fail_003a9608)(PTR_LAB_003a88e0 + 0xdd0,PTR_LAB_003a88e0 + 0x1ad8);" (call_expression "(*(code *)PTR___assert_fail_003a9608)(PTR_LAB_003a88e0 + 0xdd0,PTR_LAB_003a88e0 + 0x1ad8)" (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 + 0xdd0,PTR_LAB_003a88e0 + 0x1ad8)" (( "(") (binary_expression "PTR_LAB_003a88e0 + 0xdd0" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0xdd0")) (, ",") (binary_expression "PTR_LAB_003a88e0 + 0x1ad8" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x1ad8")) () ")"))) (; ";"))) (do_statement "do {\n    pcVar9 = (code *)PTR___stack_chk_fail_003a9064;\n    (*(code *)PTR___stack_chk_fail_003a9064)();\nLAB_0004a850:\n    (*pcVar9)(*(undefined4 *)(unaff_s7 + 0x44));\n    *(undefined4 *)(unaff_s7 + 0x44) = 0;\nLAB_0004a650:\n    (*(code *)PTR_AttachBlob_003a92c8)(unaff_s7,unaff_s6,unaff_s5);\n    iVar6 = *(int *)(unaff_s7 + 0x40);\n    *(undefined4 *)(unaff_s7 + 0x10) = 1;\nLAB_0004a138:\n    *(undefined4 *)(unaff_s7 + 0x38) = 0;\n    *(undefined4 *)(unaff_s7 + 0x1c) = 0;\n    if (iVar6 == 0) {\n      puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n      uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n      uVar8 = 0xdd1;\nLAB_0004a16c:\n      uVar10 = 0;\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,uVar8,0x1b3,\n                 PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n      (*(code *)PTR_DestroyString_003a9074)(uVar5);\n    }\n    else {\nLAB_00049e88:\n      uVar10 = 1;\n      uVar11 = (*(code *)PTR_GetBlobSize_003a94b8)(param_2);\n      *(undefined8 *)(unaff_s7 + 0x28) = uVar11;\n    }\nLAB_00049c58:\n  } while (local_2c != *(int *)puVar3);" (do "do") (compound_statement "{\n    pcVar9 = (code *)PTR___stack_chk_fail_003a9064;\n    (*(code *)PTR___stack_chk_fail_003a9064)();\nLAB_0004a850:\n    (*pcVar9)(*(undefined4 *)(unaff_s7 + 0x44));\n    *(undefined4 *)(unaff_s7 + 0x44) = 0;\nLAB_0004a650:\n    (*(code *)PTR_AttachBlob_003a92c8)(unaff_s7,unaff_s6,unaff_s5);\n    iVar6 = *(int *)(unaff_s7 + 0x40);\n    *(undefined4 *)(unaff_s7 + 0x10) = 1;\nLAB_0004a138:\n    *(undefined4 *)(unaff_s7 + 0x38) = 0;\n    *(undefined4 *)(unaff_s7 + 0x1c) = 0;\n    if (iVar6 == 0) {\n      puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n      uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n      uVar8 = 0xdd1;\nLAB_0004a16c:\n      uVar10 = 0;\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,uVar8,0x1b3,\n                 PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n      (*(code *)PTR_DestroyString_003a9074)(uVar5);\n    }\n    else {\nLAB_00049e88:\n      uVar10 = 1;\n      uVar11 = (*(code *)PTR_GetBlobSize_003a94b8)(param_2);\n      *(undefined8 *)(unaff_s7 + 0x28) = uVar11;\n    }\nLAB_00049c58:\n  }" ({ "{") (expression_statement "pcVar9 = (code *)PTR___stack_chk_fail_003a9064;" (assignment_expression "pcVar9 = (code *)PTR___stack_chk_fail_003a9064" (identifier "pcVar9") (= "=") (cast_expression "(code *)PTR___stack_chk_fail_003a9064" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_003a9064"))) (; ";")) (expression_statement "(*(code *)PTR___stack_chk_fail_003a9064)();" (call_expression "(*(code *)PTR___stack_chk_fail_003a9064)()" (parenthesized_expression "(*(code *)PTR___stack_chk_fail_003a9064)" (( "(") (pointer_expression "*(code *)PTR___stack_chk_fail_003a9064" (* "*") (cast_expression "(code *)PTR___stack_chk_fail_003a9064" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_fail_003a9064"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (labeled_statement "LAB_0004a850:\n    (*pcVar9)(*(undefined4 *)(unaff_s7 + 0x44));" (statement_identifier "LAB_0004a850") (: ":") (expression_statement "(*pcVar9)(*(undefined4 *)(unaff_s7 + 0x44));" (call_expression "(*pcVar9)(*(undefined4 *)(unaff_s7 + 0x44))" (parenthesized_expression "(*pcVar9)" (( "(") (pointer_expression "*pcVar9" (* "*") (identifier "pcVar9")) () ")")) (argument_list "(*(undefined4 *)(unaff_s7 + 0x44))" (( "(") (pointer_expression "*(undefined4 *)(unaff_s7 + 0x44)" (* "*") (cast_expression "(undefined4 *)(unaff_s7 + 0x44)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s7 + 0x44)" (( "(") (binary_expression "unaff_s7 + 0x44" (identifier "unaff_s7") (+ "+") (number_literal "0x44")) () ")")))) () ")"))) (; ";"))) (expression_statement "*(undefined4 *)(unaff_s7 + 0x44) = 0;" (assignment_expression "*(undefined4 *)(unaff_s7 + 0x44) = 0" (pointer_expression "*(undefined4 *)(unaff_s7 + 0x44)" (* "*") (cast_expression "(undefined4 *)(unaff_s7 + 0x44)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s7 + 0x44)" (( "(") (binary_expression "unaff_s7 + 0x44" (identifier "unaff_s7") (+ "+") (number_literal "0x44")) () ")")))) (= "=") (number_literal "0")) (; ";")) (labeled_statement "LAB_0004a650:\n    (*(code *)PTR_AttachBlob_003a92c8)(unaff_s7,unaff_s6,unaff_s5);" (statement_identifier "LAB_0004a650") (: ":") (expression_statement "(*(code *)PTR_AttachBlob_003a92c8)(unaff_s7,unaff_s6,unaff_s5);" (call_expression "(*(code *)PTR_AttachBlob_003a92c8)(unaff_s7,unaff_s6,unaff_s5)" (parenthesized_expression "(*(code *)PTR_AttachBlob_003a92c8)" (( "(") (pointer_expression "*(code *)PTR_AttachBlob_003a92c8" (* "*") (cast_expression "(code *)PTR_AttachBlob_003a92c8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_AttachBlob_003a92c8"))) () ")")) (argument_list "(unaff_s7,unaff_s6,unaff_s5)" (( "(") (identifier "unaff_s7") (, ",") (identifier "unaff_s6") (, ",") (identifier "unaff_s5") () ")"))) (; ";"))) (expression_statement "iVar6 = *(int *)(unaff_s7 + 0x40);" (assignment_expression "iVar6 = *(int *)(unaff_s7 + 0x40)" (identifier "iVar6") (= "=") (pointer_expression "*(int *)(unaff_s7 + 0x40)" (* "*") (cast_expression "(int *)(unaff_s7 + 0x40)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s7 + 0x40)" (( "(") (binary_expression "unaff_s7 + 0x40" (identifier "unaff_s7") (+ "+") (number_literal "0x40")) () ")"))))) (; ";")) (expression_statement "*(undefined4 *)(unaff_s7 + 0x10) = 1;" (assignment_expression "*(undefined4 *)(unaff_s7 + 0x10) = 1" (pointer_expression "*(undefined4 *)(unaff_s7 + 0x10)" (* "*") (cast_expression "(undefined4 *)(unaff_s7 + 0x10)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s7 + 0x10)" (( "(") (binary_expression "unaff_s7 + 0x10" (identifier "unaff_s7") (+ "+") (number_literal "0x10")) () ")")))) (= "=") (number_literal "1")) (; ";")) (labeled_statement "LAB_0004a138:\n    *(undefined4 *)(unaff_s7 + 0x38) = 0;" (statement_identifier "LAB_0004a138") (: ":") (expression_statement "*(undefined4 *)(unaff_s7 + 0x38) = 0;" (assignment_expression "*(undefined4 *)(unaff_s7 + 0x38) = 0" (pointer_expression "*(undefined4 *)(unaff_s7 + 0x38)" (* "*") (cast_expression "(undefined4 *)(unaff_s7 + 0x38)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s7 + 0x38)" (( "(") (binary_expression "unaff_s7 + 0x38" (identifier "unaff_s7") (+ "+") (number_literal "0x38")) () ")")))) (= "=") (number_literal "0")) (; ";"))) (expression_statement "*(undefined4 *)(unaff_s7 + 0x1c) = 0;" (assignment_expression "*(undefined4 *)(unaff_s7 + 0x1c) = 0" (pointer_expression "*(undefined4 *)(unaff_s7 + 0x1c)" (* "*") (cast_expression "(undefined4 *)(unaff_s7 + 0x1c)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s7 + 0x1c)" (( "(") (binary_expression "unaff_s7 + 0x1c" (identifier "unaff_s7") (+ "+") (number_literal "0x1c")) () ")")))) (= "=") (number_literal "0")) (; ";")) (if_statement "if (iVar6 == 0) {\n      puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n      uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n      uVar8 = 0xdd1;\nLAB_0004a16c:\n      uVar10 = 0;\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,uVar8,0x1b3,\n                 PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n      (*(code *)PTR_DestroyString_003a9074)(uVar5);\n    }\n    else {\nLAB_00049e88:\n      uVar10 = 1;\n      uVar11 = (*(code *)PTR_GetBlobSize_003a94b8)(param_2);\n      *(undefined8 *)(unaff_s7 + 0x28) = uVar11;\n    }" (if "if") (parenthesized_expression "(iVar6 == 0)" (( "(") (binary_expression "iVar6 == 0" (identifier "iVar6") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n      puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n      uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);\n      uVar8 = 0xdd1;\nLAB_0004a16c:\n      uVar10 = 0;\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,uVar8,0x1b3,\n                 PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);\n      (*(code *)PTR_DestroyString_003a9074)(uVar5);\n    }" ({ "{") (expression_statement "puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();" (assignment_expression "puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)()" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_003a99b0)()" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR___errno_location_003a99b0)()" (parenthesized_expression "(*(code *)PTR___errno_location_003a99b0)" (( "(") (pointer_expression "*(code *)PTR___errno_location_003a99b0" (* "*") (cast_expression "(code *)PTR___errno_location_003a99b0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___errno_location_003a99b0"))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);" (assignment_expression "uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4)" (identifier "uVar5") (= "=") (call_expression "(*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4)" (parenthesized_expression "(*(code *)PTR_GetExceptionMessage_003a93ec)" (( "(") (pointer_expression "*(code *)PTR_GetExceptionMessage_003a93ec" (* "*") (cast_expression "(code *)PTR_GetExceptionMessage_003a93ec" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_GetExceptionMessage_003a93ec"))) () ")")) (argument_list "(*puVar4)" (( "(") (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) () ")")))) (; ";")) (expression_statement "uVar8 = 0xdd1;" (assignment_expression "uVar8 = 0xdd1" (identifier "uVar8") (= "=") (number_literal "0xdd1")) (; ";")) (labeled_statement "LAB_0004a16c:\n      uVar10 = 0;" (statement_identifier "LAB_0004a16c") (: ":") (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" (identifier "uVar10") (= "=") (number_literal "0")) (; ";"))) (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,uVar8,0x1b3,\n                 PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,uVar8,0x1b3,\n                 PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5)" (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_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,uVar8,0x1b3,\n                 PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5)" (( "(") (identifier "param_4") (, ",") (binary_expression "PTR_LAB_003a88e0 + 0x1ad8" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x1ad8")) (, ",") (binary_expression "PTR_LAB_003a88e0 + 0x23cc" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x23cc")) (, ",") (identifier "uVar8") (, ",") (number_literal "0x1b3") (, ",") (binary_expression "PTR_LAB_003a88e0 + 0x1ec4" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x1ec4")) (, ",") (binary_expression "PTR_LAB_003a88e0 + 0xe78" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0xe78")) (, ",") (identifier "param_3") (, ",") (identifier "uVar5") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_DestroyString_003a9074)(uVar5);" (call_expression "(*(code *)PTR_DestroyString_003a9074)(uVar5)" (parenthesized_expression "(*(code *)PTR_DestroyString_003a9074)" (( "(") (pointer_expression "*(code *)PTR_DestroyString_003a9074" (* "*") (cast_expression "(code *)PTR_DestroyString_003a9074" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyString_003a9074"))) () ")")) (argument_list "(uVar5)" (( "(") (identifier "uVar5") () ")"))) (; ";")) (} "}")) (else_clause "else {\nLAB_00049e88:\n      uVar10 = 1;\n      uVar11 = (*(code *)PTR_GetBlobSize_003a94b8)(param_2);\n      *(undefined8 *)(unaff_s7 + 0x28) = uVar11;\n    }" (else "else") (compound_statement "{\nLAB_00049e88:\n      uVar10 = 1;\n      uVar11 = (*(code *)PTR_GetBlobSize_003a94b8)(param_2);\n      *(undefined8 *)(unaff_s7 + 0x28) = uVar11;\n    }" ({ "{") (labeled_statement "LAB_00049e88:\n      uVar10 = 1;" (statement_identifier "LAB_00049e88") (: ":") (expression_statement "uVar10 = 1;" (assignment_expression "uVar10 = 1" (identifier "uVar10") (= "=") (number_literal "1")) (; ";"))) (expression_statement "uVar11 = (*(code *)PTR_GetBlobSize_003a94b8)(param_2);" (assignment_expression "uVar11 = (*(code *)PTR_GetBlobSize_003a94b8)(param_2)" (identifier "uVar11") (= "=") (call_expression "(*(code *)PTR_GetBlobSize_003a94b8)(param_2)" (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 "(param_2)" (( "(") (identifier "param_2") () ")")))) (; ";")) (expression_statement "*(undefined8 *)(unaff_s7 + 0x28) = uVar11;" (assignment_expression "*(undefined8 *)(unaff_s7 + 0x28) = uVar11" (pointer_expression "*(undefined8 *)(unaff_s7 + 0x28)" (* "*") (cast_expression "(undefined8 *)(unaff_s7 + 0x28)" (( "(") (type_descriptor "undefined8 *" (type_identifier "undefined8") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s7 + 0x28)" (( "(") (binary_expression "unaff_s7 + 0x28" (identifier "unaff_s7") (+ "+") (number_literal "0x28")) () ")")))) (= "=") (identifier "uVar11")) (; ";")) (} "}")))) (labeled_statement "LAB_00049c58:" (statement_identifier "LAB_00049c58") (: ":") (expression_statement "" (; ""))) (} "}")) (while "while") (parenthesized_expression "(local_2c != *(int *)puVar3)" (( "(") (binary_expression "local_2c != *(int *)puVar3" (identifier "local_2c") (!= "!=") (pointer_expression "*(int *)puVar3" (* "*") (cast_expression "(int *)puVar3" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar3")))) () ")")) (; ";")) (return_statement "return uVar10;" (return "return") (identifier "uVar10") (; ";")) (} "}")))
(translation_unit (function_definition type: (type_identifier) declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (parameter_declaration type: (type_identifier) declarator: (identifier)))) body: (compound_statement (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) 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: (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: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (primitive_type) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (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: (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 (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) alternative: (else_clause (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 (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 (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))))))) (expression_statement (assignment_expression left: (identifier) right: (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (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))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) 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 (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: (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 (call_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) (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)))))))) (goto_statement label: (statement_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) right: (parenthesized_expression (comma_expression left: (assignment_expression left: (identifier) right: (number_literal)) 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: (char_literal (escape_sequence))))))) 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: (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))) (goto_statement label: (statement_identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (number_literal) (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (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: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))) right: (number_literal)))))))))) arguments: (argument_list)))) (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (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: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))) (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))))) 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: (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: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence)))) (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))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (number_literal) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))))) (expression_statement (assignment_expression left: (pointer_expression argument: (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) (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (number_literal) (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (parenthesized_expression (binary_expression left: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (char_literal (escape_sequence))) 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)))))))) consequence: (compound_statement (expression_statement (assignment_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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (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: (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: (call_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)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (number_literal) (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: (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: (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))))))) (goto_statement label: (statement_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) (binary_expression left: (identifier) right: (number_literal)) (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: (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) (number_literal) (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) (pointer_expression argument: (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: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (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: (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: (call_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)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) 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: (type_identifier) declarator: (abstract_pointer_declarator)) value: (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))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (number_literal) (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: (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))))))))) (expression_statement (assignment_expression left: (identifier) right: (call_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) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (identifier)))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (number_literal) (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (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: (number_literal))) (goto_statement label: (statement_identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) 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) (number_literal) (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: (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))))))) (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: (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: (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: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (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: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (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: (call_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)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (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))) (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: (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)))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (number_literal) (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)))) 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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))))))))) (expression_statement (call_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) (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: (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 (pointer_expression argument: (identifier)) (number_literal) (number_literal) (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))))) (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 (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 (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 (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))))) (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))))))) (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)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (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: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) right: (parenthesized_expression (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 (comma_expression left: (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator declarator: (abstract_pointer_declarator))) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) right: (binary_expression left: (pointer_expression argument: (field_expression argument: (subscript_expression argument: (identifier) index: (number_literal)) field: (field_identifier))) right: (identifier)))))) 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 (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 (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: (call_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) (number_literal) (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 (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))))))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (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: (goto_statement label: (statement_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))) (goto_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: (identifier) right: (number_literal))))))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (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: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (goto_statement label: (statement_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: (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: (call_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)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (number_literal) (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: (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: (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))))))) (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: (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (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))))))) (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) (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_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 (binary_expression left: (identifier) right: (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)))))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))) (labeled_statement label: (statement_identifier) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (identifier))) arguments: (argument_list (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (expression_statement (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))) (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))))) (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))) (labeled_statement label: (statement_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: (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))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (pointer_expression argument: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (labeled_statement label: (statement_identifier) (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) (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)) (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))))) alternative: (else_clause (compound_statement (labeled_statement label: (statement_identifier) (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: (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)))))) (labeled_statement label: (statement_identifier) (expression_statement (MISSING ";")))) 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)))))) (return_statement (identifier)))))

/* WARNING: Removing unreachable block (ram,0x0004a280) */
/* WARNING: Removing unreachable block (ram,0x0004a2a0) */
/* WARNING: Removing unreachable block (ram,0x0004a2b8) */
/* WARNING: Removing unreachable block (ram,0x0004a2f4) */
/* WARNING: Removing unreachable block (ram,0x0004a74c) */
/* WARNING: Removing unreachable block (ram,0x0004a308) */
/* WARNING: Removing unreachable block (ram,0x0004a768) */
/* WARNING: Removing unreachable block (ram,0x0004a77c) */
/* WARNING: Removing unreachable block (ram,0x0004a788) */
/* WARNING: Removing unreachable block (ram,0x0004a334) */
/* WARNING: Removing unreachable block (ram,0x0004a344) */
/* WARNING: Removing unreachable block (ram,0x0004a350) */
/* WARNING: Removing unreachable block (ram,0x0004a370) */
/* WARNING: Removing unreachable block (ram,0x0004a760) */
/* WARNING: Removing unreachable block (ram,0x0004a374) */
/* WARNING: Removing unreachable block (ram,0x0004a388) */
/* WARNING: Removing unreachable block (ram,0x0004a394) */
/* WARNING: Removing unreachable block (ram,0x0004a0bc) */
/* WARNING: Removing unreachable block (ram,0x0004a0d4) */
/* WARNING: Removing unreachable block (ram,0x0004a70c) */
/* WARNING: Removing unreachable block (ram,0x0004a0f8) */
/* WARNING: Removing unreachable block (ram,0x0004a118) */
/* WARNING: Removing unreachable block (ram,0x0004a11c) */
/* WARNING: Removing unreachable block (ram,0x0004a124) */
/* WARNING: Removing unreachable block (ram,0x00049f84) */

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

{
  undefined *puVar1;
  undefined *puVar2;
  undefined *puVar3;
  undefined4 *puVar4;
  undefined4 uVar5;
  int iVar6;
  int iVar7;
  undefined4 uVar8;
  int unaff_s1;
  undefined4 unaff_s3;
  char *unaff_s4;
  undefined1 *unaff_s5;
  int unaff_s6;
  int unaff_s7;
  code *pcVar9;
  uint uVar10;
  undefined8 uVar11;
  undefined1 local_302c [4096];
  char local_202c [3];
  undefined1 auStack_2029 [4093];
  undefined2 local_102c;
  undefined1 local_102a;
  int local_2c;
  
  puVar3 = PTR___stack_chk_guard_003a9230;
  local_2c = *(int *)PTR___stack_chk_guard_003a9230;
  pcVar9 = (code *)PTR___assert_fail_003a9608;
  if (param_1 == 0) {
LAB_0004a7e4:
    (*pcVar9)(PTR_LAB_003a88e0 + 0x1c88,PTR_LAB_003a88e0 + 0x1ad8,0xca1,PTR_LAB_003a88e0 + 0x23d8);
    param_2 = unaff_s1;
    param_4 = unaff_s3;
    param_3 = unaff_s4;
  }
  else {
    if (*(int *)(param_1 + 0x3214) != -0x54535255) {
      (*(code *)PTR___assert_fail_003a9608)
                (PTR_LAB_003a88e0 + 0xda0,PTR_LAB_003a88e0 + 0x1ad8,0xca2,PTR_LAB_003a88e0 + 0x23d8)
      ;
      goto LAB_0004a7e4;
    }
    if (*(int *)(param_1 + 0x3210) != 0) {
      (*(code *)PTR_LogMagickEvent_003a91e0)
                (0x8000,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xca4,
                 PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210);
    }
    puVar1 = PTR_AttachBlob_003a92c8;
    if (param_2 == 0) goto LAB_0004a824;
    if (*(int *)(param_2 + 0x336c) == -0x54535255) {
      iVar6 = *(int *)(param_1 + 0x208);
      unaff_s7 = *(int *)(param_2 + 0x3348);
      if (iVar6 != 0) {
        if (*(int *)(param_1 + 0x200) != 0) {
          *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);
        }
        uVar10 = 1;
        (*(code *)puVar1)(unaff_s7,iVar6,*(undefined4 *)(param_1 + 0x20c));
        goto LAB_00049c58;
      }
      if ((*(int *)(param_1 + 0x3218) != 0) && (uVar10 = 1, *(char *)(param_2 + 0x340) == '\0')) {
        *(int *)(unaff_s7 + 0xec) = *(int *)(param_1 + 0x3218);
        *(undefined4 *)(unaff_s7 + 0x40) = 8;
        goto LAB_00049c58;
      }
      (*(code *)PTR_DetachBlob_003a976c)(unaff_s7,0,0xca7);
      *(char **)(unaff_s7 + 0xc) = param_3;
      if (param_3 < &DAT_00000007) {
                    /* WARNING: Could not emulate address calculation at 0x00049d10 */
                    /* WARNING: Treating indirect jump as call */
        uVar10 = (*(code *)(&_gp_1 + *(int *)(PTR_LAB_003a88e0 + (int)param_3 * 4 + 0x2098)))();
        return uVar10;
      }
      unaff_s5 = PTR_LAB_003a88e0 + 0x4aa0;
      unaff_s6 = param_2 + 0x340;
      if (*(int *)(param_1 + 0x200) == 0) {
        local_202c[0] = '\0';
        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);
      }
      else {
        *(int *)(unaff_s7 + 0xe8) = *(int *)(param_1 + 0x200);
        local_202c[0] = '\0';
        (*(code *)PTR_CopyMagickString_003a983c)(local_202c,unaff_s6,0x1000);
      }
      param_3 = local_202c;
      iVar6 = (*(code *)PTR_IsRightsAuthorized_003a8db0)(4,1,param_3);
      if (iVar6 == 0) {
        puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();
        *puVar4 = 1;
        (*(code *)PTR_ThrowMagickException_003a8f20)
                  (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcd9,499,
                   PTR_LAB_003a88e0 + 0x1e9c,PTR_LAB_003a88e0 + 0x3e28,param_3);
        uVar10 = 0;
        goto LAB_00049c58;
      }
      iVar6 = (*(code *)PTR_LocaleCompare_003a9110)(param_3,PTR_s_courses_003a88ec + -0x7ac);
      puVar2 = PTR_GetImageOption_003a9168;
      puVar1 = PTR_LAB_003a88e0;
      if ((iVar6 == 0) || ((local_202c[0] == '\0' && (*(int *)(param_1 + 0x204) == 0)))) {
        param_4 = 2;
        *(undefined4 *)(unaff_s7 + 0x44) = *(undefined4 *)PTR_stdin_003a8fc4;
        *(undefined4 *)(unaff_s7 + 0x40) = 2;
        *(undefined4 *)(unaff_s7 + 0x30) = 1;
        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);
        if (iVar6 != 0) {
          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);
          uVar5 = 2;
          if (iVar6 != 0) {
            uVar5 = 0;
          }
          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);
          goto LAB_00049fe8;
        }
      }
      else {
        iVar6 = (*(code *)PTR_LocaleNCompare_003a961c)(param_3,PTR_LAB_003a88e0 + 0x1ec0,3);
        if (iVar6 == 0) {
          iVar6 = (*(code *)PTR_IsGeometry_003a9418)(auStack_2029);
          if (iVar6 != 0) {
            local_102c = 0x7200;
            uVar5 = (*(code *)PTR_strtol_003a954c)(auStack_2029,0,10);
            iVar6 = (*(code *)PTR_fdopen_003a97d8)(uVar5,&local_102c);
            *(int *)(unaff_s7 + 0x44) = iVar6;
            puVar2 = PTR_GetImageOption_003a9168;
            puVar1 = PTR_LAB_003a88e0;
            if (iVar6 != 0) {
              *(undefined4 *)(unaff_s7 + 0x40) = 1;
              *(undefined4 *)(unaff_s7 + 0x30) = 1;
              iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);
              if (iVar6 == 0) {
                iVar6 = 0x4000;
                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);
                uVar5 = 0;
              }
              else {
                iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);
                uVar5 = 2;
                if (iVar6 != 0) {
                  uVar5 = 0;
                }
                uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);
              }
              iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);
              uVar10 = (uint)(iVar6 == 0);
              goto LAB_00049c58;
            }
            puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();
            uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);
            (*(code *)PTR_ThrowMagickException_003a8f20)
                      (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xcf4,0x1b3,
                       PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);
            (*(code *)PTR_DestroyString_003a9074)(uVar5);
            uVar10 = 0;
            goto LAB_00049c58;
          }
        }
        iVar6 = (*(code *)PTR_GetPathAttributes_003a9364)(param_3,unaff_s7 + 0x48);
        if ((iVar6 == 0) || ((*(uint *)(unaff_s7 + 0x60) & 0xf000) != 0x1000)) {
          (*(code *)PTR_GetPathComponent_003a8e18)(unaff_s6,6,local_302c);
          if (*(int *)(param_1 + 0x204) != 0) {
            *(int *)(unaff_s7 + 0x44) = *(int *)(param_1 + 0x204);
            *(undefined4 *)(unaff_s7 + 0x38) = 0;
            *(undefined4 *)(unaff_s7 + 0x40) = 1;
            *(undefined4 *)(unaff_s7 + 0x30) = 1;
            *(undefined4 *)(unaff_s7 + 0x1c) = 0;
            goto LAB_00049e88;
          }
          iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);
          *(int *)(unaff_s7 + 0x44) = iVar6;
          puVar2 = PTR_GetImageOption_003a9168;
          puVar1 = PTR_LAB_003a88e0;
          if (iVar6 != 0) {
            *(undefined4 *)(unaff_s7 + 0x40) = 1;
            iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);
            if (iVar6 == 0) {
              iVar6 = 0x4000;
              iVar7 = 0;
              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);
            }
            else {
              iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);
              iVar7 = (uint)(iVar6 == 0) << 1;
              uVar5 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);
            }
            (*(code *)PTR_setvbuf_003a90f4)(uVar5,0,iVar7,iVar6);
            local_102c = 0;
            local_102a = 0;
            unaff_s5 = (undefined1 *)
                       (*(code *)PTR_fread_003a8db8)
                                 (&local_102c,1,3,*(undefined4 *)(unaff_s7 + 0x44));
            (*(code *)PTR_fseeko64_003a9944)(*(undefined4 *)(unaff_s7 + 0x44));
            (*(code *)PTR_fflush_003a948c)(*(undefined4 *)(unaff_s7 + 0x44));
            (*(code *)PTR_LogMagickEvent_003a91e0)
                      (4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,0xd66,
                       PTR_LAB_003a88e0 + 0x1ef0);
            iVar6 = *(int *)(unaff_s7 + 0x40);
            if (iVar6 != 1) goto LAB_0004a138;
            uVar5 = (*(code *)PTR_AcquireExceptionInfo_003a8eec)();
            unaff_s5 = (undefined1 *)(*(code *)PTR_GetMagickInfo_003a940c)(param_1 + 0x210,uVar5);
            (*(code *)PTR_DestroyExceptionInfo_003a8d50)(uVar5);
            if ((((unaff_s5 != (undefined1 *)0x0) &&
                 (iVar6 = (*(code *)PTR_GetMagickBlobSupport_003a9774)(unaff_s5), iVar6 != 0)) &&
                (unaff_s5 = *(undefined1 **)(unaff_s7 + 0x84),
                &__DT_SYMTAB[0x16e].st_size < unaff_s5)) &&
               (iVar6 = (*(code *)PTR_AcquireMagickResource_003a981c)(5), iVar6 != 0)) {
              uVar5 = (*(code *)PTR_fileno_003a99cc)(*(undefined4 *)(unaff_s7 + 0x44));
              unaff_s6 = (*(code *)PTR_MapBlob_003a978c)(uVar5,0,0,0,unaff_s5);
              if (unaff_s6 == 0) {
                (*(code *)PTR_RelinquishMagickResource_003a970c)(5);
                iVar6 = *(int *)(unaff_s7 + 0x40);
                goto LAB_0004a138;
              }
              pcVar9 = (code *)PTR_fclose_003a939c;
              if (*(int *)(param_1 + 0x204) == 0) goto LAB_0004a850;
              *(undefined4 *)(unaff_s7 + 0x30) = 0;
              goto LAB_0004a650;
            }
          }
          iVar6 = *(int *)(unaff_s7 + 0x40);
          goto LAB_0004a138;
        }
        iVar6 = (*(code *)PTR_fopen64_003a8c68)(param_3,unaff_s5);
        *(int *)(unaff_s7 + 0x44) = iVar6;
        puVar2 = PTR_GetImageOption_003a9168;
        puVar1 = PTR_LAB_003a88e0;
        if (iVar6 == 0) {
          puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();
          uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);
          uVar8 = 0xd23;
          goto LAB_0004a16c;
        }
        *(undefined4 *)(unaff_s7 + 0x40) = 1;
        *(undefined4 *)(unaff_s7 + 0x30) = 1;
        iVar6 = (*(code *)puVar2)(param_1,puVar1 + 0x1eac);
        if (iVar6 != 0) {
          iVar6 = (*(code *)PTR_strtoul_003a9340)(iVar6,0,10);
          uVar5 = 2;
          if (iVar6 != 0) {
            uVar5 = 0;
          }
          uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);
          goto LAB_00049fe8;
        }
      }
      iVar6 = 0x4000;
      uVar5 = 0;
      uVar8 = *(undefined4 *)(*(int *)(param_2 + 0x3348) + 0x44);
LAB_00049fe8:
      iVar6 = (*(code *)PTR_setvbuf_003a90f4)(uVar8,0,uVar5,iVar6);
      uVar10 = (uint)(iVar6 == 0);
      goto LAB_00049c58;
    }
  }
  (*(code *)PTR___assert_fail_003a9608)
            (PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x3784,PTR_LAB_003a88e0 + 0x1ad8);
LAB_0004a824:
  (*(code *)PTR___assert_fail_003a9608)(PTR_LAB_003a88e0 + 0xdd0,PTR_LAB_003a88e0 + 0x1ad8);
  do {
    pcVar9 = (code *)PTR___stack_chk_fail_003a9064;
    (*(code *)PTR___stack_chk_fail_003a9064)();
LAB_0004a850:
    (*pcVar9)(*(undefined4 *)(unaff_s7 + 0x44));
    *(undefined4 *)(unaff_s7 + 0x44) = 0;
LAB_0004a650:
    (*(code *)PTR_AttachBlob_003a92c8)(unaff_s7,unaff_s6,unaff_s5);
    iVar6 = *(int *)(unaff_s7 + 0x40);
    *(undefined4 *)(unaff_s7 + 0x10) = 1;
LAB_0004a138:
    *(undefined4 *)(unaff_s7 + 0x38) = 0;
    *(undefined4 *)(unaff_s7 + 0x1c) = 0;
    if (iVar6 == 0) {
      puVar4 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();
      uVar5 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar4);
      uVar8 = 0xdd1;
LAB_0004a16c:
      uVar10 = 0;
      (*(code *)PTR_ThrowMagickException_003a8f20)
                (param_4,PTR_LAB_003a88e0 + 0x1ad8,PTR_LAB_003a88e0 + 0x23cc,uVar8,0x1b3,
                 PTR_LAB_003a88e0 + 0x1ec4,PTR_LAB_003a88e0 + 0xe78,param_3,uVar5);
      (*(code *)PTR_DestroyString_003a9074)(uVar5);
    }
    else {
LAB_00049e88:
      uVar10 = 1;
      uVar11 = (*(code *)PTR_GetBlobSize_003a94b8)(param_2);
      *(undefined8 *)(unaff_s7 + 0x28) = uVar11;
    }
LAB_00049c58:
  } while (local_2c != *(int *)puVar3);
  return uVar10;
}

